Commit Graph

394 Commits

Author SHA1 Message Date
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
Matt Prahl
bcc4d0bba6 Add the unmodified version of pkgdb-sync-bugzilla.py from GitHub in preparation for modification 2017-08-09 13:57:03 +00:00
Pierre-Yves Chibon
ae901a21bb Blacklist 'group' as group name 2017-08-09 11:52:36 +02:00
Pierre-Yves Chibon
8cd38d6a4a First attempt to get multi-static work 2017-08-09 11:25:53 +02:00
Patrick Uiterwijk
970c78b619 Fix git@ service in pkgs02
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-08-09 03:01:27 +02:00
Pierre-Yves Chibon
dc691a0f2d Let the prod instance of pagure over dist-git send emails 2017-08-08 18:52:24 +02:00
Pierre-Yves Chibon
d15a0310ab Cross project ACLs do not allow to create projects 2017-08-08 18:51:33 +02:00
Pierre-Yves Chibon
62061c4da3 Adjust the ACLs for pagure on dist-git 2017-08-08 17:50:24 +02:00
Patrick Uiterwijk
0fa102cbff Forward main page requests and login requests to src.fp.o
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-08-08 13:02:38 +02:00