[00:00] well yeah you're right, actually it'd be pretty simple to just alias a command to do that after the update [00:01] good morning [00:02] still..beats versioning mysql db [00:03] should the sqlite db even be in bzr? [00:04] well it doesn't need to be, but then you'd have to move it around separately with each update [00:04] bob2: no particular reason not do [00:04] bob2: and if it is tied to source code, good reasons to do so [00:06] I could also just move the fixtures, but that creates some more tedium then for each rev [00:06] and tedium is ..tedious;) [00:08] poolie: ping [00:08] hello [00:08] perfect timing, hi jml [00:08] and james_w and ilfeless [00:09] poolie: hi :) [00:12] hi poolie jmll AfC etc ;) [00:14] lifeless: hi :) [00:15] so, jml, do you want to talk about my breakfast? (brocolini and eggs) or something else? [00:16] poolie: your format naming patch didn't land. [00:16] we're looking for an adjective that says 'do not use unless you have read the docs' [00:17] for the 2.0 format command line option name [00:17] [this is not why it failed to land] [00:18] :) [00:19] I offer "runcible". [00:19] I think 2a won't provoke this because users are not /used/ to dealing with distributed databases [00:19] [and those users that are are probably in the 'clueful' set already] [00:19] alternatively, "alpha". [00:19] rubicund [00:21] moin *.{au,nz} [00:22] "A runcible spoon is a utensil suitable for runciation. This of course is in contrast to an irruncible spoon, which one runciates at one's peril" [00:22] Hm, 'zat mean I'm on {au,nz} time today? [00:22] jelmer: hello. [00:22] fullermd: no idea :) [00:23] * fullermd feels so cosmopolitan. [00:23] lifeless: Good morning Robert [00:25] jml, lifeless, so let's think about this in updating a document about how formats work [00:25] Obviously, the correct answer is "Schrodinger's 2" :p [00:25] for now, i'll resubmit that branch [00:25] poolie: with the syntax error fixed, yes? [00:26] :) [00:35] james_w: have you seen this before: [00:35] tar: ./usr/bin/smbtorture: file changed as we read it [00:36] ouch [00:36] no [00:36] what operation was that? [00:36] I keep getting that from bzr builddeb now all of a sudden [00:36] could you pastebin the output please? [00:37] http://pastebin.ubuntu.com/193851/ [00:37] that's the tail of the output [00:37] it seems to work sometimes, in particular if I haven't run bzr builddeb in a while [00:37] ouch [00:38] but if I run it, fix something and then run it again it seems to always feel this way [00:38] I wonder if something isn't getting killed or similar [00:38] s/feel/fail/ :-) [00:38] heh [00:38] you ^C it? [00:39] no [00:40] I'll try outside of bzr-builddeb, perhaps it's unrelated [00:40] lifeless: yesterday you said you were surprised that the fix I did needed a client-side change. [00:40] jml: I am [00:40] lifeless: would you be able to look at the patch and tell me if you spot a way to avoid it? [00:40] jml: is your branch up to date, I'm pulling [00:40] Hopefully a quick question: Is it possible to do a branch or checkout in to the current directory ? Providing '.' as the target to branch resulted in an error that the directory already existed (bzr: ERROR: Target directory "." already exists. |) [00:41] rchady: you can 'bzr checkout .' to create a tree where a branch already is [00:41] rchady: but you can't make a branch where one already is [00:41] lifeless: it is. r4433 in trunk. [00:42] but why does it complain about "." rather than ".bzr/branch" [00:42] ? [00:42] I'm not super familiar with bzr so please bear with me -- I have a remote repo I want to check out to my current directory. [00:42] SamB: because .bzr/branch is internals and not useful [00:42] I was trying: bzr branch . [00:42] rchady: is the current directly already bzr controlled? [00:42] well, in that case, it could complain "you already have a branch here" [00:42] no [00:42] not complain about "." [00:43] SamB: you could file a bug or a patch perhaps [00:43] it specifically complains about the directory "." already existing, see? [00:43] rchady: so bzr branch does a mkdir of the output directory [00:43] personally, I suspect the error message corresponds with why it's failing [00:44] rchady: is there any reason you can't just remove the directory you're in and do bzr branch ? [00:44] it is my home directory... so yeah [00:44] rchady: ok. In that case you're probably best off doing 'bzr init' then 'bzr pull' [00:45] Ok [00:47] I'm hoping to be able to manage my home dir with bzr.. we'll see, heh. [00:47] I have way too many logins on way too many disjoint, remote systems.. hoping to be able to make that a bit easier. [00:48] I had made a rpm for my home directory, but that is rather rigid for making changes on the fly [00:48] yo jelmer, can i bother you with a weird bzr-svn merging problem? === Kissaki is now known as Kissaki^0ff [00:49] jdub: hey [00:49] sure [00:50] jelmer: merging two branches of the same svn tree results in conflicts on some files [00:50] i can either describe how to do it [00:50] or upload an example somewhere ;) [00:51] (i have a number of branches of wordpress svn in a bzr repo, trying to merge 2.8 into 2.7...) [00:51] jdub: Are those branches public? [00:52] I think they're public if he was gonna describe how to do it? [00:52] i haven't put htem anywhere useful yet, but i can make a tarball of my freshly-reproduced repo for download [00:53] 38M bz2 [00:53] jdub: That'd probably be the easiest way for me to reproduce it. [00:53] msged you a download location [00:54] in that repo there's branches fro "trunk", svn branches "2.7" and "2.8", and the attemped "merge" of 2.8 into 2.7 [00:55] (with resultant conflicts) [00:55] i thought this could have been messy long-lived branches, but i reproduced it immediately with fresh repo+branches [00:56] jdub: the merge was created simply by "bzr branch 2.7 merge; cd merge; bzr merge ../2.8" ? [00:56] yeah [00:56] oh, and those were done with bzr stable ppa packages on hardon [00:56] but i got the same result with bzr beta ppa packages on jaunty [00:58] it looks like there are a lot of cherry picks between those two branches [00:59] yeah, that seems to be the main source of the conflicts [01:01] bzr doesn't recognize that some of the commits in the two branches actually contain the same changes, and if there were other independent changes to that area of code as well that causes conflicts [01:01] Are there any merge tools for Bazaar? [01:01] jdub: We can't do much about this unfortunately until Bazaar starts supporting cherrypick tracking. [01:04] jelmer: boh! [01:04] jdub: are you getting huge conflicts? [01:04] jdub: try --reprocess [01:04] lifeless: not huge ones, just lots [01:04] hello jdub [01:04] yeah, tried --reprocess and some of the other merge strategies [01:04] jdub: are they jen-u-wine? [01:04] jml, what happened with bug 284038? [01:04] Launchpad bug 284038 in bzr "push should warn about uncommitted changes" [Medium,Fix committed] https://launchpad.net/bugs/284038 [01:05] difference of between 50 and 44ish conflicts [01:05] yo poolie [01:05] poolie: there's an outstanding review [01:05] regand regarding bug 385453, i think it's ok to slip it, but we should be extra careful that the files are included in the tarball and deb [01:05] Launchpad bug 385453 in bzr "make dist should fail if C files don't exist or can't be built" [Medium,Triaged] https://launchpad.net/bugs/385453 [01:05] vila didn't do it overnight? [01:05] ok [01:06] poolie: yeah. extra care will be taken. [01:07] lifeless: they do look like the kinds of things that would be cherry-picked [01:07] jdub: and they are different on both sides? [01:10] poolie: btw, I'll get the release going as soon as your format patch lands, or as soon as you tell me you're not going to land it. [01:11] i'm distracted by other bugs [01:11] which are less important [01:11] * poolie gets undistracted [01:14] it's in pqm now [01:14] jelmer: thanks, i feel comfier knowing i'm not an idiot, and that this is not an unknown condition (the bug, not my idiocy, which is legend) [01:14] poolie: thanks. [01:15] jdub: crikey mate! [01:16] jdub: fwiw if these are cherrypicks, merging more often may reduce their impact. [01:16] jdub: also, you could try merge --weave [01:16] lifeless: tried weave and lca [01:16] yeah, trouble is that this is wp 2.7.1 -> 2.8 [01:17] even merging trunk had the same issue [01:17] would rebase trickery help at all? [01:18] jml, i submitted it to trunk, i can send it to 1.16 too [01:18] jdub: I don't think so. [01:18] (btw, this is all theoretical now, as i worked around it -> my changes were usefully separate from the core code) [01:18] jdub: in theory this is whats happened [01:18] also, jam suggested just dropping development7 now [01:18] poolie: I reckon I'll just merge trunk into 1.16 once that lands. [01:18] left side: ... patch A [01:18] right side: ... patch A(cherrypicky) .... change to B [01:18] per file merge bases might help [01:19] but we don't track per file cherrypicks either yet even when the file ends up fully merged [01:19] poolie: r4435 and r4436 are simple and valuable. [01:19] clearly the wordpress dudes need to be encouraged to shift away from svn ;-) [01:21] anyhow, lca etc don't see the patchA's as the same, so the change from A-cherrypicked to B doesn't supercede the other side ending up on A [01:22] jdub: using a loom could help though by keeping your changes logically distinct [01:22] jdub: and if you where using a solely rebase workflow where your patches 'float' on top of trunk then that too would permit bzr to not conflict [01:26] spiv, hi, good morning [01:27] poolie: good morning [01:35] jml, ok, just merging trunk makes sense [01:35] cool. [01:36] hm what do i do now then? read vila's patch probably? [01:36] spiv, what are you up to today? [01:39] poolie: I'm looking at ways to work around the "Launchpad won't work with Bazaar 1.15" issue. [01:39] poolie: Well, I'd appreciate eyes over that revno/rev-id stuff :) [01:41] lifeless: have you had a chance to look at it yet? http://paste.ubuntu.com/193874/ has the relevant diff. [01:42] jml: I was updating local copies and context switched [01:42] lifeless: understood :) [01:43] what is that pastebin for? [01:43] it's the patch that I landed w/ both client- & server-side changes. [01:44] http://paste.ubuntu.com/193874/ ? is not. [01:44] lifeless: oh, my bad. [01:44] You may have wanted it to be. [01:44] poolie: finishing my patch for VFS-free "bzr pull -r123 $stacked_smart_url" [01:44] poolie: after that... not sure, probably reviewing. [01:45] lifeless: I meant '-c' not '-r' [01:45] (if there's approval-in-concept of both patches, I may have time this weekend to try resolving jam's changes to both and make one combined patch) [01:46] poolie: also, filing a bug against LP code reviews :) [01:54] spiv, you have heaps of approved patches [01:54] small heaps at least :) [01:55] jml, it passed all tests in non-ascii mode [01:55] so it should be ok now [01:55] \o/ [01:56] spiv, what do you think about just landing the patch you originally put up for bug 109143 [01:56] Launchpad bug 109143 in bzr "hpss does not support ~ (tilde) for home dir access on bzr:// or bzr+ssh://" [High,In progress] https://launchpad.net/bugs/109143 [01:58] poolie: I don't think it'll be very hard to do it better (i.e. your way), just a matter of finding a half-day or so... perhaps I should JFDI today or Monday? [02:01] probably [02:01] i really think we should finish up outstanding stuff [02:01] one way or the other [02:02] so ... anyone have any idea why bzr-bisect doesn't have a "skip" subcommand? [02:04] spiv: if I wanted to disable the InitializeEx verb for 1.15 clients, could I somehow register a new request handler in its place that checks the 'Software version' header and then either forwards to the real or raises some sort of exception? [02:04] spiv: by which I mean, what's the best approach for disabling the InitializeEx verb for 1.15 clients? :) [02:04] Why does bzr ask me to merge when I do 'bzr up'? [02:05] GungaJin: you have locall commits [02:05] I just want to move to a different revision. [02:05] you didn't get them merged upstream [02:05] jml: I'm not sure if the header is being passed along to the request-handler [02:05] hmmm... not that I'm aware of. [02:05] How do I check where they are? [02:05] bzr missing [02:05] spiv: ahh, suck. [02:06] bzr status? [02:06] jml: probably not hard to fix, but [02:06] should show you commits on both sides [02:06] spiv: where would I have to hook in then? [02:06] jml: maybe we ought to remove the verb entirely and replace it with a new one with a slightly different name? [02:06] spiv: you mean in 1.16? [02:07] e.g. BzrDirFormat.initialize_ex_1.16 or something. [02:07] Right. [02:07] rather than an LP compatibility kludge [02:07] GungaJin: there's also a slight possibility that upstream rebased, though they really shouldn't ... [02:08] bzr missing didn't work. [02:08] I can see that working. [02:08] It seems a shame to penalise clients when there's no stacking involved, but on the other hand the offending verb has only been in one release. [02:08] GungaJin: what'd it say? [02:09] "bzr: ERROR: No peer location known or specified." [02:09] spiv: could you please do that for me? I'd wager you'll be able to do the right thing much faster than I. [02:10] jml: which one? I don't have a strong feeling on which solution to take... [02:11] spiv: out of the concrete solutions I've heard so far, I think renaming the verb sounds the least bad. [02:12] ok, so i think i'll take over bug 284038 and try to finish vila's changes [02:12] spiv: do you agree? [02:12] Launchpad bug 284038 in bzr "push should warn about uncommitted changes" [Medium,Fix committed] https://launchpad.net/bugs/284038 [02:12] jml: so were you going to paste the actual diff? [02:12] it would be nice to do for this release but imo it should not stall the release [02:12] renaming the verb sounds fairly clea [02:12] n [02:12] lifeless: I pastebinned it, but forgot the url -- sorry. http://paste.ubuntu.com/193877/ [02:13] jml: I guess I do lean that way. I wonder if lifeless will have any insights now that he's got your diff... [02:14] jml: what happens if you don't change bzrlib/bzrdir.py [02:14] jml: it looks to me like that was a first approximation fix and likely unneeded [02:14] lifeless: it tries to evaluate the stack_on as local path [02:15] jml: what are the tests to run [02:15] lifeless: yeah, i should start using looms [02:16] ./bzr -Dhpss --no-plugins selftest -Eallow_debug -s bb.test_push push_smart_with_default_stacking [02:17] $ ./bzr -Dhpss --no-plugins selftest -Eallow_debug format_initialize_on_transport_ex [02:20] ok [02:20] stack_on_pwd in UseExistingRepository is essentially required to be an abspath [02:21] if its a relpath its considered relative to . [02:21] I don't see any way around it [02:21] I'm inclined to issue a 1.15.2 [02:21] what did intrepid ship? [02:22] * 1.6.1-1: amd64 i386 [02:22] lifeless: jaunty has 1.13.1 [02:22] (https://launchpad.net/ubuntu/+source/bzr) [02:22] oh right, i, J, k [02:23] yeah. I'd ship a 1.15.2 with this patch cherrypicked [02:23] rather than renaming the verb? [02:23] or version the verb [02:23] jml: one or other; whoever is doing the work can choose IMO [02:24] cool. [02:24] It's a great opportunity to s/_ex/1.16/ , which must be a good thing ;) [02:24] spiv: Don't drop the _ex please [02:24] spiv: because the method is _ex [02:24] lifeless: yeah, I know, just trolling. [02:25] lifeless: see above where I suggested "BzrDirFormat.initialize_ex_1.16" [02:25] spiv: would you mind doing the version bump then? [02:25] jml: sure, I'll put that together for you now. I should do it on the 1.16 branch I suppose... [02:25] spiv: actually against trunk is still fine [02:26] jml: oh, they are the same? [02:26] Convenient. [02:26] spiv: trunk has a revision or two that I'm going to pull in :) [02:26] (Also, lp:bzr/1.16 doesn't work yet) [02:26] ta [02:26] I knew I forgot something last night. [02:27] oh, isn't 1.16 hosted on lp? [02:27] that was a goal for it [02:27] spm: ping [02:27] lifeless: pong [02:27] lifeless: we arranged the PQM set up in the dead of night. [02:28] jml: oh [02:28] jml: I thought the branch was made a while back... shrug [02:28] spm: I _really_ want to get pqm and lp talking [02:28] lifeless: they are, aren't they? [02:28] spm: its very important. RT was filed. I know you are poking at it from time to time, but how can we get it into 'poke until it works' mode? [02:29] 18:09 < spiv> spm: yep, lp: URL in merge request still vanishing without a trace. I'm going to workaround it with http:// again. [02:29] jml, on consideration i don't see bug 284038 as sufficiently urgent for me to steal it from vila [02:29] Launchpad bug 284038 in bzr "push should warn about uncommitted changes" [Medium,Fix committed] https://launchpad.net/bugs/284038 [02:29] so i suggest we just slip it [02:29] and let him finish it tomorrow or watever [02:29] poolie: cool. :) [02:29] whatever* [02:30] spiv: I'm not sure that lp: urls will be opened through the right codepath to do resolution; bzr+ssh please [02:30] lifeless: ARRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHH! /me expresses mild frustration [02:30] spiv: or did you mean bzr+ssh failed? [02:30] spiv: and if it fails please don't change to http, lets debug and fix. small red button time. [02:31] lifeless: last time we fixed, was due to the authentication.conf getting a busticated version. *somehow* - unknown as yet, that old and busted was put back. I'd since added a ro file to stop the behaviour from repeating. [02:32] spm: *interesting* [02:32] spm: did you document it last time, to avoid other sysadmins running lp-login? [02:32] lifeless: I meant what I said; I tried an lp: URL, I wasn't aware I should avoid them. [02:32] spiv: I'm not sure that you should. [02:32] lifeless: emailed them of the issue/solution, but not the lp-login - is that what creates that file? cause that's a Big Clue to me. [02:32] spiv: but lets start with bzr+ssh [02:33] spm: lp-login creates it. (I did in fact detail this for you at the time). [02:33] 'k [02:34] given the values that go in there, that helps me narrow it down to possibilities. something in that other (unused) build/setup going awry. [02:34] lifeless: I'm typically in favour of stop-and-fix, but delaying the release for my patch seemed like a worse option... [02:35] I hear its traumatic when one starts [02:41] jml: bug 76616 did you look into the claim of a bad merge? [02:41] Launchpad bug 76616 in bzr "confusing message about ignored files on add" [Low,Fix released] https://launchpad.net/bugs/76616 [02:42] no, I didn't. [02:42] jml: I think you should, or change the status down to fix committed [02:51] jml: rename patch submitted [02:52] jml: (for review) [02:52] spiv: thanks. [02:53] jml: I haven't run the full test suite, but relevant subsets seem happy, and the grep output looks sane. [02:55] poolie: http://www.overcomingbias.com/2009/06/why-yes-men.html [02:57] I'm going into deep hack mode on check [02:57] two days of bugs and writing have driven me battty [02:57] SMS or ring to get my attention [02:59] poolie: can you please review https://code.edge.launchpad.net/~spiv/bzr/rename-init_ex-verb/+merge/7366 [02:59] poolie: I've had a look & I think it's good, but would appreciate the double check. [03:12] wilco [03:16] done [03:16] poolie: thanks [03:18] poolie: yeah, it seems to work fine against an older server (lp, which is in fact 1.14 I think?) [03:18] yep. [03:19] the other check is 1.15 client vs dev server [03:20] jml: that'll fallback in precisely the same way that 1.15 does against 1.14 (i.e. LP) now [03:20] oh of course :) [03:20] spm: so, should I try lp: or bzr+ssh: URLs on PQM again? [03:21] spiv: I would yes. the fix from last time is still in place so *hopefully* it'll all work... [03:21] spm: ok, will let you know shortly :) [03:22] heh [03:22] spm: ok, it's on PQM now... let's see what happens. [03:22] * jml afk for a bit. [03:23] spm: and at 02:23:04 it disappeared. [03:23] * spm swears, sighs, and starts looking [03:24] spm: that was with a lp: URL. [03:24] I think I'm gunna cry. [03:24] [Errno 13] Permission denied: '/home/pqm/.bazaar/authentication.conf' [03:24] \o/ [03:24] [machine crashed] spiv please try bzr+ssh [03:24] spiv: and don't try lp: until bzr+ssh are working [03:24] lifeless: given the above error, I don't think bzr+ssh would help :) [03:25] spiv: if lp: is trying to write to it, bzr+ssh probably won't [03:25] I'd agree. I need to find out what's doing the lp-login and terminate with prejudice. [03:26] spiv: specifically I *do* think it will help. [03:28] lifeless: well, spm is the one driving the debugging, so I'll happily do what he asks. [03:30] spiv: ha! if lifeless reckons it'll work, I'm happy to let you try? :-) [03:30] here are my thoughts [03:31] lp: is special. pqm might not use the right apis. it might need firewall ports opened. [03:31] bzr+ssh will let us be sure that the ssh aspect is working [03:31] we should get bzr+ssh working for source branches before trying lp at all. [03:32] Submitting bzr+ssh merge request. [03:32] that way, if lp: requires more stuff, or indeed is even breaking things, we'll be able to diagnose that directly. [03:33] spiv: that looks to be working! [03:34] Yeah. [03:35] another data point [03:35] so what is it about the LS pqm stuffo that causes the auth stuff to foobar bzr pqm. /rhetorical [03:35] as we won't be doing lp-login with the current plan, and http:// doesn't have a smart server, using lp; urls will be slower. [03:35] so even if lp urls work, we shouldn't use them. [03:37] well it's warmed up to a balmy 2degC here, so time to get outside and have some lunch in the sunshine! bbs. [03:39] lifeless: that's a shame, because I'd prefer to have lp URLs as my public_location in locations.conf. [03:41] spiv: I agree, and I think we should work up to that [03:41] Also, I don't care much about the speed of HTTP within the data centre. [03:42] :P [03:45] Especially compared to the speed of running the test suite twice ;) [03:45] well [03:45] parallel++ [03:46] Yeah, using more cores if they're there is certainly a good idea. [03:46] the C check has saved my bacon way too often [03:46] ok lappie seems stable again. -> deep hacking. [03:47] It would be interesting to have stats on the tests that PQM most commonly trips on. [03:47] oh, one lsat thing [03:48] igc: I think my command hooks patch is blocked on your replying to my reply to your review. [04:06] lifeless: Hey, is there a way to regenerate the indices? [04:06] I'm getting an odd error: bzr: ERROR: Error in data for index GraphIndex('file:///home/ted/Development/inkscape.newbzr/.bzr/repository/indices/1d2b8fb37e32a1e94a733fbc3d195756.tix'). [04:12] tedg: I haven't seen that error before... [04:12] * tedg seems to have special skills in breaking bazaar :( [04:22] tedg: off the top of my head I don't think it's possible to regenerate a .tix. I certainly don't know of any convenient tools to do it. [04:22] tedg: which repo format? pack-0.92? [04:23] spiv: What ever is default in the nightlies plus rich-root-pack. [04:23] * spiv nods [04:23] tedg: file a bug; we'll need to write a repair tool to regen the index for you. [04:24] tedg: the index is zlib'd data [04:24] lifeless: What should be in the bug, just that single tix file or the whole repo? [04:24] tedg: its mostly (but not entirely) derivable from what you have on disk [04:25] tedg: the one tix which may let us repair it depending on the damage. [04:25] tedg: and this conversation probably [04:25] I mean, I'm just trying to get a checkout from SF SVN -- but that takes days and this happened in the middle. [04:25] I can start the process over, I don't need that tix specifically. [04:25] I'm just trying to avoid starting over. [04:25] the way we could repair is to read the leaf pages only to get back the kys and values and then reoutput it. [04:26] tedg: if this occured during a fresh branch from svn, well check your hardware - you may have a disk or memory problem [04:26] lifeless: a little bit odd to get BadIndexError rather than a zlib error if it's bad hardware, though. [04:27] spiv: depends on the try's. [04:27] also we can look at the index once the bug is filed. [04:28] So, I guess I'm not 100% clear what I should attach to the bug. [04:28] 13:19 < lifeless> tedg: the one tix which may let us repair it depending on the damage. [04:28] 13:19 < lifeless> tedg: and this conversation probably [04:28] lifeless: Okay. [04:31] Why in God's name does Launchpad not understand a bzr:// URL?!? [04:34] Info attached to bug 386203 [04:34] Launchpad bug 386203 in bzr "bzr: ERROR: Error in data for index GraphIndex" [Undecided,New] https://launchpad.net/bugs/386203 [04:35] hi all [04:35] lifeless: it probably is blocked on that sorry [04:35] back [04:35] hi igc [04:36] AfC: God doesn't pay us. [04:36] lifeless: I've just woken up and feel like absolute crap so ... [04:36] I'll take a look Monday [04:36] jml: anything you need from me wrt the release? [04:36] igc: nope, you're all good. [04:36] igc: thanks. [04:36] igc: go rest [04:36] igc: health++ [04:37] jml, lifeless: shall do. [04:37] jml: ok, I'll try again [04:37] Why in bog's name does Launchpad not understand a bzr:// URL?!? [04:37] :) [04:37] [bonus points if you get the Heinlein reference] [04:37] I counter with "tanstaafl" [04:37] poolie: I'm taking today off. Call me if there's anything urgent please [04:38] AfC: because we think it's less important than the next twenty things we want to do. [04:39] spiv: is your PQM job still running, or is that a resubmit? [04:40] jml: still running. [04:40] AfC: I know that's an unsatisfying answer, but I'm afraid I don't have any others. [04:40] jml: you can tell it's on the latter half of the run by the [ascii] prefix on the output... [04:40] spiv: ahh ok. [04:40] how long does it take to land a branch these days? [04:41] jml: (you can see from the scrollback that the submission was delayed a little by PQM + lp: URL debuggery) [04:42] back to hacking [04:44] jml: over an hour :( [04:45] wow [04:45] the launchpad pqm was that fast at one point :) [04:45] jml: judging from the times on PQM (including that my job's time seems to be 1 hour in the future vs. the clock), at least. [04:45] mwhudson: to be fair, we run our test suite twice :P [04:45] who cares about fair! [04:46] jml: ah, I think it just finished. [04:46] * mwhudson is waiting for make schema, grumpily [05:05] poolie: thoughts? http://paste.ubuntu.com/193945/ [05:06] jml: i think it's the easiest pastebin question someone's asked me for a while :) [05:06] there is a typo 'on run on huge' [05:06] poolie: dropped 'on run' [05:07] jml: perhaps add "to it" on the last sentence of the first para, to try disambiguate that users should be cautious about upgrading formats, not about upgrading to 1.16? [05:07] i think it's great [05:07] spiv: good call. [05:07] it's good to have some fresh blood writing it too [05:07] also you can pick a code name if you want! [05:07] "to the new format" [05:08] jml: yeah, good call. "it" should be banned ;) [05:08] poolie: where would I put that? [05:08] i think it now goes in the rest keyvalue thing with the dates [05:08] there is another example [05:08] that syntax is a little ugly [05:09] oh maybe also run make html-docs and check the syntax of news is all ok [05:09] good idea [05:10] also, say I misguidedly tagged an earlier revision as 1.16rc1... [05:10] tag --force i think [05:10] ta [05:40] am waiting for a couple of PQM landings before actually rolling out the release. [06:39] ~ [07:02] less useful exceptions #45 [07:02] ValueError: Mismatched revision id and expected: 'robertc@lifeless-64-20090612055804-efc1rzfonn6ue0fq', 'robertc@lifeless-64-20090612055804-efc1rzfonn6ue0fq' [07:03] * lifeless goes back to it [07:03] nice [07:04] Those Zero Width Non Breaking spaces (U+FEFF) will get you every time :) [07:19] wuuu [07:23] jml? [07:23] it means you had good sleep? [07:23] no, sadly. [07:24] and ready to fire 1.16? [07:24] it means it's release time :) [07:24] let's rock! [07:27] running make check_dist_tarball [07:30] I'm getting failures running blackbox.test_merge [07:33] jml: anything I can help with? [07:33] spiv: looks like it might be a plugin... [07:33] spiv: http://paste.ubuntu.com/194053/ [07:33] that's the failure. [07:35] jml: unexpected success, almost! [07:36] jml: weird [07:36] jml: I can't reproduce locally, unsurprisingly [07:37] it's one of my installed plugins -- renaming .bazaar/plugins to .bazaar/vogons leaves me with the errors. [07:38] jml: which plugins do you have? [07:39] bzrtools, launchpad 1.16dev, netrc_credential_store 1.16dev, pqm 1.3, qbzr 0.9.2, search 1.7dev [07:39] jml: (I take it that that test passes for you with --no-plugins) [07:39] yes. [07:39] None of those jump out at me as a likely culprit. [07:39] me neither [07:39] removing search, then qbzr. [07:40] Interestingly, the merge is still producing conflicts, as it should, so it's just the retcode that's wrong. [07:40] looks to be qbzr [07:40] I will speculate -- I was about to say that :) [07:40] hmm. bialix & gary are both gone. [07:41] jml: qbzr trunk seems to work for me... [07:43] it's probably my ubuntu package then. [07:45] I'm about to call it a day [07:45] poolie: You may hate me for this, but I just found a design problem in bbc that makes check significantly more complex and that we can fix with a small amount of work... but its a format bump. [07:46] jml: that qbzr version is almost certainly broken w.r.t. to 1.15 too. [07:46] bug 386227 [07:46] Launchpad bug 386227 in bzr "chk_bytes not self describing" [High,Triaged] https://launchpad.net/bugs/386227 [07:47] poolie: I'd like you to look at it and think about it and let me know if you think its worth doing; fornow I'm going to use a[n unreliable] heuristic in check to let me finish the check work. [07:47] pulling in latest subunit. [07:49] jml: (wow, qbzr 0.9.2 is pretty ancient) [07:49] jml: apt-get install should be all you need [07:50] lifeless: http://paste.ubuntu.com/194067/ [07:50] and I have no subunit or python-subunit package installable. [07:50] https://edge.launchpad.net/~subunit/+archive/ppa [07:50] or run karmic [07:52] ffs. [07:52] jml: or remove subunit [07:52] jml: as the test skips if subunit isn't present [07:53] jml: of course, it should work with subunit too, done() was landed in subunit [07:55] I'll remove subunit & see what happens. [08:05] ok, EODing. jml - ring ifyou're stuck on the release [08:05] lifeless: will do, thanks. [08:05] lifeless: have a good weekend. [08:07] hi all, have a nice week-end lifeless [08:08] vila: hello [08:09] vila: oh vila cool. poolie said to remind you of 2.0 targeted, and generally critical bugs as a priority to ocus ons [08:10] lifeless: ok [08:13] lifeless: any specific ones ? [08:13] https://edge.launchpad.net/bzr/+milestone/2.0 [08:13] just the general thing of keeping our eye on the prize [08:13] it doesn't have to be all consuming [08:13] but we shouldn't get too distracted with other things [08:14] anyhow, family time now [08:18] woot, new failure. [08:18] http://paste.ubuntu.com/194100/ [08:19] is that Python 2.6? [08:20] looks like [08:20] jml: it's a warning from 2.6 yes [08:21] vila: ok, so how do I proceed? -- I'm doing a make check-dist-tarball [08:22] * jml hacks the makefile to use python2.5 and proceeds from there. [08:22] hmm, that needs to be addressed :-/ [08:22] jml: that should work :-) [08:22] jml: can you keep notes or file a bug so that it's not forgotten ? [08:22] the deprecated usage is in the stdlib itself. [08:23] vila: sure thing [08:23] (I should have been doing that from the start.) [08:27] vila: BTW, I did try a selftest run on that new system. Unfortunately, I couldn't --parallel. So it still took like 20+ minutes :( [08:27] (and ended up with a big ole pile of failures of various sorts too :() [08:28] I've got python 2.6 on that box too... the bleating about SHA/MD5 at the beginning of selftest from 2.6 is kinda grumy-making... [08:30] fullermd: 1) Why couldn't you use --parallel, 2) File a bug with all failures (when time permits, I'll add bsd to my test farm and from there...) [08:31] fullermd: related to 2, it's generally to much pain do diagnose test failures without being able to reproduce it on a real (or virtual) system [08:31] A lot of them were of the form "xyz has no revision [some id that looks like it was just created]". Not sure what's up with that. But a few spottests showed it on my current py2.5 system too. Weird. [08:32] Couldn't --parallel because it wanted testtools, which I don't seem to have an OS package for (and I work hard to not step outside those bounds when avoidable) [08:33] we should fix that. [08:33] I was planning to throw together a mail with the test failures sometime when I had a chance to run it, log it, and dig through the annoyingly verbose output of selftest... [08:35] BTW, it's kinda annoying how there's no documentation about what the options for --parallel are... [08:37] fullermd: about '--parallel', your right, patch welcome ? :-/ Basically you need testtools and subunit, I understand you desire to stay inside well maintained bounds. [08:38] fullermd: about test failures: a bug with the full log is perfectly appropriate, don't bother analysing, collecting the data is the most important thing [08:38] FAILED (failures=12, errors=84, known_failure_count=12) [08:38] That would be a big log :p [08:39] fullermd: I've seen worse :) [08:40] I would guess that all the "has no revision XYZ"'s have the same root cause, so it'd worth collating those out at least. That's the big bulk of the 'errors' ones. [08:40] At least 3 of the failures are the fails I've previously noted on whatever it was... [08:40] 2009-06-09:01:27 test_two_files_different_versions_no_inconsistencies_bug_165071 fails for me on RepositoryFormat's 5, 6, and 7. [08:41] (NFC what possible impact the OS could make on that one...) [08:41] hi, i'm back [08:42] fullermd: NFC as in utf-8 encoding ? [08:42] vila: no, as in No Clue. [08:42] hello vila [08:43] poolie: hi :) [08:43] jml, are you still here? how did you go? [08:44] poolie: some problems with make check_dist_tarball & python 2.6 [08:44] uploading the files to Launchpad now though [08:47] (they all fail upset about getting '2 unreferenced text versions' instead of 0. What the heck does the OS have to do with that?) [08:48] fullermd: haaa. that's the funniest part in diagnosing the bug ! I don't to spoil it by telling you now :) [08:49] * vila thinks: nice one, should reuse it some day... [08:49] jml, make check is dodgy wrt plugins [08:50] i think it should run with --no-plugins probably [08:50] poolie: I was thinking about that. [08:50] and I wrote some of my thoughts down for later elucidation :) [08:51] oh jolly good [08:51] jml. poolie: --on-plugins is a too big hammer, it excludes our own internal plugins [08:52] hehe nice typo :-) I meant --no-plugins of course [08:52] jelmer: pinh [08:52] jelmer: ping [08:52] * vila remove his boxing gloves [08:54] vila, so i'm not sure we should have shipped plugins [08:54] occam's razor [08:54] it's kind of a freak [08:55] maybe we should look at what problems if any there would be with just merging that code [08:55] i'm not assuming there would be none [08:56] poolie: I'm talking about the launchpad plugin and friends here, the ones inside bzrlib/plugins, you want to get rid of them or include more there ? [08:57] I thaught we didn't want to merge the lp plugin for licensing reasons (will soon be moot though) [08:58] On the other hand, the plugins are a good starting point for other plugins and as such, there is value keeping them plugins if only to ensure the mechanisms they use are well tested [08:59] I'm thinking about the gnu plugin or the python plugins which have been discussed here and there (providing the same server specific URL handling) [08:59] vila, yes i was talking about the lp plugin too [08:59] i'm not aware of any live licencing reason to keep it separate [08:59] it just makes web requests to a public service, no problems there [09:00] poolie: can you please update freshmeat for me: http://freshmeat.net/projects/bzr/ === jml changed the topic of #bzr to: Bazaar version control system | 1.16rc1 released 12 June, 2009 -- please test it! | 1.15.1 released 09 June, 2009 | http://bazaar-vcs.org | http://irclogs.ubuntu.com/ [09:01] and i think in reality, there is no testing benefit [09:01] also, if you could approve my post to bzr-announce, that'd be ace. [09:01] it just adds another case [09:01] jml: just post and i'll approve it [09:01] do you have a fm account? [09:01] poolie: by "licensing" I meant discussions around bzr "pushing" lp which isn't open sourced. Keeping it as a plugin allows *not* distributing the plugin to whoever feels the need. [09:02] poolie: no, I don't. [09:02] ok [09:02] i'll do that then [09:02] i would have made you a coadmin if you did [09:02] poolie: I have posted to bzr-announce already -- waiting for approval :) [09:02] jml, actually to save time next time, please just create one [09:02] won't take long [09:02] poolie: will do. [09:03] poolie: I think the underlying problem is a lack of a better mechanism to select/activate/desactivate plugins [09:03] I'd prefer having more plugins than less :-) [09:06] poolie: can you please give me whatever permissions I need to register on PyPI? my username is jml [09:06] list post approved- [09:07] danke [09:07] pypi done [09:08] I assume I don't merge released code back into trunk until the final release, right? [09:09] if there are new fixes there you can do it now [09:09] there aren't, I don't think. just the news file changes. [09:12] hmm. I think I have a very, very old freshmeat account linked to a defunct email address. [09:18] so, um [09:18] are you looking for that? [09:19] or maybe i should just do this one [09:20] jml: Did you mean to create the 1.16 release on LP, rather than 1.16rc1? [09:20] wgrant: I think I meant to create 1.16rc1. [09:20] poolie: I do have a 'jmlTas' account. [09:21] wgrant: the instructions on the wiki page & the instructions on Launchpad itself combined for a lack of clarity [09:21] wgrant: can I do anything about it now? [09:21] jml: you should merge back now as part of fixing up NEWS [09:21] jml: You could unrelease it, but that might not be possible now you've added files. [09:21] jml: the docs should be clear about this [09:22] (there's normally a (-) icon next to the release date, IIRC) [09:23] lifeless: well, they aren't to me. [09:23] * jml makes a note [09:23] jml ok you should have access on freshmeat now [09:23] thanks for doing all this [09:23] poolie: np [09:23] it's both a lot of work, and also more work than it should be [09:24] I guess I need to change the version numbers again when merging back :\ [09:24] lifeless: i saw your bug about check and chk keys [09:24] maybe we should talk on the list [09:24] poolie: sure. essentially I'm closing in on having check overhauled. [09:25] some moderately tricksy stuff remaining but all monday should see it done [09:25] jml: Ah - since you can delete project release files on Launchpad, you can in fact fix it all up. [09:25] you can also ask a duck to rename it [09:25] but that may take a while [09:25] Why a duck? [09:26] wgrant: cool. I'll sort that out. [09:26] hmm.... before I register on freshmeat, it seems. [09:26] poolie: You don't even need a duck. [09:26] poolie: But that won't work really well, because stuff is milestoned to 1.16, and it would become milestoned to 1.16rc1. [09:27] oh i see, yeah [09:27] but just unreleasing it, creating a new 1.16rc1 milestone, and then releasing that should work. And this UI was just redone to make it simpler... [09:27] jml: i gave jmlTas access [09:27] ok so now i really need to go [09:27] bye [09:27] poolie: thanks. [09:37] what do I advance the version numbers too? [09:37] * jml looks in __init__.py history [09:38] jml: 1 17 0 dev IIRC [09:38] and in NEWS it stays IN DEVELOPMENT but the released sections get the header they were released under [09:38] *really going* [09:39] :) [09:42] how do I get a checkout into a specific revision ? [09:42] 'update' has no --revision switch [09:43] g'night all. [09:43] and checkout complains about already existing something (.bzr) [09:43] thanks so much everybody for making 1.16rc1! [09:43] strk: what do you need a specific revision for? is it for testing, or committing on? [09:44] testing (looking for the commit which introduced a regression) [09:44] bzr revert -r revision [09:44] also consider using bzr bisect [09:44] how to get out of that afterwards ? [09:44] though it can be a bit confusion [09:44] bzr revert [09:44] k, thanks (I'll leave bisect out for now, I tried it once but I'm not ready for it yet - I bisect "manually") [09:45] oh, but 'revno' keeps telling me the new revno, not the one I reverted to [09:45] yes [09:46] how do I know the revision I reverted-to ? [09:46] well this is why bisect is better ;). but for now, your bash history ? [09:46] You don't, nothing is stored about that. [09:46] sorry I'm being brief, really gotta run [09:46] Well, it's why update -r is better, really. But that's bug 45719 still. [09:46] Launchpad bug 45719 in bzr "update command cannot take a revision number" [Medium,In progress] https://launchpad.net/bugs/45719 [09:46] * lifeless closes irc ssh session [09:47] Past its third birthday now, too. We forgot to throw it a party... [09:47] indeed I tried update -r [09:47] +1 for that bug ! [10:01] good morning my version control loving friends [10:13] awilkins are you around please? [10:13] Yes [10:13] have you got 2 minutes? [10:13] Don't ask to ask, just ask [10:13] I just need a little help re: linux permissions if you are ok [10:13] :-) [10:13] Hah, I'm no expert on that but I can comment [10:14] i've created a new user for myself to use to checkout over ssh, as using root is bad puppy [10:14] but when I try to bzr update on the server while logged in as the new user I get permission error [10:15] You did the initial checkout as root? [10:16] vila: hi [10:16] ah [10:16] i did the inital checkin as root [10:16] the files where already on the server [10:17] Something is probably owned by root that you haven't got rights for as your new user [10:17] I htink I need to make a new group [10:17] Either change the ownership to the new user, or create a group for commit rights and change the group ownership to that [10:17] add the users to that group and give ownership to that group [10:17] lol [10:17] thanks [10:17] bialix: hi ! [10:18] I'm glad you're back [10:18] I still haven't figured out the setuid bit [10:18] or at least you're here [10:18] But that's probably not relevant [10:18] vila: lifeless asked about filing the bug re broken read-only access [10:18] to lp [10:19] I dunno maybe you already filed it [10:20] bialix: nope, I was off-line yesterday (well more like 36hours), lots of backlog [10:20] I thought jml said he will talk to spiv about it [10:20] if not, I'll file the bug, but the description may be a bit vague [10:21] or we may just copy the irc discussion about it [10:30] if the doc-ru branch is still has this bug you can use it as example [10:31] It's unclear to me if it's a bzr bug or really a launchpad-code bug though as a bzr client has no way to know whether it is talking to the writable version or the read-only version, and for the fixer script in bug #354036 just *can't* update the read-only branch [10:31] Launchpad bug 354036 in bzr "ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad" [Undecided,Confirmed] https://launchpad.net/bugs/354036 [10:46] jelmer: ping [11:30] jml: (wow, qbzr 0.9.2 is pretty ancient) [11:31] jml: (d'oh, thanks for combination of suspend+resume and TCP for making me bang random keys into IRC...) [11:34] james_w: ho hum. bzr deb:package doesn't work. I add a 'sources.Lookup(name)' in front of the while, and it does [11:35] LarstiQ: oops [11:35] james_w: so for some reason apt_pkg returns different values for sources.Lookup(name) on the two runs [11:35] james_w: (it does work in one go on packages in the main archive, but this one is in /etc/apt/sources.list.d/company.list) [11:36] weird [11:36] quite [11:36] it seems like adding an extra call would make the first case fail? [11:36] * LarstiQ thinks the apt_pkg interface is weird anyway [11:36] james_w: correct [11:37] definitely weird [11:38] vila: am I understand correctly you're author of netrc std plugin? [11:38] bialix: he is [11:38] does this plugin really needed on Windows? [11:39] james_w: ah, I see. [11:39] bialix: I doubt it is [11:39] james_w: it can return None on any call, so the while loop won't work [11:39] bialix: needed? No. does `python -c 'import netrc'` work? [11:40] import itself works [11:40] does netrc itself works -- I dunno [11:42] I don't think netrc is somehow related to vanilla Windows [11:42] bialix: right. I don't know if people use it on windows, if it can work, that would be ok. [11:42] but if it doesn't work, ditch it [11:43] I know I'm not using netrc, so I'm just deleting this plugin every time [11:43] why this support lives in a plugin? [11:45] bialix: afaik the main goal is to provide a reference implementation of a credential provider [11:46] ok [11:46] but it could be great example even if it will be in the core [11:47] loading more plugins -> more delay at startup [11:47] @win32 [11:47] bialix: more of a delay then when netrc would be in core? [11:48] well, I know the difference is negligible small [11:48] but it is [11:48] bialix: interesting. I'm not opposed to moving it to core, if you'd like to suggest that. [11:49] * bialix just ramblings [11:49] I've tested converison of qbzr trunk to bbc [11:50] everything seems ok [11:50] james_w: no claims that I understand apt_pkg, but: cache = apt_pkg.GetCache(); package = cache[name]; package.VersionList [11:51] bialix: I doubt netrc is of any use on windows [11:51] james_w: scratch that, doesn't seem to relate directly to the sources.Lookup either, meh [11:51] * bialix does not like unused things [11:51] as jam reported he found any file operations on win32 is much slower than on linux [11:52] * vila thinks bialix should suffer like hell when looking the dlls on windows :) [11:52] so any unused plugin leads to slow down at start [11:52] bialix: hmm, I see [11:52] But I don't see an obvious way to avoid that either :-/ [11:53] why it should be a plugin and not in the core? [11:53] Funny you ask, poolie raise a similar issue this morning. Larstiq is right though, I intended it to be an *example* plugin people could copy/paste [11:54] wow! qbzr repo shrinks after upgrade 4M -> 1M [11:55] vila: if this is a pure example, can it be placed in the folder "examples" ;-) [11:55] * LarstiQ does actually use the netrc plugin [11:55] bialix: it;s not pure, it is meant to be useful too :-) [11:55] but not for windows user? [11:57] bialix: not for the average windows user. I'm sure some of them have managed to use some exotic ftp client that use the '.netrc' file :-D [11:57] yep [11:58] ',netrc' is one of those "standard" files from the 70's [11:58] is this known effect for bbc: it works much faster when there is only one pack in the repo? [11:59] bialix: it is known that it helps a lot to pack after upgrade to bbc. [11:59] * bialix will keep building custom bzr.exe without this plugin [11:59] spiv: it was already packed [11:59] I'm testing format 2a in temp dir [11:59] hey, we are doing c prrogramming homework every week at university. Some parts should evolve durings the homeworks. Any suggestions how to manage this with bzr? [12:00] spiv: but after upgrade repo has 4 or 5 packs [12:00] sodoku: possibly a branch per assignment [12:00] spiv: are you aware of the strange bug related to #354036: when the fixer script updates the lp branch, its read-only mirror is not updated ? [12:01] vila: that's a LP issue rather than a core bzr issue, essentially. [12:01] LarstiQ: it could just be a bug in apt_pkg of course [12:01] spiv: I agree, but that wasn't the question :-) Though I understand the answer to it is yes, right ? [12:02] I am aware as of today or maybe yesterday, yeah. [12:02] that bug is also about lp [12:08] spiv: can i remove or add files to branches? as some files don't need to be kept for all assignments [12:11] jelmer: ping :-) [12:11] sodoku1: you can always add or remove files from a branch. I'm guessing you won't be merging much between assignments so you probably don't need to worry about a merge from a later assignment deleting files in an earlier one, for instance. [12:12] ha, no, I meant jelmer: Ping [12:12] sodoku1: the other obvious option is just one branch, maybe just tag each assignment when you submit it if you want to refer back to the old assignments easily. [12:12] spiv: ok, thanks [12:12] guys, 2a format is slower for branching standalone branchers [12:12] do you aware of this? [12:13] spiv: ok, thanks [12:13] yeah, thats what i thought og [12:14] bialix: I think so, igc has been doing a fair bit of benchmarking with the "usertest" tool with large branches. [12:14] bialix: ISTR that being one of the known weaknesses still to be fixed. [12:15] ISTR? [12:15] I Seem To Recall [12:15] It might be interesting to know the numbers on Windows though, I don't think there's been much benchmarking done there with the new format yet. [12:15] spiv: which option would you prefer? [12:16] Probably the results are proportionately the same as other platforms, but it's always worth checking... [12:16] on kerguelen maybe? [12:16] bialix: yeah, that's probably a good option [12:16] sodoku1: I dunno, it'd depend on what how it turned out :) [12:17] I don't have enough channel to download really BIG repo to test [12:17] spiv: branches would keep different folders for every branch? that would be better, as my dumb teacher doesn't understand bzr ;) [12:17] sodoku1: I'd start with a branch for the first assignment, then when the next assignment starts decide then if it makes sense as a continuation of that branch, or a branch of that original assignment, or an entirely new branch. [12:18] Right, there would be a folder for each branch. [12:18] (But you could still use a shared repository, see the init-repo command, to save disk-space) [12:18] spiv: ok, i will do it that way. Big thanks [12:19] bialix: yeah. Maybe mail igc with your observations, and ask if he wants to try testing on kerguelen? [12:19] bialix: or volunteer yourself if you aren't busy enough ;) [12:20] no, thanks [12:20] Certainly it might be good for igc to post an update with his latest numbers so we known where the known issues are. [12:20] bialix: :) [12:21] I've sent some numbers to bz ML [12:21] spiv: I'm no more bzr dev [12:21] bialix: cool, thanks [12:21] bialix: I appreciate your input and efforts regardless of team membership :) [12:22] bialix: btw, qbzr is pretty neat! [12:22] thx [12:22] It and kcachegrind are why I have qt installed on my system :) [12:22] unfortunately me and Gary have too little time to make it really cool [12:28] spiv: I can't push 2a branch to LP yet? [12:29] so [12:29] bialix: Hmm, I don't think so, but I think they are planning on upgrading their bzr to 1.16 basically at the same time as it releases. [12:29] ok, I've tried to test time of push [12:29] will wait then [12:57] What the frell? [12:57] I can't upgrade from dev6 to 2a because "Does not support nested trees"?? [13:00] fullermd: patch pending [13:00] Or dev7... I thought 2a _was_ dev7, just with a different string... === mrevell is now known as mrevell-lunch [13:02] james_w: http://apt.alioth.debian.org/python-apt-doc/apt_pkg/cache.html#pkgsrcrecords Lookup docs seems to imply you need to call it once per version. [13:03] that's what the while loop does isn't it? [13:03] james_w: except the first version can return None, and the second will return 1 [13:04] james_w: in which case, the while loop will not call Lookup for the second version [13:04] james_w: also, Lookup seems to cycle between versions, so you can't count on StopIteration or the like.. [13:05] weird [13:05] yeah [13:05] * LarstiQ will go bother mvo with it [13:20] hi! is it normal that bzr gives conflicts after uncommit + revert on a fresh branch? [13:20] specifically, i did: bzr branch lp:mysql-server ; cd mysql-server ; bzr uncommit -r date:2008-12-01 ; bzr revert [13:20] that gave conflicts like "Conflict: can't delete mysql-test/collections because it is not empty. Not deleting." [13:21] and also one conflict like "Conflict adding file mysql-test/include/diff_tables.inc. Moved existing file to mysql-test/include/diff_tables.inc.moved." [13:21] is this a bug? [13:22] I can certainly imagine cases where conflicts would be caused. I'm not sure whether they apply here though. [13:23] fullermd, shouldn't branch+uncommit -r date:2008-12-01+revert be the same as branch -r date:2008-12-01? [13:26] No, not really. [13:27] `branch + pull --overwrite -rdate:2008-12-01 .` would be more equivalent. === oubiwann_ is now known as oubiwann [13:27] Prior to the revert you have a pile of uncommitted changes sitting around, which may conflict with going to the base state. [13:31] fullermd, ok, thanks for explaining! i'll try pull --overwrite instead. [13:31] Well, really using branch -r would be the best choice if that's what you want to end up with :p [13:31] Saves a lot of steps (and copying a fair hunk of data, if you're crossing repos) [13:32] fullermd, right, of course :-) i just wanted to know why branch+uncommit+revert didn't work the way i expected [13:50] when i run bzr gci, i get this stack trace: http://pastebin.com/m40b8163a . i'm using the latest bzr from http://bazaar-vcs.org/bzr/bzr.dev/ and the latest gtk plugins from http://bazaar.launchpad.net/%7Ebzr-gtk/bzr-gtk/trunk/ [13:51] sven_: I think bzr-gtk is a little behind recent changes in bzrlib's API. [13:51] it is, yes spiv [13:51] sven_: a patch is under review [13:52] spiv, vila, ok, thanks. any idea which revision of bzr i can revert to? [13:53] sven_: not from the top of my head, search for a progress bar related commit by martin pool [13:53] sven_: tag:bzr-1.15.1 is probably simplest. [13:53] vila, spiv, thank you! [13:56] hi vila btw [13:57] pygi: hi :) [14:06] Is it possible to change the name of the repo? i.e. configure bzr to use .mybzr or similar? [14:07] Not without hacking bzr. === mrevell-lunch is now known as mrevell [14:13] hello [14:14] bummer ok [14:14] hoped there was a config option [14:18] playing with bzr fast-import I messed up a branch. Give that I cannot remove the working tree because it contains some valuable but ignored files, [14:18] I was thinking about copying the .bzr directory from the push location over the mangled .bzr directory in the branch. Are the two bzr directories compatible or are they different? [14:22] Fortunately, the answer to that is simplicity itself. [14:22] "It depends" :) [14:23] fullermd: on what? [14:23] Well, pretty much on details of what each location is/has/etc. [14:23] gioele: why don't you try the opposite instead ? [14:23] Either or both have internal repos? Branch heads at the same revision? WT state the same? etc. [14:24] copy the working tree over a freshly pulled branch [14:24] fullermd: each one is a standalone branch (well, one was before having its .bzr corrupted) [14:25] is it possible to branch into/over a directory that is not empty? [14:26] I can then remove the corrupted .bzr and "bzr branch $pushed_branch $old_wt" [14:27] gioele: bzr branch --no-tree [14:27] gioele: and then copy your WT (except .bzr) over there [14:27] vila: hello! more and more colleagues are hitting https://bugs.launchpad.net/bzr/+bug/385191 just by upgrading to the latest bzr.dev; could this be prioritized, please? [14:27] Launchpad bug 385191 in bzr-gtk "removal of ProgressBarStack has broken bzr-gtk" [Critical,Confirmed] [14:27] vila: they can't commit anymore :( [14:27] vila: that could be a good solution [14:28] gioele: doing it that way will provide you with a sandbox where you can experiment over and over again [14:28] vila: is there a quick fix that could be pushed ? [14:29] guilhembi: the fix *is* available at lp:~vila/bzr-gtk/385191-new-pb [14:29] guilhembi: it is under review for inclusion in bzr-gtk trunk [14:29] vila: thanks! The faster it goes in the trunk, the least colleagues hit it and have to temporarily downgrade. [14:29] guilhembi: hopefully bzr-gtk-0.96 will be released soon after [14:29] guilhembi: your preaching the choir !!! [14:30] guilhembi: why do you think I marked it critical ? :-D [14:30] vila: the problem is that colleagues are upgrading now, as they have learnt that gcommit saves commit messages when cancelled, in the latest bzr-gtk. [14:30] guilhembi: I know, I'm sorry about that :( [14:30] jelmer: PING [14:30] jelmer: :-) [14:31] vila: Looking to the future: given that bzr-gtk is so critical, would it be possible that, before there is a push in bzr.dev, this somehow automatically runs bzr-gtk tests to verify that the push it not breaking it (even though the fault is more on bzr-gtk here)? [14:31] (fault by not changing code though class was deprecated) [14:32] guilhembi: 1) Not enough tests in bzr-gtk so far, 2) the class has been deprecated since 1.12 [14:41] awilkins how do I checkout a branch from a central server onto my linux box, it has bzr + olive branch installed [14:43] hmm [14:43] do I need to create a local branch first before updating it from the central server? [14:45] also is the bzr website down for everyone or just me ;) [14:45] Hmm, it's down for me too. [14:45] bah! [14:45] sven_: let's try to go forward instead of backward, how about trying bzr.dev and lp:~vila/bzr-gtk/385191-new-pb ? [14:48] Spabby: it's back [14:48] yep thanks [14:48] :) [14:49] vila, i still get the same crash :-( [14:53] sven_: this one http://pastebin.com/m40b8163a ? [14:53] sven_: then you didn't update bzr-gtk, double-check [14:57] vila, yes, the same one. i just tried again with the same result: 'cd ~/.bazaar/plugins ; rm -rf gtk ; bzr branch lp:~vila/bzr-gtk/385191-new-pb gtk' [14:58] vila, bzr version and bzr plugins say this: http://pastebin.com/m2a9b7b11 [14:59] sven_: bzr plugins -v [15:01] vila, http://pastebin.com/m4a4ee23b [15:01] sven_: also, lp:~vila/bzr-gtk/385191-new-pb was missing a minor cosmetic change, try updating your branch and do 'bzr revno' there it should say 648 [15:02] sven_: hey, that's a different traceback ! [15:02] vila, ok, i got revno 648, but it still crashes... [15:02] oh, is it? [15:02] # [15:02] AttributeError: 'gtksourceview2.LanguageManager' object has no attribute 'guess_language' [15:02] # [15:02] [15:03] no idea about that one though :-( [15:04] sven_: but it doesn't happen here [15:06] vila, very strange [15:06] vila, i can repeat it every time. it doesn't matter which repo i'm in when i issue bzr gci [15:07] vila, shall i report a bug or is this an unsupported branch of bzr-gtk? [15:08] sven_: I'm pretty sure it hasn't been introduced by that branch but by a previous modification in bzr-gtk, additionnally it may be specific to your config, what OS/version are you using ? [15:09] vila, Linux riska 2.6.24-24-generic #1 SMP Wed Apr 15 15:54:25 UTC 2009 i686 GNU/Linux [15:09] sven_: what distro ? [15:09] vila, ubuntu [15:09] hardy, intrepid, jaunty ? [15:10] vila, hmm, how do i tell? [15:10] sven_: Man ! You just *know* it :-D [15:10] vila, :-) [15:11] * vila shouting: Damn, how do you know which ubuntu version you're using ? [15:12] vila, ok, cat /etc/lsb-release says it's hardy [15:13] sven_: easy then upgrade ! [15:13] oooops [15:13] ok, so bzr-gtk@639 says: Merge GtkSourceView2 migration patch. [15:18] vila, ok, i guess it was time to upgrade anyways... [15:18] sven_: ha, the README says: In order to see syntax highlighted diffs: [15:18] * GtkSourceView2 Python bindings (on Debian and Ubuntu systems, these [15:18] are in the python-gtksourceview2 package) [15:18] vila, so you mean it's not supposed to work on hardy? [15:18] sven_: wait, I was joking, try the above first ! [15:19] a crash is a bug if hardy is not supported traceback is not a good way to tell you [15:19] vila, ok :-) [15:20] vila, i have python-gtksourceview2 installed already [15:20] sven_: and it's still crashing ? [15:20] hi, not sure if this is an faq: I have a project with a couple of modules (in sub-directories) and I'd like to allow checkouts of individuals modules, is that possible or do I need a separate branch for each module? [15:20] vila, yes [15:21] sven_: argh, so either I install a VM with hardy or you upgrade to jaunty :-/ [15:21] in any case, please file a bug while you can reproduce it [15:35] vila, ok, i filed https://bugs.launchpad.net/bzr/+bug/386359 [15:35] Launchpad bug 386359 in bzr "bzr gci crashes on Hardy w gtk from lp:~vila/bzr-gtk/385191-new-pb" [Undecided,New] [15:35] thanks [15:42] sven_: Can you try http://paste.ubuntu.com/194407/ [15:43] vila: can we talk a bit about SavedCommitMessageManager from bzr-gtk? [15:43] bialix: EOVERFLOW :-/ [15:43] vila, yes, that works! [15:43] bialix: ha, wait :D [15:44] sven_: great ! At least you're unblocked ! [15:44] * bialix explodes [15:44] and wait [15:44] vila, yes, thanks! [15:46] bialix: I still have a huge mail backlog so if thins have been discussed further on the qbzr ML I may not be up to date [15:47] no, it was not discussed yet [15:47] but if you're busy with your mails, maybe I need to wait couple of days [15:48] I just have couple of questions about design of that class [15:49] it seems you've touched it [15:49] but may be not you wrote it === omichael is now known as omichael_afk [17:04] guilhembi: ping === omichael_afk is now known as omichael === sabdfl1 is now known as sabdfl [18:36] How does bzr detect whether something is a line-mergable text file? [18:36] bzr gave me a "contents" conflict on a .test file that's actually just php [18:38] davidstrauss: It just checks for the presence of NUL bytes. [18:38] hmm [18:40] davidstrauss: was there a file-kind change involved? [18:40] no [18:40] But there are people editing on Windows and other funky platforms [18:40] thought line endings are consistent [19:00] sup [19:01] LarstiQ: aware of anyone here toyed with the idea of tracking changes instead of snapshoots [19:01] ronny: darcs [19:01] ronny: in essence it is a dual problem [19:02] LarstiQ: that one is not exactly usable out of its user-oriented cli [19:02] ronny: right. Coudld you elaborate on what you're looking for? [19:03] LarstiQ: well, im looking for more things that allow version controll in terms of related changes instead of snapshoots [19:03] kills the need for rebase and the most kinds of merges [19:03] ronny: quilt, mq, looms, that sort of thing? [19:04] LarstiQ: those are at best workarounds, changes are not first class members of the history there [19:04] LarstiQ: bascially darcs and camp are the only ones that do at least the basic structure reasonable [19:05] There are just as many problems that come from states being derived as there are from changes being derived. They're just different problem. [19:06] fullermd: i want something that can deal with heavy cherrypicking propperly [19:07] ronny: subversion >= 1.5 does that to some extent [19:07] ronny: better than bzr/hg/git afaik [19:09] jelmer: svn is not distributed, and i doubt they have a sane ui [19:10] ronny: svk? ;) [19:13] LarstiQ: whenever i tried that one it was epic fail [19:14] * LarstiQ nods === omichael is now known as omichael_afk === cprov is now known as cprov-afk [21:29] my gpg env seems screwed [21:29] gpg: problem with the agent - disabling agent use [21:29] aborting commit write group: SigningFailed(Failed to gpg sign data with command "[u'/usr/bin/gpg', '--clearsign']") [21:29] bzr: ERROR: Failed to gpg sign data with command "[u'/usr/bin/gpg', '--clearsign']" === fjlacoste is now known as flacoste [21:29] anybody way i could get more info out of this failure [21:30] flacoste: is gpg agent usable outside bzr? [21:30] flacoste: wild guess, GPG_TTY? [21:30] LarstiQ: it is running, but kmail doesn't seem to be able to use it either, so i guess not [21:30] but BZR does prompt me for my passphrase [21:31] hmm, $GPG_TTY is not set [21:31] but GPG_AGENT_INFO is [21:31] flacoste: in my case, when that happens, I take out the openpgp card from the reader and reinsert it [21:31] and running gpg from a terminal works (but the agent doesn't there either) [21:31] lol [21:31] i don't have a card [21:32] flacoste: GPG_TTY need not be, but in some cases the agent can't find the tty to acquire the passphrase from. Doesn't seem to be this case. [21:32] flacoste: right :) [21:32] i've reinstalled on another computer [21:32] in my other working setup, pinentry-qt4 is used [21:32] * LarstiQ uses pinentry-curses [21:32] if i run gpg-agent by itself in the terminal [21:32] i get [21:33] gpg-agent: gpg-agent running and available [21:33] flacoste: right [21:33] flacoste: try gpg -d some-encrypted-file [21:33] flacoste: or ssh-add -L if you've started gpg-agent with --enable-ssh-support [21:33] nope, the default ubuntu setup is used [21:34] and gpg-agent is run inside ssh-agent [21:34] ok [21:34] [francis@Casteneda testfix]$ gpg -d zdaemon.conf.asc [21:34] You need a passphrase to unlock the secret key for [21:34] user: "Francis J. Lacoste " [21:34] 1024-bit ELG-E key, ID 96196F76, created 2001-01-18 (main key ID 2CB3F937) [21:34] gpg: problem with the agent - disabling agent use [21:34] gpg: encrypted with 1024-bit ELG-E key, ID 96196F76, created 2001-01-18 [21:34] "Francis J. Lacoste " [21:34] right [21:34] entering the passphrase on the terminal decrypts the file [21:35] flacoste: this may be a case of bzr paying attention to the gpg exit code, even though signing succeeded [21:35] ah right [21:35] [francis@Casteneda testfix]$ echo $? [21:35] 2 [21:35] that's after a succesful clearsign [21:36] but with agent problem [21:36] * LarstiQ nods [21:36] should I file a bug about that? [21:36] i guess so... [21:36] * LarstiQ is checking if there is one [21:38] why is my battery empty _yet again_‽ :( [21:38] #44755 bzr commit fails when GPG agent is unavailable [21:39] fix released [21:39] i guess not [21:39] (low) [21:39] #54468 sign-my-commits fails when gpg-agent and pinentry-curses are being used [21:41] flacoste: from the comments I don't see why #44755 would be fixed [21:41] i'm reoping with a suggestion to use Won't Fix :-) [21:43] any idea of where i should go to get help with my gpg-agent problem? === omichael_afk is now known as omichael [21:44] flacoste: did you try the GPG_TTY suggestion? [21:44] flacoste: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=322932 [21:44] Debian bug 322932 in gnupg-agent "gpg-agent does not play well with other programmes" [Normal,Open] [21:45] well, i suspect a deeper issue, since ideally, i'd like also to get it working with kmail [21:45] i mean, it's not even working for the gpg command line itself [21:46] ah: [21:46] ah: [21:46] write(8, "GET_PASSPHRASE A2B3F83DE11E0C7247"..., 223) = 223 [21:46] write(8, "\n"..., 1) = 1 [21:46] read(8, "ERR 67108949 No pinentry write(2, "gpg: "..., 5gpg: ) = 5 [21:46] seems that gpg-agent thinks there is no pinentry configured [21:46] do you happen to know how this is usually configured? [21:48] ah! [21:48] flacoste: my ~/.gnugp/gpg-agent.conf has: pinentry-program /usr/bin/pinentry-curses [21:48] yep, just found that [21:48] it seems it points to a now non-existent program [21:48] that's what happens when you copy config files voer [21:48] doh :) [21:52] LarstiQ: all sorted out now, thanks for the support! [21:53] flacoste: gladly :) === Kissaki is now known as Kissaki^0ff