/srv/irclogs.ubuntu.com/2015/09/15/#launchpad-dev.txt

cjwatsonYeah, I don't think the list on the repo is that useful.00:01
wgrant(the repo -> bug link already exists if you go through the commit history, anyway)00:01
cjwatsonAnd for refs, it can be linkified from recent commit messages.00:01
cjwatsonUsually.00:01
cjwatsonOnce we have a convention I imagine we could even hack our cgit to support it.00:01
wgrantRight, exactly.00:02
cjwatsonWere we just going to apply the LP: regex for changelogs?00:02
wgrantSo I guess we grow a BugGitRepository which is unique (commit_sha1, bug)00:02
wgrantI hadn't really thought about that yet.00:03
wgrantMy main goal was to get it possible to have Git MPs with bugs, which is the main blocker for us.00:03
wgrantWhether manually linked or otherwise.00:03
cjwatsonI wonder what tarmac would do with this.00:03
wgrantThe MP bug harvesting is then actually separate from BugGitRepository.00:03
wgrantWhat do you mean?00:03
cjwatsonIt currently expects to be able to do ... oh, it's actually fetching the bug list from bzrlib directly00:04
wgrantBecause the MP should grab any bugs referenced from commits that it involves, rather than looking at BugGitRepository at all.00:04
wgrantOh, is it?00:04
cjwatson                    rev = self.bzr_branch.repository.get_revision(rev_info[0])00:04
cjwatson                    for bug in rev.iter_bugs():00:04
wgrantHuh, I didn't expect that.00:04
cjwatsonAn exotic approach.00:04
wgrantI guess that makes sense given the LP list isn't always reliable.00:05
cjwatsonMaybe they didn't trust LP, indeed.00:05
wgrantBut I do occasionally forget to --fixes and link manually on LP, which would break in that world.00:05
cjwatsonAnyway, if a sensible thing were exposed on BMP's API, that would be better.00:06
wgrantPerhaps that is fine, though.00:06
cjwatsonWhich is easier than coming up with a sensible thing for a branch.00:06
cjwatsonSince there's an implied stop point.00:06
wgrantI'm weighing up whether to continue to allow manual linking at all.00:06
wgrantFor MPs, at least.00:06
wgrantBut that would mean we'd need automatic linking before this would be useful at all.00:07
wgrantWhich means bikeshedding the commit message format.00:07
cjwatsonYeah, I assumed we'd bikeshedded this eight years ago and would just use that :)00:07
cjwatsonOr at least have it as a valid option, so that package repositories can be sensible.00:08
cjwatsonAnyway, I must sleep, happy to debate further in the morning.00:08
wgrantIf by sensible you mean wrong, then indeed :)00:08
wgrantWell, I guess if we don't autoclose then it's OK.00:09
wgrantIf it preserves current LP behaviour then it'd be fine.00:09
wgrantBut GitHub instacloses on merge.00:09
wgrantNight.00:09
cjwatsonYeah, I meant reference not autoclose00:10
wgrantcjwatson: Oh, IPersonRoles really doesn't enjoy being given None. Will fix.00:31
cjwatsonwgrant: Bah.  Thanks.11:18
cjwatsonI didn't run the full bugs test suite after that. :-(11:19
wgrantQuis testfix ipsos testfix, etc.11:30
cjwatsonrpadovani: Will you be able to do QA on your change?  That is, trying things out on qastaging and making sure they behave sensibly16:30
rpadovanicjwatson, sure thing, I start right now :-)19:12
rpadovanicjwatson, so, I tested it here: https://bugs.qastaging.launchpad.net/launchpad/+bug/1391394 with my account and a private browser session, and works as expected. What's next? Should I create screenshots?19:26
mupBug #1391394: Unable to unhide my comment <comments> <confusing-ui> <hide> <qa-needstesting> <trivial> <ui> <unhide> <Launchpad itself:Fix Committed by rpadovani> <https://launchpad.net/bugs/1391394>19:26
mapreriremove qa-needstesting and putting qa-ok, i'd say  (/me's just trying a guess)19:33
cjwatsonrpadovani: that should be fine, so you can do as mapreri says.  https://dev.launchpad.net/PolicyAndProcess/QAProcess?highlight=%28qa-ok%2919:49
cjwatsonrpadovani: no need for screenshots19:49
rpadovani... I need to read more the wiki19:51
rpadovanity19:51
mapreri"qa-rcfixed: when a bug is fixed in RC mode." cjwatson ?19:52
maprerithe only meaning i'm aware of RC is "Release Critical", guess this is different? ;)19:52
mapreri(or release candidate)19:53
cjwatsonthat may be obsolete, it predates me19:58
maprerinice20:49

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