Commit Graph

156 Commits

Author SHA1 Message Date
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
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
Nick Bebout
c737933ae6 Add dustymabe to bugzilla exceptions 2018-02-22 21:13:46 +00: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
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
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
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
Ralph Bean
48db25c0e6 Drop a noisy print statement from pagure-sync-bugzilla.py.j2
https://pagure.io/fedora-infrastructure/issue/6429
2017-10-23 18:25:15 +00:00
Pierre-Yves Chibon
451fac0502 Add the cron job for the new scripts from pagure-dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2017-10-17 11:01:31 +02:00
Kevin Fenzi
3f74ce3fad grokmirror for pkgs/src 2017-10-14 20:36:18 +00:00
Pierre-Yves Chibon
32e5e76660 Specify the FAS_URL to pagure on dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2017-10-13 11:22:54 +02:00
Pierre-Yves Chibon
6efaf70c98 Fix IP allowed in the internal endpoints
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2017-10-12 12:13:20 +02:00
Pierre-Yves Chibon
b39597b800 Fix the IP address allowed to hit the internal endpoint and a if check in the template
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2017-10-12 09:57:06 +02:00
Patrick Uiterwijk
936e8b261a yum accepted pkg=, package calls it name=
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +02:00
Patrick Uiterwijk
adcbf72f03 Packageize this, packageize that, packageize the world
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:25:52 +00:00
Pierre-Yves Chibon
e1949e520e Turn on the surprise on dist-git 2017-10-06 08:18:01 +02:00
Ralph Bean
07c1d91914 I'm glad I checked. 2017-10-05 17:09:00 +00:00
Ralph Bean
aab2ea4590 Put a lockwrapper around the bz sync script.
We're out of freeze now.

https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org/thread/3G3IZWH2WLTQPEEGZG6SCBOSF3UW4TMT/
2017-10-05 16:06:31 +00:00
Pierre-Yves Chibon
1c3cf6701c Enable the extras json files on prod 2017-10-04 22:33:01 +02:00
Pierre-Yves Chibon
2836a5b7e3 With quotes it works better 2017-10-04 22:15:21 +02:00
Pierre-Yves Chibon
f3613487f7 Allow . and + in project names on dist-git 2017-10-04 22:12:20 +02:00
Pierre-Yves Chibon
7016dd8e84 Take advantage in stg of the new feature of pagure-dist-git 2017-10-04 19:07:32 +02:00