Commit Graph

27 Commits

Author SHA1 Message Date
Kevin Fenzi
4e0d8bad1d Move these to templates as we have some variables to set. 2016-09-25 16:32:47 +00:00
Kevin Fenzi
79a0cb2dce Make cgitrc and cgitrc.slow files and copy them over instead of lineinline and a remote copy that changes every run. 2016-09-25 16:25:53 +00:00
clime
6ec8a7ea2e make copr-dist-git compatible with the latest fedpkg versions 2016-09-14 02:40:44 +02:00
Miroslav Suchý
63014c2224 typo 2016-07-13 14:06:05 +02:00
Miroslav Suchý
bcf4c81524 copr: restore some sane value for copr-dist-git httpd 2016-07-11 15:48:44 +02:00
Miroslav Suchý
92a96a7c02 copr: check if previous cronjob already finished 2016-07-11 15:33:23 +02:00
Miroslav Suchý
cc1658ce3a copr: performance tunning of cgit
See
https://lists.zx2c4.com/pipermail/cgit/2016-July/003153.html

Lets make cron job, which generate the cgitrc file.

Generate the cgitrc every hours and set TTL to 2 hours.
2016-07-11 14:42:48 +02:00
Miroslav Suchý
58754236a0 tune copr-dist-git.conf
cgit can take up to 10 minutes - rarely even longer
Once run, it will create cache, but initial run is long.
So I increased timeout a lot.
But to not take down the server with lots of processes, I limited concurent processes.
In normal situation it is more than enough.
And when cgit creates cache, it can lock down few users. But it will create the cache and next run will be fast.
2016-07-05 20:03:21 +02:00
Miroslav Suchý
76f124fc40 copr: use robots.txt for dist-git 2016-06-29 14:12:04 +02:00
Miroslav Suchý
1500a5d10e copr: rename custom mock configs 2016-05-16 16:05:50 +02:00
Miroslav Suchý
2acaeb6842 copr: allow custom0 in dist-git 2016-05-16 15:24:14 +02:00
Miroslav Suchý
c575f8c805 copr: git 2.0 requires this
otherwise it emit warning
2016-04-20 14:56:31 +02:00
clime
f29a738caf copr-dist-git.conf added to httpd configs and dist-git confs previously in httpd dir moved under httpd/dist-git/ 2016-03-15 08:33:41 +01:00
Miroslav Suchý
cb4928c93a add f24 and remove f21 from copr dist-git 2016-02-29 14:26:51 +01:00
Miroslav Suchý
0560b73db1 add f23 copr-dist-git 2016-02-11 12:25:19 +01:00
Miroslav Suchý
723370415c update repo files and enable gpg keys checks 2016-02-09 10:08:13 +01:00
Patrick Uiterwijk
79e285bea0 Make copr-dist-git serve smart-git and backend use it 2015-10-31 23:49:08 +00:00
Valentin Gologuzov
1dc6881b7e [copr] configuring backup for dist-git: backup directly git and lookaside cache 2015-09-15 15:30:28 +02:00
Valentin Gologuzov
19a757bdcd [copr][dist-git] adding backup 2015-09-14 20:04:08 +02:00
Valentin Gologuzov
e543624f14 [copr] typo 2015-09-14 19:42:35 +02:00
Valentin Gologuzov
2d7093cee5 [copr][dist-git] adding backup for copr-dist-git 2015-09-14 19:24:39 +02:00
Valentin Gologuzov
4b37f6c6f7 [copr][dist-git] remove obsolete service file 2015-08-31 14:05:56 +02:00
Valentin Gologuzov
9471f77206 [copr][dist-git] updated location of copr-dist-git module 2015-07-31 16:51:26 +02:00
Valentin Gologuzov
c13973a1c1 [copr][dist-git] Alias /repo/ /var/lib/dist-git/cache/lookaside/ 2015-07-28 17:27:54 +02:00
Valentin Gologuzov
edd69388fc [copr][dist-git] custom dist-git config, running dist-git init script; ssh config for copr-service 2015-07-23 13:27:05 +02:00
Valentin Gologuzov
eb47a61a7f [copr][dist-git] add gitconfig for copr-service; change group of /var/lib/dist-git/git/ to packager 2015-07-23 12:20:01 +02:00
Valentin Gologuzov
39ede60eb2 [copr][dist-git] implementing dist-git role 2015-07-20 17:37:16 +02:00