Closed
Bug 661533
Opened 13 years ago
Closed 13 years ago
see also should support Review Board urls
Categories
(Bugzilla :: Creating/Changing Bugs, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.4
People
(Reporter: selsky, Assigned: selsky)
Details
Attachments
(1 file, 1 obsolete file)
2.63 KB,
patch
|
timello
:
review+
|
Details | Diff | Splinter Review |
See Also should support Review Board review request urls of the form http://reviews.reviewboard.org/r/111/
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Updated•13 years ago
|
Attachment #536888 -
Flags: review?(timello)
Assignee | ||
Updated•13 years ago
|
Attachment #536888 -
Attachment is patch: true
Attachment #536888 -
Attachment mime type: text/x-patch → text/plain
Comment 1•13 years ago
|
||
Comment on attachment 536888 [details] [diff] [review]
Add support for Review Board review request URLs v1
Review of attachment 536888 [details] [diff] [review]:
-----------------------------------------------------------------
::: Bugzilla/BugUrl/ReviewBoard.pm
@@ +23,5 @@
> +use base qw(Bugzilla::BugUrl);
> +
> +use Bugzilla::Error;
> +use Bugzilla::Util;
> +
You are not using any method from Bugzilla::Error and neither from Bugzilla::Util. So get ride of these lines.
@@ +39,5 @@
> +
> + my $uri = $class->SUPER::_check_value(@_);
> +
> + # Review Board URLs have only one form:
> + # http://reviews.reviewboard.org/r/111/
Your example does not work. The code does not accept the last '/'.
Attachment #536888 -
Flags: review?(timello) → review-
Assignee | ||
Comment 2•13 years ago
|
||
Patch updated as requested.
Attachment #552843 -
Flags: review?(timello)
Assignee | ||
Updated•13 years ago
|
Attachment #536888 -
Attachment is obsolete: true
Updated•13 years ago
|
Depends on: bz-seealso
Comment 3•13 years ago
|
||
Comment on attachment 552843 [details] [diff] [review]
Add support for Review Board review request URLs v2
The patch applies cleanly and it passes in all tests! Thanks Matt! Sorry again for the delay on reviewing it.
Attachment #552843 -
Flags: review?(timello) → review+
Updated•13 years ago
|
Flags: approval?
Target Milestone: --- → Bugzilla 5.0
Updated•13 years ago
|
Assignee | ||
Comment 4•13 years ago
|
||
Do I need to provide a release notes patch, or is that done when the release is cut?
Comment 5•13 years ago
|
||
(In reply to Matt Selsky [:selsky] from comment #4)
> Do I need to provide a release notes patch, or is that done when the release
> is cut?
This will be done when we release 5.0. This keyword is to avoid losing track of new features.
Comment 6•13 years ago
|
||
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/BugUrl.pm
added Bugzilla/BugUrl/ReviewBoard.pm
modified template/en/default/global/user-error.html.tmpl
Committed revision 8061.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•13 years ago
|
||
Do you want the license updated to MPL 2.0?
You need to log in
before you can comment on or make changes to this bug.
Description
•