Subject | Hash | Author | Date (UTC) |
---|---|---|---|
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 |
Add a random id to all requests to be able to identify them in the logs | 1a487eb279fb2f77db64dbee1b2c1067b548899b | Catalin(ux) M. BOIE | 2017-05-29 17:09:20 |
Docker improvements and 'make docker' to easy testing | 2171599842a90282c24845d41965ef6f7893342c | Catalin(ux) M. BOIE | 2017-05-28 10:09:21 |
Improved apache sample configuration | de04d409f25a6f5d1fe304069753144c17c4f631 | Catalin(ux) M. BOIE | 2017-05-28 10:07:47 |
Use the database only after we setup the connection | 26487d0f17f510d26ef182b6c0938022b0730752 | Catalin(ux) M. BOIE | 2017-05-25 16:39:53 |
Bump version to 0.68 | 02b4708f1cdad67a810f7f1808364774e8ac4831 | Catalin(ux) M. BOIE | 2017-05-25 14:33:17 |
Small debug of schema_ver | 990ad6c4fad455a284a19ed2a60e80442c4ac9d8 | Catalin(ux) M. BOIE | 2017-05-25 14:32:54 |
TODO updates | ea0e06ee96761e3220ac7a27ede1669c7501b9ba | Catalin(ux) M. BOIE | 2017-05-25 14:29:43 |
File | Lines added | Lines deleted |
---|---|---|
tests/git_big_push.php | 25 | 2 |
File tests/git_big_push.php changed (mode: 100644) (index 3529ec5..09dc61e) | |||
... | ... | putenv('git_username=' . $rg_ui['username']); | |
34 | 34 | putenv('git_password=' . $rg_ui['pass']); | putenv('git_password=' . $rg_ui['pass']); |
35 | 35 | putenv('GIT_ASKPASS=' . dirname(__FILE__) . '/ask_pass'); | putenv('GIT_ASKPASS=' . dirname(__FILE__) . '/ask_pass'); |
36 | 36 | ||
37 | $remote = escapeshellarg($repo['clone_url_http']); | ||
38 | |||
39 | |||
40 | rg_log(''); | ||
41 | rg_log_enter('Testing push with a lot of small objects...'); | ||
42 | $r = rg_exec('mkdir -p temp_repos && cd temp_repos' | ||
43 | . ' && rm -rf git_small_obj && mkdir git_small_obj && cd git_small_obj' | ||
44 | . ' && export GIT_CURL_VERBOSE=1 GIT_TRACE=1 GIT_TRACE_PACKET=1' | ||
45 | . ' && git init' | ||
46 | . ' && git remote add origin ' . $remote | ||
47 | . ' && (for i in `seq 0 500`; do' | ||
48 | . ' dd if=/dev/urandom of=a-${i} bs=10000 count=1' | ||
49 | . ' && git add a-${i}' | ||
50 | . ' && git commit -m "aaa-${i}";' | ||
51 | . ' done)' | ||
52 | . ' && git push --force origin master', | ||
53 | '', FALSE, FALSE); | ||
54 | if ($r['ok'] != 1) { | ||
55 | rg_log_ml('Could not push lots of small files: ' . $r['errmsg'] . '!'); | ||
56 | exit(1); | ||
57 | } | ||
58 | rg_log_exit(); | ||
59 | //system('rm -rf temp_repos/git_small_obj'); | ||
60 | |||
37 | 61 | ||
38 | 62 | rg_log(''); | rg_log(''); |
39 | 63 | rg_log_enter('Testing push with a big file...'); | rg_log_enter('Testing push with a big file...'); |
40 | $remote = escapeshellarg($repo['clone_url_http']); | ||
41 | 64 | $r = rg_exec('mkdir -p temp_repos && cd temp_repos' | $r = rg_exec('mkdir -p temp_repos && cd temp_repos' |
42 | 65 | . ' && rm -rf git_big_push && mkdir git_big_push && cd git_big_push' | . ' && rm -rf git_big_push && mkdir git_big_push && cd git_big_push' |
43 | 66 | . ' && git init' | . ' && git init' |
... | ... | if ($r['ok'] != 1) { | |
53 | 76 | } | } |
54 | 77 | $r = rg_exec('cd temp_repos/git_big_push' | $r = rg_exec('cd temp_repos/git_big_push' |
55 | 78 | . ' && export GIT_CURL_VERBOSE=1 GIT_TRACE=1 GIT_TRACE_PACKET=1' | . ' && export GIT_CURL_VERBOSE=1 GIT_TRACE=1 GIT_TRACE_PACKET=1' |
56 | . ' && git push origin master', | ||
79 | . ' && git push --force origin master', | ||
57 | 80 | '', FALSE, FALSE); | '', FALSE, FALSE); |
58 | 81 | if ($r['ok'] != 1) { | if ($r['ok'] != 1) { |
59 | 82 | if (!strstr($r['errmsg'], 'git config http.postBuffer')) { | if (!strstr($r['errmsg'], 'git config http.postBuffer')) { |