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

poolieo/ jelmer00:19
mgzmorning all!09:01
vilamgz: hey !09:08
vilamgz: can you have a look at https://code.launchpad.net/~vila/bzr/948339-config-caching/+merge/97256 and give me a quick go/no-go for inclusion in 2.6b1 ?09:08
vilawow, I don't know what have changed but ./tools/check-newsbugs.py is faster than ever by a significant margin...09:11
fullermdI'll take the credit.09:17
vilabad, 3s for 8 bugs in trunk vs 58s for ~141 bugs in 2.5: apples vs oranges09:28
vilas/bad/bah/09:29
fullermdHm.  That's 133 bugs less, a month after the branch.  Since it's about 5 months 'till the next branch, that means that 2.6 should have -657 bugs!09:30
vila\o/09:32
vilamgz: if you haven't started, forget about it, my RM persona said: too late ;)09:49
mgzI'vee been looking at it09:49
vilaha, thks09:50
mgzit's really three different things though, and I don't yet understand one of them, and am not convinced by one09:50
vila3 ?09:50
mgzchecking the lock count is straightforward, but lacks a test?09:51
mgzthe list->dict swap for sections I don't see what the bug was previously09:51
vilaaaron did add a relevant tests IIRC09:52
mgzand just changing aaron's tests to assert the things that it was calling out as suspect doesn't really seem useful09:52
vilathey document the expected compatibility (or not) behavior09:52
mgzthe comments are nice, but if you're leaving those issues in place, it's not really the best place for it09:52
vilawell, the core issue is how far we try to stay compatible and my take is that it contradicts the aim of reducing the IOs09:53
mgz^the problem is aaron's test mentioned in that bug, you changed to just assert that the thing that he reckoned was wrong... happened09:53
mgzso, overall the mp is probably reasonable, but I'm confused.09:54
vilathe list->dict swap is covered by a failing test encountered while fixing the bug: spurious warnings were emitted because two different callers got two different MutableSection09:54
vilamgz: ok, then that's a no-go, no worries09:55
mgzright, that tests for the same section object is makes that clear09:56
vilaI shouldn't have tried to get it approved anyway, when the RM says: I'm freezing, it's too late, rushing at this point is just making RM's life harder, I should know ;)09:56
mgzthere's a bug you flipped from 2.6b1 -> None that was just a merge up, was that an accident or is it really not merged?09:56
vilait is merged (bzr lp:bzr/2.5 says: nothing to do), I did both cheks at different times may be I should have left the milestone09:58
mgzbug 93960509:58
ubot5Launchpad bug 939605 in Bazaar 2.5 "qconflicts says that my merge tool is not available. what should I do?" [Medium,Fix released] https://launchpad.net/bugs/93960509:58
mgzwill be in 2.6b1 right?09:58
vilayup09:58
vilaI think we should set the milestone only when marking the bug fix released and never before10:01
vilajelmer, mgz: by the way, to be clear, I'm freezing 2.6b1, no landings please ;)10:07
vilaHad I started with that I wouldn't have dared asking for a review ;)10:07
mgzit's sometimes useful for targetting things that need to be done for a release10:09
jelmervila: hah, ok10:09
mgzdid <https://code.launchpad.net/~jelmer/bzr/bzr.1-launchpad-commands/+merge/97443> bounce?10:09
mgzI don't see it in the PQM queue10:10
jelmerit's still in my local mail queue10:10
mgzotherwise, vila that's already sent10:10
mgzah, so you can just hold it till vila unfreezes.10:10
mgzgood post on plugin testing jelmer10:11
vilajelmer: +110:11
vilawill reply later10:16
jelmerthanks10:27
vilajelmer: by the way, any news about bzr-notify dangling progress dialog ?10:29
jelmervila: haven't worked on that yet10:36
vilasumbitting 2.6b1 to pqm10:37
jelmervila: let me know when I can flush my mail queue :)11:04
vilajelmer: I will, waiting for pqm and that's already conflict with my immediate schedule which includes a meeting off the internet in 10 minutes at an 8-minute cycle ride ;)11:05
mgz...98% done, but I'm not sure you can do everything remaining in 2 minutes :)11:06
vila2.6b2 open submitted, will finish 2.6b1 later11:10
* vila runs11:10
vilauuurgh, http code 502: Bad Gateway when submitting :-/12:25
vilajelmer, mgz: 2.6b2 opening landed, trunk is free for landing12:58
jelmer\o/13:06
jelmerhmm13:37
jelmerValueError: 0 not in range -2147483648 to 214748364713:37
mgzehehe13:37
vilause a bigger 013:38
vilamgz: re-reading the log:13:41
vila<mgz> it's sometimes useful for targetting things that need to be done for a release13:41
vilawell, strictly speaking what *needs* to be done for a release ought to be marked critical13:42
vila<mgz> otherwise, vila that's already sent13:42
vilaECANTPARSE13:42
vilaAt the time I thought you meant you sent your review but there is nothing there so I was probably wrong ;)13:43
=== elmo_ is now known as elmo
lamalexis it possible to hook into bzr config from a hook/plugin?15:27
vilawell, yeah, there are hooks there, what's your need ?15:32
vilabzr help hooks15:32
vilalamalex: ^15:34
lamalexjsut for some general configuration. i was wondering if there was already bzr api for using the bzr configuration, rather than rolling my own15:35
vilabzrlib.config is the code, doc/developers/configuration.txt and dov/developers/new-config-rationale.txt may be worth a read too15:36
lamalexthanks15:37
vilalamalex: if you have a use case that is not covered I'd love to hear about it ;)15:38
lamalexi will let you know after some light reading :)15:38
vilak15:38
=== deryck is now known as deryck[lunch]
jmlhey16:19
jmlI'm making a script to deplo udd to an ec2 instance16:19
jmlit needs openid credentials for the launchpad stuff16:19
jmlany thoughts on which user I should use in that script?16:19
mgz~james_w clearly :)16:21
jmlheh heh16:22
jmlthere are three approaches I can think of16:22
mgzcan you just make a new one? there are various robotty things, but there's some benefit to keeping them single purpose16:22
jmlone is to use a fixed use16:22
jmluser, rather16:22
jmlthe other is to re-use the credentials of the person firing up the instance16:22
jmland the third is to make a new user every time16:23
mgzI think I favour option 1.16:23
jmlmgz: I can do that. I wonder what LP would think about it.16:23
jmlI guess I should ask them.16:23
vilajml: what's the purpose of the ec2 instance ? Replacing the jubany one ?16:23
jmlvila: integration testing.16:24
vilano write access to lp then right ?16:24
jmlvila: uhh, I think I would want it to be as close to production as possible16:24
jmlvila: but I mostly care about emulating the instance on hadar16:25
jmlvila: and maybe that only has r/o acccess16:25
mgzjml: we have ~bzr-build-bot for instance just for running things on ec216:25
vilajml: uhh ? writing to staging then ? You don't want to interfer with the real one right ?16:25
jmlvila: I don't understand.16:26
mgzif you can get away with not talking to production launchpad creating a new user each time would be more practical16:26
vilajml: you don't want to create the same branches than the importer on jubany right ?16:26
jmlvila: I'm not creating branches at all. I'm not using lp:udd for anything to do with branches :)16:27
vilathen I don't understand what you're using it for :)16:28
jmlvila: lp:udd contains a highly robust, field-tested package monitoring system. We're using that.16:31
vilaok, no need for write-access then (AFAIR)16:32
jmlyeah, I don't think so.16:32
jmlbut lifeless insists that the read access be authenticated.16:32
vilathen I'd go for 2 or 3 (a dedicated user or the one starting the instance), if anything goes wrong you'll get some trail (sp?)16:33
jml'trail' is correct.16:34
vilayeah, so he can kill your bot if needed ;)16:34
james_wjml, does anonymous with a distinctive token name suffice for him?16:34
jmljames_w: no, it does not, IIRC. Let me find the thread...16:34
jmlhmm. I think I might have said user-agent rather than token name...16:35
james_wI think they are equivalent in lplib16:35
james_wI think it uses the token name in the user agent16:35
jmljames_w: https://bugs.launchpad.net/udd/+bug/90684616:35
ubot5Ubuntu bug 906846 in Ubuntu Distributed Development "Uses authenticated access to Launchpad when anonymous will do" [Undecided,New]16:36
james_wthanks16:38
jmlI'm going to be lazy and go with 1 for now. :\16:42
=== lifeless_ is now known as lifeless
=== deryck[lunch] is now known as deryck
kevin|Kbulgrien is idle?18:05
kevin|Given a shared bazaar repository at: /repo and a branch at /repo/prj/bra that contains a folder structure like top/mid/bot, is it possible to make a new branch /repo/prj/mid that has a root at mid of top/mid/bot? IE. A checkout of /repo/prj/mid results in a copy of mid/bot and nothing else from top.18:14
mgzkevin|: depends exactly what your goal is18:16
mgzdoing `bzr branch prj/bra prj/tmp && bzr split prj/tmp/top/mid && mv prj/tmp/top/mid prj && rm -rf prj/tmp`18:19
mgzis literally what you're asking for, but perhaps not what you really want.18:19
mgzpartial checkouts haven't been implemented, so you can't work on a subset of the branch then merge it back18:21
kevin|Ok... bummer on no partial checkout but will read up on split.18:26
kevin|Thanks for the tip.18:27
kevin|Isn't bzr view partial checkout?18:35
mgzno, but it might work for what you want18:36
mgzit doesn't create a tree with only some elements, rather it restricts operations on an existing tree to a subset18:37
=== yofel_ is now known as yofel
xnox_I'm doing the 'fake' cherrypicking a revision from trunk onto maintanance branch, why does it not offer to copy the commit message / author / fixes urls / commiters  upon bzr commit?18:53
xnox_or what is the proper way to do cherrypick and copy the commit message?18:54
wgzxnox_: nope, a nicer interface for doing cherrypicks would be good19:04
pooliehi all22:36
mgrandihihi22:38

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