List of commits:
Subject Hash Author Date (UTC)
Small fixes f8599989642259ff18ce6d44cef75a70084f7840 Catalin(ux) M. BOIE 2025-04-24 13:57:23
API keys now contain also upper case chars (thank you, Ioan Albescu) f4637b6453803b4de90f8b50a3ff6ee4e9ce5d4d Catalin(ux) M. BOIE 2025-03-29 18:14:04
We do not want to restart rocketgit-git@.service - we DDoS ourselves e1c5ecd03ce95bbab99a3feea6958b6e926591b3 Catalin(ux) M. BOIE 2025-02-13 18:50:33
In workers section, show the last distro update date 0d626018233cf75ca2a950b2dbef6ccd6d5a105c Catalin(ux) M. BOIE 2024-11-21 18:24:34
Cosmetic 708600f9ce79cc0cee2470d46c69603ccf12fade Catalin(ux) M. BOIE 2024-11-20 19:06:44
Bump version to 0.80 a69fe4630e462e96a423af4b8377c65db0e88220 Catalin(ux) M. BOIE 2024-11-20 16:38:39
Collation auto-fix; misc 3ee15faf5ab0e653c7a159f0bebfd05bad8db217 Catalin(ux) M. BOIE 2024-11-20 16:12:55
Collation + block Facebook and OpenAI 43caacb3a908f6b7ffed15688b5d91fc3c004728 Catalin(ux) M. BOIE 2024-10-26 08:08:27
Debian changelog 55542035e461b712b7fd80404ef8a4c02956b1e9 Catalin(ux) M. BOIE 2024-06-07 20:42:31
Builder and worker fixes. ab54e53e1e9c202ce0bda4faa2646e6215de913d Catalin(ux) M. BOIE 2024-06-07 19:58:33
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
Commit f8599989642259ff18ce6d44cef75a70084f7840 - Small fixes
Author: Catalin(ux) M. BOIE
Author date (UTC): 2025-04-24 13:57
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2025-04-24 13:57
Parent(s): f4637b6453803b4de90f8b50a3ff6ee4e9ce5d4d
Signer:
Signing key:
Signing status: N
Tree: bf02bc6b663fb6f5468aaed33ed144826f332827
File Lines added Lines deleted
TODO 25 0
inc/struct.inc.php 2 2
inc/util2.inc.php 14 0
inc/workers.inc.php 5 1
root/themes/default/user/settings/workers/envs/header.html 1 0
root/themes/default/user/settings/workers/envs/line.html 1 0
scripts/worker.php 2 1
File TODO changed (mode: 100644) (index 25aa60c..a9c3e00)
23 23 [ ] [ ]
24 24
25 25 == next release == == next release ==
26 [ ] Trying to install https://rocketgit.com/op/pkgrepo/main/global/testing/fedora/41/x86_64/os/rocketgit-global-testing-1.1-1.noarch.rpm (Effective url: https://rocketgit.com/op/pkgrepo/main/global/testing/fedora/41/x86_64/os/rocketgit-global-testing-1.1-1.noarch.rpm)
27 2024-11-21T20:34:06+0000 [3678993] ERROR [rpm] Verifying a signature, but no certificate was provided:
28 Signature c57d created at Fri Nov 22 01:19:47 2024 invalid: signature is not alive
29 because: Not live until 2024-11-22T01:14:47Z
30
31 worker log: X: rpmsign --define _gpg_name repo_id-1 --define _gpg_sign_cmd_extra_args \
32 --no-autostart --batch --resign ./rocketgit-global-testing-1.1-1.noarch.rpm
33 [Thu Nov 21 20:19:47 EST 2024]
34
35 rpm -qpi 9b2bd41136fc9c37-rocketgit-global-testing-1.1-1.noarch.rpm:
36 Signature : RSA/SHA256, Fri 22 Nov 2024 03:19:47 AM EET, Key ID 56fa0190aed82fba
37 Source RPM : rocketgit-global-testing-1.1-1.src.rpm
38 Build Date : Fri 22 Nov 2024 03:19:22 AM EET
39
40 Seems when we create the key, it is created with a local time, but interpreted as UTC or something like this.
41 Seems the build date is wrong! I switched VMs to UTC. Let's see if is OK.
42 [ ] Worker should refuse to run expired distros?
26 43 [ ] Duplicate 'apt install ...' commands in https://rocketgit.com/user/catalinux/rocketgit/pkg [ ] Duplicate 'apt install ...' commands in https://rocketgit.com/user/catalinux/rocketgit/pkg
27 44 [ ] Add some hints on page /op/admin/distros/list. [ ] Add some hints on page /op/admin/distros/list.
28 45 [ ] Set fillfactor for table which changes a lot (keys, events, build_jobs etc.) [ ] Set fillfactor for table which changes a lot (keys, events, build_jobs etc.)
 
87 104 [ ] [ ]
88 105
89 106 == Next next release == == Next next release ==
107 [ ] Use Other types of indexes (case insensitive - other collation) for '='.
108 [ ] When deleting SSH keys, show confirmation form (Ioan Albescu).
109 [ ] Add expiration for SSH keys (Ioan Albescu).
110 [ ] Add expiration for API keys (Ioan Albescu).
111 [ ] Inform the user of the hooks how many times were executed - we must have
112 already have the history. Just show it.
113 [ ] Show a user of the hook if and how many times a secret was used.
114 Why? So the user can remove unused secrets.
90 115 [ ] Add mlkem768x25519-sha256 (post-quantum) key type. [ ] Add mlkem768x25519-sha256 (post-quantum) key type.
91 116 What about '-sk' variant? What about '-sk' variant?
92 117 [ ] Collect SELinux/AppArmor failures and report them. [ ] Collect SELinux/AppArmor failures and report them.
File inc/struct.inc.php changed (mode: 100644) (index c2a6b14..88dab4c)
... ... function rg_sql_collation_info($db)
860 860 break; break;
861 861 } }
862 862
863 $r = rg_state_get($db, "schema_version");
864 $sql = 'SELECT datcollate AS col, datcollversion AS db_ver, pg_database_collation_actual_version(oid) AS db_actual_ver'
863 $sql = 'SELECT datcollate AS col, datcollversion AS db_ver'
864 . ', pg_database_collation_actual_version(oid) AS db_actual_ver'
865 865 . ' FROM pg_database' . ' FROM pg_database'
866 866 . ' WHERE datname = current_database()'; . ' WHERE datname = current_database()';
867 867 $res = rg_sql_query($db, $sql); $res = rg_sql_query($db, $sql);
File inc/util2.inc.php changed (mode: 100644) (index 3c0752f..bddf526)
... ... function rg_env_major2codename($distro, $major)
126 126 return 'impish'; // indri return 'impish'; // indri
127 127 } else if (strcmp($major, '22.04') == 0) { } else if (strcmp($major, '22.04') == 0) {
128 128 return 'jammy'; // jellyfish return 'jammy'; // jellyfish
129 } else if (strcmp($major, '22.10') == 0) {
130 return 'kinetic'; // Kinetic Kudu
131 } else if (strcmp($major, '24.04') == 0) {
132 return 'noble'; // Noble Numbat
133 } else if (strcmp($major, '24.10') == 0) {
134 return 'oracular'; // Oracular Oriole
135 } else if (strcmp($major, '25.04') == 0) {
136 return 'plucky'; // Plucky Puffin
137 } else {
138 return $major;
129 139 } }
130 140 } }
131 141
 
... ... function rg_env_codename2major($distro, $codename)
153 163 case 'hirsute': return '21.04'; break; case 'hirsute': return '21.04'; break;
154 164 case 'impish': return '21.10'; break; case 'impish': return '21.10'; break;
155 165 case 'jammy': return '22.04'; break; case 'jammy': return '22.04'; break;
166 case 'kinetic': return '22.10'; break;
167 case 'noble': return '24.04'; break;
168 case 'oracular': return '24.10'; break;
169 case 'plucky': return '25.04'; break;
156 170 } }
157 171 } }
158 172
File inc/workers.inc.php changed (mode: 100644) (index 73b42d5..31231c7)
... ... function rg_worker_cosmetic_one(&$row)
95 95 $env_info['last_update_nice'] = gmdate('Y-m-d', $env_info['last_update']); $env_info['last_update_nice'] = gmdate('Y-m-d', $env_info['last_update']);
96 96 else else
97 97 $env_info['last_update_nice'] = '?'; $env_info['last_update_nice'] = '?';
98
99 if (!array_key_exists('end-of-life', $env_info))
100 $env_info['end-of-life'] = '?';
101
98 102 $list2[$env] = $env_info; $list2[$env] = $env_info;
99 103 } }
100 104 ksort($list2); ksort($list2);
101 105 $more = array(); $more = array();
102 $row['HTML:envs_nice'] .= rg_template_table('user/settings/workers/envs', $list2, $more);
106 $row['HTML:envs_nice'] = rg_template_table('user/settings/workers/envs', $list2, $more);
103 107 } }
104 108 } }
105 109
File root/themes/default/user/settings/workers/envs/header.html changed (mode: 100644) (index 6792a1e..3d16972)
3 3 <tr> <tr>
4 4 <th>Name</th> <th>Name</th>
5 5 <th>Last distro update (UTC)</th> <th>Last distro update (UTC)</th>
6 <th>End-of-life</th>
6 7 </tr> </tr>
7 8 </thead> </thead>
8 9
File root/themes/default/user/settings/workers/envs/line.html changed (mode: 100644) (index 25afc1d..24ab624)
1 1 <tr> <tr>
2 2 <td>@@index@@</td> <td>@@index@@</td>
3 3 <td>@@last_update_nice@@</td> <td>@@last_update_nice@@</td>
4 <td>@@end-of-life@@</td>
4 5 </tr> </tr>
File scripts/worker.php changed (mode: 100644) (index 9bd1fc5..3c6f50a)
... ... function start_worker_build_tools($job, &$reason, &$reason2)
532 532 . ' rg_op_s rpmsign --define "_gpg_name repo_id-${pkg_repo_id}" \\' . "\n" . ' rg_op_s rpmsign --define "_gpg_name repo_id-${pkg_repo_id}" \\' . "\n"
533 533 . ' --define "_gpg_sign_cmd_extra_args --no-autostart --batch" \\' . "\n" . ' --define "_gpg_sign_cmd_extra_args --no-autostart --batch" \\' . "\n"
534 534 . ' --resign $(< "${pkg_list_file}") </dev/null' . "\n" . ' --resign $(< "${pkg_list_file}") </dev/null' . "\n"
535 . ' rg_op_s rpm -qpi $(< "${pkg_list_file}")' . "\n"
535 536 . ' cd "${old_dir}"' . "\n" . ' cd "${old_dir}"' . "\n"
536 537 . ' rg_log N "Signing done (E=${E})"' . "\n" . ' rg_log N "Signing done (E=${E})"' . "\n"
537 538 . ' return ${E}' . "\n" . ' return ${E}' . "\n"
 
... ... function start_worker_build_repo($job, $conf, &$reason, &$reason2)
1291 1292 . ' # Please note, we cannot run strace on rgfs!' . "\n" . ' # Please note, we cannot run strace on rgfs!' . "\n"
1292 1293 . ' rg_log N "Mounting rgfs pkg_repo_id/pkg_subrepo_id=${pkg_repo_id}/${pkg_subrepo_id}"' . "\n" . ' rg_log N "Mounting rgfs pkg_repo_id/pkg_subrepo_id=${pkg_repo_id}/${pkg_subrepo_id}"' . "\n"
1293 1294 . ' rg_op_s /usr/bin/rgfs -s -o kernel_cache -o auto_cache \\' . "\n" . ' rg_op_s /usr/bin/rgfs -s -o kernel_cache -o auto_cache \\' . "\n"
1294 . ' -o noforget -o use_ino "${dir}" || break' . "\n"
1295 . ' -o noforget "${dir}" || break' . "\n"
1295 1296 . ' rgfs_mounted[${pkg_repo_id}-${pkg_subrepo_id}]=1' . "\n" . ' rgfs_mounted[${pkg_repo_id}-${pkg_subrepo_id}]=1' . "\n"
1296 1297 . "\n" . "\n"
1297 1298 . ' rgfs_subrepo_root="/mnt/build2/rgfs/${pkg_repo_id}/${pkg_subrepo_id}"' . "\n" . ' rgfs_subrepo_root="/mnt/build2/rgfs/${pkg_repo_id}/${pkg_subrepo_id}"' . "\n"
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