Pierre-Yves Chibon
deadff2000
Add the create_branch ACL to pagure's config on dist-git
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-05-14 21:30:36 +02:00
Patrick Uiterwijk
7f9d48bbf1
Revert "Let's only start the services for now"
...
These services must run on system start or parts of Pagure will be down
This reverts commit 75cafd3584 .
2018-05-10 13:25:22 +02:00
Kevin Fenzi
a8714caab3
first cut at changing all the old |changed to is changed per ansible deprecations
2018-05-07 23:51:48 +00:00
Pierre-Yves Chibon
76dcfec4b0
Update the systemd service file for dist-git
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-05-03 12:30:36 +02:00
Pierre-Yves Chibon
b22cdd3e17
Always send fedmsg notification on dist-git
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-05-03 12:08:59 +02:00
Pierre-Yves Chibon
840dea9774
Port the .wsgi file to pagure 4.0
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-05-03 10:41:27 +02:00
Pierre-Yves Chibon
724308a71a
Turn back on the cron jobs on dist-git.stg, they got fixed
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-04-23 14:33:04 +02:00
Patrick Uiterwijk
9cbf120b54
Make sure packagers can access the fedmsg key
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-04-17 18:17:04 +02:00
Pierre-Yves Chibon
809489bc7c
Disable the fedmsg hook in pagure's ui in dist-git
...
Since that hook will from now on be enabled for all projects
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-04-17 14:04:01 +02:00
Pierre-Yves Chibon
c7133fefad
Let's disable the cron on staging dist-git until they are fixed
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-04-05 19:02:04 +02:00
Nick Bebout
77bd7da1c3
Add BZ email exception for jbwillia
2018-03-29 20:32:49 +00:00
Nick Bebout
230a9e78c9
Add a bugzilla email exception for jbwillia
2018-03-29 17:39:34 +00:00
clime
f915d6bed6
dist-git: add temporary cache_dir_override option
2018-03-27 12:41:10 +02:00
Kevin Fenzi
877215fa7d
Make the redirect for pkgs handle more than just / Ticket https://pagure.io/fedora-infrastructure/issue/6785
2018-03-20 18:59:54 +00:00
Kevin Fenzi
5bbb1c5f5e
fix invocation of git-check-perms. This is needed to setup hooks on new packages as they are added
2018-03-09 19:01:56 +00:00
clime
4f901eb9cf
update dist-git.conf for next dist-git release
...
* this change is not exactly necessary due to default values, but
I think it's better to be explicit
2018-02-26 14:46:54 +01:00
Nick Bebout
c737933ae6
Add dustymabe to bugzilla exceptions
2018-02-22 21:13:46 +00:00
Pierre-Yves Chibon
56efae7e16
Do not relying on the existance of 3 spaces to make decisions
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-02-21 15:21:21 +01:00
Pierre-Yves Chibon
445e2eadfc
Invert logic of namespace vs pdc type
...
We are iterating through the gitolite config that is namespace
aware (ie: rpms, modules) and are checking if the repo is in the
list to update, list coming from pdc and thus style aware not
namespaces (ie: rpm, module).
So invert the logic.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-02-20 17:23:21 +01:00
Pierre-Yves Chibon
d640cbbba0
Fix if the entry exists in pdc and not on disk and typo in an error message
2018-02-20 17:22:58 +01:00
Pierre-Yves Chibon
c558e739d8
dist-git doesn't trigger the POST_COMPILE (that was missing anyway
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-02-20 12:54:15 +01:00
Pierre-Yves Chibon
4464bf6eda
Fixes some typos in the script updating the gitolite config for mass-branching
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-02-20 12:48:35 +01:00
Pierre-Yves Chibon
f17603d02a
Add to dist-git the scripts we use for mass-branching
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-02-20 12:04:15 +01:00
clime
72e42a56b3
update dist-git.conf
2018-02-19 12:34:10 +01:00
Pierre-Yves Chibon
45564e852f
List the commit_flag in the list of ACLs supported
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-02-19 11:36:17 +01:00
Pierre-Yves Chibon
3bd998fffe
Allow pagure admin to create API token with the commit_flag ACL
2018-02-19 11:16:05 +01:00
Patrick Uiterwijk
4aa1c5bcc3
Block all but internal from pkgs.fp.o and set up robots.txt files
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-02-08 22:44:06 +00:00
Till Maas
8f7acb0dde
Increase HSTS max age to one year
...
The HSTS preload list requires this now: https://hstspreload.org/
2018-02-07 12:42:36 +01:00
Patrick Uiterwijk
321ad82c19
Unblock pkgs and do redirect instead
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-02-05 13:17:54 +00:00
Ralph Bean
4d8ad20419
This script seems to be working now.
2018-01-27 08:53:37 +00:00
Kevin Fenzi
c625021c45
only exclude modules in staging, they exist in prod
2018-01-08 20:41:15 +00:00
Pierre-Yves Chibon
4b6c5733ed
Specify the APP_URL in the hook's config file
...
Fixes https://pagure.io/fedora-infrastructure/issue/6596
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2018-01-02 09:43:38 +01:00
Patrick Uiterwijk
cc16ee5187
Fix the capitlization
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-12-24 20:36:27 +01:00
Patrick Uiterwijk
c70c29df19
Split --debug into --verbose and --dry-run
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-12-22 01:35:36 +01:00
Patrick Uiterwijk
4762042663
Ignore unknown project namespaces for the bugzilla sync
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-12-21 21:24:26 +00:00
Pierre-Yves Chibon
fa0a6a8439
Add the tests namespace to dist-git
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2017-12-20 10:44:58 +01:00
Pierre-Yves Chibon
e7eb8bbddc
Fix the bz url in stg vs prod
2017-12-18 15:44:22 +01:00
Ralph Bean
d75b0eba55
Don't create new bugzilla components for modules, yet.
2017-12-15 21:34:20 +00:00
Ralph Bean
83ce739c02
Indentation matters.
2017-12-15 15:08:18 +00:00
Ralph Bean
e0534e11b0
Integrate staging pagure-sync-bugzilla changes into prod.
2017-12-15 14:58:18 +00:00
Ralph Bean
7c83acbcd0
Back to one copy of pagure-sync-bugzilla.py.j2.
2017-12-15 14:58:18 +00:00
Ralph Bean
da55d8e499
Send no email in staging.
2017-12-14 21:50:46 +00:00
Ralph Bean
b3be475477
Add a staging version of pagure-sync-bugzilla.py to try in staging.
2017-12-14 21:49:29 +00:00
Kevin Fenzi
ceb53f786f
fedmsg-relay is not even installed here, so its really not likely to be needed
2017-11-21 00:54:01 +00:00
Pierre-Yves Chibon
63f13cf8cd
Specify the username in the GIT URL
2017-11-20 11:05:15 +01:00
Ralph Bean
61210be170
Retrieve only the correct branches for a given package.
2017-11-08 20:52:09 +00:00
Patrick Uiterwijk
58fcfbaca2
Remove the namespace from dist-git.conf so namespaced lookaside becomes possible
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2017-10-28 01:40:32 +02:00
Pierre-Yves Chibon
a199694786
Make pagure use pygments2 explicitely
...
Got the +1 from Peter and Patrick on IRC, thanks for that!
2017-10-26 11:06:52 +02:00
Ralph Bean
efa8bff4bd
Add missing import.
2017-10-23 18:52:34 +00:00
Ralph Bean
c1ec0d1728
Tolerate timeouts when building this cache.
2017-10-23 18:38:59 +00:00