/srv/irclogs.ubuntu.com/2012/03/09/#bzr.txt

SRayHey, anyone knows, what's up with bzr-2.5.0-2-setup.exe ? I can't find it on launchpad, the link on the bzr download page is leading to a non-existant file.00:15
wgzmy bad, changed -2- to -1-00:20
wgz-d00:20
wgzI fixed the page now, as some kind soul sent an email about it.00:21
wgzokay, bed for me.00:27
SRayhehe ^^ good night00:31
SRaythx for fixing00:31
SRayHey btw the link to the homepage from this IRC is broken. It guides you to: http://bazaar.canonical.com>04:38
SRay> is recognized as part of the hyperlink04:40
bob2nah04:51
pooliehi vila08:55
pooliewow i should go08:55
vilahey poolie, yeah you should ;)08:56
vilaI think I've found the issue with the docs: lp:bzr-alldocs08:56
vilathat's where the templates are defined, the cron job should run in a couple of minutes, we'll see if I got it right08:57
vilaha crap, I can never read cron entries correctly (mins then hours, not the opposite of course)09:06
mgzmorning all09:12
vila_o/09:12
vilayak yak yak :-/14:04
jelmervila is having fun with the razor?14:10
vilakind of ;)14:10
vilatrying to reproduce a nth issue with generating the docs I'm back to bug #94016414:10
ubot5`Launchpad bug 940164 in Bazaar "texinfo is supported by sphinx under precise leading to test failures" [High,Confirmed] https://launchpad.net/bugs/94016414:10
jelmerah :-/14:11
vilawhich means it's more problematic than I hoped14:11
vilawhoever was RM for 2.4 and didn't document the *full* list of naughty details to get the doc right will... err, never mind14:17
vilajelmer: by the way, did you notice the bug about ssl cert checking the wrong site for the proxy ?14:25
jelmervila: yeah, I did see that :-/14:30
mgzI'm reasonably sure it's xmlrpc specific14:30
mgzthe launchpad plugin has its own transport stuff that probably just needs fixing14:33
vilanot sure about that, I suspect a mismatch in the urllib implementation, I bet because the connection to the proxy is seen as https when it's http14:33
vilaand I did make no typo there \o/14:34
vilaas usual, I'd be happy to be proved wrong ;)14:35
mgzthere was no error when doing an operation through the proxy just on any old https url14:35
mgzonly for the lp: resolving step14:35
mgzhm, need a proxy that supports CONNECT and passthrough to test it, annoyingly twisted14:45
mgzdoes not14:45
mgzhttp://twistedmatrix.com/trac/ticket/23714:46
mgzI guess writing that wouldn't be hard, but then I'd not sure if the bugs were in that or bzr14:49
vila\o/ look 'ma, http://doc.bazaar.canonical.com/bzr.dev/en/ says what's new in 2.6 \o/15:36
vilaand http://doc.bazaar.canonical.com/en/ is not broken anymore15:37
vilaand we can generate .info files too15:37
mgzgood job vila15:40
mgzjust posted some extra info in the https bug15:40
vilagood job mgz ;)15:40
vilabug # again ?15:40
mgzbug 94469615:40
ubot5`Launchpad bug 944696 in Bazaar "Certificate error on launchpad xmlrpc server with HTTPS_PROXY set" [Critical,Confirmed] https://launchpad.net/bugs/94469615:40
vilaright, reinforce my suspicion that we verify the wrong host, could as simple to fix as s/host/orig_host/ somewhere15:42
vilaunless the check is not in the right place which will require more harm twisting15:43
vilaerr, arm twisting ?15:44
vilawhatever, more work :)15:44
mgzyeah, there's a proxied_host attribute one stack level up that probably does the right thing16:05
vilaright, this one (not orig_host)16:06
mgzapart from writing a test case ;_; that's probably all that's needed16:06
vilafunny how I remembered a name I replaced...16:06
vilayeah, I never found the steam to write a proxy test server16:07
=== zyga is now known as zyga-afk
lamalexwhat type of an object is a push_result/16:54
=== deryck is now known as deryck[lunch]
vilamgz: https://code.launchpad.net/~vila/bzr/940164-native-texinfo/+merge/96796 while you're still PP :-D17:00
mgzheh17:03
vilalamalex: it's documented in bzrlib/push.py but roughly you can think about it at collecting various infos about the push operation17:04
vilaCan you believe my keyboard batteries died exactly when I was typing 'Enter' after the msg above...17:04
lamalexhaha17:06
mgzccing doxxx on that review just so he can glance at it, given he had to dive into tex stuff a little when doing the 2.5.0 mac installers17:06
vilamgz: texinfo can *generate* both tex and info but for us it doesn't matter as we generate latex with sphinx with a different builder17:09
vilamgz: but I should have a look at how Gordon avoid the issue (thanks for the reminder)17:09
mgzhe renamed our texinfo builder for sphinx to something else,17:09
mgzso it didn't class with their new one :)17:10
vilaright, so he will encounter a trivial to resolve conflict :)17:11
vilahmm, trivial with 'bzr resolve --take-other' probably ;)17:11
vilayup, one-line patch to be deleted, thanks for ccing him if only for the heads-up17:12
mgzso, apart from that conf.py stuff being a duplicative mess, which isn't the fault of this branch, the change looks good17:13
lamalexwhat about parsing the push location, i guess branches like ~user/project/branch are specific to launchpad? maybe launchpadlib would have parsing bits for that17:14
mgzlamalex: it does17:15
lamalexmgz, hint as to where?17:15
vilamgz: yeah, and don't mention that the Makefiles in the doc/xx dirs are copied from doc/en ...17:16
=== zyga-afk is now known as zyga
mgzlamalex: see bzrlib/plugins/launchpad/lp_directory.py17:17
vilaI was shocked when trying to propagate my change in doc/ru to find it there already :)17:17
mgzit has a few local bits, and talks to an xmlrpc server if it needs to17:18
vilamgz: the whole sphinx setup is a mess being the result of stuff generated by sphinx itself + duplicated afterwards...17:18
lamalexmgz, can i import this into another plugin?17:18
lamaleximport bzr.plugins.launchpad?17:18
mgz+lib but yes... you probably just want to resolve lp: automatically though?17:18
vilalamalex: *parsing* the push location ? What are you after ?17:19
mgzwhich happens in _register_directory on import17:20
lamalexvila, getting the project name out of the push17:20
vilarisky17:20
lamalexwhen when pushed to lp:~alexlauni/unity/mydumbfeature getting unity17:20
vilapush_location can be lp:bzr17:20
lamalexi realize i could just string parse17:20
lamalexbut yah, there's also lp:bzr but bzr is a project- so i was hoping that lp lib had this already figured out and i could just piggy back17:21
vilastepping back further, why do you need the project name ?17:21
vilalamalex: 'cause there is also ubuntu:bzr and ubuntu:~vila/ubuntu/precise/bzr/my-feature or something (can't never remember the order)17:23
vilaerr, lp:~vila/ubuntu/precise/bzr/my-feature17:23
lamalexwell those are sort of outside our specific use17:23
vilak17:23
lamalexvila, we want a push hook that creates a jenkins job for continuous integration on our projects17:23
lamalexwhen a dev pushes his/her branch to LP we want a jenkins job created to start running the test suite during the development life of the branch17:24
lamalexthen our merge bot will have a hook to delete the job when the branch gets merged17:24
vilanice17:24
lamalexyah17:24
lamalexvery slick ;)17:24
lamalexso we want the project name for naming the job17:25
lamalexi guess i can just use the branch name though17:25
lamalexit's not that important and just sounds a lot simpler17:25
lamalexwill avoid conflicts17:25
lamalexill just do that17:25
* vila nods17:26
vilalamalex: I'd be very interested in a such a plugin myself ;)17:28
lamalexvila, are you a canonical employee by chance?17:29
vilaexactly, by chance 8-)17:30
* jelmer waves17:50
jelmervila: should we get rid of the curl backend in 2.6 or 2.7 ?17:51
vilawell, for peace of mind, I would target a removal at the *end* of 2.6 to make sure we "got them all" (those pesky little forgotten details turning into bugs ;)17:56
vilahmm17:56
vilaend of 2.6 == release 2.6.017:56
vilaa test failing at this point should be easy to write no ?17:57
jelmerwhat sort of failing test?17:57
vilauntil then, "install pycurl" is an easy workaround to davise17:58
vilaadvise17:58
vilaone asserting that we had removed the pycurl backend17:58
vilanow that urllib is the default backend nobody should be using it right ?17:59
mgzjelmer: did you work out what the bzr-builddeb issue on precise was? I didn't get the same issue here, and the ppa dailies also seem to be different issues18:00
vilaspeaking of ppas, any news from maxb lately ?18:00
mgz(and today I don't know where to find the error)18:00
mgzvila: hm, nope, and various of our advertised ones are pretty out of date18:00
vilayup, maybe he'll be willing to pass the torch... I know he had some handy scripts which would be good to use18:02
* maxb is around.... ish18:07
vilamaxb: \o/18:07
vilamaxb: can we help each other to bring our ppas up to date in a "let's do it one step at a time" mode ?18:08
jelmermgz: yeah, that's on my todo list18:09
mgzcan you paste/forward/something me the build output?18:09
jelmermgz: was directed at me?18:10
mgzjelmer: yes, telling me where to look would also work if it's recorded somewhere18:12
jelmermgz: the build failure is on the launchpad package page for bzr-builddeb18:12
vilamaxb: starting by finding a time when we can talk briefly :-D18:13
mgzjelmer: thanks, so it is... looked at that page and didn't manage to navigate to the right place18:14
=== deryck[lunch] is now known as deryck
leo2007I heard about a plugin to handle ChangeLog merge conflicts. Any idea what is it called?18:22
jelmerhi leo200718:23
leo2007hi18:23
jelmersee 'bzr help changelog_merge'18:23
leo2007where is location.conf?18:26
jelmerleo2007: ~/.bazaar18:27
jelmerlocations.conf18:27
leo2007bzr help changelog_merge says location.conf18:28
leo2007typo?18:28
jelmerit says locations.conf here - perhaps that was fixed recently18:28
leo2007ok, I am running 2.4.218:29
wgzbajoing18:58
mgrandihiii19:13
=== cody-somerville_ is now known as cody-somerville
=== zyga is now known as zyga-weekend
lamalexhi, why would get_push_location be returning none when i'm pushing somewhere??21:25
lamalexand there's a push location in bzr info21:25
mgrandinot sure :<21:29
lamalexha21:29
lamalexnice21:29
lamalexit /should/ be working though?21:29
lamalexpush_result.target_branch.get_push_location() should be giving push_location21:30
lamalexright/21:30
mgrandiim not too familiar with the source code (yet), but itprobably should21:30
mgrandidoes it only return it if its remembered?21:31
lamalexI can only get it to return None21:31
mgrandisee what it does if you do bzr push <whatever> --remember21:33
lamalexsame21:33
lamalexNone21:33
james_wlamalex, you are looking for the place that the target branch would push to by default?21:34
lamalexjames_w, I'm writing a post-push hook and im looking for the place it was pushed to21:35
james_wah, hmm21:36
james_wlamalex, you want to know the URL for reporting?21:37
lamalexno im going to parse the launchpad project out of it21:37
lamalexwhich will be used to create a jenkins job21:38
mgrandimaybe one of the bzr developers can chime in if they are here21:39
james_wlamalex, push_result.target_branch.user_url is what you want I think21:39
lamalexstill seems like a bug that get_push_location() returns None pretty much exclusively21:41
lamalexbut yeah- that works21:41
lamalexthanks21:41
lamalex:)21:41
james_wlamalex, get_push_location() is looking at where the target branch would push to if you ran "bzr push" in it21:42
james_wlamalex, and if it's on Launchpad it probably doesn't have that set21:42
james_wthat's my guess at least21:42
lamalexjames_w bzr info shows a push a brnach though21:42
james_wlamalex, "bzr info lp:whatever" ?21:42
lamalexim doing bzr push lp:whatever from a working branch21:43
james_wright21:43
james_wand "bzr info" will return lp:whatver21:43
mgrandidoes whatever you are calling get_push_location on the branch you have locally or the branch you pushed to?21:44
james_wbut push_result.target_branch.get_push_location() is like running "bzr info lp:whatever"21:44
james_wif that returns a push branch then I'm clearly talking nonsense21:44
lamalexAH21:44
lamalexgot it21:44
lamalexright21:44
lamalextricky21:44
mgrandiso push_result is referring to the branch you just pushed to?21:46
james_wmgrandi, it's an object that is passed to a post_push hook, and has references to the source_branch and target_branch that were involved in the push21:48
mgrandiah21:48
mgrandiso target_branch is launchpad or something, gotcha21:48
=== yofel_ is now known as yofel

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