List of commits:
Subject Hash Author Date (UTC)
PHP8 corrections 51f2cabc7298b5006bf8f0d215c1a338bee92cdb Catalin(ux) M. BOIE 2021-11-13 16:13:13
.spec: require openldap-servers to test LDAP 84e469d5d9fe81509ff3421bdb6517786ea96628 Catalin(ux) M. BOIE 2021-11-06 20:09:07
Cosmetic a4543d8257235dc5c93dd5eecdfb9caa3c2acafa Catalin(ux) M. BOIE 2021-11-02 07:04:36
Fixed partion create logic c8897c0e6f31a0ab917d2320018c5920e0abd36b Catalin(ux) M. BOIE 2021-11-02 06:01:58
Typos corrected c1a5002a1763327f4df8d5d0b419fcc2604f4698 Catalin(ux) M. BOIE 2021-10-30 11:08:34
compare: Updated number of lines d1052eb4b72309dd216e3fd0da2dd311bbeb1383 Catalin(ux) M. BOIE 2021-10-30 10:56:39
Added docs for distro pkgs 401c582772303eff8ba7fde3fcf09064d11bf828 Catalin(ux) M. BOIE 2021-10-30 10:47:43
Added a feature island for packages 115412032fca7ad2166ffbc0a526b358ee1006c4 Catalin(ux) M. BOIE 2021-10-28 07:00:14
Fixed spec file a4c1a8218cfc9cc5b822c587fa3fc709e5d2bf6b Catalin(ux) M. BOIE 2021-10-27 19:37:23
Get rid of xinetd ebc765c9a21a9803b67484795625f7eb46642ae9 Catalin(ux) M. BOIE 2021-10-27 14:18:45
Added /etc/ssh/sshd_config.d in .spec file (again) f225de7ddc3d78d4ec3699c63df6fd754500a9e3 Catalin(ux) M. BOIE 2021-10-26 07:05:26
Compare updated to add .rpm info 0d0a890fe98689b7b70987824e98d34ca5204d45 Catalin(ux) M. BOIE 2021-10-26 06:32:39
Fix rg_str_replace regarding ints; .spec small changes 7242f96f08983a70345e2665cfeb1ea592e3f3f7 Catalin(ux) M. BOIE 2021-10-26 06:17:39
builder: fixed immediate exit 27d21c9ef6bb10beaf1d4c8da29a90d649e68b60 Catalin(ux) M. BOIE 2021-10-24 14:41:29
We need .spec file before configure 840c7c3c0dd68c8ff6796b6494ca38afe8f4a5e6 Catalin(ux) M. BOIE 2021-10-24 14:28:59
rgfs: respect the requested size asked to be read f6f9e3f26e9c2bc98c38ded6a732cf53630d5688 Catalin(ux) M. BOIE 2021-10-24 09:25:51
builder: delay 5s if cannot contact the database b672b80542e80439243127aef2de4bda7d884e8a Catalin(ux) M. BOIE 2021-10-24 08:26:35
Cosmetic ea40e49373739590d9794d203ddd7e2b18464e29 Catalin(ux) M. BOIE 2021-10-23 15:35:34
Typo 7d156cc190c150239f16ea0b9807eb027f8cd79f Catalin(ux) M. BOIE 2021-10-22 17:41:34
worker: be more verbose 0f0e6216ad6f5923d08c10d7461d2259e92f69cd Catalin(ux) M. BOIE 2021-10-22 17:32:01
Commit 51f2cabc7298b5006bf8f0d215c1a338bee92cdb - PHP8 corrections
Author: Catalin(ux) M. BOIE
Author date (UTC): 2021-11-13 16:13
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2021-11-13 16:13
Parent(s): 84e469d5d9fe81509ff3421bdb6517786ea96628
Signing key:
Tree: eebf9e724269559e25154fc498629a0f35cbceb1
File Lines added Lines deleted
inc/conn.inc.php 2 1
inc/prof.inc.php 6 1
inc/util.inc.php 6 1
root/index.php 4 0
scripts/cache.php 2 1
scripts/events.php 2 1
scripts/worker.php 4 2
File inc/conn.inc.php changed (mode: 100644) (index 4ac2d5b..8dbb43f)
... ... function rg_conn_recv($key)
176 176 $arg = FALSE; $arg = FALSE;
177 177
178 178 socket_set_nonblock($client); socket_set_nonblock($client);
179 $c = intval($client);
179 $_i = socket_export_stream($client);
180 $c = intval($_i);
180 181 rg_conn_new($c, $client); rg_conn_new($c, $client);
181 182 $s['func_new']($c, $arg); $s['func_new']($c, $arg);
182 183 return; return;
File inc/prof.inc.php changed (mode: 100644) (index 738ab25..bd3697b)
... ... function rg_prof_sort($a, $b)
141 141 if (!isset($b['time'])) if (!isset($b['time']))
142 142 return 1; return 1;
143 143
144 return $a['time'] > $b['time'];
144 if ($a['time'] > $b['time'])
145 return 1;
146 if ($a['time'] < $b['time'])
147 return 0;
148
149 return 0;
145 150 } }
146 151
147 152 function rg_prof_text() function rg_prof_text()
File inc/util.inc.php changed (mode: 100644) (index dcc8bac..8cb1f89)
... ... function rg_array2string($a)
1921 1921 foreach ($a as $k => $v) { foreach ($a as $k => $v) {
1922 1922 if (is_array($v)) if (is_array($v))
1923 1923 $s = rg_array2string($v); $s = rg_array2string($v);
1924 else if (is_resource($v))
1925 $s = 'RES';
1924 1926 else else
1925 1927 $s = preg_replace_callback($what, "rg_callback_hexa", $v); $s = preg_replace_callback($what, "rg_callback_hexa", $v);
1926 1928 $ret .= $add . "$k=[$s]"; $ret .= $add . "$k=[$s]";
 
... ... function rg_error_handler($no, $str, $file, $line)
2124 2126 $rg_php_err = $str; $rg_php_err = $str;
2125 2127
2126 2128 // call was prepended with '@' // call was prepended with '@'
2127 if (error_reporting() == 0)
2129 // PHP7 returned 0
2130 $er = error_reporting();
2131 //echo 'DEBUG: er=' . base_convert($er, 10, 16) . ' no=' . $no . ' ' . $str . "\n";
2132 if (($er == 0) || !($er & $no))
2128 2133 return; return;
2129 2134
2130 2135 $msg = "PHP ERROR: $file:$line: $str (errno=$no)"; $msg = "PHP ERROR: $file:$line: $str (errno=$no)";
File root/index.php changed (mode: 100644) (index 1857ff7..07e616e)
... ... rg_stats_conns_set('url', $sparas);
387 387 rg_stats_conns_insert($db); rg_stats_conns_insert($db);
388 388
389 389 rg_prof_log(); rg_prof_log();
390
391 //$o = @opcache_get_status();
392 //rg_log_debug('opcache: ' . print_r($o['jit'], TRUE));
393
File scripts/cache.php changed (mode: 100644) (index 48d9884..1aa7cc0)
... ... function rg_handle_new($client, &$conn_table)
261 261 { {
262 262 socket_set_nonblock($client); socket_set_nonblock($client);
263 263
264 $key = intval($client);
264 $i = socket_export_stream($client);
265 $key = intval($i);
265 266 $conn_table['conns'][$key] = array( $conn_table['conns'][$key] = array(
266 267 "socket" => $client, "socket" => $client,
267 268 "recv" => "", "recv" => "",
File scripts/events.php changed (mode: 100644) (index ce3f012..d838b6c)
... ... do {
163 163 } }
164 164
165 165 socket_set_nonblock($client); socket_set_nonblock($client);
166 $key = intval($client);
166 $_i = socket_export_stream($client);
167 $key = intval($_i);
167 168 $conn_table['conns'][$key] = array( $conn_table['conns'][$key] = array(
168 169 'socket' => $client, 'socket' => $client,
169 170 'send' => '', 'send' => '',
File scripts/worker.php changed (mode: 100644) (index fa71818..ec55fa6)
... ... function xchan_open(&$job)
1849 1849 if ($r === FALSE) { if ($r === FALSE) {
1850 1850 rg_log($jid . ': Cannot connect to sock for channel comm:' rg_log($jid . ': Cannot connect to sock for channel comm:'
1851 1851 . ' ' . socket_strerror(socket_last_error())); . ' ' . socket_strerror(socket_last_error()));
1852 @socket_close($s);
1852 if ($s !== null)
1853 @socket_close($s);
1853 1854 break; break;
1854 1855 } }
1855 1856
 
... ... while(1) {
2751 2752 rg_internal_error('Cannot unmount [' . $job['main'] rg_internal_error('Cannot unmount [' . $job['main']
2752 2753 . '/root]: ' . $r['errmsg'] . '!'); . '/root]: ' . $r['errmsg'] . '!');
2753 2754
2754 @socket_close($job['chan']);
2755 if (isset($job['chan']))
2756 @socket_close($job['chan']);
2755 2757
2756 2758 $r = rg_del_tree($job['main']); $r = rg_del_tree($job['main']);
2757 2759 if ($r === FALSE) if ($r === FALSE)
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