Jakub Kadlcik
cbc6a537b1
copr-dist-git improve comment
2025-01-22 17:33:51 +01:00
Jakub Kadlcik
c06de2f370
copr-dist-git: add custom httpd message for disabled cgit
...
Fix https://github.com/fedora-copr/copr/issues/3595
2025-01-22 17:23:52 +01:00
Jakub Kadlcik
ee282f23ae
copr-dist-git: disable directory.safe check
2024-06-05 15:07:50 +02:00
Pavel Raiskup
5766ff851c
copr-dist-git: run the cleanup cron twice per month
...
https://github.com/fedora-copr/copr/issues/3020
2023-12-17 11:37:11 +01:00
Jiri Kyjovsky
f0e574daff
copr dist-git: remove pyrpkg patch for SRPM pre-generating check
...
Completes: https://github.com/fedora-copr/copr/pull/2686
Partly resolves: https://github.com/fedora-copr/copr/issues/2317
2023-05-09 20:26:11 +00:00
Jiri Kyjovsky
183fedafe1
copr-dist-git: specify default_branch option in dict-git.conf
...
commit d9dfe63e34abd7d6fe3c9b6e4c70939f4932f250 in dist-git
introduces configuration of main branch name. Thus it should
be specified in dict-git.conf
2023-03-28 15:01:39 +02:00
Pavel Raiskup
d63f67e106
copr-dist-git: allow importing autospec srpms
...
https://pagure.io/copr/copr/issue/2317
2022-10-04 15:52:06 +02:00
Silvie Chlupova
5df624c6a3
copr: run prune-dist-git.py in daily cron again
...
Relates: https://pagure.io/copr/copr/pull-request/2101
Relates: https://pagure.io/copr/copr/issue/2078
2022-02-21 10:06:41 +01:00
Silvie Chlupova
534a2d5289
copr: we already run this daily
2022-02-15 15:16:29 +01:00
Silvie Chlupova
f937e22a92
copr: we don't need this cron job, we use more sophisticated script
...
We used to use prune-dist-git.py script which deleted data from distgit
repositories and lookaside cache. Now we use dist-git-clear-tarballs.py script
which can delete only sources not mentioned in the last commits
of the git repo branches.
Relates: https://pagure.io/copr/copr/issue/2078
2022-02-15 14:58:27 +01:00
Silvie Chlupova
d72b5db3e3
copr: update copr-dit-git.monthly to contain all copr dist-git cron jobs
2022-02-14 12:08:22 +01:00
Jakub Kadlcik
5249952c7b
copr: prune old per-task-logs daily
...
The upstream package suggests to prune per-task-logs monthly but with
all the mass rebuilds going on right now (@copr/PyPI,
@rubygems/rubygems), I think it is safer to prune them daily.
2022-02-13 17:56:15 +01:00
Silvie Chlupova
05c986ba1c
copr-distgit: adding cron job for removing old tarballs
2022-02-09 12:58:40 +01:00
Silvie Chlupová
274fa87d44
copr-distgit: drop patch, it's fixed in fedora 35, we don't need it
2021-11-22 11:32:23 +01:00
Pavel Raiskup
8a08f87d43
copr-dist-git: fix failing Thunderbird import
...
Fixes: https://pagure.io/copr/copr/issue/1700
2021-06-02 08:32:39 +02:00
Pavel Raiskup
0aede26200
copr-dist-git: simplify cgitrc config, #2
...
See previous commit.
2021-04-27 22:16:01 +02:00
Pavel Raiskup
4e95c76e0b
copr-dist-git: simplify cgitrc config
...
This is a missing step after:
2e64a15058
2021-04-27 22:01:45 +02:00
Miroslav Suchý
8cba3702a0
copr: enable prune-dist-git.py
2021-03-29 13:21:12 +02:00
Miroslav Suchý
69e2bd3cb1
copr: define git_gc_depth for copr-dist-git
2021-02-10 12:28:33 +01:00
Pavel Raiskup
b9bcba056a
copr: dist-git: disable copr-dist-git pruner for now
...
Per logs sent to us by crond, I suppose there's some bug.
2020-04-24 21:34:26 +02:00
Jakub Kadlcik
5ce2fa72b3
copr: automatically prune distgit repos
2020-04-24 21:34:25 +02:00
Pavel Raiskup
2d1b607186
copr-dist-git: disable cgit periodic scanning
...
That is taking too long, and eats too much io probably (complicates
rsyncing to aws).
2020-04-24 21:34:24 +02:00
Pavel Raiskup
35d3004667
copr: drop rest of hot-fix patch files
2020-04-24 21:34:22 +02:00
Pavel Raiskup
a73a64213d
copr: dist-git: try one hotfix patch
2020-04-24 21:34:18 +02:00
clime
c0631fed5d
copr-dist-git: give map permission on git_user_content_t to cgit
2018-01-03 14:07:40 +01:00
clime
ca805c553d
copr-dist-git: logrotate fix
2017-04-11 02:46:31 +02:00
clime
af9ab8ce5d
copr-dist-git: adjust cron script to new Git repo path
2017-04-11 02:46:31 +02:00
clime
3692faa1e8
copr-dist-git: compatibility fixes for the latest dist-git and copr-dist-git upstream
2017-04-10 14:35:02 +02:00
clime
2a81a086ed
copr-dist-git: adjust devel setup according to the current state of dist-git upstream
2017-03-04 10:27:49 +01:00
clime
3dc7d772c9
copr: prepare deploy of new dist-git upstream package to copr-dist-git-dev
2017-02-13 20:59:28 +01:00
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