Commit Graph

402 Commits

Author SHA1 Message Date
Ralph Bean
7de3957b9e Re-enable user notification. 2017-09-06 15:49:27 +00:00
Pierre-Yves Chibon
d2fa8a904b Fix the overriding of static files in dist-git 2017-09-05 10:36:06 +02:00
Pierre-Yves Chibon
55cc72d160 Use 2775 insteads if 0775 so sub directories are created fine 2017-09-05 08:30:07 +02:00
Pierre-Yves Chibon
585dba2a76 Ensure the default directory structure is created 2017-09-04 18:59:47 +02:00
Kevin Fenzi
df6a521a6f bring cgit back for now until pagure can do rss/atom, show all namespaces, etc 2017-09-03 21:37:14 +00:00
Ralph Bean
fb1ec8b9dc Reset required groups for dist-git namespaces. 2017-08-30 18:01:58 +00:00
mprahl
9fabcc45d4 Stop making the releng user be CC'd on Bugzilla bugs on projects that it is inherently watching issues on in Pagure 2017-08-27 02:52:14 +00:00
Ralph Bean
ff35ce9c34 Add missing import. 2017-08-22 00:17:49 +00:00
Ralph Bean
e0bff6a35f Also, kwargs. 2017-08-21 18:21:40 +00:00
Ralph Bean
b1ac1a3f55 Some more graceful error handling for the rhbz sync script. 2017-08-21 15:01:12 +00:00
Kevin Fenzi
3e1ad8e0a3 fix daily pagure to bugzilla sync script and make it run only in prod 2017-08-20 20:28:18 +00:00
Ralph Bean
aa8ebab019 A username is expected here. 2017-08-20 17:50:04 +00:00
Matt Prahl
27a90039fe Use multithread on Pagure and PDC queries 2017-08-18 18:42:42 +00:00
Ralph Bean
a54bff964f Make sure to correctly escape package names, like atari++. 2017-08-17 17:19:49 +00:00
Ralph Bean
7ba8e62259 Fix incorrect handling of API response. 2017-08-17 15:27:32 +00:00
Ralph Bean
0e747aa620 I sure got that backwards. 2017-08-17 15:24:10 +00:00
Ralph Bean
114e23e9df Define PDCURL. 2017-08-17 15:23:07 +00:00
Ralph Bean
a6de3a1d20 Map dist-git namespaces to pdc types. 2017-08-17 15:20:54 +00:00
Ralph Bean
d39f09af12 Another typofix. 2017-08-17 15:18:34 +00:00
Ralph Bean
d9853d716d Pesky syntax. 2017-08-17 15:17:35 +00:00
Pierre-Yves Chibon
413a56322f Adjust config for hotfix in pagure 2017-08-17 15:11:10 +02:00
Pierre-Yves Chibon
478bdbc065 Adjust perms on the pagure config for the hooks 2017-08-17 11:05:05 +02:00
Pierre-Yves Chibon
ac1683d21b Have a dedicated pagure config just for the git hook and specify it on the user's env 2017-08-17 11:03:40 +02:00
Pierre-Yves Chibon
a0c61406f0 Let's not crash the entire script if the repo is present but empty
This is the case with :
https://src.fedoraproject.org/rpms/ntetris
https://src.fedoraproject.org/rpms/python-yubikey-manager
2017-08-17 11:03:40 +02:00
Ralph Bean
d7c787542b Set the default bz assignee to orphan for orphaned branches.
See https://pagure.io/releng/issue/6957
2017-08-16 20:44:52 +00:00
Pierre-Yves Chibon
5fda2de1f6 More fixes to make the mass-branching script work (was done yesterday) 2017-08-16 14:38:23 +02:00
Patrick Uiterwijk
6c476f82e7 Set a umask for PAgure on dist-git that should work
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-08-16 08:29:26 +00:00
Pierre-Yves Chibon
70b6353dd9 Start porting pkgdb_sync_git_branches to a world w/o pkgdb 2017-08-15 22:28:20 +02:00
Pierre-Yves Chibon
95e1adcc6d Wrong config key 2017-08-15 19:11:42 +02:00
Pierre-Yves Chibon
63ca54f94b Add the generate_acls_project ACL to pagure on dist-git 2017-08-15 19:07:22 +02:00
mprahl
55496a0a9c Query MDAPI when the project is an RPM in pagure-sync-bugzilla.py
Signed-off-by: mprahl <mprahl@redhat.com>
2017-08-14 21:17:13 +00:00
Ralph Bean
fe15aa7ae0 Temporarily disable emailing users while we figure out https://pagure.io/fedora-infrastructure/issue/6233 2017-08-11 14:54:42 +00:00
Pierre-Yves Chibon
a8d59c5678 Add missing comma 2017-08-11 16:23:07 +02:00
Pierre-Yves Chibon
f0773ec0bd Adjust the ssh keys info for pkgs.fp.o and stg 2017-08-11 15:54:54 +02:00
Ralph Bean
bb595e71b6 Tag these tasks. 2017-08-10 19:41:11 +00:00
Ralph Bean
577acef7a8 Small optimizations to pagure-sync-bugzilla.py 2017-08-10 19:40:11 +00:00
Ralph Bean
2a9968f867 Apply the bugzilla override fas hotfix to the new bugzilla sync script. 2017-08-10 19:12:29 +00:00
Patrick Uiterwijk
3fbc71a614 Fix lookaside uploading until we can fix for realsies
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-08-09 23:47:47 +02:00
Pierre-Yves Chibon
49f0eec8eb Pagure on dist-git is case sensitive 2017-08-09 19:43:36 +02:00
Pierre-Yves Chibon
e7b1d708fb python2-requests doesn't exist in epel7 2017-08-09 18:57:43 +02:00
Pierre-Yves Chibon
5b433d2a20 Tweak pagure config on dist-git 2017-08-09 18:55:04 +02:00
Ralph Bean
6b67be1f42 Use requests retry mechanism in the bugzilla sync script. 2017-08-09 14:09:56 +00:00
Ralph Bean
27c8f24930 Include more devs in error emails. 2017-08-09 14:03:38 +00:00
Ralph Bean
ff3b5478f5 Use the official override repo. 2017-08-09 14:01:00 +00:00
Ralph Bean
78f8cbf799 Fix src.fp.o URLs. 2017-08-09 14:00:40 +00:00
Ralph Bean
09af2c0457 Only people watching issues should be CC'd 2017-08-09 13:57:03 +00:00
Ralph Bean
fd4a522b53 Adjust override yaml structure. 2017-08-09 13:57:03 +00:00
Matt Prahl
150dc4c5c5 Address feedback 2017-08-09 13:57:03 +00:00
Matt Prahl
4783a88be8 Check for default assignee overrides 2017-08-09 13:57:03 +00:00
Matt Prahl
c842d232d2 Convert the pkgdb-sync-bugzilla.py script to pagure-sync-bugzilla.py and run it on Pagure over dist-git
This is part of https://fedoraproject.org/wiki/Changes/ArbitraryBranching. Since PkgDB will be decommissioned,
we need to start using Pagure's API instead of PkgDB to sync Bugzilla component owners and CC users.
2017-08-09 13:57:03 +00:00