tsimonq2 | Hm, does Launchpad have the ability to do something similar to the Debian bug tracker where on a Git commit with an LP bug number it will leave a comment or automatically link the branch to the bug? | 22:22 |
---|---|---|
tsimonq2 | If not, can I add it to my growing list of Things To Implement in Launchpad after finals are over with? :) | 22:23 |
cjwatson | tsimonq2: Only if there's also a merge proposal | 23:04 |
cjwatson | tsimonq2: https://help.launchpad.net/Code/Git#Linking_to_bugs | 23:04 |
cjwatson | tsimonq2: Doing it on just any commit is ... extremely challenging. The Debian implementation is external and knows which branches are significant | 23:05 |
cjwatson | tsimonq2: (and really there isn't just one implementation, it's ad-hoc hooks and such) | 23:05 |
tsimonq2 | cjwatson: What might make it extremely challenging? On the Launchpad side, couldn't a default hook be implemented to grep for the regex and then deal with the bug using the same sort of interface as implemented in merge propossals? Maybe I'm misunderstanding it here :) | 23:08 |
cjwatson | tsimonq2: A commit can be in the ancestry of an arbitrarily large number of refs, and we also don't want to have to scan the entire history. | 23:09 |
cjwatson | tsimonq2: Consider the case where somebody decides to push Linux to a new repository. | 23:10 |
tsimonq2 | cjwatson: Hm, ok. | 23:10 |
tsimonq2 | Oh, right. | 23:10 |
cjwatson | tsimonq2: We compromised on merge proposals signalling intent and being cheap. | 23:10 |
tsimonq2 | cjwatson: I see, alright. | 23:10 |
cjwatson | tsimonq2: Anything more would have to have some kind of arrangement where you nominate a specific branch to be watched for a specific bug target (which is really what the Debian implementation is like) | 23:11 |
cjwatson | (Well, maybe or maybe not for a specific bug target, but definitely branch-limited.) | 23:11 |
tsimonq2 | Right, I get what you mean. | 23:11 |
tsimonq2 | I might just either use the Debian tooling or write my own for select Lubuntu repositories to do that then, and only *after* the initial upload would I set up the hook. | 23:12 |
cjwatson | (Totally doable to do the same external thing that Debian is doing using webhooks, of course ...) | 23:12 |
tsimonq2 | Right :) | 23:12 |
tsimonq2 | Thanks cjwatson, gotta go study for my last round of finals ;) | 23:13 |
cjwatson | Good luck | 23:13 |
tsimonq2 | Thanks | 23:14 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!