| File inc/ssh.inc.php changed (mode: 100644) (index e5e09a0..06f3e93) |
| ... |
... |
function rg_ssh_repos($db, $uid) |
| 33 |
33 |
$res = rg_sql_query_params($db, $sql, $params); |
$res = rg_sql_query_params($db, $sql, $params); |
| 34 |
34 |
$rows = rg_sql_num_rows($res); |
$rows = rg_sql_num_rows($res); |
| 35 |
35 |
if ($rows > 0) { |
if ($rows > 0) { |
| 36 |
|
echo 'Repositories (name, creation, disk used):' . "\n"; |
|
|
36 |
|
echo 'Repositories (creation, disk used, name):' . "\n"; |
| 37 |
37 |
while (($row = rg_sql_fetch_array($res))) { |
while (($row = rg_sql_fetch_array($res))) { |
| 38 |
|
$_name = mb_substr($row['name'], 0, 40, 'UTF-8'); |
|
| 39 |
|
echo mb_substr($_name . $pad, 0, 32, 'UTF-8') |
|
| 40 |
|
. ' ' . gmdate('Y-m-d', $row['itime']) |
|
| 41 |
|
. ' ' . rg_1024($row['disk_used_mb'] * 1024 * 1024) |
|
|
38 |
|
$d = rg_1024($row['disk_used_mb'] * 1024 * 1024); |
|
39 |
|
echo gmdate('Y-m-d', $row['itime']) |
|
40 |
|
. ' ' . str_pad($d, 15) |
|
41 |
|
. ' ' . $row['name'] |
| 42 |
42 |
. "\n"; |
. "\n"; |
| 43 |
43 |
} |
} |
| 44 |
44 |
} else { |
} else { |
| File rocketgit.spec.in changed (mode: 100644) (index 3db0c91..796fd4e) |
| ... |
... |
Source: http://kernel.embedromix.ro/us/rocketgit/%{name}-%{version}.tar.gz |
| 13 |
13 |
URL: https://rocketgit.com/ |
URL: https://rocketgit.com/ |
| 14 |
14 |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
| 15 |
15 |
BuildArch: noarch |
BuildArch: noarch |
| 16 |
|
Requires: httpd, mod_ssl, php, php-cli, php-pgsql, php-mbstring, xinetd |
|
|
16 |
|
Requires: httpd, mod_ssl, php, php-cli, php-pgsql, xinetd |
| 17 |
17 |
Requires: git, cronie, postgresql-server |
Requires: git, cronie, postgresql-server |
| 18 |
18 |
Requires: util-linux |
Requires: util-linux |
| 19 |
19 |
# SELinux stuff |
# SELinux stuff |