Commit Graph

462 Commits

Author SHA1 Message Date
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
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
ef826eb529 fix syntax error 2017-10-14 20:52:28 +00: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
a1fd28c04c Fix the git-check-perms cron jobs 2017-10-06 08:52:06 +02: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