[00:03] james_w: guess you're not around? [00:03] spiv, hi? [00:03] hey poolie [00:05] poolie: hey [00:06] poolie: I was thinking about the latest ObjectNotLocked bug (this time in cmd_annotate) [00:06] we should have a chat - now if you like, but i might get some coffee first [00:08] poolie: now or post-coffee are both fine [00:09] I already have one ;) [00:09] I find the phrase "post-coffee" so misleading. It implies that there's such a thing as "pre-coffee". [00:09] That's like "what happened before time began?" [00:15] fullermd: +11111 [00:20] What version of pycrypto should we be using for bzr 2.0.3 and 2.1.0b4? [00:20] Or rather, what should I be packaging in the Mac installers? [00:20] k [00:21] hi poolie [00:21] I am now [00:21] hi [00:21] do you want to talk now, or some other time? [00:23] let's do it now [00:23] save us missing each other again [00:27] k [00:32] poolie, hi [00:33] poolie: you just changed the product of bug 496827 back to bzr, was that intentional? [00:33] Launchpad bug 496827 in bzr-svn ""bzr hooks" throws AttributeError exception on Windows" [Undecided,New] https://launchpad.net/bugs/496827 [00:33] it was accidental [00:34] now it won't let me change it back [00:34] ah, probably because you're not in the bug maintainers group for bzr-svn? [00:34] I've changed it back [00:57] james_w: http://bazaar-vcs.org/Roadmap [01:23] bzr branch with bzr+ssh is currently using 270m of ram on the server side, is this normal? [01:24] For large enough branches, yes, unfortunately. [01:24] 2.1.0b4 should be a little bit better than 2.0.x on memory consumption, but we still use more than we'd like. [01:25] Oh, and doing cross-format fetches tends to consume more memory too (as well as being slower), so upgrade everything to 2a if you haven't already ;) [01:25] That is unfortunate, it's already triggered the OOM killer twice and is making my computer ( "server" and desktop are the same machine ) unusable [01:26] irssi is about the only usable application right now :) [01:26] You can do "bzr branch -r 1000 bzr+ssh://.... foo; cd foo; bzr pull -r 2000; bzr pull -r 3000; ..." etc if necessary. [01:26] Or maybe even smaller increments. [01:27] I assume that also means that subsiquent pulls should reasonable wrt memory usage? [01:28] *should be [01:29] Right, the memory usage is roughly proportional to how much (revisions, file deltas, etc) is being transferred. [01:29] spiv: Thanks [01:29] So incremental pulls of the last few revisions new this week will need much less memory than branching the whole thing. [01:33] spiv: finished on phone, writing up a mail [02:32] poolie: I'm going to grab lunch now; how about I ping you after? [02:59] Is it possible to invoke a command from bzrlib.builtins directly from a python script? [03:05] ..and still get a progress bar? [03:12] maxb: yes [03:12] maxb: to get a progress bar you just need to set up a uifactory [03:12] there is a function to help you do it [03:14] make_ui_for_terminal ? [03:15] right [03:15] thanks :-) [03:15] spiv, sorry, back now [03:32] bzr still seems to use pycurl for me [03:32] i thought we were going to change to urllib2? [03:40] is there a doc / guide on how to maintain a friendly fork with Bazaar [03:42] is there demand for that? [03:47] poolie: ok [03:48] poolie: shall I call? [03:51] spiv, yes, thanks [04:07] jml: gtg again? [04:07] mwhudson, maaybe. [04:07] gutworth, well, I guess I count as demand. [04:07] I'm thinking that looms would be a good fit, actually. [04:14] uploading mac installer for bzr 2.1.0b4 :) [04:20] * fullermd is so happy to have DWIM revspecs... [04:23] jelmer: just hit an assertion in bzr-svn's mergeinfo parser, reported in https://bugs.launchpad.net/bzr-svn/+bug/497280; hope it's not going to be too severe to fix :/ [04:23] Ubuntu bug 497280 in bzr-svn "Assertion hit when pushing merge commit to remote svn repository in parse_mergeinfo_property" [Undecided,New] [04:25] omg [04:26] is random sniping really _that_ much more fun than writing code? [04:26] ... [04:26] poolie: was that directed at me? [04:26] not at all [04:27] someone else (guess) [04:27] not in this channel [04:27] * poolie muffles himself [04:27] I'm confused [04:27] :/ [04:27] poolie: I think you're turning japanese? [04:27] seriously, no offense intended [04:27] just offtopic venting [04:27] none taken, I would write a patch if I had time! [04:28] I se [04:28] If it's not in this channel, it doesn't really exist, does it? :p [04:28] *see [04:28] hello lifeless [04:28] fullermd: bzrgotism? [04:29] poolie: for some people, it certainly seems that it is [04:29] is there an easy way to access a SourceForge CVS project with bzr? [04:29] lifeless/poolie: I'm running bzr selftest --subunit from lifeless' subunit branch on Vista at the moment. === dOxxx1 is now known as dOxxx [04:30] cellofellow: not really [04:30] jfroy|work: If you can get it declared a religion, it's tax-deductible. [04:30] dOxxx: thank you for that [04:31] bzr-cvsps-import or bzr-fastimport seem close. I don't have commit access to the repo and it isn't very active. [04:31] lifeless: you're welcome. seems to be working okay so far. I find subunit output rather hard to read though. I must see if I can get the filters working. [04:31] dOxxx: the patch doesn't require subunit output :) - just run as normal. [04:31] cellofellow: if you can download the cvs repo, you can use fastimport [04:31] lifeless: so I didn't need to run with --subunit? [04:32] dOxxx: if you put the filters on your path (set PATH=%PATH%c:\src\subunit\filters) then you should be able to use them. [04:32] cellofellow: otherwise you can request an import on launchpad [04:32] dOxxx: indeed :) [04:32] dOxxx: for most people subunit streams will be an implementation detail they rarely need to look at. [04:32] lifeless: Okay. So I guess I should try --parallel next. [04:33] ok [04:33] dOxxx: you need --parallel=subprocess on win32 [04:33] yeah [04:36] hi poolie [04:36] lifeless: with --parallel=subprocess, it looks like I'm getting mixed CRLF and LF in the stdout [04:36] dOxxx: what command line did you use? [04:37] lifeless: bzr selftest --parallel=subprocess > tests.out 2> tests.err [04:37] I wouldn't redirect it [04:37] as it will be doing the fancy bzr progress bar [04:37] lifeless: ah yes, you're right [04:38] lifeless: actually, no... I'm getting a lot of spewage [04:38] lifeless: looks like multiple threads writing to stdout concurrently [04:39] lifeless: no progress bar that I can see [04:39] lifeless: in fact I see output very similar to --subunit [04:39] lifeless: albeit garbled [04:39] ok, thats not the goal :) [04:39] someone recently had a patch to make --parallel=subprocess work at all on win32; but it should be merged. [04:41] lifeless: should I try merging trunk into this branch? [04:42] poolie: btw, the 405 is apparently from .bzr/branch-format, not .bzr/smart, even so treating it more like a 404 does seem more useful in practice. [04:43] i know [04:43] dOxxx: I've merged trunk already [04:43] hello lifeless! [04:43] spiv, i was going to try TransportNotPossible [04:43] hello poolie! [04:43] it's just possible it'll come up in other places [04:44] in other news, I really need to improve the mac build process so that it checks for missing tarballs *first* [04:44] waiting 20 minutes while it builds only to discover that I typo'd a tarball name in the config really sucks [04:45] doing this three times in a row..... priceless. [04:46] dOxxx: I'm running --parallel-fork, I am getting the normal progress bar: [04:46] [407 in 1m18s] per_repository.test_repository.TestRepository.test_item_keys_introduced_by(Reposit [04:46] trying subprocess now [04:48] dOxxx: subprocess working for me [04:48] dOxxx: I'll speculate that stdout in the child processes isn't wired up correctly. [04:51] poolie: which PPA, if any, would you like me to upload python-testtools into, and which versions of ubuntu for? [04:51] good idea doxxx [04:52] i'd like it to be possible to run selftest on the packaged bzrs [04:52] therefore, for it to be in at least ~bzr for ubuntu versions that don't ship it [04:52] well, i guess ~bzr-beta-ppa [04:52] though the betas may not be in there yet [04:52] there are also ppa dependencies, but i think that's only for building? [04:52] so, hardy, jaunty, karmic ? [04:53] ppas have been sufficiently successful to create new problems :/ [04:53] yes [04:53] lucid will have the right versions once various archive syncs catch up [04:54] lifeless: silly question, but are you actually running on a multi-CPU machine? [04:55] lifeless: now I'm not getting the problem... [04:56] dOxxx: yes, 2 cpu [04:56] lifeless: I mean the garbled output problem. it seems coherent now, but still subunit-like spam. [04:56] and no progress bar [04:57] lifeless: I'm not running it through any subunit filter. Should I be? [04:57] no [04:57] it wires one up internally [04:57] there are two possibilities [04:58] either stdout on the child is attached to the terminal, not a pipe to the parent [04:58] or something is introducing noise into the pipe and confusing the parser [04:58] could it be my method for installing subunit? I just copied the python modules into my site-packages dir since I couldn't use the makefile [04:59] dOxxx: that should have worked fine [04:59] at the moment there isn't any C code needed [05:00] it looks like I only get the garbled output when I press Ctrl-C to stop [05:00] ah [05:00] I suspect that stderr and stdout are mixing [05:00] perhaps the chilren are not being killed appropriately or something [05:02] if I recall correctly, ctrl-c is sent to all subprocess associated with the terminal, in win32 [05:02] * lifeless shrus [05:02] if, when you don't hit ctrl-C, [05:02] you get a process count and test name showing [05:02] then robert is happy [05:03] this is what I'm getting, and lots of it: http://pastebin.com/d7623943b [05:05] i was hoping someone would say "how about you help?" - go nmb [05:06] what does "IllegalUseOfScopeReplacer" mean? http://paste.ubuntu.com/342421/ [05:06] I'm trying to follow a review suggestion to use lazy import [05:07] poolie: I'm still trying to refine the process of building mac packages. :P [05:07] ffs [05:09] jml it means [05:10] oh, blah [05:10] it means fiddle with the way you're using it [05:10] make it a global [05:10] i've read the review but i don't recall the details [05:10] essentially i think you should have your __init__ only lazy_register_command()s [05:11] and then the command module can load its heavy dependencies [05:12] uploading bzr 2.0.3 package for mac :) [05:12] poolie, lazy_register_command might be the ticket, thanks. [05:12] jml: it means that something outside the module accessed the lazy import [05:14] dOxxx: that pastebin is raw subunit [05:14] lifeless, so what should I do about that? [05:14] jml: don't do that :). its likely one of your other modules. They should import (lazily if possible) it themselves. [05:14] poolie, lazy_register_command doesn't seem to be a thing [05:14] rather than doing foo.bar.baz [05:15] lifeless, hmm. why isn't this a problem if a plugin fails to lazily import trace, say [05:16] jml: I'm leaving the house, you can ring me and I will help you happily, if you give me 3 minutes before ringing. [05:17] lifeless, ok, thanks. [05:17] lifeless: so I guess that means that the filter is failing [05:18] poolie: on the subunit branch for bzr, I hope I'm not coming across as pushy, I'm just trying to execute on somethings you've been saying for a bit. [05:18] yeah [05:18] i think you're being appropriately pushy [05:19] i just wanted to make my comment more clear [05:19] i'd rather merge it now than after the last beta [05:19] jml if you push or pastebin or gobby your code i will look [05:19] poolie, thanks. [05:22] poolie, this diff: http://paste.ubuntu.com/342430/ from https://code.edge.launchpad.net/~jml/bzr/lp-login-oauth-2/+merge/15897 -- branch lp:~jml/bzr/lp-login-oauth-2 is up-to-date [05:25] oh you're trying to lazy import a submodule of the current module? [05:25] poolie, I guess I am. [05:25] or whatever the right word is [05:25] this is from [05:25] Also, it seems like it might be nicer to lazily import lp_registration. [05:25] ? [05:26] s/from/motivated by [05:26] poolie, that's right. [05:26] quick call? [05:26] poolie, sure. +61362643170 [05:41] mac installers are build and uploaded so I'm going to bed. good night! [05:58] jml http://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Release_history [05:59] so quite a few are still supported: dapper (server only), hardy, intrepid, jaunty, karmic [05:59] and in a sense lucid [05:59] poolie, citation needed! [05:59] :) [05:59] "moving violation" [06:00] poolie, where are they getting our support policy from? [06:01] jml: if you do "from from bzrlib.plugins.launchpad import lp_registration as _lazy_lp_registration" in the __init__.py, does that fix it? [06:01] spiv, maybe. [06:01] i don't know [06:01] it's consistent with my memory of it [06:01] spiv i think we solved it [06:01] spiv, I've abandoned the lazy registration angle, I'm afraid. [06:02] (and s/lp_registration/_lazy_lp_registration/, obviously) [06:02] jml: :) [06:37] hi [06:37] http://paste.ubuntu.com/342486/ -- from win32utils [06:37] is the second import as unnecessary as it looks? [06:38] also, is "WindowsError" a builtin on win32? [06:48] * spm must fight temptation to suggest it's a ground state of being.... [06:51] jml: file:///usr/share/doc/python2.6/html/library/exceptions.html#exceptions.WindowsError implies yes [06:51] spiv, thanks. [06:51] spiv, that's probably a bug in pyflakes then [06:52] jml: yes, that second import looks redundant (and weird) [06:52] spiv, I actually deleted the first one [06:52] Well, arguably it's the first import -- right. [06:57] hmm. [06:57] actually, it's probably not a bug. [06:57] it's just annoying. [07:02] hm [07:02] google code is either flaky or intermittently banning me [07:02] or both [07:23] could someone test https://spyderlib.googlecode.com/.bzr/branch-format for me? [07:23] actually nm [07:24] really just down [07:27] hi all [07:42] vila, hello [07:42] hi jml ! You're up early ! [07:42] :D [07:43] vila, well, the sun is shining [07:43] jml: Lucky you [07:43] and it's well over 20 degrees celsius [07:43] I thought [07:43] why not be awake [07:43] https://code.edge.launchpad.net/~jml/bzr/lp-login-oauth-2/+merge/15897 -- I've replied to John's review [07:43] it's ready for another round. [07:44] Oh yeah, 3 minutes ago :) [07:45] vila, why wait even that long! [07:45] hello vila [07:45] jml, i'm pretty much ok with it but [07:45] i greedily want to finish my own patch first [07:45] vila, it's very common for Launchpad branches to be landed within a day after submission for review. [07:45] and to talk to vila! [07:46] * jml is off to eat food. [07:46] It looks like you don't need piloting, you're doing well and already have one core reviewer :) jam sounded ok so I don't see why he would not approve. [07:46] Your branch is on my radar anyway, I've just not come to it yet [07:47] jml: Do you need two votes here ? You have pqm access right ? [07:47] vila, I have PQM access. [07:47] vila, I only need one vote [07:47] * poolie will look, it's paged in [07:47] poolie: ok [07:48] I'd really love to rewrite the Launchpad plugin from scratch. [07:48] except that's always a terrible idea [07:48] jml: pilot work done :-) I will ensure you enjoy your flight anyway :) [07:48] * jml off to eat food, for real [07:48] vila, :D [07:49] jml did you ever work out how to test lplib? [07:50] what ? no tests from jml ? Surely he forgot to push the right thread ? :D [07:51] jml: before you raise some ill-founded objections, I'll be ok with a soft dependency on a locally installed launchpad :D [07:54] Woah, an lp-mirror command. Awesome! [08:00] vila: there was a thread a while ago about 'how on earth do you test lplib?' [08:00] hmm, before the Mooloolaba sprint ? [08:01] re-phrasing: before jml tought me how to installl lauchpad ? [08:01] i should go soon... [08:01] probably yes [08:02] vila, the way to test it is to use a mocked launchpadlib, basically [08:02] vila, launchpadlib has support for this, but this support is not available in karmic. [08:02] vila, nor in any released version of launchpadlib. [08:03] jml: that's one way, the one I was hinting above is more like the local_test_server plugin approach were you require a true server locally running and inject it in the bzr test suite [08:03] jml: whatever works ! [08:04] minimizing entropy, etc [08:09] poolie, I've just pushed up a change to the NEWS file. [08:11] k [08:12] jml, this is the point where we poke the 'diffs get out of date' bug? [08:12] actually are you really sure you pushed? [08:12] it doesn't even show the revisions [08:14] poolie, ahh. [08:14] poolie, bzr: ERROR: These branches have diverged. See "bzr help diverged-branches" for more information. [08:14] poolie, injudicious use of uncommit, plus errors all looking the same in text [08:14] mm [08:15] poolie, I just successfully pushed. [08:24] good for you :) [08:24] me too [08:24] https://code.edge.launchpad.net/~mbp/bzr/497274-http-405/+merge/16229 may unblock bzr-git imports from google code if we're lucky [08:25] Good morning, or whatever time of day might be appropriate to you! [08:26] Would I be correct to assume that methods decorated with needs_read_lock will ALWAYS unlock their object once they are done? [08:26] they will decrement its lock counter [08:26] if it goes to zero they will unlock it [08:27] poolie: Ah. Didn't see any lock counter in the Branch implementation... [08:27] But otoh, branch is mostly forwarding to its control files, it seems. [08:28] OK, so it might be I forgot to lock things... [08:50] I have a driver-foo.c -file, now there is a modified new hw revision and I would need a slightly modified driver for that. how do I copy that driver-foo.c file with history to driver-foo-a.c ? [08:51] Zapelius: bzr doesn't track file copies, unfortunately [08:52] https://bugs.edge.launchpad.net/bzr/+bug/269095 [08:52] Ubuntu bug 269095 in bzr "bzr missing "cp" command for forking files /w history" [Medium,Confirmed] [08:52] (currently the top bug on https://bugs.edge.launchpad.net/bzr/+bugs?orderby=-users_affected_count !) [08:53] yep, found that too. there's no work-around-hack? [08:54] Not that I can think of, but what behaviour are you after? [08:54] Just that 'bzr log FILE' and 'bzr annotate FILE' would reflect the history from before the copy? [08:55] Or do you expect something special to happen on 'bzr merge' when the file is changed? [09:03] I have a branch that I'm working on, and I just wanted to have the entire history for the new file too, as it's up to a few lines identical to the old one [09:04] * spiv nods [09:04] It's a reasonable enough request, just we haven't implemented it yet. [09:05] k [09:06] I have an option to make the driver itself dynamic, selecting the hw rev with an option [09:18] Hi guys. I'm at r30, and I've got a changeset at r24 that I want to 'revert'. Would revert be the correct command? [09:24] CaMason: probably you want "bzr merge -r 24..23 [09:24] CaMason: probably you want "bzr merge -r 24..23 ." [09:24] spiv, ah, thanks :) [09:25] (I think "bzr help revert" mentions this case :) [10:01] hm not working as intended :/ [10:02] if I use `bzr diff -r 26..27` I see the changes I made. Those are the changes I want to get back. However, `bzr marge 26..27 .` I don' get them [10:02] bzr merge* even [10:02] -r [10:03] yes, sorry was using that [10:03] aha.. gotta use the revisions the other way around [10:04] worked perfectly :D [10:09] CaMason: great :) [10:09] thanks === Adys_ is now known as Adys === idnar_ is now known as idnar [10:32] hi all [10:47] lifeless, jelmer: Thoughts on http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558460 [10:47] Debian bug 558460 in bzr "bzr: Needs python-pycurl to verify SSL certificates, but only Suggests it" [Important,Open] [11:02] hi all! [11:03] How can I synchronize a local code so that updated my partner on launchpad? [11:04] johnf: according to policy, suggests is right [11:04] its optional, so its not requires [11:04] and in fact we find urllib to be more reliable [11:04] A4Tech: use pull and push commands [11:04] lifeless: you can help me? :) [11:04] using pull i'm get error [11:05] pastebin [11:05] ok [11:06] bialix: wait  a second:) [11:07] * bialix twiddles the thumbs [11:08] bialix: in general, I get an error saying that I have not selected a working branch. [11:08] bzr pull URL [11:08] ensure you're invoking this command from your local branch [11:09] It was after this command and received this error. Now make a new commit, I will show an error, but then I got involved in the latest version of code [11:13] pastebin? [11:54] lifeless: we have Recommends for ca-certificates though [11:54] so sureley recomends for pycurl makes sense. Other wise the certs are fairly useless right? [11:55] ask vila [12:01] What should I do if I wrote "branches have diverged" as bzr merge says "Nothing to do" [12:01] A4Tech, when do you get the diverged message? [12:02] it may be trying to merge from a different location? [12:03] Just now I made the changes and then commit, and my friend also made a change, and now he wrote it. [12:05] so he is getting the message? [12:06] no my fiend [12:07] ok, so he has to merge from you [12:09] jonhf: Hmm, it's a bit messy... [12:10] vila: how so? [12:10] * beuno waves at vila and lifeless [12:10] Today, only pycurl do certificate validation, urllib don't [12:10] \o [12:10] Today, only pycurl does certificate validation, urllib doesn't [12:10] beuno: and how? [12:10] If you don't have ca-certificates, I'm pretty sure pycurl will whine loudly [12:11] A4Tech, bzr merge URL [12:11] A4Tech, are you using launchpad? [12:11] yes [12:11] but [12:11] Now, if you don't have pycurl, then all is "well": certificates are just ignored [12:11] my friend use ArchLinux :) [12:12] A4Tech, so "bzr merge URL_ON_LAUNCHPAD [12:12] vila: Right. So currently ca-certificates is a Recomends, while pycurl is a Suggests. So either we should make ca-certificates a Suggests or pycurl a recommends. I'm leaning towards the latter [12:13] beuno: start from 122 line http://pastebin.com/d155c3873 [12:14] johnf: Well, we plan de deprecate pycurl once we support certificate validation in urllib, so the current rules are not that far away from what we want... [12:14] s/de/to/ [12:14] vila: ok. Well I've uploaded 2.0.3 anyway so it can wait till next time :) [12:14] johnf: all of that being said, yes, both should be in the same group until then [12:15] whether that group is Recommends or Suggests is a bit more subjective :-) If you care about certificates or not I think :) [12:16] johnf: While I have the dependencies ouder the eyes... celementree still needed for python-2.5 ? Really ? [12:16] s/ouder/under/ [12:16] * vila shouts at his new keyboard [12:17] * vila looks defiantly at beuno waiting for comments [12:17] * beuno giggles [12:17] vila: funny you should ask [12:17] here are two more bugs [12:17] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555336 [12:17] Debian bug 555336 in bzr "bzr: Embedded code copy of python-configobj" [Normal,Open] [12:17] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555343 === jelmer_ is now known as jelmer [12:18] Debian bug 555343 in bzr "bzr: Embedded code copy of python-elementtree" [Normal,Open] [12:18] I'm pretty sure we have some minor changes from configobj but I don't remember which [12:19] for the later... what ? We have that ? Where ? [12:25] johnf: right, so for the later, the copy is there for python-2.4 support, so youcould mark that bug as invalid or whatever the idiom is there, I don't think debian policy requires you to do the kind of brain surgery required to get rid of it [12:27] vila: ok thanks [12:28] vila: actually, debian is pretty aggressive about duplicated libraries [12:29] lifeless: I can understand that and why, but here... 2.5 being supported and upstream supporting another version, how do they address that kind of problem in other contexts ? [12:31] vila: file a bug, talk, talk some more. And if you're lucky, talk some more. [12:32] lol, you mean: until upstream stop trying to the packaging itself ? :D [12:33] death by discussion [12:33] seriously though, they would patch it out in debian [12:33] and file a bug upstream [12:33] AFAICS, in that particular case, we may get rid of the python library in util/. The only one that will need it is RedHat were there should be a way to add celementtree in the packaging. [12:34] vila: yeah. still, E-On-Leave :P [12:35] lifeless: thought so :) [12:35] lifeless: enjoy ! [12:35] vila: you might like my subunit branch of bzr :) [12:35] vila: if you could give it, with subunit 0.0.3 & testtools 0.9.2 a spin on babune that might be good to catch anything up with it. [12:36] lifeless: I have my eye on it since the begining but gave priority to non-core while pp'ing and then.... time flew :-/ [12:36] But yes, that was my plan [12:36] and sorry for delaying that kind of check so long :-/ [12:37] hey nothing to apologise for [12:37] testtools was only released this morning [12:37] well, I was waiting for some release of test ... exactly, so the delay is ... today :) [12:37] lifeless: so that includes you protocol branch right ? [12:38] s/you/your/ [12:38] 0.0.3 does, yes [12:38] if you want to see how it looks, break a test, run selftest --parallel, and look - you should get the log passed across nicely. [12:39] I think my big question about your bzr branch was how it fall backs if neither subunit nor testtools is available and how it behaves when wrong versions are available [12:40] so, it doesn't alter the subunit aspect at all [12:40] other than that, if you get rid of the horrors of get_log in bzr, I'd love it :-D [12:40] older subunit will degrade cleanly - you get the log, but as a 'mega backtrace' [12:40] older testtools, and bzr selftest will die horribly while loading the tests. [12:47] * vila reading lifeless/bzr/subunit [12:47] BZRTransformingResult death ? \o/ [12:54] lifeless: I'm pretty sure you didn't fix the XXX in _get_log(), if further content has been added returning the cached content is still too aggressive [12:55] lifeless: E_OUT_OF_SCOPE accepted as long as you restore the comment :) [12:58] vila: the xxx was wrong [12:59] you mean self._log_contents can contain the content flushed ? How ? [12:59] it gets cached when the log is deleted [12:59] yeah, and what happens to writes that occur *after* that ? [13:00] mutter will fail ? [13:00] I'm pretty sure it didn't when I added that XXX [13:00] the statement was that unflushed stuff wouldn't be seen [13:01] once the log is closed, there cannot be unflushed stuf [13:01] the method is called _get_log() not close_log() [13:01] if you mean 'mutter can be called after the log is closed and stuff goes nowhere', thats fine - but it belongs totally in a different place. [13:01] vila: it is, but it serves multiple masters. [13:02] including tests that just want to peek at intermediate point [13:02] vila: not anymore [13:02] vila: and if they do, it *does not cache the result* [13:02] nor provide a way to reset the cache :-/ [13:03] vila: no point once the log is gone. [13:03] vila: the file is deleted from disk and all [13:03] vila: I am asserting that the XXX did not describe a bug in this function, when I saw the function - in trunk. [13:03] I know, that's the problem ! While I don't like tests that look inside the log, I had to write one yesterday [13:04] vila: my replacement API doesn't have this issue [13:05] vila: but even in trunk, the XXX was complaining about a non issue. [13:05] if you don't believe me, audit the code. [13:06] the cache was only set when the log was deleted [13:08] ! [13:09] I believe you saw an issue, but I think you misdiagnosed [13:09] and an XXX that is wrong is not helpful to fixing issues. [13:11] good morning [13:14] lifeless: ok, get it, and addDetail use keep_log_file=True. I may have misunderstood the keep_log_file semantic at the time and never re-read the code carefully enough as I missed the cache created only if file deleted part [13:15] on the other hand, I think the relationship between bzrlib.trace._trace_file and self._log_file_name wasn't and is still not that obvious :-/ [13:15] vila: yes, that would fit my observation ... that and having to mention it 3 times here n now :P [13:15] vila: I have 0 objections to you cleaning it up :P [13:15] hehe [13:15] just let me land my patch first so we're not treading on each other. [13:15] HAHA [13:17] apart from the get_log needed to avoid duplication as other said, the last bit is that deleted addCLeanup [13:17] hmm ? [13:17] in test_trace_nesting, I'm pretty there was a file leak there [13:17] how so? [13:18] because I found a file with the related content [13:20] lifeless: hmm, may be you fixed the problem, I should have asked first: why did you delete that addCleanup ? [13:20] because it was wrong :) [13:21] before or after ? [13:21] or both ? [13:21] it was deleting a log file from a test that had been finalised [13:22] so I moved it into the teset itself [13:22] see the hunk above where I add it. [13:22] so I haven't deleted it so much as moved it to be closer to the thing it deletes. [13:23] yeah, I just realized that [13:23] have you had your coffee? [13:24] I'm going from the diff to the code, that move wasn't obvious :) [13:24] I'm -> sleep. Let me distract you : http://build.robertcollins.net - see e.g. http://build.robertcollins.net/job/testtools-2.4/ [13:24] Of course now that I re-read the diff, it *is* obvious ;) [13:25] * vila cries [13:26] vila: ? [13:26] lifeless: by the way, do you version any of that stuff (i.e. have you sorted out which files need to be versioned and which are not interesting) [13:26] lifeless: I have hudson very on my plate except I can't find the time to get back to *that* plate :-D [13:27] vila: which stuff? [13:27] using hudson [13:27] err [13:27] no, I don't version the config [13:27] which files contains the job description or any part you modify in your hudsonsetup [13:27] ok [13:27] I keep the config lean [13:28] and if its complex make a shell/python/whateve file to source - and that I version [13:28] Famous last words :-D [13:28] is babune ubuntu ? [13:28] yup [13:28] well, not only by definition, depends on what you call babune, but the host supporting most of the slaves is karmic [13:29] vila: on the master, deb http://hudson-ci.org/debian binary/ [13:29] already installed [13:29] shove that in sources.list or a .list file in sources.list.d [13:29] well then, you're all done :P [13:29] hehe, no, I want to run a specific instance in a dedicated user and version the relevant bits :) [13:29] the deb creates a dedicated user [13:30] /var/lib/hudson if you want to version stuff, but honestly, why? [13:30] ENOTNOW !!! [13:30] vila: 5 minutes, I'll bootstrap you. [13:30] Why ??? Oh my, if only to rollback when I break stuff ! [13:31] exclude jobs [13:32] actually [13:32] include jobs [13:32] lifeless: I have an instance running on locahost:8080 (11 days ago it says even :) [13:32] exclude 'workspace' inside each job [13:32] have you setup security? [13:32] Apart from the port not being visible on internet, no [13:33] go to /configure [13:33] for security realm, select 'hudsons own user db', and 'allow people to sign up' [13:33] select 'logged in users can do anything' [13:33] save the config (button at the bottom) [13:34] click on sign up in the top right [13:34] give yourself a username(e.g. vila) and passsword etc. [13:34] now go back to /configure [13:34] and click on 'matrix based security' [13:35] it will probably have just anonymous there [13:35] if so, give anonymous both read permissions (second and middlish positions) [13:35] add your username [13:35] and click every tick box in that row [13:35] add 'authenticated' as a user, and give it both read permissions [13:35] click save [13:36] that should take you back to the main screen [13:36] and still give you a 'manage' link [13:36] you can add more admins such as john or me via that form. [13:37] done [13:37] err, except the last :) [13:37] install the bazaar plugin from http://build.robertcollins.net/pluginManager/ [13:37] we'll need to add our own accounts first, no rush, [13:37] sorry, /pluginManager [13:38] once its installed, click the restart button, or use invoke-rc.d hudson restart [13:38] then visit /view/All/newJob [13:39] job name 'bzr.dev', type 'build a free software project', OK [13:39] source code management -> bazaar, repository url 'lp:bzr' [13:40] 'poll scm', @hourly [13:40] add build step 'execute shell', put in [13:40] willl trigger only if changes appear there right > [13:43] ./bzr selftest --parallel=fork --subunit | subunit2junitxml -o tests.xml [13:43] click 'publish junit test result report' [13:43] put in *.xml as the field [13:43] click on save [13:44] done [13:44] Well, I added a 'make' build step first [13:44] ok [13:44] so, assuming you have subunit and python-junitxml installed, this will just work. [13:44] they are installed only for my user :) [13:45] ok, so ideally you'd install them [13:45] so I guess it will just breaks ? [13:45] however [13:52] anyhow - make the build shell be what I pasted above [13:52] and it will grab our deps from lp [13:52] save the config [13:52] click on build now [13:52] it complains about -f [13:52] ./bzr selftest --parallel=fork --subunit | ./subunit/filters/subunit2junitxml -o tests.xml -f | ./subunit/filters/subunit2pyunit [13:53] really ? [13:53] oh bugger [13:53] optparse faaail [13:54] subunit 0.0.4 will be coming to a doorway near you tomorrow [13:54] add 1 [13:54] -f 1 [13:55] hah, boolean option? [13:55] yeah [13:55] well, meant to be :P [13:56] running [13:57] instant feedback via console output, good [13:57] progress bar as barbershop, less good [13:57] :D [13:59] vila: should be nearly done ;) [13:59] on your beefy machine [14:00] * vila tracking the python processed by use hudson [14:01] urgh, zombies ? 3 of them, bad [14:01] some other processes are still running though, so let see [14:01] no more feedback in the uhdson console :-/ [14:01] does hudson think its still running? [14:02] still the spinning wheel but no more *test* names [14:02] possibly the setup test [14:02] :P [14:03] * vila kills the build [14:03] no more zombies, good [14:03] thats a little harsh :P [14:03] ok, put test_plugin or something on the selftest line [14:03] far too long [14:03] so I can go to bed ;) [14:04] see, the US is getting up. Now I know its late. [14:04] hehe [14:04] Ran 0 tests in 0.172s [14:04] OK [14:05] lifeless: haha [14:05] vila: thats perhaps a little too fine a test selection [14:05] dichotomy :) [14:05] Ran 208 tests in 1.496s [14:05] OK [14:05] Recording test results [14:05] Finished: SUCCESS [14:06] lifeless: sleep well :) [14:06] vila: right, now on the project page [14:06] there should be a test graph [14:06] and a 'last test result' [14:06] graph, yes, latest, yes [14:06] click, click enjoy. [14:06] rhaaaaaa lovely :) [14:07] what else do you need to know? [14:07] activating remote slaves, I read somewhere you should do that early [14:07] ok [14:08] are you using vmware? kvm? ec2? [14:08] virtualbox, real boxes so far, ec2 very soon for desolation [14:08] #hudson btw, good folk there if you need a hand. [14:08] good [14:08] so, virtualbox oesn't have a plugin yet [14:08] do you start the slaves and leave them running? [14:09] for vbox, yes, [14:09] ok [14:09] go to /computer/new [14:09] except lately were I need to reboot them far too often, but that's most probably a vbox bug [14:09] select 'dumb' slave [14:09] (vs automatic provision like ec2 does) [14:10] executors is concurrency on the slave [14:10] fs root - e.g /home/babune/hudson [14:11] change launch method to ssh [14:11] oh [14:11] you probably want the platform labeller plugin [14:11] for tying jobs to os's [14:12] but it won't really matter at this point [14:12] oh I would certainly like that [14:12] you can tie by the node name too [14:12] so if your node is called 'freebsd' you'll probably be ok for now :) [14:12] but install platform labeller, its mine ;) [14:13] ok, noted [14:14] private key path, damn, needs to run as babune again :) [14:16] ln :P [14:16] or cp probably better [14:17] K, crashing. [14:17] all you need now is java installed on the slave [14:17] sure, thanks a lot, that helped ! [14:17] and you can either add a new copy, as a copy of this one [14:17] and 'tie to a node' in both jobs [14:17] *or8 [14:17] you can play with matrix builds [14:17] I suggest the former, for now. Its easier to grok. [14:17] if a tad more manual. [14:18] yeah a bit too much clicks for me :-) Another reason to version the stuff, hopefully the xml bearable... [14:19] is [14:19] this process - /usr/bin/python /var/lib/hudson/jobs/bzr.dev/workspace/bzr --no-plugins serve --port localhost:0 - is stuck for me [14:19] oh my, it's installing the jdk :-) [14:19] I suspect its what you had too ? [14:19] yup, [14:20] I didn't mention it earlier but it appeared early in the game [14:21] test_breakin [14:21] test_breakin_harder [14:21] they were the problem [14:21] hehe, back they are :0) [14:22] Good,looks like it's mainly config.xml fileS under /var/lib/hudson for the main, the jobs and the hosts [14:22] this is what test failures look like: http://build.robertcollins.net/job/bzr.dev/lastCompletedBuild/testReport/ [14:23] (with my patch they will have the log) [14:27] gee, /systeminfo, refreshing transparency.... [14:29] Disk space is too low. Only 1.012GB left. Come on hudson.... [14:36] vila: /computer/configure [14:36] turn off things to your hearts content [14:37] and thats my final note; consider yourself unblocked:) [14:37] infuture, remember I'm happy to share knowledge! [14:37] ciao [14:39] I'm there, I'd like to tune instead, but thanks a ton for all the hints, highly appreciated ! [14:39] you saved me hours === vednis is now known as mars === weigon_ is now known as weigon [15:48] I'm curious if there's a way I can register nickname for branches more globally? I can use bzr nick trunk, bzr nick eric to allow me to easily switch between my "trunk" and "eric" branches, but when I'm bound to "eric" and want to merge in "trunk" I have to always use bzr+ssh://username@host:port/repos/project/trunk, I just want to simply type in "bzr merge trunk" [15:49] Note that both branches are remote ones on a central server [15:55] I'm not sure if this is what your looking for, but I'm sending it just in case [15:55] http://doc.bazaar.canonical.com/bzr.2.0/en/user-reference/index.html?highlight=intent === AnMaster_ is now known as AnMaster [16:06] lifeless: we get ^M output on the stream until we run a test that ends up setting sys.stdout to binary [16:06] \o/ for test suite isolation [16:06] (That is CRLF until a expect binary output is run, and then we get LF only on the output) [16:06] I think the test is "test_send" but any time you run_bzr with something that has output_encoding=exact it potentially causes it [16:08] oh, and you can't run the filters via "C:\Path\to\subunit2pyunit" you have to use "C:\Python26\python C:\Path\to\subunit2pyunit" [16:08] I alias them locally [16:09] hiho [16:09] need help with bzr builder/dailydeb [16:09] james_w: can you maybe help ad-530 with some bzr builder problems he's having? [16:12] hi ad-530 [16:12] hi james [16:12] can i start? [16:13] ad-530: of course :-) [16:13] ok ^^ [16:14] i want to setup daily builds with bzr dailydeb from a sf.net svn repos and publish them in a ppa [16:15] i've made a local branch of the svn repos and keep it up to date with bzr pull [16:15] the svn working copy resides in /home/ad-530/prog/dangerdeep/trunk/ [16:15] the local bzr branch in /home/ad-530/prog/dangerdeep/bzr/ [16:16] my recipe resides in /home/ad-530/prog/dangerdeep/trunk/dangerdeep/packaging/ubuntu/daily/recipes [16:17] the debian folder for packaging is located here /home/ad-530/prog/dangerdeep/trunk/dangerdeep/packaging/ubuntu/daily/karmic/debian [16:17] the recipe content is: [16:17] # bzr-builder format 0.2 deb-version 0~dangerdeep{revno}+0.0ubuntu~9.10 [16:17] /home/ad-530/prog/dangerdeep/bzr/dangerdeep/trunk/dangerdeep [16:18] nest packaging /home/ad-530/prog/dangerdeep/trunk/dangerdeep/packaging/ubuntu/daily/karmic . [16:18] now i've two problems [16:18] fuck [16:27] james_w, what was the last you'd recieved ? [16:27] ok ^^ [16:27] lol [16:27] not good :-( [16:28] could you repeat what you said? [16:28] are the script kiddies attacking freenode excelusively or just their sponsors and the splits are a side effect? [16:28] sure [16:28] i want to setup daily builds with bzr dailydeb from a sf.net svn repos and publish them in a ppa [16:28] i've made a local branch of the svn repos and keep it up to date with bzr pull [16:29] the svn working copy resides in /home/ad-530/prog/dangerdeep/trunk/ [16:29] the local bzr branch in /home/ad-530/prog/dangerdeep/bzr/ [16:29] my recipe resides in /home/ad-530/prog/dangerdeep/trunk/dangerdeep/packaging/ubuntu/daily/recipes [16:29] the debian folder for packaging is located here /home/ad-530/prog/dangerdeep/trunk/dangerdeep/packaging/ubuntu/daily/karmic/debian [16:29] the recipe content is: [16:29] # bzr-builder format 0.2 deb-version 0~dangerdeep{revno}+0.0ubuntu~9.10 [16:29] ad-530: I'm not sure, I would suspect freenode itself [16:29] /home/ad-530/prog/dangerdeep/bzr/dangerdeep/trunk/dangerdeep [16:29] nest packaging /home/ad-530/prog/dangerdeep/trunk/dangerdeep/packaging/ubuntu/daily/karmic . [16:29] now i've two problems [16:29] first is the nest line [16:29] is "." right? [16:30] or is the "nest" itself right? [16:30] most howtos are using merge but that gives an error [16:30] not the same ancestor [16:31] 2nd problem is when running bzr dailydeb with that recipes it gives the following error msg: [16:31] you can't nest to ".", not [16:31] err, "no" [16:32] you can nest to "debian" [16:32] so the line would be [16:32] nest packaging /home/ad-530/prog/dangerdeep/trunk/dangerdeep/packaging/ubuntu/daily/karmic debian [16:32] however, it depends on what is in that branch as to whether that will do the right thing [16:33] well, in all the howtos the guys are merging a "packaging" branch into [16:34] thought it's a good idea to have several packaging files for several distributions [16:34] but merging gives an error about the two branches don't have the same ancestor [16:34] you can do that [16:36] with the new nest line there's no lock error furthermore [16:38] but that produces /home/ad-530/blubb/karmic-0~dangerdeep1+0.0ubuntu~9.10/debian/debian [16:39] guess i need to change the line to: nest packaging /home/ad-530/prog/dangerdeep/trunk/dangerdeep/packaging/ubuntu/daily/karmic/debian debian [16:41] ah yes [16:41] works [16:41] thank you very much [16:45] what is the manifest file used for? === jam1 is now known as jam === abentley1 is now known as abentley [17:16] hey folks, what's the status of the bzr nautilus integration? === beuno-lunch is now known as beuno [17:21] nekohayo, there's something basic, but no developmens in the last little whle [17:22] and it seems like there's a new kid on the block, bzr explorer? [17:22] is it out to replace olive? === elmo__ is now known as elmo [17:27] The bazaar website move has broken the bzr-eclipse releases update site, is it available anywhere else? [17:28] nekohayo: bzr explorer >> olive (at the moment) [17:28] >> ? [17:28] much much better [17:28] oh [17:29] what becomes of olive? [17:30] it's till around, but it's mostly suggested that people switch to explorer. [17:32] is it possible to specify ignores in builder/dailydeb ? [17:49] ad-530: not currently, what do you want to ignore? [17:57] a folder [17:58] that contains a lot of data files that should better be in an own package === mrevell is now known as mrevell-dinner === deryck is now known as deryck[lunch] [18:00] the trunk has a data/ and a src/ folder [18:01] and a makefile of course === mbarnett` is now known as mbarnett [18:06] best thing would be to have the local repos and inside one branch for the trunk/src/, one for the trunk/data/ and one for the makefile(s) inside trunk/ [18:06] that's not possible, right? [18:11] ad-530: not currently, no [18:25] Is there a way to get bzr to convert windows newline character to unix? [18:25] When any random person commits.. [18:30] I guess I'm looking for a pre-commit bit to turn CRLF -> LF. [18:31] nm found it === deryck[lunch] is now known as deryck [20:37] vila: thats the idea; you should learn and tune, but basic setup a quickstart is a good idea [20:37] hi jam, so there is a problem on win32? [20:37] lifeless: there is a problem on all platforms [20:38] GCCHKPacker isn't passing the reload func to the vfs [20:38] so they are aborting [20:38] raising the wrong exception [20:38] the fix is one-line [20:38] lifeless: I'd love to chat about how to test it [20:38] jam: I mean about subunut :P [20:38] ah, different patch :0 [20:38] jam: but the autopack one. sure [20:38] uhm [20:38] here is a start comment [20:38] So, IMO, to have a stable test, you'd ideally like a high-level per-repository test that a concurrent 'Repo.autopack()' doesn't fail with an error. Creating this situation across all repository formats seems difficult to do. You could create threads, but then you introduce timing race conditions. Monkeypatching to inject the race seems brittle against the repository format. [20:40] so [20:40] whats the clearest statement we can make about the race [20:40] heres my stab [20:41] 'when one pack completes other pack operations may be reading from a file it tries to obsolete' ? [20:42] So we have a test like: def test_concurrent_pack_triggers_reload(self): [20:42] But it passes, because the Repo.texts etc all have reload func set appropriately. [20:42] It is only the GCCHKPacker code that suffers from this [20:42] So it has to be 2 concurrent pack operations [20:42] and not just pack + some other op [20:43] maybe just r1.pack(), r2.pack()? [20:43] lifeless: I think your summary is reasonable [20:43] do they have to be partial packs, or will an autopack do ? [20:43] anyway [20:43] well, autopack is triggering it today :) [20:43] here is a way to trigger it [20:44] firstly we should parameterise to just pack based repos, like there are just chk based tests. test_pack_repo.py already exists and we can use that I guess. [20:44] yeah [20:44] so, if we use a VFS [20:44] per_pack_repository now [20:45] we can make io block, call other operations and whatnot [20:45] here is a simplish way to make a non-threaded race [20:45] all we need is a way to figure out the name of one of the packs [20:46] write a transport decorator which can trigger a callable on a specified trigger. [20:46] e.g. t = decorate(self.get_transport()) [20:46] setup a repo, two commits and then two repo objects [20:46] then do [20:47] t.set_trigger('readv', one_pack_name, repo2.pack) [20:47] repo1.pack() [20:48] this will cause repo2 to repack under repo1's attempt to pack [20:48] nice and synchronously [20:49] interesting point, this code: [20:49] http://paste.ubuntu.com/342979/ [20:49] In that order, all formats pass [20:49] reversing those two lines [20:49] all formats fail [20:49] well, 7 failures at least [20:51] thats odd [20:51] that test is also pretty good, but it assumes that once the pack name index is read it isn't re-read till later [20:51] yeah [20:51] which the callback style trick I suggest above won't assume. [20:52] as AIUI we now know matters [20:52] or we've done something such that the existing test isn't strong enough [20:52] sure, though I think I've also exposed another bug, since all the formats fail [20:52] the existing tests mix packing with record streaming [20:52] and the bug in the current format is about mixing packing with packing [20:53] well, and reading indices [20:53] it mixes a get_parent_map() call in one test and a get_record_stream().next() in the other [20:55] so [20:55] if you use the trace decorator [20:55] and copy tree [20:55] you can find all the i/o with some granularity that pack does [20:55] and then do it again N times [20:56] with each time a different IO hooked [20:56] jam: do you know the name of an xfail test offhand ? [20:57] I believe there is one in test_merge [20:57] def test_modify_conflicts_with_delete(self): === ubott2 is now known as ubottu [20:59] thanks [21:00] thanks [21:00] lifeless: just to clarify, the trigger code would be a new class, right? [21:00] yeah [21:00] a new transport decorator [21:00] that with no triggers, does nothing unusal [21:00] that's what I thought, I just know that 'trace+' already exists [21:00] but with a trigger, fires a callback [21:01] and (to follow a regular convention) can have the trigger kept if what you return evaluates True [21:04] lifeless: you don't seem to have a "subunit.__version__" string. Is that intentional? [21:04] (I often use something like that to figure out versions I have installed.) [21:04] I haven't been doing that, I've started adding them to projects as I notice the lack. [21:05] consider this an observation of the lack :) [21:07] jam: heh [21:07] is there any way to make bzr pass specific SSL certificate handling options to libcurl when it communicates with an https repository? [21:08] justdave: not at the moment, i think its why we want to drop libcurl [21:08] you can make it not use libcurl [21:08] that's probably work. [21:08] got a repo with a local-CA-signed certificate, and it's been working fine for months... [21:09] updated the OS on the webserver, and it picked up a new version of libcurl and now I can't bzr up anymore :) [21:09] you could add that to your certificate store [21:09] the upgrade probably discarded it [21:10] I figured out how to specify the root ca cert to check it against via an environment variable, which was a good temporary solution [21:10] but it's also got a hostname mismatch actually. [21:10] rotfl [21:10] ok [21:10] so, I think its urllib+http://... [21:10] its in bzr help urlspec, I think. [21:10] makes it a little harder problem :) [21:11] in a few weeks this problem will go away when the repo moves to a dedicated server [21:11] in the meantime I need to convince it to work :) [21:12] The recent progress bar changes have lead to some suckiness for me: " M NEWSKB 0KB/s | Pull phase:Merge phase:Resolution pass 1/10 0/1263sion paths 0/1" [21:13] Ah, only happens when piped to less. [21:14] don't see anything mentioning urllib in bzr help urlspec, and tells me "Unsupported protocol" when I try it anyway [21:14] probably an old version of bzr or something [21:14] no [21:14] lifeless: so it turns out the reason why the '.pack() + .pack()' fails, is because .pack *doesn't* handle retry, only autopack does... [21:14] looks like it's 2.0.1 [21:14] jam: woo :P [21:14] jam: do you remember justdaves thing [21:15] justdave: http+urllib:// iirc [21:15] not urlib+http [21:15] yep: register_transport_proto('http+urllib://', [21:15] that works. [21:16] All changes applied successfully. [21:16] woot [21:16] thanks [21:16] it's funny... [21:16] [root@mradm02 bugzilla.mozilla.org]# bzr pull --overwrite https+urllib://dm-bugstage01.mozilla.org/bmo/3.4/ [21:16] https://dm-bugstage01.mozilla.org/bmo/3.4 is permanently redirected to https://dm-bugstage01.mozilla.org/bmo/3.4/ [21:16] didn't I specify it with a / on the end? [21:16] :) [21:17] it gets normalised [21:18] how do I check out a copy of the python branch of lp:zim? i.e. https://launchpad.net/zim/pyzim [21:18] oh. duh. [21:19] ok, so how do I re-parent my local branch to that urlspec? [21:19] (so I don't have to specify it every time) [21:19] bzr switch says I can only do that to a checkout [21:19] $ bzr branch https://launchpad.net/zim/pyzim [21:19] pull --remember [21:19] that worked; I'm kinda curious how that works. but I'm happy [21:19] --remember does the trick. thanks! [21:20] * bialix mutters: gary gary where are you [21:20] bialix: hiding from you. [21:20] /wave [21:20] by the way [21:20] ? [21:20] bialix: I'm saying hi, and teasing you that gary is hiding from you [21:21] ah [21:21] sorry if it didn't translate well [21:21] hi jam! [21:21] sometimes I think I did something not good [21:21] DanC: launchpad puts a bzr style symlink at series paths [21:21] "symlink"? [21:21] yeah, with scare quotes ;) [21:22] jam: thanks for new instalers, waiting for announce now :-D [21:22] I know how filesystem symlinks work [21:22] technically a branch reference object [21:22] has a .bzr/branch which is a branch reference, same as lightweight checkouts use. [21:22] what does it look like on the wire? [21:22] ah. [21:22] * bialix sighs: this new colored chatzilla is full of colors, so strange [21:29] luks: ping [21:36] I've been looking at bzr-svn trying to understand why there are trunk0, trunk1, trunk2, etc. layouts. I can't see any reason why there couldn't just be a single trunk* layout. Am I missing anything? [21:37] users are insane [21:37] users? [21:37] of svn [21:41] Sorry, I'm not questioning why flexible layout handling needs to exist. I'm questioning why the trunk layout needs parameterization with a fixed integer [21:41] Especially since I have a repository with projects at varying depths. [21:41] I don't recall why sorry [21:41] jelmer: ^ [21:42] maxb: hi [21:42] it may be part of the older styles no longer recommended [21:42] hello [21:42] maxb: what if you have a file named trunk in a directory named trunk ? [21:42] But no one would be silly enough to do that, right? :-) [21:43] maxb: see under insane [21:43] similarly, not all directories in a repository usually follow the trunk, branches, tags scheme [21:43] Well, I guess I'll have a go at writing a trunk* layout, since I need it, and it seems mostly plausible [21:44] so some people have a directory "releases" and having a flexible scheme would require us to descend into that directory to see if there happens to be a idirectory there somewhere named "trunk" [21:44] *Ah* [21:44] That's the thing I was missing [21:45] so, to summarize: a flexible schema would cause confusing behaviour and potential performance issues. [21:46] argh [21:47] maxb, did you see my last lines? [21:47] so, to summarize: a flexible schema would cause confusing behaviour and potential performance issues. [21:47] OK, I now understand why a flexi-depth layout isn't a good all-purpose solution [21:48] I think I can still make it work for me, however [21:48] maxb: note that if you do that, only you can use that svn repo with bzr, until you get the patch in other folks plugin [21:49] True, but it beats having to edit .bazaar/subversion.conf depending on which project I'm currently working on in that repository [21:49] lifeless, that's not true anymore [21:50] jelmer: oh, cool [21:51] maxb: you can set a list of wildcard expressions [21:52] I could, but it just seems so messy [21:53] Also, the wildcard layout does not push non-lefthand ancestry [22:05] Is there any flag to make bzr log show bugs-fixed info? [22:07] don't think so [22:07] qlog does iirc [22:10] maxb: it would be nice to have that [22:10] I think there's a bug open about it. [22:18] maxb: qlog [22:19] bialix: Yup.. except when I'm working over ssh :-) [22:19] qlog REMOTE_URL? [22:22] hmm... that's... a wonderful idea :-) [22:22] :-) [22:23] * maxb fights trying to get qbzr-eclipse installed. [22:23] (for an unrelated matter) [22:24] maxb: there was some issues with redirection from qbzr-eclipse@b-v.o to real location [22:25] maxb: http://permalink.gmane.org/gmane.comp.version-control.bazaar-ng.general/64783 [22:25] maybe this related to your fight? [22:25] I think I've hopelessly confused my eclipse by trying to install both qbzr-eclipse and bzr-eclipse [22:25] last time I've tried do this it succeed [22:26] this summer === Leonidas is now known as Xenonidas [22:28] Oh. No, it has worked, but I was confused because qbzr-eclipse doesn't seem to be a proper "Team" plugin [22:28] It puts all its menus and options elsewhere [22:29] it puts its menu to main menu line [22:29] Indeed. Disconcertingly bizarre to someone used to how standard Eclipse VCS integration plugins [22:29] work [22:30] sighs === Xenonidas is now known as Leonidas [22:31] hello maxb, bialix [22:31] hello [22:31] is there a problem with the list? [22:31] morning poolie [22:32] the list? [22:32] the? [22:32] Mailing list? I have an email from half an hour ago [22:32] confirm [22:33] freenode has some problems though [22:44] oh i was asking about [22:44] > bialix: maxb: there was some issues with redirection from qbzr-eclipse@b-v.o to real location [22:45] poolie: http://permalink.gmane.org/gmane.comp.version-control.bazaar-ng.general/64783 [22:45] jam sent the answer [22:46] fullermd: Hi there, dunno if you remember me, I switched from SVK/SVN to BZR a couple of weeks ago.. === jam changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://bazaar-vcs.org | http://irclogs.ubuntu.com/ | Patch pilot: vila | bzr 2.1.0b4 and 2.0.3 released [22:46] fullermd: Im having 2 problems with BZR, dunno if you might be able to help out? [22:46] phoenixz: just ask, there many people around [22:48] Sure [22:50] problem 1) I have my branch, and I have a branch (without WT) on a central server that acts as trunk. Communication is over bzr+ssh:// Now, the second developer joined the group, we try to push and pull but the second person gets access denied all the time, even though I made group permissions of the entire server brach "development" and we are both member of that group.. I chgrp development .bzr -R again, the second person has access, but as soon as I do [22:50] an update, we have the very same problem again.. How can I fix this problem? [22:50] Dunno if I put that clear... [22:51] Use a group with the two of you. [22:51] Its a permission problem when 2 persons try to push over bzr+ssh:// to a central repository .. [22:51] If should preserve the. [22:51] s/the/that/. [22:51] fullermd: eh, sorry, don't understand what you are saying.. [22:51] Though you may need g+s on a filesystem with SysV semantics; do you have that? [22:52] phoenixz: did you setgid ? [22:52] chmod 2775 -R .bzr [22:52] (also, I presume you made it group writable, as well as chgrp'ing) [22:52] jam: setgid? [22:52] fullermd: correct, I added group write permissions [22:52] phoenixz: If the bit is set, it sets the group for newly created flies [22:52] to inherit from the directory [22:52] Well, I wouldn't do it that bluntly, just on GP. A find | xargs of just the dirs rather. [22:52] jam: ah, that sounds interresting... [22:53] find .bzr -type d -print0 | xargs -0 chmod 2775 [22:53] find .bzr -type f -print0 | xargs -0 chmod 664 [22:53] phoenixz: what is prob 2, btw [22:53] jam: well, Id like all this only to be available for development users.. could I also do 2770 and 660? [22:54] jam: eh... problem 2... crap.. I forgot, heheheh... [22:54] phoenixz: sure [22:55] There were 2 things, but I just cant get what the 2nd thing was..well, not too important then.. :) [22:55] you *might* need to look into setting the umask for the bzr process, but I think the chmod + chgrp should be enough [22:57] jam: fullermd: Going to try this.. thanks! [22:59] jam: ah, got the other problem! [23:00] one time I did bzr tag 0.3.0... then I made modifications and I needed to tag THAT one as 0.3.0, so, according to documentation I did bzr tag -f 0.3.0 to force retagging.. [23:00] ever since, I get Conflicting tags: [23:00] 0.3.0 [23:01] how can I fix this? [23:02] You'll have to move (or eliminate) it on the branch it's set at the old rev on. [23:02] does it only for me? bzr: ERROR: Unable to connect to SSH host bazaar.launchpad.net; (10061, 'Connection refused') [23:03] bialix: denyhosts? [23:03] bialix: it's down for maintenance [23:03] thanks spiv [23:03] bialix: topic in #launchpad says it should be back by 23:59 UTC [23:04] hmm, there is nothing on twitter channel [23:09] spiv: so another... 2 hours or so? [23:10] anyway, thanks to everyone who made 2.1.0b4 and 2.0.3 happen. I'm out for tonight. [23:11] I should mention, the turnaround on binaries was pretty darn good this time. Thanks! [23:12] is the web browisng interface part of bzr itself? [23:22] jam: less than 40 minutes left, 'date -u' will show you the time in UTC [23:27] spiv: assuming estimates are accurate predictors :P [23:27] lifeless: :P [23:55] ssh: connect to host bazaar.launchpad.net port 22: Connection refused [23:56] oh, damn - if there hadn't been so many splits, I would've seen that in the scrollback