/srv/irclogs.ubuntu.com/2018/01/17/#launchpad-dev.txt

tsimonq2Hm, 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
tsimonq2If not, can I add it to my growing list of Things To Implement in Launchpad after finals are over with? :)22:23
cjwatsontsimonq2: Only if there's also a merge proposal23:04
cjwatsontsimonq2: https://help.launchpad.net/Code/Git#Linking_to_bugs23:04
cjwatsontsimonq2: Doing it on just any commit is ... extremely challenging.  The Debian implementation is external and knows which branches are significant23:05
cjwatsontsimonq2: (and really there isn't just one implementation, it's ad-hoc hooks and such)23:05
tsimonq2cjwatson: 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
cjwatsontsimonq2: 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
cjwatsontsimonq2: Consider the case where somebody decides to push Linux to a new repository.23:10
tsimonq2cjwatson: Hm, ok.23:10
tsimonq2Oh, right.23:10
cjwatsontsimonq2: We compromised on merge proposals signalling intent and being cheap.23:10
tsimonq2cjwatson: I see, alright.23:10
cjwatsontsimonq2: 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
tsimonq2Right, I get what you mean.23:11
tsimonq2I 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
tsimonq2Right :)23:12
tsimonq2Thanks cjwatson, gotta go study for my last round of finals ;)23:13
cjwatsonGood luck23:13
tsimonq2Thanks23:14

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!