/srv/irclogs.ubuntu.com/2015/07/04/#ubuntu-devel.txt

=== Guest61548 is now known as mfisch
=== mfisch is now known as Guest38607
=== Guest38607 is now known as mfisch
=== Malsasa_ is now known as Malsasa
=== Malsasa_ is now known as Malsasa
=== _salem is now known as salem_
=== salem_ is now known as _salem
RPiAwesomenessCan someone take a look at my patch here: https://code.launchpad.net/~aeves-nate/ubuntu/trusty/mydumper/fix-for-1402381/+merge/263835?20:52
RPiAwesomenessFor whatever reason the diff is showing changes being made to 20 files even when I only removed 4 characters from one file.20:52
RPiAwesomenessAnd I am confused.20:53
RPiAwesomenessIt's my first patch and I want to make sure I'm doing it right20:53
tarpmanRPiAwesomeness: it looks like you based your patch on a newer version than trusty has; perhaps you started from 'bzr branch lp:ubuntu/mydumper' instead of 'bzr branch lp:ubuntu/trusty/mydumper'?20:55
RPiAwesomenessI did. Should I have started from trusty/mydumper?20:55
tarpmanRPiAwesomeness: depends. is the bug already fixed in utopic and later?20:56
TJ-RPiAwesomeness: you need to fix the email address you've set, it is invalid (see debian/changelog)20:57
RPiAwesomenesstarpman: I can't tell from the LP bug report: https://bugs.launchpad.net/hundredpapercuts/+bug/140238120:58
ubottuUbuntu bug 1402381 in mydumper (Ubuntu) "Duplicate option -k" [Medium,Confirmed]20:58
RPiAwesomenessIt mentions vervet20:58
RPiAwesomenessAt least as a tag20:58
tarpmanRPiAwesomeness: the linked debian bug does not appear to be fixed yet; IMO the best way to solve this bug would be to post a patch to the debian bug, let it get synced from unstable into development, and then prepare stable update (SRU) patches20:58
tarpmaner, from unstable into wily20:58
RPiAwesomenesstarpman: So, post the patch I made on the Debian bug tracker?20:59
tarpmanmaybe even directly upstream, if the upstream code is also affected21:00
tarpmanpoint being, try to fix it as close to the source as possible in order to reach all affected users, rather than for example only ubuntu users21:01
RPiAwesomenessOkay. So, where would I access the upstream code? This is my first time doing anything patch-related :P21:01
tarpmanthe upstream project seems to be https://launchpad.net/mydumper21:01
tarpman(lp:mydumper)21:01
tarpmanRPiAwesomeness: is https://bugs.launchpad.net/mydumper/+bug/1428608 the same as your bug?21:02
ubottuUbuntu bug 1428608 in MySQL Data Dumper "missing -K option in mydumper manpage" [Low,Fix committed]21:02
RPiAwesomenessNope, that's *adding* the -K option21:03
RPiAwesomenessActually, -k and -K21:03
RPiAwesomenessCould be capitalization21:03
RPiAwesomenessHmm...21:03
RPiAwesomenessAha. Yup, it's been fixed upstream.21:04
RPiAwesomenessShucks. And I thought I was being useful :(21:04
RPiAwesomenessOne should be -K and the other -k, upper and lower case21:04
tarpmanRPiAwesomeness: ok, fixed upstream already is good. so if you just wait, eventually the debian maintainer will update it in debian, and ubuntu will pick it up automatically21:10
tarpmanRPiAwesomeness: if you want it in ubuntu sooner, you should propose a merge into the development release (wily), not a stable release21:10
tarpmanhope that makes (some) sense21:11
RPiAwesomenessSo, bzr branch lp:mydumper then bzr commit lp:~aeves-nate/ubuntu/wily/mydumper/fix-for-1402381 then bzr lp-propose?21:12
RPiAwesomenessbzr commit AFTER cd-ing into the mydumper directory of course21:13
tarpmanbzr branch lp:ubuntu/mydumper21:13
tarpmanas you're proposing the fix for ubuntu, not for upstream21:13
RPiAwesomenessAh21:13
RPiAwesomenessk21:13
RPiAwesomenessJust to make sure I've got this, I run bzr branch lp:ubuntu/mydumper, make the patch, then commit to lp:~aeves-nate/ubuntu/wily/mydumper/fix-for-1402381?21:15
tarpmansounds right. assuming "make the patch" means "add a new quilt patch in debian/patches" and not "patch the upstream source directly"  (I have lost the tab with your previous merge in it...)21:17
RPiAwesomenessYes, sorry.21:17
tarpmanpersonally I usually skip this bzr stuff and just post debdiffs to bugs, so I might be missing some details21:18
RPiAwesomenesstarpman: Did I do it right? https://code.launchpad.net/~aeves-nate/ubuntu/wily/mydumper/fix-for-1402381/+merge/26383721:25
RPiAwesomenessBecause I feel like I didn't :P21:25
tarpmanRPiAwesomeness: per TJ-'s comment above, please fix your email address21:25
RPiAwesomenessSorry, will do that.21:26
tarpmanRPiAwesomeness: please don't include changes to .pc/ or to the upstream files21:27
tarpmanRPiAwesomeness: and the new patch itself was not included, looks like21:27
RPiAwesomenessBut the tutorial here: http://packaging.ubuntu.com/html/fixing-a-bug.html said to?21:27
RPiAwesomenessI'm so confused right now :P21:27
RPiAwesomenessBother, this stuff is complicated21:28
RPiAwesomenessThe patch wasn't included? Bah.21:28
tarpmanoh, you're right. sorry, yes, that one does seem to be in bzr with patches applied. ok, ignore me on that one21:28
tarpmanfile under "tarpman doesn't do bzr merges, usually" :D21:28
RPiAwesomenessPhew :D21:28
RPiAwesomenessOkay, I think I'm starting to see how bzr works. I've only ever used git before, starting to see what's the comparable things21:31
RPiAwesomenesstarpman: But I did propose the merge to the correct lp repo?21:32
tarpmanI think so. can't double-check since you deleted it again ;)21:33
RPiAwesomenessYeah, going to re-propose it with the changelog changed21:33
RPiAwesomenesshttps://code.launchpad.net/~aeves-nate/ubuntu/wily/mydumper/fix-for-1402381/+merge/26383921:35
RPiAwesomenessShould be correct now21:35
* RPiAwesomeness crosses fingers21:35
RPiAwesomenesstarpman & TJ-: Thanks for the help :)21:37
tarpmanone more, sorry: you haven't closed your bug in the changelog21:38
tarpmanthat's easy, just add (LP: #1402381) at the end21:38
ubottuLaunchpad bug 1402381 in mydumper (Ubuntu) "Duplicate option -k" [Medium,Confirmed] https://launchpad.net/bugs/140238121:38
RPiAwesomenessOoooh21:38
tarpmaniirc bzr also has some option that you should use to mark it as associated with that bug21:38
tarpman--fixes lp:1402381 or something like that21:38
TJ-correct21:38
RPiAwesomenessTJ-: If I bzr commit and already have proposal going, will that proposal automatically reflect my newest push?21:41
RPiAwesomenessbzr commit followed by bzr push to my launchpad that is21:41
TJ-RPiAwesomeness: I'm not sure... I seem to recall it may do when I last did that, but I may be imagining it21:42
RPiAwesomenessOkay. I think it does, just wanting to make sure.21:42
TJ-Because I think the merge proposal tracks the branch21:43
RPiAwesomenessThat would make sense21:45
RPiAwesomenessAnyways, thanks for your help. I need to go do something else other than stare at a screen filled with debian, bzr, and patch stuffs for a bit.21:46
RPiAwesomenessO.O is mine eyes21:46
TJ-I know the feeling... git doesn't have that effect on me thankfully :)21:47
=== bduncan_ is now known as bduncan

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