/srv/irclogs.ubuntu.com/2010/11/25/#bzr.txt

maxbvila: Does bzr-landing-dependencies have a bzr branch?01:17
maxbSo are we on for 2.2 today?02:17
fullermdMan, you're behind.  I've had 2.2 for months   ;)02:20
GungaDinHi02:32
thumperhi02:34
thumperdidn't someone start a gitorious fork using bzr?02:34
thumperanyone know the status of it?02:34
GungaDinIs it possible to generate a diff/patch by simulating a merge ?02:41
spivGungaDin: 'bzr merge --preview'02:44
GungaDincan that be used with patch?02:46
thumperGungaDin: I believe so02:47
beunoor bzr send?02:47
beunohai thumper!02:47
thumperhi beuno02:48
thumperGungaDin: what are you trying to achieve?02:49
GungaDinto patch the changes of a merge.02:51
GungaDinI don't want the history tracked. just need to patch.02:51
thumperGungaDin: you can do that with bzr02:52
thumperif you merge the branch02:52
thumperthen I think you do bzr revert .02:52
thumperdon't forget the dot02:52
thumperand I think that merges the content without the history02:52
thumperbut I'd like lifeless or spiv to check that02:53
spivbzr revert --forget-merges02:53
spivthumper: 'bzr revert .' is the opposite :)02:53
thumpergood thing I checked then :)02:53
thumperspiv: so with --forget-merges it keeps the file changes?02:54
spivGungaDin: So do 'bzr merge' followed by 'bzr revert --forget-merges'02:54
spivthumper: yes02:54
thumpercool02:54
thumperthanks02:54
GungaDincool. thx02:56
vilahi all !07:48
PengGood morning. :)07:49
mgzmorning vila.07:49
vila:)07:50
vilamgz: do you have a way to reproduce bug #681047 ?07:55
ubot5Launchpad bug 681047 in Bazaar "Random failures on SFTPTransport tests on windows (affected: 1, heat: 6)" [Low,Confirmed] https://launchpad.net/bugs/68104707:55
mgznope, only seen it on babune, as I don't have paramiko installed locally07:55
vilamgz: hmm. Do you agree that get_bytes()/get() may be a cause ?07:56
mgzlooked like a good thing to fix, but I'd be suprised if it were the cause07:57
vilamgz: taking into account that paramiko do some internals sleep()07:57
mgzI'm pretty sure that refcounting means the file is closed at the end of that statement07:57
mgzhttp://babune.ladeuil.net:24842/job/selftest-windows/242/ <- last run has one of the sftp failures07:58
mgz...also has an lsprof thing I don't think I seen before07:58
mgzhttp://babune.ladeuil.net:24842/job/selftest-windows/242/testReport/junit/bzrlib.tests.test_lsprof/TestStatsSave/test_stats_save_to_pickle/ <- any ideas on this?07:58
vilaEOF during a file read... sounds a bit like the bucket I put many random failures into: vbox having trouble /bug with fs updates/caching >-/08:01
vilawhich is so vague I don't dare mentioning it usually...08:01
mgzwas guessing something like that08:03
vilaThe scary thing with this scenario is that it implies a very stealth bug with a very low occurrence rate which more or less means it will never be fixed :(08:05
vilaOn the other hand, the fact that the pattern is common to so many various OSes can hardly be caused by bzr itself (since it doesn't occur on real hardware...)08:06
vilamgz: by the way, it's nice to have clearer failures in the other cases ;)08:16
vilamaxb: I have only a local branch for bzr-landing-dependencies so far, that's bad, but I don't know where to put it, defining an lp project for it sounds too heavy-weight, keeping a local branch too light, ideas welcome10:26
spivvila: +junk until you decide?10:37
vilaright10:40
viladone: lp:~vila/+junk/bzr-landing-dependencies10:40
vilathanks to bzr for reminding at first push, I don't have to note it anywhere...10:41
maxbvila: you should be able to push it to lp:~bzr/ubuntu/hardy/bzr-landing-dependencies/bzr-ppa10:43
vilamaxb: brilliant10:44
viladone10:44
vilamaxb: where is this defined ?10:45
vilaI mean, what are the rules there (especially the 'bzr-ppa' part) ?10:46
maxbthe bzr-ppa part is nothing more than convention established by me10:47
vilalol :) Best doc ever ! Ask and you should receive an answer :D10:49
maxbthere was an email thread a while back where I proposed and then did a rename of all the extant ppa packaging branches10:49
vilaok, then, what is allowed under lp:~bzr/ubuntu/hardy/ (this is <user>/<distro>/<series> right ?) ?10:50
maxbthe rest of the 5-component name is launchpad's schema for identifying source package branches10:50
maxbso, person/distro/series/package10:51
vilaeven if bzr-landing-dependencies is not  (yet?) an "blessed" package ?10:51
maxbhandily using the accidental? feature that even PPA package names work there10:52
vilaooooh, so it's not that arbitrary then, it should catch tyops :D10:53
DaffyDuck_`If I use a shared repo (init-repo), and create a bunch of branches within it. Is it safe to remove branches from the shared repository if they turn out to be dead-ends, or are the repostitory files and branch files weaved together?14:03
PengDaffyDuck_`: Nuke branches to your heart's content. All of the important data is in the shared repo itself. Note that this means the revisions unique to that branch won't be deleted.14:05
Peng(Unless something has changed significantly recently...)14:06
DaffyDuck_`Peng: Thanks. I trust that if it has had that behavior, it still does. :)14:09
PengDaffyDuck_`: Check if something has a .bzr/repository to be sure.14:11
DaffyDuck_`Yeah; my plan was to run "bzr info" to see if it mentions being a part of a repository before nuking anything.14:13
PengYeah, that works too. :P14:29
=== zyga is now known as zyga-food
mvohey, could someone help me please with a rather odd error message? I work on "bzr+ssh://bazaar.launchpad.net/%2Bbranch/vmbuilder/" (lp:vmbuilder) and do "bzr merge lp:~mvo/vmbuilder/add-natty". now it tells me:15:28
mvobzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~ubuntu-virt/vmbuilder/0.12/".15:28
mvowhere does it get this from? I'm pretty sure that lp:~mvo/vmbuilder/add-natty is a branch of lp:vmbuilder15:29
jelmermvo: Hi15:29
mvohey jelmer15:29
jelmermvo: I suspect lp:~mvo/vmbuilder/add-natty was originally stacked on that other branch but the other branch has been renamed15:29
jelmeror perhaps removed15:29
mvoshould I just apply the diff or is there a better workaround?15:29
jelmermvo: do you know what happened to the original 0.12 branch?15:31
mvoI have no idea :(15:31
jelmerIf it's still around under another name, or if it was merged into another branch then you should be able to fix the stacked-on location15:31
jelmerYou can see the reference to the 0.12 branch here: http://bazaar.launchpad.net/~mvo/vmbuilder/add-natty/.bzr/branch/branch.conf15:31
mvocan I just mug around in that file to point to a different one?15:32
jelmermvo: yep15:32
* mvo puts his cowboy hat on and tries it15:32
jelmerI thought launchpad prevented removing branches that had other branches stacked on them, but apparently there isn't complete coverage.15:33
mvothis is rather odd - I just pushed my local branch to lp as add-natty2 and it said that it reated it as a stacked branch on top of 0.12 as well. but this one I can merge to trunk15:35
mvoworth a bugreport?15:35
jelmermvo: Yeah, I think so15:35
mvobug #68143115:42
ubot5Launchpad bug 681431 in Bazaar "confusing error when original stacked branch becomes invalid later (affected: 1, heat: 6)" [Undecided,New] https://launchpad.net/bugs/68143115:42
mvoprobably needs adjustment, maybe its code-hosting instead of bzr? or both?15:43
mvothanks for your help, I was able to workaround it now15:43
lvhHey. I'd like to integrate Roundup with bzr. I'm hosting bzr on a server with bzr+ssh. Closing/referencing tickets seems easy, since those are commit hooks. I'm wondering about *assigning* tickets: I'd like to assign them when someone branches off.15:46
lvhIf I understand correctly there's no hook for that at the moment.15:46
lvh(And unlike in SVN a branch doesn't imply a commit. I like that, but it makes this somewhat unfortunate.)15:47
lvhPerhaps a push hook? Does the hook know who committed?15:47
lvhI'm looking at http://wiki.bazaar.canonical.com/BzrHooks, it mentions bzr 1.0 hooks. Is that hopelessly outdated?15:48
mvohm, hm, there is  https://launchpad.net/vmbuilder/0.12 and claims the 0.12 series points to lp:vmbuilder15:57
maxbmvo: Note the difference between ~ubuntu-virt/vmbuilder/0.12 and ~vmbuilder-dev/vmbuilder/0.1216:02
mvoohhhh16:03
maxbDo you need to rescue an existing branch, or have you completely worked around it by repushing a local copy?16:03
mvofor the initial one I worked around by pushing my local copy, but I would like to e.g. branch the "packaging" branch which is not possible now16:04
mvocurrently16:04
maxbmvo: Do you have write access to the problem branch?16:05
jelmerlvh: Yeah, I don't think the wiki has been updated - try "bzr help hooks" ?16:06
mvonot the packaging one :/ to trunk though16:06
lvhjelmer: Ooooooh. Nice.16:06
mvothe one I wanted to work on next is lp~soren/vmbuilder/packaging16:06
lvhjelmer: Thanks16:06
mvobut that is not owned by me16:06
maxbmvo: hmm. In that case we need a losa or someone who does. Or, in a pinch, you can copy the branch content locally and fix it up on your local machine16:07
sorenmvo: What do you want to do to it?16:07
mvosoren: make it work again (i.e. make it possible to branch it again). see https://bugs.launchpad.net/launchpad-code/+bug/68143116:08
ubot5Launchpad bug 681431 in Bazaar "confusing error when original stacked branch becomes invalid later (affected: 1, heat: 6)" [Undecided,New]16:08
mvosoren: it appears its unhappy because its stacked on location changed16:08
sorenmvo: I'm not even sure I have a local checkout of it.16:08
sorenmvo: Let me know if I can help.16:09
maxbsoren: Could you download a script I wrote for this purpose? http://j.maxb.eu/~maxb/bzr-set-stacked-url16:09
mvooh, nice16:09
lvhjelmer: None of these hooks appear to know which user did it though16:10
mvosoren: once I have that branch I will update it to include the current packaging and push it as ~vmbuilder-dev so that its in sync again (I guess you don't mind :)16:10
maxbThen you can run bzr-set-stacked-url lp:~soren/vmbuilder/packaging lp:~vmbuilder-dev/vmbuilder/0.1216:10
sorenI'm cooking dinner right now, actually.16:10
jelmerlvh: you can check who committed the revision that was pushed?16:11
sorenmvo: Can you ping me about it this evening or tomorrow? I'd be happy to help get this sorted out.16:11
lvhjelmer: I suppose I could use bzr's notion of who did it and not ssh's notion of who did it and it'd even be more correct16:11
lvhjelmer: Right16:11
maxbsoren, mvo: I'll sort it via scping the branch and push it to lp:~maxb/vmbuilder/packaging16:11
mvosoren: will do, maybe I find find a LOSA in the meatime to fix it up, but if not, I will ping you16:11
mvomaxb: cool! many thanks .)16:11
sorenmvo: Lovely.16:11
lvhjelmer: post pull and push are client-only, so either I need cooperative clients or something else16:12
jelmerlvh: you can't really rely on anything but the client as bzr supports "dumb" push16:12
lvhjelmer: I'm working under the assumption everyone does everything over bzr+ssh16:13
maxbmvo: pushed16:13
lvhpost-branch-init looks promising16:13
* mvo hugs maxb16:14
lvhjelmer: If I understand correctly http://people.canonical.com/~mwh/bzrlibapi/bzrlib.branch.BranchInitHookParams.html isn't linkable to the bzr concept of a person, because there are no commits made. Does that sound right?16:15
jelmerlvh: yeah16:17
lvhHm, unfortunate, but I guess I'll live :-) Thanks jelmer :-)16:18
=== zyga-food is now known as zyga
=== vila changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: spiv | Release Manager: vila, 2.2.2 has gone gold, packagers of the bzr world, unite ! | Hooray for jelmer
maxbHrm. PQM seems to only be accessible under pqm.bazaar-vcs.org, there appears to be no pqm.bazaar.canonical.com17:04
maxbThis doesn't feel like the sort of thing to file on Launchpad. Maybe a Canonicalite could log a suggestion or RT for the Canonical sysadmins?17:05
=== beuno is now known as beuno-lunch
vilamaxb: why ?17:07
maxbConsistency. AFAIK every other bazaar resource has moved off bazaar-vcs.org17:07
vilaWell, the other ones are targeted at users, whereas pqm is only targeted at committers... which I strongly suspect won't upgrade their configs :D17:08
vila..not mentioning the docs...17:09
vilamaxb: and since there are plans to migrate from pqm to tarmac, I'd rather keep the energy focused on that instead17:10
maxbah, ok17:10
vilamaxb: I'm about to EOD, but I plan to look at what needs to be done for the MRE regarding 2.2.2 (or the SRU otherwise) first thing tomorrow, I may ask you silly questions then, be prepared ;D17:12
maxbvila: We pop it in the PPA, say, "look, it passes, please rubberstamp that this SRU has met our MRE conditions, thanks"17:13
vilamaxb: you're just great :D17:13
maxbThen we validate the package in maverick-proposed did actually build correctly, and say "it works, please promote to maverick-updates"17:13
vilaright, so I need to setup the right branches on my side and document the above17:15
vilaThis sounds like a good summary, but 'validate .. in maverick-proposed' is still a bit obscure to me, ha, no, we do nothing more for that than pointing to the right package branch ?17:16
vilai.e. let me try17:16
vilalp:~bzr/ubuntu/maverick/bzr/bzr-ppa ?17:17
vilaor bzr-proposed ?17:17
vilanah, bzr-ppa when available right ?17:17
maxbyes.... but no :-)17:27
maxbWe probably want to prepare the SRU on top of the existing ubuntu packaging branch17:27
maxbAnd then just happen to commit equivalent changes onto the PPA branch17:27
maxbAlso, we need to assess the list of bugs fixed by this SRU to prepare an appropriate debian/changelog entry17:28
maxbAlso I've been refining the debian/rules invocations to run the testsuite in the maverick bzr-ppa package, so some of that needs to be ported onto the ubuntu branch17:29
maxbI'd can do that tonight if you like17:29
maxbvila: ^17:40
vilamaxb: whatever works for you, I'd be happy to only look as well as being your hands there17:50
vilamaxb: I'm off now, but I will read the log17:51
maxbok17:51
=== beuno-lunch is now known as beuno
ccxCZdid I misunderstand, or is bzr merge --interactive broken when it does not record the commit as merge?19:48
ccxCZit's plain commit in my history19:48
maxbccxCZ: I could believe that it might be deliberate19:52
maxbRecorded merges are supposed to denote complete merges of that line of history, whereas if you omit chunks, that's not really the case19:53
ccxCZwell certainly it's not documented in help and now my history messed up :/19:53
* maxb reads the source code19:53
maxbIt rather does look like this is the case19:55
ccxCZok I'll remerge that19:56
ccxCZbut it's kind of nasty, since one might want to cherrypick19:56
maxbccxCZ: Well that's rather the point. An interactive merge by definition is a cherrypick of sorts, and cherrypicks are never recorded as full merges.20:02
Ngdoes bzr use launchpad's edge server to decode lp:foo locations?20:15
Nghmm, I mean "is it hard coded to do that", because the machine I'm using clearly is trying to use edge for that20:15
maxbNg: I believe it has done in some versions of bzr. Not sure if it still does, though20:20
elmoyeah, it's known and known as a bug20:20
elmoalso not sure if/when it's been fixed20:21
* maxb cries at the mess of parallel imports for bzr UDD packaging20:21
lifelessNg: https://bugs.launchpad.net/bzr/+bug/58366720:22
ubot5Launchpad bug 583667 in Bazaar "bzr talks to edge API servers to propose merges (but not for lp: url lookups) (affected: 1, heat: 1)" [High,Confirmed]20:22
Ngta all20:23
lifelessNg: what version do you have?20:34
Nglifeless: 2.0.420:34
lifelessI suspect that still uses edge for lp:20:35
maxbNg: This changed in 2.2. Might be worth upgrading, for the steady stream of bugfixes since then20:47
elmothe bzr --whoami thing is blocking us20:47
elmoor, at least, that's why we're still on 2.0.420:48
maxbWhat is the --whoami thing?20:48
elmomaxb: https://bugs.launchpad.net/bzr/+bug/61687820:48
ubot5Launchpad bug 616878 in Bazaar "bzr commit error because of no identity (affected: 3, heat: 43)" [Medium,Confirmed]20:48
maxbelmo: Is your /etc-in-bzr via etckeeper?20:49
elmomaxb: our setup pre-dates etckeeper, but it's the same idea20:50
maxbjelmer: for the 2.2.2 maverick SRU, shall we just leave the testsuite not using the compiled extensions, since we have not settled how we want to fix that, do you think?21:26
jelmermaxb: Yeah, I think that's a good point. Let's not make any unnecessary last minute changes.21:30
maxbjelmer: Right. I am planning to put the "run bundled plugin tests" change in, though, since I've already run that through the PPA to validate it21:43
maxbRather madly, I think bug 659590 is actually the most important fix in 2.2.2 for Ubuntu22:26
ubot5Launchpad bug 659590 in bzr (Ubuntu) "dput sftp upload hangs after all files successfully uploaded (affected: 1, heat: 6)" [Undecided,New] https://launchpad.net/bugs/65959022:26
maxbHrm.22:30
maxbAccording to the SRU process we need to release 2.3b4 and get it into natty before we can SRU 2.2.222:30
maxbAAAAAAAAAARRRRRGHH22:58
maxbOur MicroReleaseException is broken22:58
maxbWe cannot run the testsuite during package build, because bzr is in main, but python-testtools is in universe.22:59
jelmermaxb: :-((23:22
jelmermaxb: We should really try to get python-testtools into main.23:22
jelmermaxb: But I guess that's not something we could do for this SRU..23:22
maxbI think I'm about ready to throw my hands up in horror and say "SRU? What's that? We have a lovely ~bzr PPA for you to use!"23:23
lifeless(23:25
lifeless:(23:25
maxbSpeaking of which, uploadded 2.2.2 to bzr/proposed now23:42

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