Closed
Bug 1128119
Opened 10 years ago
Closed 10 years ago
Add 'See Also' support for Phabricator
Categories
(Bugzilla :: Creating/Changing Bugs, enhancement)
Bugzilla
Creating/Changing Bugs
Tracking
()
RESOLVED
FIXED
Bugzilla 6.0
People
(Reporter: GPHemsley, Assigned: selsky)
References
()
Details
Attachments
(1 file)
2.51 KB,
patch
|
gerv
:
review+
|
Details | Diff | Splinter Review |
[I don't know the right component for this, so please move it as appropriate.]
Wikimedia has moved from Bugzilla to Phabricator for their issue tracking. It would be nice if support for Phabricator could be added to the See Also field.
(As a workaround, the old Wikimedia Bugzilla URLs are still valid.)
Assignee: nobody → create-and-change
Component: General → Creating/Changing Bugs
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: default-qa
Version: Production → unspecified
Assignee | ||
Comment 1•10 years ago
|
||
What's the pattern for Phabricator URLs? http://example.com/path/T\d+ ?
Examples:
https://phabricator.wikimedia.org/T86090
https://secure.phabricator.com/T7093
Comment 2•10 years ago
|
||
(In reply to Matt Selsky [:selsky] from comment #1)
> What's the pattern for Phabricator URLs? http://example.com/path/T\d+ ?
Phab cannot be install to a path but only to a domain or subdomain (see https://secure.phabricator.com/book/phabricator/article/installation_guide/ ). So for tasks in Phabricator Maniphest it should be:
http://optionalsubdomain.example.com/T\d+
Assignee | ||
Comment 3•10 years ago
|
||
Assignee: create-and-change → selsky
Status: NEW → ASSIGNED
Attachment #8558328 -
Flags: review?(gerv)
Comment 4•10 years ago
|
||
glob/dkl: are we just taking as many of these as people want to write, or do we say to some people "sorry, write an extension"? How do we choose?
Gerv
Flags: needinfo?(glob)
Flags: needinfo?(dkl)
(In reply to Gervase Markham [:gerv] from comment #4)
> glob/dkl: are we just taking as many of these as people want to write
given they are trivial, provide an important function, and people are willing to write, them i see no reason to push back.
> "sorry, write an extension"
these are already part of the MoreBugUrl extension ;)
Flags: needinfo?(glob)
Comment 6•10 years ago
|
||
Comment on attachment 8558328 [details] [diff] [review]
v1
Review of attachment 8558328 [details] [diff] [review]:
-----------------------------------------------------------------
r=gerv, although I don't have a Phabricator instance to test with.
Gerv
::: extensions/MoreBugUrl/lib/Phabricator.pm
@@ +18,5 @@
> +###############################
> +
> +sub should_handle {
> + my ($class, $uri) = @_;
> + return ($uri->path =~ m|^/T\d+$|) ? 1 : 0;
This seems like it might match quite a few URLs...
Attachment #8558328 -
Flags: review?(gerv) → review+
Updated•10 years ago
|
Flags: needinfo?(dkl)
Updated•10 years ago
|
Flags: approval?
Comment 7•10 years ago
|
||
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
abc9467..0d2cf0a master -> master
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
0d2cf0a..077949a master -> master
(Missed a file first time :-|)
Gerv
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•