List of commits:
Subject Hash Author Date (UTC)
Cosmetic 87887c5717140cb4af477e8662858fd5412a3dd3 Catalin(ux) M. BOIE 2024-06-05 06:53:47
cache locking + show gpg signer b37d36501abd958894686c643985f218470ca988 Catalin(ux) M. BOIE 2024-06-05 06:08:08
Cosmetic 1d638cee22854ab2f98ae3a72afd34ea337c101a Catalin(ux) M. BOIE 2024-06-05 06:06:33
Mostly cosmetic 427e7056c6593359b68317c071d175cc38b1705d Catalin(ux) M. BOIE 2023-12-17 12:01:17
readme rendering: everything not makrdown is treated as text d7c1a9e039e3b7945682ee2e13745cd0d4ad446a Catalin(ux) M. BOIE 2023-06-22 03:40:21
Really bumbed version to 0.78 223d494efb0cc012c72fe8898e2800ce15e4eaf7 Catalin(ux) M. BOIE 2023-06-15 20:36:31
Make rgfs more verbose in case of errors 197c21765870fa6b95bb08c8599de9decf3980eb Catalin(ux) M. BOIE 2023-06-15 20:33:18
Cosmetic d48682ffe54991deedd4989a100a0607cafefab8 Catalin(ux) M. BOIE 2023-06-14 17:11:03
Fixed delete account op 4157f88a19d1b24934743d0193755a6dc3f98c13 Catalin(ux) M. BOIE 2023-06-14 17:10:22
Render readme files on the project page a8c09adb1bceed31f8070386158561b06470a98f Catalin(ux) M. BOIE 2023-06-14 17:09:17
Added rg_sid global variable to simplify the function calling 0047908fcd2ed0302a826487ddd15ca2579a9a83 Catalin(ux) M. BOIE 2023-06-14 17:06:39
Removed delta support for rpms because Fedora will remove it 2c26be90f4bc08a06ab03ab016e9ccaa843780e5 Catalin(ux) M. BOIE 2023-05-03 05:04:40
Added first payments option; fixes all around 7102aed9f239d529723799171553e8c4bd018440 Catalin(ux) M. BOIE 2023-05-02 22:36:28
Fixed a nasty typo in the build system; doc update; cosmetic 1934732b297d6476be7954fabdcaf9eb87678f5e Catalin(ux) M. BOIE 2022-12-21 12:51:53
Send client features to the builder dcf648353662409b9e39a422228ddb6a7c43358c Catalin(ux) M. BOIE 2022-12-21 11:10:00
Add support for SHA-256 git repos 8b88927d353c7b588909d0b1220c8922b32129c0 Catalin(ux) M. BOIE 2022-12-21 11:03:19
Look-up pkg_repo using pkg_repo uid f2b188b8cb151c376d8ee8c81f8e82c02ed93cd1 Catalin(ux) M. BOIE 2022-12-12 05:29:13
Cosmetic 04ae5ac6b9805198966a21755d1d430ef5b6a6dd Catalin(ux) M. BOIE 2022-12-11 17:17:39
Keep-alive mechanism for builder/worker 7e3add2ab41feefe37a858439934b8599fb30933 Catalin(ux) M. BOIE 2022-12-10 19:36:53
Bumped version to 0.76 09bb0cc92a9dfce513ce1289a22e71faf4ad1fe1 Catalin(ux) M. BOIE 2022-10-22 06:27:35
Commit 87887c5717140cb4af477e8662858fd5412a3dd3 - Cosmetic
Author: Catalin(ux) M. BOIE
Author date (UTC): 2024-06-05 06:53
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2024-06-05 06:53
Parent(s): b37d36501abd958894686c643985f218470ca988
Signer:
Signing key:
Signing status: N
Tree: 656a1aef4dc0d378ff5271b0898d275dab659e6c
File Lines added Lines deleted
scripts/builder.php 3 1
scripts/worker.php 9 3
tests/http.inc.php 5 2
File scripts/builder.php changed (mode: 100644) (index 2623a7a..30dc40b)
... ... do {
994 994 } }
995 995
996 996 if ($_i['last_pong'] + 30 < $now) { if ($_i['last_pong'] + 30 < $now) {
997 rg_log($_k . ': Worker did not answer to ping! Close it!');
997 rg_log($_k . ': Worker did not answer to ping'
998 . ' (last_pong=' . $_i['last_pong'] . ')!'
999 . ' Shutdown conn!');
998 1000 rg_conn_shutdown($_k, 2); rg_conn_shutdown($_k, 2);
999 1001 } }
1000 1002 } }
File scripts/worker.php changed (mode: 100644) (index b972dee..c4d1c06)
... ... function xhandle_one($key, $data)
2134 2134
2135 2135 if (strcmp($op, 'DRE') == 0) { // DRE = done received if (strcmp($op, 'DRE') == 0) { // DRE = done received
2136 2136 if (!isset($jobs[$jid])) { if (!isset($jobs[$jid])) {
2137 $k = array_keys($jobs);
2138 rg_log($key . ': ' . $jid . ': DEBUG:'
2139 . ' DRE for a non existing job! Ignore cmd.');
2140 rg_log($key . ': ' . $jid . ': DEBUG:'
2141 . ' existing jobs: ' . implode(',', $k) . '.');
2137 2142 // We already received a DRE message // We already received a DRE message
2138 2143 return; return;
2139 2144 } }
 
... ... $stats = array('jobs' => 0);
3091 3096
3092 3097 rg_log('Loading job-*.ser files...'); rg_log('Loading job-*.ser files...');
3093 3098 $jobs = rg_load_files($conf['state'], 'job-[0-9]*.ser', 'id'); $jobs = rg_load_files($conf['state'], 'job-[0-9]*.ser', 'id');
3094 // this crashes badly!
3095 //if (!empty($jobs))
3096 // rg_log_debug('Jobs loaded from dir: ' . rg_array2string_short($jobs));
3099 if (!empty($jobs)) {
3100 $k = array_keys($jobs);
3101 rg_log_debug('Jobs loaded from dir: ' . impode(',', $k) . '.');
3102 }
3097 3103 rg_log(' done.'); rg_log(' done.');
3098 3104
3099 3105 rg_worker_connect(); rg_worker_connect();
File tests/http.inc.php changed (mode: 100644) (index 8e8d9eb..a8f5da2)
... ... function do_req($info, $url, &$data, &$headers)
183 183 exit(1); exit(1);
184 184 } }
185 185
186 // Check with tidy
186 // Check with tidy & other stuff
187 $check_uvars = TRUE;
187 188 if (!stristr($ret['header'], 'Content-Type: ')) { if (!stristr($ret['header'], 'Content-Type: ')) {
188 189 rg_log('Content-Type header missing!'); rg_log('Content-Type header missing!');
189 190 exit(1); exit(1);
190 191 } else if (stristr($ret['header'], 'Content-Type: application/octet-stream')) { } else if (stristr($ret['header'], 'Content-Type: application/octet-stream')) {
191 192 // do nothing // do nothing
193 $check_uvars = FALSE;
192 194 } else if (stristr($ret['header'], 'Content-Type: application/x-rpm')) { } else if (stristr($ret['header'], 'Content-Type: application/x-rpm')) {
193 195 // do nothing // do nothing
196 $check_uvars = FALSE;
194 197 } else if (stristr($ret['header'], 'Content-Type: text/plain')) { } else if (stristr($ret['header'], 'Content-Type: text/plain')) {
195 198 // do nothing // do nothing
196 199 } else if (stristr($ret['header'], 'Content-Type: text/xml')) { } else if (stristr($ret['header'], 'Content-Type: text/xml')) {
 
... ... function do_req($info, $url, &$data, &$headers)
227 230 } }
228 231
229 232 // Check if a '@@' is present // Check if a '@@' is present
230 if (strstr($ret['body'], '@@')) {
233 if ($check_uvars && strstr($ret['body'], '@@')) {
231 234 $t = explode('@@', $ret['body']); $t = explode('@@', $ret['body']);
232 235 $t = explode('@@', $t[1]); $t = explode('@@', $t[1]);
233 236 if (!strstr($t[0], ' ')) { if (!strstr($t[0], ' ')) {
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/rocketgit

Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main