Re: Commit auto-links in bugzilla comments
- From: Bastien Nocera <hadess hadess net>
- To: Xavier Claessens <xclaesse gmail com>
- Cc: "desktop-devel-list gnome org" <desktop-devel-list gnome org>
- Subject: Re: Commit auto-links in bugzilla comments
- Date: Thu, 12 Feb 2015 11:45:32 +0100
On Wed, 2015-02-11 at 15:01 -0500, Xavier Claessens wrote:
Le mercredi 11 février 2015 à 09:52 -0800, Jasper St. Pierre a écrit :
Out of curiosity, is there anything wrong with just copy/pasting a
link? You know, something like
https://git.gnome.org/browse/gnome-shell/commit/?id=d54b87c4559bd9d74fa10d3e3d1e38a933bea051
There is nothing wrong with copy/pasting the link, but then you have to
browse git.gnome.org to find the commit/branch link.
Would welcome patches, or rewrites of this:
https://gist.github.com/hadess/2959481
It would probably be easy to implement in Python, but I wanted to try
out lua for something trivial. It ended up not being trivial ;)
It could:
- detect which branches you're in
- allow passing a line number to link to it directly
- allow passing a ref and link to that commit
- detect whether there are local changes that would change what to link
to.
Cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]