Commit graph

276 commits

Author SHA1 Message Date
Jason Tibbitts
d1f6a2f647 Force-remove F-13 from valid branch list.
Since f15 is out, we no longer allow F-13 branches.  Remove it from the
valid list.
2011-05-25 11:24:55 -05:00
Jason Tibbitts
3e1c769439 Remove the fixups for "f12" and "f13".
We no longer accept F-12 or F-13 branches so remove the conversions from
"f12" and "f13" to "F-12" and "F-13", respectively.
2011-05-25 11:19:15 -05:00
Jon
d1e5c04b7d Add various distgit scripts 2011-05-08 13:45:07 -04:00
Jason Tibbitts
9965e2d3d1 Stringify package name before calling pkgdb
If python-bugzilla hands us back unicode, we'll have the package name in
a unicode string (even though it will only ever have ascii characters).
Passing this to python-fedora causes pycurl to blow
up.
2011-04-29 11:02:19 -05:00
Jason Tibbitts
15b389eeb5 Switch to a regexp for finding requests in comments
Previously looked for the reqest strings anywhere in the comment, but
this breaks if someone quotes a request for some reason.
Switch to using a regexp instead.
2011-04-18 12:55:50 -05:00
Jason Tibbitts
8751ac45eb Fix crash on change request for nonexistent package. 2011-04-11 15:06:22 -05:00
Jason Tibbitts
261efdd6e6 Forgot to delete a temp file. 2011-03-25 10:08:09 -05:00
Jason Tibbitts
f65d9b36f2 Handle initial commit properly. 2011-03-24 14:05:14 -05:00
Jason Tibbitts
466e29c326 Assign positional args to named vars. 2011-03-24 14:02:58 -05:00
Jason Tibbitts
024f665e91 Reorder declared variables. 2011-03-24 14:01:53 -05:00
Jason Tibbitts
0c95eecc27 Don't open-code the zero hash. 2011-03-24 14:01:03 -05:00
Jason Tibbitts
d954f53142 Initial commit
Initial checkin of an update hook for preventing checkins of large files
or archives.
2011-03-24 13:49:25 -05:00
Jason Tibbitts
8ba7b7364b Add hitlist of bad reviewers. 2011-01-27 09:25:04 -06:00
Jason Tibbitts
1c2eb3e72e Fix typo in epel_ok list. 2011-01-25 09:05:06 -06:00
Jason Tibbitts
3af7d62c90 Better handle odd InitialCC formats
Handle "foo,bar,baz" as well as other combinations of spaces and commas.
2010-12-23 10:34:00 -06:00
Jason Tibbitts
eb9054310d Be more lenient when parsing ticket summaries. 2010-11-30 09:12:55 -06:00
Jason Tibbitts
84f27b5ed9 Add FE-BUNDLEDLIBS tracker.
Hide tickets from view when blocking the FE-BUNDLEDLIBS tracker.
2010-11-30 09:00:40 -06:00
Jason Tibbitts
c3b5f79919 Fix typo: "FEATURR". 2010-11-30 08:33:21 -06:00
Jason Tibbitts
318462b67a Add tracker for reviews blocking accepted features.
These tickets should appear in red on the main review ticket page.
2010-11-30 08:27:56 -06:00
Jason Tibbitts
fff5874451 Fix possible ignoring of owner or CC warnings.
If the only warnings were due to bad owners or CC's, the script failed
to force acceptance of them before proceeding.
2010-11-15 09:28:42 -06:00
Jason Tibbitts
1c15576907 Add StalledSubmmitter whiteboard status.
Support adding StalledSubmitter to the whiteboard to hide the package
from the queue; this makes it easy to drop stalled reviews out of the
queue and to query and mass-close them later.
2010-11-13 11:09:26 -06:00
Jason Tibbitts
a23a6f6d04 Change default editor to /usr/bin/vi
vim might not be installed for whatever odd reason, so fall back to vi.
2010-10-13 13:16:15 -05:00
Jason Tibbitts
6846f2a586 Attempt to handle misformatted change requests
For whatever reason some folks put "Branches" instead of "New Branches"
in their change requests.  Try to handle this better, but I don't think
it's working properly yet.
2010-10-13 13:12:55 -05:00
Jason Tibbitts
703371fab6 Avoid proxy errors from bugzilla due to timeouts
Split the query we use to see if dependencies are in CLOSED state into
500-bug chunks to avoid confusing bugzilla.
2010-10-13 07:28:13 -05:00
Jason Tibbitts
4c3251878d Handle change requests for nonexistent packages
Try to handle the case where we get a change request for a package that
does not exist in pkgdb.  Gives more complaints than necessary but at
least doesn't backtrace.
2010-10-05 08:47:57 -05:00
Jason Tibbitts
747b9b91c6 Handle requests without owners.
For some reason some people insert blank lines in their SCM requests.
Since we stop parsing at the first blank line, this results in requests
without owners or branches.  Handle that better.
2010-08-27 14:53:06 -05:00
Mike McGrath
0d8377a8b0 Merge branch 'master' of ssh://git.fedorahosted.org/git/fedora-infrastructure 2010-08-17 14:45:39 -05:00
Mike McGrath
90e6dc0259 Adding infra notes so I don't forget them 2010-08-17 14:44:07 -05:00
Jason Tibbitts
0a091e6427 Verify a valid bugzilla cookie exists
Empirical evidence suggests that you will get full names instead of
email addresses for things like the assigned_to field if you haven't
logged into bugzilla.  While I'd prefer to have both, this does give a
way to see if the bugzilla cookie is valid.

So, if no '@' in the first bug's assigned_to, bail.
2010-08-14 09:27:35 -05:00
Jason Tibbitts
3634c7fe94 Properly check branches in change requests
Weren't properly checking for valid branch names when parsing change
requests.
2010-08-13 13:26:35 -05:00
Jason Tibbitts
4e77028f98 Import the review-stats script.
Move the review-stats script and associated templates from fedora-cvs to
git.
2010-08-12 12:04:14 -05:00
Jason Tibbitts
064578484e Remove errant debug statement. 2010-08-11 13:32:52 -05:00
Jason Tibbitts
a7cfae7927 Look up new owners in FAS
Query FAS for owners, comaintainers and initialcc entries.
Also verify that owners and comaintainers are in the packager group.
2010-08-10 21:06:28 -05:00
Jason Tibbitts
07d09ed6b9 Add note about testing bugzilla ticket. 2010-08-07 09:06:24 -05:00
Jason Tibbitts
33161bf46d Ensure provided description has length.
Add a warning if the provided description has zero length, since zero
length descriptions not only make no sense, but an empty description
breaks the bugzilla sync script.
2010-08-06 18:49:25 -05:00
Jason Tibbitts
5a568706a6 Switch back to using timetuple.
Since we no longer have to worry about python 2.4 compat, switch back to
better looking timestamps.
2010-08-06 14:34:47 -05:00
Jason Tibbitts
ba3bd59641 Update TODO list. 2010-08-06 14:16:36 -05:00
Jason Tibbitts
22ce64372a SSH in to create branches.
If we're not on pkgs01, SSH in to run pkgdb2branch.py.
If we are, just run it directly.
If there are errors (ssh failed, maybe) just save the package name and
  proceed as we always did.
2010-08-06 10:23:24 -05:00
Jason Tibbitts
d6faa0e008 Merge branch 'master' of ssh://git.fedorahosted.org/git/fedora-infrastructure 2010-08-05 14:18:38 -05:00
Jason Tibbitts
ad70d5c06d Update todo list. 2010-08-05 14:04:16 -05:00
Jason Tibbitts
0eb79a7d78 Remove RCS tag. 2010-08-05 09:00:56 -05:00
Mike McGrath
9386baac38 Adding the testing repo 2010-08-05 08:57:50 -05:00
Jason Tibbitts
a387e7ed8f Call it "Git".
Change "GIT" to "Git" and use SCM in a few places.
2010-08-04 07:44:46 -05:00
Jason Tibbitts
8d53bdadcf Better branch name cleaning
Convert branch names to fN and elN forms, then convert explicitly back
to F-13 and such to satisfy pkgdb.
2010-08-03 21:15:22 -05:00
Jason Tibbitts
fe6ac25135 Change more instances of "CVS to SCM".
Recognize additional "New Package FOO Request" lines.
2010-08-03 19:26:37 -05:00
Jason Tibbitts
26117e4144 Don't restrict the search to the Fedora product, as this misses EPEL. 2010-08-03 18:23:04 -05:00
Jason Tibbitts
f9b00c60dd Handle a change request with no new branches specified. 2010-08-03 18:04:23 -05:00
Jason Tibbitts
d5d7dc314b Initial import of the SCM request processing script. 2010-08-03 17:09:46 -05:00
Rick Elrod
98e82b47d2 latest hosted script 2010-07-29 23:40:09 -04:00
Jon Stanley
0f3a4fab51 Add FAS name to name of entry 2010-07-05 00:07:26 -04:00