[00:00] I think we could do it internally incrementally if we want to; I can answer the points you've put up, but debate-in-detail is often unfruitful for this sort of discussion [00:00] lifeless: I know about your strong feelings. The time to voice them was when I put CompositeTree up for review. [00:01] abentley: I did [00:01] lifeless: Either veto my patch, or stop casting aspersions on it. [00:02] abentley: I'll shut up then; I've been hoping to change your mind, not to insult your patch [00:02] vetoing would block you and unilaterally impose my opinion [00:02] I don't want to do that [00:03] lifeless: that could actually be productive, because at least we would resolve this. [00:03] lifeless: Right now, your objections are functioning as FUD. [00:03] argh. ok. [00:04] ok, I'll veto and we can discuss [00:06] thumper: I no longer have any idea how long Nested Trees will take to land. [00:07] :( [00:07] what's the issue? [00:08] thumper: see above. lifeless is vetoing CompositeTree. [00:09] poolie: ping [00:16] jonnydee2: hi [00:16] jonnydee2: is bzr-config-cli still alive? [00:19] which format should I be dogfooding? [00:19] bzr: ERROR: ambiguous option: --development (--development-rich-root, --development-subtree, --development6-rich-root?) [00:20] jml: the one with '6' in [00:20] jml: --development-rich-root, [00:20] jml: note its a rich-root upgrade, so safe for bzr-svn imports and little else at this point [00:21] well, this is a new branch [00:21] designed to carry one emacs lisp file [00:22] go for it [00:22] if it's not safe for that, there should probably be brighter, flashier, redder lights around the help text [00:22] its supported release by release, be sure to upgrade each release of bzr. [00:22] *nod* [00:29] thumper: hi [00:30] poolie: can we have a quick call? [00:30] sure give me 5m? then just call if you want [00:31] if its re nested trees, mail is composed [00:32] ok, sent [00:35] lifeless: aws-status says I have 6 instances running [00:35] lifeless: amazon says I have one. [00:35] (I thought I had zero) [00:36] jml: it refreshes every 60 seconds [00:36] jml: could this be a 60-second out window? [00:36] lifeless: the instances shut down yesterday. [00:36] all but one :P [00:36] lifeless: it's more likely a network reliability issue. [00:36] did you run it from a console? [00:36] yeah, I just saw the stacktrace [00:37] pasting now [00:37] http://paste.ubuntu.com/164555/ [00:37] ok, please turn that into a bug [00:37] I'll fix after work [00:54] beuno: I think you're exaggerating more than a little [01:14] spiv: ping [01:15] spiv: ping [01:17] jam: ping [01:17] spiv: I'd like to get together middayish, my place if possible, to plan out the rest of the week. [01:28] abentley: ping [01:28] lifeless: pong [01:28] abentley: I have a question about root renames [01:28] I'm testing the issue with upgrade to rich roots you found [01:28] would you expect tree.rename_one('', 'child') to work ? [01:29] lifeless: No. [01:29] ok [01:29] I'll do an unversion, add, add dance then [01:29] (I'm using branchbuilder) [01:30] lifeless: You could apply an inventory delta, one that added a new root. [01:31] I don't think branchbuilder takes inv deltas [01:32] anyhow, unversion, add, add has worked - lovely test failures [01:32] lifeless: Okay. [01:34] this fix should be done today [01:34] I had one other question, which is - have I missed any cases [01:34] I have: [01:35] No parents rev -> No parents [01:35] 1 parent rev -> 1 parent [01:35] 1 ghost parent -> No parents [01:35] 2 parents both heads -> 2 parents [01:35] 2 parents one head -> 1 parent [01:35] 1 parent different fileid, ours missing -> no parents [01:35] 1 parent different fileid, ours moved -> 1 parent [01:36] 2 parents, 1 different fileid, our second missing -> 1 parent [01:36] 2 parents, 1 different fileid, our second moved -> 2 parent [01:38] fin [01:39] abentley: ^ === arjenAU2_ is now known as arjenAU [01:40] lifeless: This is re: syntheizing a root history? [01:40] yes [01:40] the InterDifferingSerializer wasn't doing the same thing as the reconcile code looks for [01:40] fetch may be doing something subtley different again [01:41] I want to squash it solidly and permanently [01:49] so if you can think of other dimensions I should be testing across, or other values in the current space I should be checking, that would be grand [01:52] lifeless, you should try and hang out during european working hours with developers [01:52] working with bzr for the past month or two has been an enourmous pain in the ass [01:53] I branch about a dozen branches a day [01:53] maybe in one of them I can use the smart server [01:54] the rest, sftp [01:54] so basically it now takes about 7 times more to get something to review [01:54] beuno: yes, I really appreciate that. Note the difference between unreleased and released! [01:54] lifeless, 1.13? 1.14? [01:54] 1.13 doesn't suffer bugs pulling [01:55] I need to grab some food, back in 15 [01:55] no, it creates broken branches [01:57] if all of Canonical is going to be dogfooding bzr, we need more responsivness [02:02] and that includes in a big part, better communication [02:04] beuno, you're so radical! :) [02:07] :) [02:07] hi emmajane [02:07] * emmajane smiles and waves [02:08] * beuno is grumpy [02:08] * emmajane grins. [02:08] I'm *shocked* [02:09] beuno: so does 1.12 [02:09] You may find humour in this: http://twitter.com/mmurray/status/1698763594 [02:09] beuno: and 1.11 [02:09] beuno: etc [02:09] beuno: once lp gets the hotfix, 1.13 pushing to bzr+ssh won't create broken branches [02:10] mwhudson: which reminds me, ^ [02:10] beuno, apparently I'm getting a little soft in my old age. :) [02:10] lifeless, right, and no good communication with all the teams as to how to avoid this has been made [02:10] beuno: what has been unclear; the bugs in question have good summaries, they've been the primary focus to fix, but they are not simple things to fix [02:10] lifeless, as well as not deploying the script to fix this [02:11] is 1.13.2 in jaunty-updates? [02:11] as well as not cherrypicking a version that warns people when creating the broken branches [02:11] beuno: ?!?!?! [02:11] beuno: such a version would equally well not create broken branches [02:11] beuno: and we have - 1.13.2 is such a version [02:12] lifeless, and the people who don't have 1.13.2? [02:12] they continue to create broken branches [02:12] beuno: will, like the people who have 1.12 upload branches with insufficient data; the code team are looking at how to fixup those branches post-push at the moment [02:13] beuno: there are 6 separate releases *all of which* will create the ACF situation [02:13] lifeless, I understand [02:13] now [02:13] you have to understand [02:13] that the end result [02:13] is that it's a pain in the ass to work on a daily basis [02:14] why didn' you downgrade to 1.13, the current release at the time? [02:14] we *could* have told everyone STOP USING 1.13 NOW [02:14] lifeless: the code treatment is likely to be "upgrade" [02:14] because I wanted to actually help fix the problem [02:14] and, as it proved [02:14] beuno: once we know the bug, suffering doesn't help fix it - once a fix is prepared testing the fix is good and helpful [02:14] being on bzr.dev helped bubble up the NoRevisionPresent problem [02:15] we have a policy of using bzr nightlies in most teams [02:15] to help development [02:15] replying "you should be using releases" is really not good for anyone [02:15] beuno: right, which is good. But when there is an issue in trunk you have to be willing to revert to stable, which has been QA'd. Bugs take time to fix. [02:16] lifeless, no, telling people how to avoid making it worst, and making sure a stop-gap measure is in place ASAP is the way to go [02:16] beuno: I'm not saying 'change your policy to be 'use stable'', I'm saying 'when a nightly breaks, report a bug and switch to stable until its fixed' [02:16] you have a script that fixes broken branches [02:16] beuno: yes, which is on the bug [02:16] lifeless, right, which is basically as if it didn't exist for most people not following bzr development [02:16] that script should be deployed already [02:16] beuno: you're really confusing me, you're jumping all over the place with different, largely unrelated things [02:17] and/or in a plugin [02:17] lifeless, maybe. I'm just saying, almost 2 months of brokeness, no matter what the reasons are, is very bad [02:18] beuno: see above, the code team are looking at running the script, harass thumper :) [02:18] lifeless: we may run the script of the existing ones, and reject old clients, but we are not going to run the script post push on everything [02:18] beuno: we try to keep trunk as solid as possible, but sometimes this will happen. Running trunk *has risks*. We certainly appreciate people doing that and giving feedback, but don't be masoschists when there is a problem. [02:19] lifeless, you guys need to coordinate [02:19] not me [02:19] beuno: when edge breaks, people use production [02:19] make sure the code team runs it [02:19] beuno: we *are coordinating*, but you're the one going critical here [02:19] because users don't care on who's plate it is [02:20] lifeless, yes. Almost 2 months, and still broken. Sounds pretty critical to me. [02:20] beuno: when a user chooses to run crack of the day, they need to be making an informed choice [02:20] beuno: go get some sleep or something. [02:20] beuno: we didn't have the fix script 2 months ago [02:21] lifeless, I'm just saying something in the process needs to be improved [02:21] beuno: what precisely? We landed the code on the 17 march, in the 1.14 cycle [02:21] 1.14 released with the bug fixed. [02:22] lp is running 1.14 and putting together stuff to fix up existing branches [02:22] lifeless, step zero is to communicate better [02:22] when something like this happens [02:22] beuno: I asked about that before and got told about nightlies instead [02:23] go in, and tell everyone what to do [02:23] otherwise, you have half the people in 1.13, creating broken branches [02:23] beuno: they should stay on 1.13 during that period [02:23] and the otgher half suffering with 1.14 [02:23] beuno: because 1.13 1.12 1.11 1.10 1.9 1.8 1.7 1.6 all create broken branches [02:23] lifeless, don't tell me [02:24] we put it in the bug [02:24] tell the 70-ish developers cursing every time they have to review someone's branch [02:24] lifeless, it turns out, not everyone reads all bugs in Launchpad [02:24] beuno: they don't lookup the symptoms when they encounter a problem ? [02:25] lifeless, no, they ask around until someone unblocks their work [02:25] people get fed random recipies [02:25] which make problems worst [02:25] please be a little more concrete. Are you saying blog? mail bzr-announce? mail bzr-dev ? (which we did, I think) [02:25] https://bugs.edge.launchpad.net/bzr/+bug/354036 [02:25] Launchpad bug 354036 in bzr "ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad" [Undecided,Confirmed] [02:25] that bug was *reported* april 3rd [02:25] one month [02:26] lifeless, I think this merits a blog post with the details + email to warthogs [02:26] I get your frustration, but you're not actually helping much right now. Better communication - *how*. What forum is there for 'users of unreleased code' that will get 'everyone' which seems to be your gold standard for better communication [02:27] lifeless: hitting them upside the head with a ... hmm ... copy of the Linux Kernel, on paper? [02:27] lifeless, for Canonical folks, warthogs [02:27] SamB: that would certain get their attention, if they remember the incident through the retrograde amnesia that will ensue [02:28] lifeless: could use just a small fraction of it, then [02:28] lifeless, and a blog post on planet [02:28] beuno: It seems to me like we have a bunch of people running trunk that aren't tracking the project; this is like running Ubuntu's devel version without being on Ubuntu-devel - its not that good an idea. [02:29] *things happen* during development. [02:29] lifeless, it isn't when it's a company policy [02:29] beuno: policy doesn't change risk [02:29] beuno: are you on ubuntu-devel? I certainly am [02:29] lifeless, I'm everywhere [02:30] but that's not the point :) [02:30] * SamB only runs bzr.dev because jelmer is always telling him to pull it ;-P [02:30] beuno: I think it rather is [02:30] lifeless, you don't really expect all developers to track bzr's development? [02:30] we can certainly mail warthogs about the current status of this, now and in future. [02:30] I understand how hard this is [02:31] beuno: I don't expect people to track *trunk* and not be at least following something [perhap bzr-announce?] to ensure they can be communicated with [02:31] we have a group for launchpad beta users [02:31] beuno: who made a policy like that? [02:31] I assume everyone in the company is in that group [02:31] SamB: Canonical has a general dogfood policy - where we create something, we use it ourselves [02:31] lifeless, sure, we may have to adjust things [02:31] lifeless: oh, is he in canonical? [02:31] SamB: (use it in beta and release at minimum), to improve quality [02:31] SamB: we hired beuno, yes [02:31] ah. [02:32] must have missed that [02:32] beuno: you need to communicate better :P [02:32] maybe you should have a company-wide email list or something [02:32] * beuno grins [02:32] SamB, we have like 60 mailing lists [02:32] SamB: we do, but this issue is equally applicable to folk outside the company tracking trunk [02:32] lifeless: yeah. === gorozco is now known as p4tux [02:32] maybe you need to do more cross-posting >-) [02:32] maybe! [02:33] okay, so what's this list I should be on but aren't? [02:33] beuno: So I think two things; one is the policy should be more clear about what to do when there is an issue - ensure there is a bug, downgrade to release, get on with your work. [02:33] SamB: bazaar@lists.canonical.com is the current list that issues with trunk are discussed on [02:33] lifeless, if bzr breaks something so critical, I expect the team to actively engage it's major users, no matter who they are [02:33] lifeless, yes, a big part of it is policy [02:34] hmm. [02:34] which we need to coordinate better [02:34] I'm sorry to jump out of this one, but I *really* need food [02:34] lifeless: that's way too high-traffic for me to actually follow [02:34] beuno: secondly, perhaps we should have another list/lp team/whatever where people that are tracking trunk to contribute, but not interested in discussing bzr at all, should subscribe to [02:35] * emmajane offers beuno some birthday cake. [02:35] SamB: yes, and even if it was just regular users I think it would be too [02:35] SamB: bzr is actually fairly popular :P [02:36] lifeless: spiv is away sick today [02:36] SamB, did you know you can ignore a lot of the messages? There are subscription options that make the list a lot more manageable. [02:36] poolie: ah [02:37] SamB, I also sort by thread and *ahem* delete a lot of the stuff that's over my head. [02:38] SamB, Filters help too. I only look in my "bazaar" folder when I've got extra energy. [02:39] lifeless: since andrew is away and since beuno reports it's hurting people a lot, would it make sense for you to work on bug 360791 ? do you have enough of the state? [02:39] Launchpad bug 360791 in bzr/1.14 "get_stream on stacked branch causes "Error received from smart server: ('NoSuchRevision',)"" [Critical,In progress] https://launchpad.net/bugs/360791 [02:40] poolie: I can acquire that state; do you know if spiv has stuff in-flight that I should get off him? [02:40] poolie: I want to finish the current patch first, as its nearly done. [02:40] he was still working on it yesterday [02:40] he's apparently still somewhat alive so you could perhaps call him briefly [02:41] poolie: and is also quite critical, given it blocks people upgrading accurately to rich roots - its critical path for bbc transition [02:41] right, i know [02:42] I propose that I finish the current patch to avoid thrashing; and ring him when I'm done to ensure I have his in-progress work. [02:42] lifeless: I don't know what "moved" means. [02:42] abentley: old tree: '' is ROOT_ID, 'child' is 'my-root'. new tree: '' is 'my-root' [02:43] abentley: so 'my-root' has moved from 'child' to ''. [02:44] emmajane: I do subscribe to the list, but I never really look at it unless either someone tells me to or ... well, I can't think of another reason ;-) [02:44] SamB, do you have the list filters on so that you don't get the code-y things? [02:44] SamB, MERGE and something else can be filtered out IIRC [02:44] lifeless: I can't think of any more cases. [02:44] hmm, yeah, merge would be easy to filter out [02:44] abentley: cool, thanks. [02:45] SamB, check the mailman page. There are some built-in options for the list. [02:45] but shouldn't there be a list for really important issues to be announced on? [02:45] we have bazaar-announce [02:45] SamB, it's version control. Everything is important. :) [02:46] but I would expect packagers and release-only users to perhaps be unhappy about issues with unreleased code going there [02:46] I'm thinking bugs where your data gets messed up but you don't know until way later [02:46] lifeless: it also doesn't sound dangery enough [02:46] bazaar-warn, maybe? [02:46] I'd really rather not call a list that ;) [02:47] bazaar-omgwtfbbq? [02:47] bazaar-bleed? [02:47] emmajane: :) [02:47] bazaar-yourerunningtrunkyoushouldknowbetter? [02:48] bazaar-oh-great [02:48] bazaar-SRLSY? [02:48] * emmajane goes back to her bazaar-scotch. :) [02:50] * SamB wonders what the easiest way to run a program in a Linux kernel under a debugger is ... [02:50] (that is, the kernel is under the debugger ...) [02:51] hmmm, I have load 11 [02:51] but no disk and the system is snappy... anyone else seeing this on jaunty? [02:52] what is this load thing? [02:52] is it possibly a highly-bogus figure? [02:52] SamB: load := number of processes in the runable state [02:53] that sounds pretty bogus to me [02:53] (once it starts to average more than 1) [02:53] All metrics are bogus :p [02:53] yeah, but that sounds more bogus than bogomips! [02:54] As a measure of contention for CPU, load average is often a decent rule of thumb check. [02:54] Mind, by the time it hits 3000 or so, it starts getting too expensive to calculate to be worthwhile... [02:55] it doesn't account for niceness or anything though [02:55] AfC: linux also includes procs waiting on IO [02:55] lifeless: I didn't know that. Huh. Thanks! [02:56] Nor for network or disk IO, or memory pressure, or any number of other things. But then, defining something that broad that distills to a single number is somewhat more difficult. [02:56] http://en.wikipedia.org/wiki/Load_(computing) [02:56] * SamB wishes top showed IO utilization ... [02:56] SamB: iotop [02:56] * fullermd looks at his top which DOES have an IO showing mode... [02:57] (of course, assigning IO to a particular process isn't a faultless process either) [02:57] fullermd: I meant in each row [02:57] or did you also? [02:57] Yah. [02:57] PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND [02:57] what top is that? [02:57] or, er, how do you get that? [02:57] bsd :) [02:57] oh [02:57] pooh [02:58] anyway, I know it's not faultless, but it's nice to know *A* process that needs the IO done ;-) [03:03] * igc food [03:03] SamB: try iotop out === timchen1` is now known as nasloc__ [03:06] Why would I be getting a mismatched rich-root support error when attempting to reconfigure --standalone? [03:11] bug something or other [03:11] reconfigure doesn't preserve format [03:20] jelmer_: so you fixed a memory usage issue you say? [03:21] oh nm [04:14] https://code.edge.launchpad.net/~jelmer/openoffice/hosted now has over 250k revisions :) [04:15] nice [04:16] and codebrowse continues to somewhat work [04:42] It somewhat works? That's somewhat good to know. :P === BlackKnight is now known as UdontKnow [05:06] * mwhudson reads planet bazaar, becomes hungry === dereine[OFF] is now known as dereine === dereine is now known as dereine[OFF] === dereine[OFF] is now known as dereine === dereine is now known as dereine[OFF] [07:12] hi all [07:15] Argh, no wonder nobody reviewed my payches.... mail don't go out since last saturday :-( [07:25] hello vila [07:26] igc, what's the reasoning behind copying HACKING.txt around when building the docs? [07:35] poolie: the doc gets built & copied as a full tree, e.g. http://doc.bazaar-vcs.org/latest/developers/index.html [07:36] i guess what i meant is [07:36] the rest source lives in doc/developers/HACKING [07:37] but the html output is sent to doc/en/developer-guide/HACKING.html [07:37] i guess this is just for historical reasons [07:37] poolie: I'm happy for the rest source to move [07:37] done [07:37] thanks [07:37] poolie: it location is historical [07:38] i thought so [07:38] poolie: once upon a time before we had the nice catalogs we do now, I guess the source location was more important [07:39] poolie: now I'd expect most developers to find the html easily enough [07:39] i've just moved the source to be in the same location as the html to avoid minor confusion [07:39] i think i once started editing the wrong copy of the text file [07:40] poolie: cool. Thanks. [07:40] it's all fine now though, thanks [08:25] hi vila [08:26] lifeless: hi [09:41] * igc dinner [09:44] Hi all [09:45] Is there a way to get bzr to "forget" the submit or parent branch? [09:45] (Apart from editing the .bzr/branch.conf, that is) [09:53] Lo-lan-do: remember a new one [09:59] night all [10:00] Hm. Yes, that would work, of course. [10:00] Except it needs some non-transparent operation to happen, doesn't it? [10:01] Such as merging (for the submit branch) or... I don't even know how to remember a new parent branch. [10:26] hi, trying to branch from an LP-hosted branch using bzr from the nightlies PPA, i get "Error received from smart server: ('error', "'AbsentContentFactory' object has no attribute 'get_bytes_as'")". any ideas? [10:27] intellectronica: use nosmart+ before the url or an sftp url [10:27] intellectronica: there is a bug in older bzr's that causes branches to individually generate that message [10:28] oh right, so if i re-upload the branch with a new bzr it will be ok? [10:40] intellectronica: or you can run te fix script [10:41] https://bugs.edge.launchpad.net/bugs/354036 [10:41] Launchpad bug 354036 in bzr "ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad" [Undecided,Confirmed] [10:41] there are a couple of bugs related to streaming at the moment; in general ifyou can't get a brnach use nosmart:+ or a http or sftp url. [11:22] i have been trying to use bzrlib to list the files under a working directory, can someone help me in this reguard === jelmer_ is now known as Guest54966 [12:00] jelmer: Did bzr-gtk get upgraded to rich-root? [12:00] awilkins: yep [12:00] aha. [12:01] jelmer: 1.9 or 1.14? [12:02] Hmmph, info says "unnamed". V.unhelpful. [12:02] awilkins: either should work [12:02] awilkins: I upgraded to 1.9-rich-root [12:02] I'll stick to 1.9, my users are still on 1.13 [12:03] lifeless: ping [12:03] awilkins: I think 1.14 only matters for the working tree format anyway [12:08] I only really use bzr-gtk for gconflicts now [12:09] And a local patch of it, at that [12:11] awilkins: no viz? [12:11] I use qlog for that [12:11] How's viz now? [12:11] ah [12:11] viz is still the same [12:11] what's better about qlog? [12:11] Let me try viz again for a mo and I'll think about it [12:12] Ok (silly) : qlog looks more native on win32 and has font smoothing, etc [12:13] ah, of course. I'd forgotten you were on win32 [12:13] (practical) qlog has a "files that changed" pane from which you can trigger a file diff [12:13] It also has expansion of merge points [12:14] Over half the width is consumed with the DAG on viz, on qlog you only get this if you expand a few nodes [12:15] double click a revision to see the changes [12:15] qlog could do with a heck of a lot more context options (which viz seems to have in menus) [12:16] Both of them need to be able to be configured to use external diff utils [12:17] When considering this sort of thing I think TortoiseSVN is a great place to start [12:17] You can't go too far wrong just ripping off their feature sheet [12:20] Maybe I should post some thoughts on the list when I have time ; I've used TSVN a hell of a lot, I admin our in-house SVN repositories. [12:21] There are things like the filter box - needs a path filter option (even if it would be slow although I'm not sure how slow it is on the newer branch formats now) [12:25] jelmer: pong; just fixing raid controller software, so you'll only get a little bit of attention [12:28] lifeless: does PQM ignore duplicate submissions? [12:29] jelmer: GPG dups yes, others no, but if no changes are found it bounces the second [12:29] lifeless: ok, then it'll bounce - thanks [12:39] moin [12:41] hey ronny [12:41] sup [12:42] older bzr versions still arent easy_install-able [12:43] hello, I wrote a simple plugin that allows for filtering by changeset author [12:43] ronny: I think LarstiQ was looking into that [12:43] LarstiQ: ^ [12:43] I did it in a pretty hacky way because I could not find any better APIs to do it [12:43] I removed log._make_search_filter from available log adapters [12:44] and then added my own _make_author_filter function that understands author: prefix of the search argument [12:44] I was wondering if there is a better way to do it [12:44] igc: you might want to talk to igc when he's around, I think he did a lot of work on log recently [12:44] basically I'd like to have "bzr log | grep author" that is smarter [12:45] can anyone please point me to some API's/people that could show the way? [12:45] zyga: I think jelmer's last message was for you :-) [12:45] zyga: one way is to just register a new log formatter that only shows revisions by a particular author [12:46] Lo-lan-do: oh, thanks - I'll look for igc then [12:46] hmm [12:46] hmm :-) [12:46] I'll look into that, maybe it's easier than I though [12:48] jelmer: Does the current lp:bzr-git depend on some dulwich version newer than 0.2.0? [12:48] that's bad in one way though: you loose all the --long --short, etc options [12:48] I really thought that the search filter was a good idea except for lack of sensible API for adding new search terms (I had to hijack the whole search to do it) [12:50] zyga: An improved search filter is the right general approach [12:51] zyga: see http://bazaar-vcs.org/Roadmap/Log as well [12:51] zyga: basically, we need: [12:51] 1. some agreed search language [12:51] igc: hi, [12:52] 2. a parser that converts it into a compiled query object [12:52] 3. a search filter that takes that query object and returns matching results [12:53] Lo-lan-do: yeah, it depends on dulwich trunk [12:53] igc: right [12:53] #3 can probably be done first [12:53] Lo-lan-do: bzr-git 0.2.0 and dulwich 0.2.0 should work together [12:54] igc: maybe 3 can be done now as a plugin [12:54] jelmer: I see. I just found out that I could bzr branch git://something (I didn't manage to branch a local repo), I'll experiment with that before trying to upgrade. [12:54] along with a new log command that uses it [12:54] (logging is pretty complex though) [12:55] as for 1 and 2 that can be simplified for now as long as we keep api for 3 stable and keep it off the bzr.dev [12:55] (this way nobody has expectations on stability of the UI) [12:55] and a sensible thing can be though out later [12:56] zyga: hmm - I'd like #3 to be core code; then plugins can experiment with various languages for building the queries [12:56] zyga: a plugin to try out #3 is fine though [12:57] Lo-lan-do: local repositories should also work [12:57] igc: yes that's sensible - I was thinking about devloping the whole thing as a plugin (it's easier for me) and then keeping 1 and 2 unstable until some brainstorm decides about them since they are UI features [12:57] jelmer: Maybe I'm doing something wrong then, but I get an AttributeError: 'Repo' object has no attribute 'open_index' [12:58] Lo-lan-do: that means you need a newer dulwich [12:59] lifeless: is the presence of a '.' in an hpss method name a necessary and sufficient indicator that that method is *not* a VFS call [12:59] ? [12:59] zyga: sure [12:59] jelmer: Right. So I'll keep trying out what I currently have and upgrade dulwich when I find myself familiar with how things work. [12:59] actually, I'll throw that question to the whole channel [12:59] igc: I'll hack on a copy of cmd_log and craft a simple search support on that [13:00] when author search works again I'll publish the code so that someone can have a look at it [13:00] thanks for the insight and help [13:00] zyga: why do you think you need a custom cmd_log? [13:00] how would you add new features to cmd_log? [13:01] zyga: we're just extending the -s option with a smarter string, yes? [13:01] zyga: take a look at the bzr-search plugin [13:02] igc: ok wait [13:02] zyga: from memory, it provides a custom implementation of the search filter just like you need to [13:02] yeah I just noticed it's mentioned in cmd_log docstring [13:02] Answer: no [13:07] igc: argh, it requires a built index [13:07] igc: that's bad - but I'll look at the API [13:08] zyga: you don't need to do anything as complex as bzr-search, just reuse the pattern it uses to patch in it's own search filter [13:09] * jml runs a full selftest [13:09] how long does it take these days? [13:10] FOREVER [13:11] igc: hmm, it's doing something similar as I did but with additional trick :-() [13:12] igc: it removes the original log adapters but instead of totally loosing them it calls them in their own adapter as a fallback [13:12] hmm. [13:12] I don't have forever. [13:12] igc: but I still don't get something [13:13] igc: how do I extend log to add search without new cmd_log2? [13:15] zyga: cmd_log should be calling into the log adapter "pipeline" ... [13:15] zyga: changing the pipeline ought to be enough IIUIC [13:15] It already does [13:16] but how to add new options (search query) [13:16] zyga: ah [13:16] I don't think you want a new option [13:16] just extend the meaning of the -s value [13:16] e.g. ... [13:17] -s ? where is it defined [13:17] bzr log -s "author:me" ... [13:17] (I'm based on 1.14.1 [13:17] * jml just sent a simple patch to the list. [13:18] jml: --parallel=fork [13:18] jml: also, no, its not in principle, but it may be enough for now, and please file a bug that you want to be able to know reliably. [13:18] lifeless: I figured something else out instead. [13:19] lifeless: see the patch I just sent to the list [13:19] but maybe not now, since I'm going to prepare a hot chocolate and retire for the evening. [13:19] jml: remind me tomorrow and it will get my full attention [13:20] zyga: sorry - I meant --message or -m [13:20] lifeless: will do. [13:20] ah [13:20] that's sensible [13:20] I'll look into it [13:21] zyga: we can always alias --message to --search later [13:21] right [13:25] zyga: bzr-search uses -m too [13:25] yeah I'm on to it - just wait for a moment [13:25] zyga: I'd love to change the meaning of -m to be a nicer language than regex, it limits bzr-search a lot === thekorn_ is now known as thekorn [13:36] what is the python version all bzr code should run on? [13:36] 2.4? [13:38] zyga: yep [13:39] zyga: for bzr core, 2.4. plugins can choose to support only newer versions if they want, but we like it when they support 2.4 and up. [13:42] night all [13:43] gnight igc [13:56] has anyone any experience integrating bzr with redmine (http://redmine.org) [13:56] igc: thanks for the reviews [13:56] 'night igc, lifeless [14:21] beuno: ping [14:22] jelmer, hi [14:22] beuno: What happened to your plugin management code? [14:23] jelmer: I wrote bzr-plugin-info which is meant to seed a plugin db [14:24] jelmer, I never finished it, unfortunetely. Code is out there (or I could push it), but it's diverged by maybe a year by now :) [14:25] beuno: :-/ [14:26] lifeless: it's a bit of a chicken-egg problem I guess [14:31] wooyt [14:31] igc: it works :-) [14:34] igc: the API is not perfect yet because it hardcodes all(...) but it's not far away from full-blown logic tree [14:34] igc: search terms are pluggable [14:34] igc: simple searching for properties like author is trivial to add [14:35] igc: I'd love to have a python-like logical expression parser: [14:35] something that could parse: [14:35] EXPR: EXPR and EXPR | EXPR or EXPR | not EXPR [14:36] EXPR: property [14:36] EXPR: property=value [14:36] right now I can do: bzr log -m author:someone [14:36] which works rather well :-) [14:46] do you think it would be acceptable for "bzr add", when it walks the directory tree, to go through subdirectories in alphabetical order? this would make it easier to have a clue about how far it's gotten, for very large trees [14:48] liw: does "bzr add -v" print info about what is being added? [14:48] or you already have the info and you just want to know what is coming next? [14:49] james_w, it prints the names it adds already, yes [14:49] what I mainly want is to know how much longer this is going to take, of course [14:49] it may be that adding a sorted() call is easy [14:49] or it may be that it would not perform at all well [14:50] having full progress info is difficult though, as it requires two full tree walks, and the assumption that nothing changes between the two [14:50] yeah, that's why I thought just sorting the list of directories would be good enough (for me) [14:52] Is there some easy way to import an arbitrary file as a module in Python? [14:52] jelmer, I think so [14:53] jelmer, the imp module, I think [14:53] liw: Ah, thanks [14:55] hm, it's as if it is doing the directory tree twice anyway (I'm sure I've seen those directory names before) [14:56] jelmer: My git.db is acurrently 152M, and I'm only "fetching revisions 4962/6104". Does that sound right? [15:04] zyga: I rather like googles search syntax; it sounds like you are doing something similar - +1 to that :) [15:04] * ronny pokes LarstiQ [15:07] Lo-lan-do: Yeah, it can become pretty large [15:15] The "bzr branch" seems to be slowing down pretty drastically, too. [15:17] does 5+ gigabytes of RSS memory count as a big bzr process? [15:18] liw: YES [15:18] I mean, yes [15:18] Didn't mean to shout :-) [15:18] Lo-lan-do: For better performance try newer dulwich/bzr-git [15:18] at least it's still running [15:19] liw: what are you trying to do exactly? [15:19] jelmer, I have a fever and a cold, so I am not able to do anything that requires a brain... so I'm being silly and torturing bzr [15:19] by importing jaunty's unpacked source packages [15:21] bzr has stopped printing out pathnames, I wonder if that means it's about to be done? [15:24] bzr branch lp:dulwich says bzr: ERROR: bzrlib.errors.SHA1KnitCorrupt: Knit corrupt: sha-1 of reconstructed text does not match expected sha-1 [15:25] lifeless: I can do simple boolean logic over expressions but I'd like to hear some kind of agreement over what is really wanted [15:25] lifeless: I can publish my plugin soon (corporate env) [15:27] Lo-lan-do: You've probably hit a bug in bzr-git [15:48] vila: ping [15:48] jelmer: pong [15:48] vila: can you include a copy of the GPL in bzr-webdav? [15:48] vila: (required for inclusion in Ubuntu) [15:49] jelmer: "bzr --no-plugins branch http://people.samba.org/bzr/jelmer/dulwich/trunk/" fails similarly [15:51] Lo-lan-do: Ah, this must be a bug I fixed recently [15:51] Lo-lan-do: (dulwich is maintained in git but developed using bzr) [15:51] Nice to know such a setup already works :-) [15:52] jelmer: done and committed on lp [15:52] vila: thanks [15:54] jelmer: Is the reverse already possible (bzr repo accessed through git)? [15:54] I guess it's the bzr-*-pack stuff, but I have no idea if/how it works :-) [15:56] Also, in your setup, can you handle several branches? [16:00] Lo-lan-do: you mean a git-compatible smart server that accesses bzr branches? [16:00] Lo-lan-do: jc2k has done some work on that, I'm not sure what the current state of it is [16:01] Lo-lan-do: I do have multiple branches, but can't access anything other than HEAD in git repositories (since bzr doens't support colocated branches yet) [16:02] success! [16:02] I did "bzr add" on the unpacked ubuntu jaunty source tree [16:03] now let's see if commit works [16:03] whoa :-) [16:03] jelmer: Thanks. [16:03] the add required about 8 gigabytes of RAM [16:04] Jc2k: Ping (status of bzr-{send,receive}-pack?) [16:04] liw: You're crazy. But it had to be tried :-) [16:04] liw: Next step: try the same on Debian. [16:04] Lo-lan-do, I've tried it on etch sources before, years ago, and bzr failed [16:05] If bzr can handle that, it'll handle anything :-) [16:05] ubuntu and debian should be on the order of magnitude the same size, shouldn't they? [16:07] Possibly. I was under the impression that we had lots more crap^W"fringe packages" in Debian. [16:14] liw: --development-rich-root? [16:20] lifeless, yes [16:20] ronny: hey, I still want to read the easy_install code to see if it can handle multiple indirections. I'm going to do that tomorrow (wednesday is my day off) [16:21] ronny: if that fails, I'll take one of the other outlined measures [16:21] ronny: so expect easy_installability tomorrow [16:30] So I'm curious about how the revision data associated with a revision number in a particular branch can change over time [16:30] Is there something I should read? [16:31] exarkun: Revision numbers are just a convenience. What matters is the revision id. [16:32] If a branch is overwritten, the revision numbers will overlap, but not the revids. [16:32] But even if you don't overwrite a branch, then you still can't treat revision numbers as stable, right? [16:33] Or is resolving divergence equivalent to overwriting a branch? [16:33] You're right. If you pull from another branch, even if you only add revisions, you might change your numbers. [16:34] exarkun: if you only "merge" other branches then numbers will only be added [16:34] any numbers you currently have will not change [16:38] thanks [16:44] LarstiQ: dont try to read easy_install, its a fucked up pain [16:52] I have a bzr 'admin newb' question. I want to manage authentication for a shared repo similar to how I've done it with svn, namely via DAV in a block in apache, which lets me use things like either basic apache auth, or defer to LDAP, etc.. All of the bzr examples I'm seeing are using sftp, and I don't want to give full shell accounts just to grant write access to a bzr repo. I'm not seeing documentation for bzr that talks about how [16:52] to administer auth for a repo. Can anyone point me to some relevant howto or something. Apologies if it's someplace obvious and I missed it. [16:56] dahoste, you can a) use the bzr server mode ("bzr serve" I think, though I haven't done that myself); b) set up a "patch queue mananger" (PQM); or c) configure ssh for the accounts to only allow sftp [16:56] dahoste, http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#running-a-smart-server might be useful [16:58] dahoste, there may be other ways, too, but I'm too ignorant === dereine[OFF] is now known as dereine [17:00] liw, roger that. (a) isn't appealing, I want to get this working through apache. (b) probably will come into play - I like the PQM model. (c) doesn't work for me, since I don't want to muddy my user's auth with YetAnotherLogin - I want to get bzr access working alongside existing svn repos, and I have users with long-standing auth credentials used for svn (and other stuff -- some of it's LDAP). [17:01] liw, I think I need to get smarter about the bzr writing via the http-webdav plugin. That might be the ticket. [17:03] liw, this just struck me as a common 'migration from svn' issue, since a shared svn+http/s repo with users auth'd through apache is par for the course for svn. Figured surely there'd be an easy way to get the same usage working for bzr. [17:29] dahoste, what's wrong with using clue-bzrserver? [17:30] pygi, possibly nothing. I'm not aware of it. Or wasn't... [17:30] can you clear the slate (so to speak) with anything thats not yet commited [17:30] e.g. i bzr add by mistake [17:31] a_c_m1: bzr revert [17:31] dahoste, its bzr+http, but oh well :) [17:31] dahoste, I mean it still isn't perfect, but it works [17:31] Lo-lan-do: thanks :) [17:31] a_c_m1: You can even use it on one particular file if you just want to revert that one. [17:32] pygi, well... anything that lets me auth without having to hand out full shell accounts is a candidate as far as I'm concerned. [17:32] dahoste, ok, clue-bzrserver works then [17:32] did you already google it or? [17:33] pygi, reading now... === dahoste is now known as dahoste|away [18:43] jelmer: ping [18:51] $ bzr help dpush [18:51] Purpose: Push diffs into a foreign version control system without any [18:51] Usage: bzr dpush [LOCATION] [18:51] Without any what? [18:51] Purpose? [18:52] Peng_: pong [18:52] Heh. [18:52] Lo-lan-do: that's fixed in 1.14 IIRC [18:52] jelmer: I thought so too, but it doesn't seem to be. [18:52] Oh. I guess it's the "Bazaar-specific metadata." later on. [18:52] Lo-lan-do: Yeah. [18:52] 1.14-2 here [18:52] Lo-lan-do: It doesn't push any of the metadata. This way your svn repo won't have tons of "bzr:" properties, but OTOH when you pull again bzr won't recognize it as a bzr revision. [18:53] jelmer: With lp:~jelmer/loggerhead/transport, why did you move the stat() in directory_ui? [18:53] Thanks to jelmer, I have ceased doing dpush on SVN (bound branches work so much better). [18:53] I was reading on dpush for git. [18:55] Lo-lan-do: yeah, dpush works quite well for git atm [18:57] Good to know, but since I collaborate with git users on several branches, I guess I'll have to either wait for the colocated branches or (my favourite) the git-{receive,upload}-pack stuff to work. [18:58] In the meantime, we keep SVN as a pivot. [18:58] Jc2k: ping [18:59] No hurry... I'm about to go out for drinks. [19:00] But I'll read the backlog when back :-) [19:05] Peng_: Which stat? [19:07] jelmer: The one over the directory listing to make sure they're all directories. It used to be done to filter the list, but you moved it to only be done if Branch.open failed. Then I moved it back. [19:11] jelmer: Was it just to get rid of the list comprehension or to reduce the number of stat()s done or something else? [19:27] Peng_: to reduce the number of stats, as we'd only do it in case something is not a branch now [19:33] jelmer: OK, I'll put it back, then. [19:36] Sorry. :\ === zirpu2 is now known as zirpu [19:45] jelmer: pong [19:52] Hey all, I'm running into a weird issue that just came up today - I'm receiving this error: bzr: ERROR: Server sent an unexpected error: ('error', 'No module named bz2') -- I googled for this information, and didn't find anything. Does this have to do with compression when sending chunks over the net? [19:53] Jc2k: hi [19:53] Jc2k: we were just wondering what the status of bzr-*pack in bzr-git is atm, does it work? [19:54] Jc2k: also, did you see my msg about hg-git picking up dulwich? [19:56] vila: bzr-webdav is now in karmic [19:56] vila: your http multi-auth patch is huge :-/ [19:57] TDT: ehm, it is a bit surprising the standard bz2 module is missing from your python install? [19:59] jelmer: i saw your message and blogged it :) [19:59] jelmer: i dont know about the state of bzr-*-pack - it might have bit rot [19:59] jelmer: when i last played with it, it worked for git-only stuff [20:05] Jc2k: ah, nice, haven't seen that yet [20:07] LarstiQ: Very surprising actually, especially since 3 machines, two if which I'm sure worked, suddenly don't...recompiling to see what happened. [20:09] TDT: did they get upgraded? [20:11] * LarstiQ catches the tram [20:17] LarstiQ: Fixed it, was a horribly stupid reason this was happening...didn't expect it to be a problem, but meh [20:21] does bzr determine that a number of different files are identical and store them compactly in the repo? [20:29] orsonj: No. Well, the new disk format (development6-rich-root) does, IIRC. [20:35] I might have to play with that. I have one situation where I have a bunch of files that are hard linked several times each [20:36] The repo ended up taking up a lot more space than the actual files. [20:37] Is there a way to remove files from the version history without bothering other versioned files? [20:37] (aka to save space, this has been a space hogging experiment) [20:39] No - by design - you can === dahoste|away is now known as dahoste [20:39] 't modify any old revisions [20:39] sorry - enter instead of ' [20:39] I only have a few revisions, so I'll just extract and rebuild without the large files. === dereine is now known as dereine[OFF] === dereine[OFF] is now known as dereine === dereine is now known as dereine[OFF] === dereine[OFF] is now known as dereine [20:54] you may be able to filter them out with bzr-fastimport , but I don't really know how [21:01] orsonj: if you installed the bzr-fastimport plugin, see bzr help fast-import-filter [21:01] it seems to be able to do what you want [21:04] or maybe just `bzr uncommit`, if it's recent history [21:15] Jc2k: I think bzr-upload-pack does indeed suffer from bitrot or something: http://pastebin.com/d4b66f616 [21:16] Um. I'm wondering why it's using the system-wide git plugin rather than the up-to-date one in ~/.bazaar [21:19] Uninstalling the system-wide git plugin gives me a "ImportError: No module named git.server" [21:19] Seems to me the local server.py isn't properly registered. [21:19] jelmer: Any idea about that? [21:37] Lo-lan-do: not off the top of my head [21:38] Lo-lan-do: I'd have to look into it deeper, but I think there will be more issues like that atm [21:38] Does "import bzrlib" suffice to load all plugins? [21:38] An strace seems to indicate that the git plugin isn't loaded when bzr-upload-pack tries to import part of it. [21:40] Lo-lan-do: you need 'from bzrlib.plugin import load_plugins; load_plugins()' to make sure all plugins are loaded [21:45] I'm sending a patch your way [21:46] It's not fixing the problem I pasted into the pastebin, but at least the version of server.py that gets used is the proper one. [21:54] Lo-lan-do: ENOPATCH ? :-) [21:54] bzr send failed to attach it? [21:55] http://pastebin.com/f4ab696b5 it is then [21:55] yeah, apparently [21:56] This guest account isn't properly configured. It's reset at each reboot, and I don't open sessions with it, only su. [21:57] Lo-lan-do: thanks, merged [21:59] jelmer: How about http://pastebin.com/f69a8b139 ? [22:00] Lo-lan-do: Yeah, that looks like a good idea :-) [22:01] Lo-lan-do: pushed [22:05] And before I go to sleep: http://pastebin.com/f1c569a76 is the current state I get and not a patch, but maybe it's an obvious problem to you? [22:06] Lo-lan-do: we changed what some of the arguments / return values look like [22:07] Lo-lan-do: something must've made us return a tuple [22:08] jelmer: huge ??? [22:09] vila: well, pretty large at least [22:09] jelmer: let me try that again: hi [22:09] mwhudson: hey [22:09] (damn routers/isps) [22:10] jelmer: so a bzr-git question: how much ram/time would you expect an import of banshee into 1.9-rich-root to take? [22:13] hi all [22:14] the main part (in auth_required) is due to reindenting a block... Anyway, I don't think it's large :) [22:14] jelmer: a bit hackish, yes, but large, it's just an added loop and one more if :) [22:15] jelmer: and thanks for webdav :) [22:15] vila: I guess I should do more careful reading then :-) I skimmed over it only [22:16] mwhudson: 200Mb RAM, < 30min I would say [22:16] * jelmer gives it a shot [22:17] jelmer: i was seeing 1.8 gigs and >1 hour :) [22:17] but i may not have been using the updated code [22:17] mwhudson: are you running dulwich trunk though? [22:17] jelmer: haaa, that explains it then :) Unfortunately that part of the http implementation (auth) is the most obscure due to the urllib2 underlying design which requires resending the same request with the added header and *that* makes it really hard to follow [22:17] jelmer: well 0.2.1 or whatever it was [22:17] i hope :) [22:18] yeah, that doesn't have a particular fix yet (iterobjects remembering *all* undeltified objects while walking a pack) [22:18] jelmer: it's possible i stuffed up and was using the old dulwich, i'll try agai [22:18] jelmer: oh [22:19] mwhudson: I also just fixed a bug in the offset handling in dulwich/bzr-git [22:19] mwhudson: which may corrupt repositories if you're not in UTC [22:19] a [22:19] h [22:19] mwhudson: mainly matters for dpush though [22:20] jelmer: ok, pretty sure launchpad won't be doing that :) [22:21] mwhudson: but our users might :) [22:21] one of the side effects is that some of the commits in dulwich are now in timezone "+0020" [22:22] jelmer: so is there a new dulwich/bzr-git combo that will work with python2.4 and bzr 1.14 ? [22:23] mwhudson: I don't think I've made any 2.4-incompatible changes but let me check.. [22:24] mwhudson: yeah, 1.14/2.4 should be fine with both trunks [22:26] jelmer: have you rebased dulwich trunk again? [22:27] mwhudson: yes, that's this offset bug I was talking about [22:27] argh [22:27] sorry :-/ [22:27] it's dogfooding dpush that finds these bugs though [22:28] i guess :) [22:28] mwhudson: banshee import: RAM usage seems to vary somewhere between 120Mb and 60Mb, takes about 1000s wall clock time on my thinkpad [22:29] jelmer: dulwich r295, bzr-git r442 [22:29] jelmer: ok [22:31] jelmer: can you check my revnos ^ [22:32] mwhudson: ack [22:32] mwhudson: they match what I have here [22:32] jelmer: cool [22:36] i'm just catching up on the 1.4rc date thread from when i was away [22:37] so long [22:37] some useful ideas though === phinze_ is now known as phinze === lifeless_ is now known as lifeless [22:48] Is there a way I can move a branch into a subfolder of another branch while retaining my version history? [22:50] awmcclain: i think the merge-into plugin can do this [22:50] thank you [22:53] lifeless: are there any plans for upgrading bzr.dev to rich-roots yet ? [22:56] jelmer: yes [22:56] jelmer: I've been posting to the list regularly about that ;P [22:57] lifeless: oh, oops [22:57] lifeless: I must've missed that, or do you mean the rich root upgrade bugfixes you've been posting? [22:59] jelmer: I posted saying we should upgrade, and lets test on smaller projects [22:59] lifeless: yeah, I saw that bit and the upgrade of bzrtools [23:00] so the plan is to fix those bugs then try again === dahoste is now known as dahoste|away [23:00] ah, cool [23:01] lifeless: something recently in bzr.dev is now not letting me branch the launchpad conversion. My guess is ghosts, possibly in the mainline history (since the failure is on an Arch- revision) [23:02] I'm trying to investigate now [23:06] lifeless: so, I was going to remind you about "[MERGE] Report the number of VFS calls in -Dhpss output" [23:06] jam: thanks [23:10] I'm trying a reconcile right now (which of course spends a huge amount of time in "Finding text references"...) [23:11] it would seem that bzr.1.14.1 also fails to branch [23:11] so it might not be something new [23:12] https://bugs.edge.launchpad.net/bzr/+bug/368418 [23:12] Ubuntu bug 368418 in bzr "'Revision X not present': when branching from stacked branch with ghosts" [Critical,In progress] [23:14] jam: is https://bugs.edge.launchpad.net/bzr/+bug/182715 fixed? [23:14] Ubuntu bug 182715 in bzr "Graph.heads() gives false heads sometimes" [Medium,Confirmed] [23:15] jam: bug 368418 has a branch that should fix it for yoy [23:15] Launchpad bug 368418 in bzr "'Revision X not present': when branching from stacked branch with ghosts" [Critical,In progress] https://launchpad.net/bugs/368418 [23:15] lifeless: for bug 182715, afaik ghosts still confuse things [23:15] Launchpad bug 182715 in bzr "Graph.heads() gives false heads sometimes" [Medium,Confirmed] https://launchpad.net/bugs/182715 [23:15] yah, just had to read it again to figure that out [23:15] Other than changing the api (or raising an exception) I don't think there is a lot to do for ghosts [23:16] mwhudson: crap, I think I think the timezone handling still might not be correct [23:16] mwhudson: you might want to hold off for a bit, I'm writing some extra unit tests to make sure it's really right this time [23:17] jelmer: will this mean you need to rebase dulwich again? [23:17] lifeless: branching that gives 'AbsentContentFactory' .... :( [23:17] jam: hilarity ensues [23:17] mwhudson: probably, unfortunately [23:18] jelmer: spm finished the dance to get the new dulwich in seconds before you typed that :) [23:18] spiv: if you're well enough, please fix-branch your fix for bug 368418 [23:18] Launchpad bug 368418 in bzr "'Revision X not present': when branching from stacked branch with ghosts" [Critical,In progress] https://launchpad.net/bugs/368418 [23:18] jam: you can probably get the patch via loggerhead [23:18] I'm trying via nosmart+ [23:18] which seems to do just fine [23:18] that too [23:19] jelmer: is bzr-git reasonably good at progress reporting? [23:19] lifeless: with patch applied, same failure [23:20] mwhudson: it should be doing either activity reporting or progress bars [23:20] ok [23:20] poolie: I've updated that patch, btw [23:20] for dhpss [23:20] hmm, i need to look into activity reporting actually [23:20] i saw, thanks [23:21] might help https://bugs.launchpad.net/bugs/370491 [23:21] Ubuntu bug 370491 in launchpad-code "Unable to handle reasonably sized development6 branches" [High,Triaged] [23:21] spiv was sick yesterday, i don't know about today [23:23] jml: if you're impatient i'll just merge it [23:23] it definitely sounds like useful data [23:23] jml: do you have pqm access? [23:23] I am a little impatient, yes :) [23:23] poolie: very quick UI factory question, should/could a call to report_transport_activity be seen as a sign of activity? [23:23] no I don't. [23:24] mwhudson: it means something is networking [23:24] good enough for me [23:24] mwhudson: well, yes, but maybe i misunderstand the qn [23:24] as opposed to what? [23:24] mwhudson: it doesn't mean its not in an infinite loop; but then no activity doesn't mean anything either way either [23:24] poolie: good question [23:24] poolie: it wouldn't be called if the network connection stalled? [23:25] lifeless: we've not had anything do that to us yet, touch wood [23:25] mwhudson: no, it doesn't [23:25] poolie: i can't imagine why it would be, i'm just feeling paranoid [23:26] mwhudson: its called when bytes are read or written; a stall where we can write, get no error, and keep doing that would fool you [23:26] typically (for the text ui) if it stalls it will just stay stuck on the last activity rate [23:26] which is not ideal [23:26] I think thats an unikely scenario [23:26] poolie: this is for the robot ui [23:28] lifeless: that hasn't been a problem in practice (yet, touch wood again) [23:29] i want a "commit the change in this tree to a new branch" command :/ [23:29] i guess that's not so hard, just a bit shell scripty [23:29] its easy with ric [23:29] we just have to finish adjusting iter_changes so ric can be always used [23:29] ric? === abentley1 is now known as abentley [23:30] jam: ^ are you likely to get to that soon? / not in your pipeline? [23:30] mwhudson: record_iter_changes, the fast path commit code [23:30] oh right [23:30] well it's not so hard in a shell script really, bzr branch, bzr merge --uncommitted, bzr ci [23:31] mwhudson: I mean 'bzr commit --to ../newbranch' [23:31] yeah [23:34] yes i realize it's for the robot [23:34] mwhudson: if you'refeeling paranoid i suggest you check the 'action' or whatever it's called is 'read'/'write' [23:34] merge --uncommitted seems broken :( [23:34] oh oops [23:35] pebkac [23:35] but still [23:35] if we add a soft timeout like 'no io for two seconds' then we'd make a new action [23:35] "bzr merge --uncomm ." explodes [23:35] poolie: ah, ok, that makes sese [23:36] poolie: the parameter seems to be called "direction" currently? [23:37] tbh [23:37] if we have a network write in the puller, something's gone a bit funky :) [23:38] i wonder how to test this [23:53] mwhudson: ok, I have finally fixed it now *and* added tests [23:54] mwhudson: pushing dulwich again now, should be there soon [23:54] jelmer: did you have to rebase? [23:54] ok [23:54] mwhudson: yes, a bit [23:55] jelmer: how do you rebase a bit? :) [23:57] mwhudson: only the identity of the last few revisions has changed, the first few are still as they were before [23:57] jelmer: oh ok