List of commits:
Subject Hash Author Date (UTC)
If we get an error when checking the db version, just exit, do not try to do updates. 20a3c8e9fbcadcab05c1a24428b06c7dc6c39f7d Catalin(ux) M. BOIE 2017-06-30 18:56:45
rpm: Forgot to create nginx conf.d folder a2d33471bd782be5aea6ea72f8e21842fc3be07d Catalin(ux) M. BOIE 2017-06-25 10:25:42
Bumped version to 0.69 2411fe5ef068cf6a8b546edcecaac25363755275 Catalin(ux) M. BOIE 2017-06-25 08:20:15
TODO updates 56321b504fdcb1724f590981b29e6731ba0c8607 Catalin(ux) M. BOIE 2017-06-25 08:19:11
tests: switch to nginx; small fixes for the 'log' test 6c75b7de3db4135071155fcaebc4b7220ee966ed Catalin(ux) M. BOIE 2017-06-25 08:18:20
Apache sample config fixes a030309a796a84b99bc9568fe81291305492bf10 Catalin(ux) M. BOIE 2017-06-25 07:59:46
Small text changes 45797dbaf71ec5c922a8ed6e7b9497da64807eb4 Catalin(ux) M. BOIE 2017-06-25 07:58:25
tests: added a test with 500 10k commits ad3ce91ff291b9537ceca11995268e45a17407ef Catalin(ux) M. BOIE 2017-06-25 07:57:37
css: added warning_text class 17a1930f1661392629f3787cdd0150e971496512 Catalin(ux) M. BOIE 2017-06-25 07:56:48
web: the jump to a file did not work because of a wrong anchor bbb95d3a79ea686b3c145b532d072fc19c034297 Catalin(ux) M. BOIE 2017-06-25 07:53:52
css: when diff is too big, show it inline not as a ugly block 9fff8e0248793fc7a2d1346dc8af7ba1aa2fb7ea Catalin(ux) M. BOIE 2017-06-25 07:50:58
Small fixes to the 'download' section documentation a19ca599f6e6ec064952cc1d8f9ea3edd7947254 Catalin(ux) M. BOIE 2017-06-25 07:50:11
Fixes for base_url: did not work for docker (bad switch to https) 4aee622d5e845a9e308f7277af1a1b612fc0c173 Catalin(ux) M. BOIE 2017-06-25 07:49:17
Fixed the commit show page (showing multiple commits) 3e932d79f05be2593cb4c62a58cc0f98704ba5d7 Catalin(ux) M. BOIE 2017-06-25 07:48:21
nginx preparations in .spec file and remove hard dependency on a web server 9aac8ca0a8cb26da4552b9e55f1d4d6b3a4a5d14 Catalin(ux) M. BOIE 2017-06-25 07:46:46
compare: added 'LDAP groups' item and 'Product distribution/evaluation' category ee0b6e752dd575ca1f2b94b7d1c9156db89e40c7 Catalin(ux) M. BOIE 2017-06-25 07:44:45
Improved the installation documentation (add added nginx) 7282afb958acad6e7a4399442b306df59a9b02c0 Catalin(ux) M. BOIE 2017-06-25 07:43:15
Docker fixes 16b1c0adb4518db3a1498c1e30d5a409b692b2bb Catalin(ux) M. BOIE 2017-06-25 07:36:09
Disabled repo 'Stats' menu because of performance issues da34324ac9972bac872916aef29d1d4e0b8f0499 Catalin(ux) M. BOIE 2017-06-09 17:50:54
Manually free memory to improve performance d6b93c1dc2aef248fba8d5f4a34e57ad3433f82f Catalin(ux) M. BOIE 2017-06-09 17:37:37
Commit 20a3c8e9fbcadcab05c1a24428b06c7dc6c39f7d - If we get an error when checking the db version, just exit, do not try to do updates.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2017-06-30 18:56
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2017-06-30 18:56
Parent(s): a2d33471bd782be5aea6ea72f8e21842fc3be07d
Signer:
Signing key:
Signing status: N
Tree: 3ed78476e8e93284c4a8643355c43beab8b78fff
File Lines added Lines deleted
inc/struct.inc.php 27 10
File inc/struct.inc.php changed (mode: 100644) (index f939673..de3d953)
... ... function rg_sql_struct_update_needed($db)
698 698 { {
699 699 global $rg_sql_schema_ver; global $rg_sql_schema_ver;
700 700
701 $old = rg_sql_struct_get_current_ver($db);
702 if ($old === FALSE)
703 return 1;
701 rg_log_enter('sql_struct_update_needed');
702 $ret = FALSE;
703 while (1) {
704 $old = rg_sql_struct_get_current_ver($db);
705 if ($old === FALSE) {
706 $ret = FALSE;
707 break;
708 }
704 709
705 if ($rg_sql_schema_ver == $old)
706 return 0;
710 if ($rg_sql_schema_ver == $old) {
711 $ret = 0;
712 break;
713 }
707 714
708 rg_log('DEBUG: sql_schema_ver=' . $rg_sql_schema_ver
709 . ' != old=' . $old);
715 rg_log('DEBUG: sql_schema_ver=' . $rg_sql_schema_ver
716 . ' != old=' . $old);
717 $ret = 1;
718 break;
719 }
710 720
711 return 1;
721 rg_log_exit();
722 return $ret;
712 723 } }
713 724
714 725 /* /*
 
... ... function rg_struct_ok($db)
906 917 while (1) { while (1) {
907 918 $restart_cache = FALSE; $restart_cache = FALSE;
908 919
909 if (rg_sql_struct_update_needed($db) == 1) {
920 $r = rg_sql_struct_update_needed($db);
921 if ($r === FALSE)
922 break;
923 if ($r == 1) {
910 924 $r = rg_sql_struct_update($db, 0); $r = rg_sql_struct_update($db, 0);
911 925 if ($r !== TRUE) if ($r !== TRUE)
912 926 break; break;
913 927 $restart_cache = TRUE; $restart_cache = TRUE;
914 928 } }
915 929
916 if (rg_fixes_needed($db) == 1) {
930 $r = rg_fixes_needed($db);
931 if ($r === FALSE)
932 break;
933 if ($r == 1) {
917 934 $r = rg_fixes_update($db); $r = rg_fixes_update($db);
918 935 if ($r !== TRUE) if ($r !== TRUE)
919 936 break; break;
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