Commit graph

54 commits

Author SHA1 Message Date
Jon Ciesla
30a7b6c4b2 Fixes for latest python-bugzilla. 2013-03-23 09:43:11 -05:00
Kevin Fenzi
5815242e83 Should have set this a bit ago. 2013-02-10 20:52:08 -07:00
Jon Ciesla
5ca2c7caf3 Switch to port 80. 2012-09-28 16:38:29 -05:00
Jon Ciesla
41625c5e72 Maybe lay off of denyhosts. . . 2012-09-28 09:40:19 -05:00
Jon Ciesla
ec9e60917a Make sure pkghost is up, abort otherwise. 2012-09-26 08:16:43 -05:00
Jon Ciesla
5d27ef586b More bz checks. 2012-09-05 14:05:47 -05:00
Jon Ciesla
f844e2c344 Possible fix for BZ errors. 2012-09-05 13:47:31 -05:00
Jon Ciesla
3307b7c6c2 Hopefully tighted exception handling to fight bad 4G connections on the train.
Revert if it breaks things, hasn't so far.
2012-09-05 10:02:26 -05:00
Jon Ciesla
e1b2f9aea0 Even more robust flag checking. 2012-08-17 06:04:25 -05:00
Jon Ciesla
fe057c77ae Robusticize fedora-review flag check. 2012-08-16 14:42:26 -05:00
Jon Ciesla
545a5ec110 Let's make just one call to BZ for the fedora-review flag. 2012-07-05 10:30:19 -05:00
Jon Ciesla
d906b477f0 Warn if fedora-review flag set by submitter. (Thanks to Thomas Spura for alerting me to this) 2012-07-05 10:12:38 -05:00
Jason Tibbitts
41555091d1 Update for new python-bugzilla. 2012-06-18 15:10:27 -05:00
Jason Tibbitts
26f7b778a1 Remove bad_reviewers stuff 2012-06-13 21:07:51 -05:00
Jason Tibbitts
d394e3b751 Update obsolete branch for F-17 release. 2012-05-29 10:42:51 -05:00
Jon Ciesla
c63918b932 Added a note about checking existing branches. I'll
see if I can make headway on that.
2012-04-26 12:55:12 -05:00
Jon Ciesla
c210ddbff8 Add option to open BZ in browser, to speed up closer inspection. 2012-03-30 12:23:33 -05:00
Jon Ciesla
7099e54c23 Don't accept new EL-4 branches. 2012-03-30 11:48:34 -05:00
Jason Tibbitts
74e6ff59f1 F14 no longer accepts new branches. 2011-11-09 09:58:08 -06:00
Jason Tibbitts
cdfb9dc2f3 Add more warnings.
Add warnings for new package requests:
  fedora-review flag is not set to '+'
  Ticket is not assigned to anyone.
2011-06-24 10:34:16 -05:00
Jason Tibbitts
11b13f8fa1 Seems vi is in /bin, not /usr/bin. 2011-05-31 00:40:04 -05:00
Jason Tibbitts
566451b295 Remove more debugging cruft. 2011-05-25 11:52:17 -05:00
Jason Tibbitts
678deb93f5 Remove debugging prints. 2011-05-25 11:50:45 -05:00
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
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
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
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
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
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
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
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
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
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