/srv/irclogs.ubuntu.com/2009/05/05/#bzr.txt

lifelessI 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 discussion00:00
abentleylifeless: I know about your strong feelings.  The time to voice them was when I put CompositeTree up for review.00:00
lifelessabentley: I did00:01
abentleylifeless: Either veto my patch, or stop casting aspersions on it.00:01
lifelessabentley: I'll shut up then; I've been hoping to change your mind, not to insult your patch00:02
lifelessvetoing would block you and unilaterally impose my opinion00:02
lifelessI don't want to do that00:02
abentleylifeless: that could actually be productive, because at least we would resolve this.00:03
abentleylifeless: Right now, your objections are functioning as FUD.00:03
lifelessargh. ok.00:03
lifelessok, I'll veto and we can discuss00:04
abentleythumper: I no longer have any idea how long Nested Trees will take to land.00:06
thumper:(00:07
thumperwhat's the issue?00:07
abentleythumper: see above.  lifeless is vetoing CompositeTree.00:08
thumperpoolie: ping00:09
jelmer_jonnydee2: hi00:16
jelmer_jonnydee2: is bzr-config-cli still alive?00:16
jmlwhich format should I be dogfooding?00:19
jmlbzr: ERROR: ambiguous option: --development (--development-rich-root, --development-subtree, --development6-rich-root?)00:19
mwhudsonjml: the one with '6' in00:20
lifelessjml: --development-rich-root,00:20
lifelessjml: note its a rich-root upgrade, so safe for bzr-svn imports and little else at this point00:20
jmlwell, this is a new branch00:21
jmldesigned to carry one emacs lisp file00:21
lifelessgo for it00:22
jmlif it's not safe for that, there should probably be brighter, flashier, redder lights around the help text00:22
lifelessits supported release by release, be sure to upgrade each release of bzr.00:22
jml*nod*00:22
pooliethumper: hi00:29
thumperpoolie: can we have a quick call?00:30
pooliesure give me 5m? then just call if you want00:30
lifelessif its re nested trees, mail is composed00:31
lifelessok, sent00:32
jmllifeless: aws-status says I have 6 instances running00:35
jmllifeless: amazon says I have one.00:35
jml(I thought I had zero)00:35
lifelessjml: it refreshes every 60 seconds00:36
lifelessjml: could this be a 60-second out window?00:36
jmllifeless: the instances shut down yesterday.00:36
lifelessall but one :P00:36
jmllifeless: it's more likely a network reliability issue.00:36
lifelessdid you run it from a console?00:36
jmlyeah, I just saw the stacktrace00:36
jmlpasting now00:37
jmlhttp://paste.ubuntu.com/164555/00:37
lifelessok, please turn that into a bug00:37
lifelessI'll fix after work00:37
lifelessbeuno: I think you're exaggerating more than a little00:54
jmlspiv: ping01:14
lifelessspiv: ping01:15
lifelessjam: ping01:17
lifelessspiv: I'd like to get together middayish, my place if possible, to plan out the rest of the week.01:17
lifelessabentley: ping01:28
abentleylifeless: pong01:28
lifelessabentley: I have a question about root renames01:28
lifelessI'm testing the issue with upgrade to rich roots you found01:28
lifelesswould you expect tree.rename_one('', 'child') to work ?01:28
abentleylifeless: No.01:29
lifelessok01:29
lifelessI'll do an unversion, add, add dance then01:29
lifeless(I'm using branchbuilder)01:29
abentleylifeless: You could apply an inventory delta, one that added a new root.01:30
lifelessI don't think branchbuilder takes inv deltas01:31
lifelessanyhow, unversion, add, add has worked - lovely test failures01:32
abentleylifeless: Okay.01:32
lifelessthis fix should be done today01:34
lifelessI had one other question, which is - have I missed any cases01:34
lifelessI have:01:34
lifelessNo parents rev -> No parents01:35
lifeless 1 parent rev -> 1 parent01:35
lifeless 1 ghost parent -> No parents01:35
lifeless2 parents both heads -> 2 parents01:35
lifeless2 parents one head -> 1 parent01:35
lifeless1 parent different fileid, ours missing -> no parents01:35
lifeless 1 parent different fileid, ours moved -> 1 parent01:35
lifeless 2 parents, 1 different fileid, our second missing -> 1 parent01:36
lifeless 2 parents, 1 different fileid, our second moved -> 2 parent01:36
lifelessfin01:38
lifelessabentley: ^01:39
=== arjenAU2_ is now known as arjenAU
abentleylifeless: This is re: syntheizing a root history?01:40
lifelessyes01:40
lifelessthe InterDifferingSerializer wasn't doing the same thing as the reconcile code looks for01:40
lifelessfetch may be doing something subtley different again01:40
lifelessI want to squash it solidly and permanently01:41
lifelessso 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 grand01:49
beunolifeless, you should try and hang out during european working hours with developers01:52
beunoworking with bzr for the past month or two has been an enourmous pain in the ass01:52
beunoI branch about a dozen branches a day01:53
beunomaybe in one of them I can use the smart server01:53
beunothe rest, sftp01:54
beunoso basically it now takes about 7 times more to get something to review01:54
lifelessbeuno: yes, I really appreciate that. Note the difference between unreleased and released!01:54
beunolifeless, 1.13?  1.14?01:54
lifeless1.13 doesn't suffer bugs pulling01:54
lifelessI need to grab some food, back in 1501:55
beunono, it creates broken branches01:55
beunoif all of Canonical is going to be dogfooding bzr, we need more responsivness01:57
beunoand that includes in a big part, better communication02:02
emmajanebeuno, you're so radical! :)02:04
beuno:)02:07
beunohi emmajane02:07
* emmajane smiles and waves02:07
* beuno is grumpy02:08
* emmajane grins.02:08
emmajaneI'm *shocked*02:08
lifelessbeuno: so does 1.1202:09
emmajaneYou may find humour in this: http://twitter.com/mmurray/status/169876359402:09
lifelessbeuno: and 1.1102:09
lifelessbeuno: etc02:09
lifelessbeuno: once lp gets the hotfix, 1.13 pushing to bzr+ssh won't create broken branches02:09
lifelessmwhudson: which reminds me, ^02:10
emmajanebeuno, apparently I'm getting a little soft in my old age. :)02:10
beunolifeless, right, and no good communication with all the teams as to how to avoid this has been made02:10
lifelessbeuno: 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 fix02:10
beunolifeless, as well as not deploying the script to fix this02:10
thumperis 1.13.2 in jaunty-updates?02:11
beunoas well as not cherrypicking a version that warns people when creating the broken branches02:11
lifelessbeuno: ?!?!?!02:11
lifelessbeuno: such a version would equally well not create broken branches02:11
lifelessbeuno: and we have - 1.13.2 is such a version02:11
beunolifeless, and the people who don't have 1.13.2?02:12
beunothey continue to create broken branches02:12
lifelessbeuno: 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 moment02:12
lifelessbeuno: there are 6 separate releases *all of which* will create the ACF situation02:13
beunolifeless, I understand02:13
beunonow02:13
beunoyou have to understand02:13
beunothat the end result02:13
beunois that it's a pain in the ass to work on a daily basis02:13
lifelesswhy didn' you downgrade to 1.13, the current release at the time?02:14
beunowe *could* have told everyone STOP USING 1.13 NOW02:14
thumperlifeless: the code treatment is likely to be "upgrade"02:14
beunobecause I wanted to actually help fix the problem02:14
beunoand, as it proved02:14
lifelessbeuno: once we know the bug, suffering doesn't help fix it - once a fix is prepared testing the fix is good and helpful02:14
beunobeing on bzr.dev helped bubble up the NoRevisionPresent problem02:14
beunowe have a policy of using bzr nightlies in most teams02:15
beunoto help development02:15
beunoreplying "you should be using releases" is really not good for anyone02:15
lifelessbeuno: 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:15
beunolifeless, no, telling people how to avoid making it worst, and making sure a stop-gap measure is in place ASAP is the way to go02:16
lifelessbeuno: 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
beunoyou have a script that fixes broken branches02:16
lifelessbeuno: yes, which is on the bug02:16
beunolifeless, right, which is basically as if it didn't exist for most people not following bzr development02:16
beunothat script should be deployed already02:16
lifelessbeuno: you're really confusing me, you're jumping all over the place with different, largely unrelated things02:16
beunoand/or in a plugin02:17
beunolifeless, maybe. I'm just saying, almost 2 months of brokeness, no matter what the reasons are, is very bad02:17
lifelessbeuno: see above, the code team are looking at running the script, harass thumper :)02:18
thumperlifeless: 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 everything02:18
lifelessbeuno: 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:18
beunolifeless, you guys need to coordinate02:19
beunonot me02:19
lifelessbeuno: when edge breaks, people use production02:19
beunomake sure the code team runs it02:19
lifelessbeuno: we *are coordinating*, but you're the one going critical here02:19
beunobecause users don't care on who's plate it is02:19
beunolifeless, yes. Almost 2 months, and still broken. Sounds pretty critical to me.02:20
lifelessbeuno: when a user chooses to run crack of the day, they need to be making an informed choice02:20
lifelessbeuno: go get some sleep or something.02:20
lifelessbeuno: we didn't have the fix script 2 months ago02:20
beunolifeless, I'm just saying something in the process needs to be improved02:21
lifelessbeuno: what precisely? We landed the code on the 17 march, in the 1.14 cycle02:21
lifeless1.14 released with the bug fixed.02:21
lifelesslp is running 1.14 and putting together stuff to fix up existing branches02:22
beunolifeless, step zero is to communicate better02:22
beunowhen something like this happens02:22
lifelessbeuno: I asked about that before and got told about nightlies instead02:22
beunogo in, and tell everyone what to do02:23
beunootherwise, you have half the people in 1.13, creating broken branches02:23
lifelessbeuno: they should stay on 1.13 during that period02:23
beunoand the otgher half suffering with 1.1402:23
lifelessbeuno: because 1.13 1.12 1.11 1.10 1.9 1.8 1.7 1.6 all create broken branches02:23
beunolifeless, don't tell me02:23
lifelesswe put it in the bug02:24
beunotell the 70-ish developers cursing every time they have to review someone's branch02:24
beunolifeless, it turns out, not everyone reads all bugs in Launchpad02:24
lifelessbeuno: they don't lookup the symptoms when they encounter a problem ?02:24
beunolifeless, no, they ask around until someone unblocks their work02:25
beunopeople get fed random recipies02:25
beunowhich make problems worst02:25
lifelessplease be a little more concrete. Are you saying blog? mail bzr-announce? mail bzr-dev ? (which we did, I think)02:25
lifelesshttps://bugs.edge.launchpad.net/bzr/+bug/35403602:25
ubottuLaunchpad bug 354036 in bzr "ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad" [Undecided,Confirmed]02:25
lifelessthat bug was *reported* april 3rd02:25
lifelessone month02:25
beunolifeless, I think this merits a blog post with the details + email to warthogs02:26
lifelessI 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 communication02:26
SamBlifeless: hitting them upside the head with a ... hmm ... copy of the Linux Kernel, on paper?02:27
beunolifeless, for Canonical folks, warthogs02:27
lifelessSamB: that would certain get their attention, if they remember the incident through the retrograde amnesia that will ensue02:27
SamBlifeless: could use just a small fraction of it, then02:28
beunolifeless, and a blog post on planet02:28
lifelessbeuno: 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:28
lifeless*things happen* during development.02:29
beunolifeless, it isn't when it's a company policy02:29
lifelessbeuno: policy doesn't change risk02:29
lifelessbeuno: are you on ubuntu-devel? I certainly am02:29
beunolifeless, I'm everywhere02:29
beunobut that's not the point  :)02:30
* SamB only runs bzr.dev because jelmer is always telling him to pull it ;-P02:30
lifelessbeuno: I think it rather is02:30
beunolifeless, you don't really expect all developers to track bzr's development?02:30
lifelesswe can certainly mail warthogs about the current status of this, now and in future.02:30
beunoI understand how hard this is02:30
lifelessbeuno: I don't expect people to track *trunk* and not be at least following something [perhap bzr-announce?] to ensure they can be communicated with02:31
lifelesswe have a group for launchpad beta users02:31
SamBbeuno: who made a policy like that?02:31
lifelessI assume everyone in the company is in that group02:31
lifelessSamB: Canonical has a general dogfood policy - where we create something, we use it ourselves02:31
beunolifeless, sure, we may have to adjust things02:31
SamBlifeless: oh, is he in canonical?02:31
lifelessSamB: (use it in beta and release at minimum), to improve quality02:31
lifelessSamB: we hired beuno, yes02:31
SamBah.02:31
SamBmust have missed that02:32
lifelessbeuno: you need to communicate better :P02:32
SamBmaybe you should have a company-wide email list or something02:32
* beuno grins02:32
beunoSamB, we have like 60 mailing lists02:32
lifelessSamB: we do, but this issue is equally applicable to folk outside the company tracking trunk02:32
SamBlifeless: yeah.02:32
=== gorozco is now known as p4tux
jelmer_maybe you need to do more cross-posting >-)02:32
SamBmaybe!02:32
SamBokay, so what's this list I should be on but aren't?02:33
lifelessbeuno: 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
lifelessSamB: bazaar@lists.canonical.com is the current list that issues with trunk are discussed on02:33
beunolifeless, if bzr breaks something so critical, I expect the team to actively engage it's major users, no matter who they are02:33
beunolifeless, yes, a big part of it is policy02:33
SamBhmm.02:34
beunowhich we need to coordinate better02:34
beunoI'm sorry to jump out of this one, but I *really* need food02:34
SamBlifeless: that's way too high-traffic for me to actually follow02:34
lifelessbeuno: 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 to02:34
* emmajane offers beuno some birthday cake.02:35
lifelessSamB: yes, and even if it was just regular users I think it would be too02:35
lifelessSamB: bzr is actually fairly popular :P02:35
poolielifeless: spiv is away sick today02:36
emmajaneSamB, 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
lifelesspoolie: ah02:36
emmajaneSamB, I also sort by thread and *ahem* delete a lot of the stuff that's over my head.02:37
emmajaneSamB, Filters help too. I only look in my "bazaar" folder when I've got extra energy.02:38
poolielifeless: 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
ubottuLaunchpad 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/36079102:39
lifelesspoolie: I can acquire that state; do you know if spiv has stuff in-flight that I should get off him?02:40
lifelesspoolie: I want to finish the current patch first, as its nearly done.02:40
pooliehe was still working on it yesterday02:40
pooliehe's apparently still somewhat alive so you could perhaps call him briefly02:40
lifelesspoolie: and is also quite critical, given it blocks people upgrading accurately to rich roots - its critical path for bbc transition02:41
poolieright, i know02:41
lifelessI 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
abentleylifeless: I don't know what "moved" means.02:42
lifelessabentley: old tree: '' is ROOT_ID, 'child' is 'my-root'. new tree: '' is 'my-root'02:42
lifelessabentley: so 'my-root' has moved from 'child' to ''.02:43
SamBemmajane: 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
emmajaneSamB, do you have the list filters on so that you don't get the code-y things?02:44
emmajaneSamB, MERGE and something else can be filtered out IIRC02:44
abentleylifeless: I can't think of any more cases.02:44
SamBhmm, yeah, merge would be easy to filter out02:44
lifelessabentley: cool, thanks.02:44
emmajaneSamB, check the mailman page. There are some built-in options for the list.02:45
SamBbut shouldn't there be a list for really important issues to be announced on?02:45
lifelesswe have bazaar-announce02:45
emmajaneSamB, it's version control. Everything is important. :)02:45
lifelessbut I would expect packagers and release-only users to perhaps be unhappy about issues with unreleased code going there02:46
SamBI'm thinking bugs where your data gets messed up but you don't know until way later02:46
SamBlifeless: it also doesn't sound dangery enough02:46
SamBbazaar-warn, maybe?02:46
lifelessI'd really rather not call a list that ;)02:46
emmajanebazaar-omgwtfbbq?02:47
SamBbazaar-bleed?02:47
lifelessemmajane: :)02:47
emmajanebazaar-yourerunningtrunkyoushouldknowbetter?02:47
SamBbazaar-oh-great02:48
emmajanebazaar-SRLSY?02:48
* emmajane goes back to her bazaar-scotch. :)02:48
* SamB wonders what the easiest way to run a program in a Linux kernel under a debugger is ...02:50
SamB(that is, the kernel is under the debugger ...)02:50
lifelesshmmm, I have load 1102:51
lifelessbut no disk and the system is snappy... anyone else seeing this on jaunty?02:51
SamBwhat is this load thing?02:52
SamBis it possibly a highly-bogus figure?02:52
AfCSamB: load := number of processes in the runable state02:52
SamBthat sounds pretty bogus to me02:53
SamB(once it starts to average more than 1)02:53
fullermdAll metrics are bogus   :p02:53
SamByeah, but that sounds more bogus than bogomips!02:53
fullermdAs a measure of contention for CPU, load average is often a decent rule of thumb check.02:54
fullermdMind, by the time it hits 3000 or so, it starts getting too expensive to calculate to be worthwhile...02:54
SamBit doesn't account for niceness or anything though02:55
lifelessAfC: linux also includes procs waiting on IO02:55
AfClifeless: I didn't know that. Huh. Thanks!02:55
fullermdNor 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
lifelesshttp://en.wikipedia.org/wiki/Load_(computing)02:56
* SamB wishes top showed IO utilization ...02:56
lifelessSamB: iotop02:56
* fullermd looks at his top which DOES have an IO showing mode...02:56
fullermd(of course, assigning IO to a particular process isn't a faultless process either)02:57
SamBfullermd: I meant in each row02:57
SamBor did you also?02:57
fullermdYah.02:57
fullermd  PID USERNAME      VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT COMMAND02:57
SamBwhat top is that?02:57
SamBor, er, how do you get that?02:57
lifelessbsd :)02:57
SamBoh02:57
SamBpooh02:57
SamBanyway, I know it's not faultless, but it's nice to know *A* process that needs the IO done ;-)02:58
* igc food03:03
lifelessSamB: try iotop out03:03
=== timchen1` is now known as nasloc__
wgrantWhy would I be getting a mismatched rich-root support error when attempting to reconfigure --standalone?03:06
lifelessbug something or other03:11
lifelessreconfigure doesn't preserve format03:11
mwhudsonjelmer_: so you fixed a memory usage issue you say?03:20
mwhudsonoh nm03:21
mwhudsonhttps://code.edge.launchpad.net/~jelmer/openoffice/hosted now has over 250k revisions :)04:14
lifelessnice04:15
mwhudsonand codebrowse continues to somewhat work04:16
Peng_It somewhat works? That's somewhat good to know. :P04:42
=== BlackKnight is now known as UdontKnow
* mwhudson reads planet bazaar, becomes hungry05:06
=== 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]
vilahi all07:12
vilaArgh, no wonder nobody reviewed my payches.... mail don't go out since last saturday :-(07:15
pooliehello vila07:25
poolieigc, what's the reasoning behind copying HACKING.txt around when building the docs?07:26
igcpoolie: the doc gets built & copied as a full tree, e.g. http://doc.bazaar-vcs.org/latest/developers/index.html07:35
pooliei guess what i meant is07:36
pooliethe rest source lives in doc/developers/HACKING07:36
pooliebut the html output is sent to doc/en/developer-guide/HACKING.html07:37
pooliei guess this is just for historical reasons07:37
igcpoolie: I'm happy for the rest source to move07:37
pooliedone07:37
pooliethanks07:37
igcpoolie: it location is historical07:37
pooliei thought so07:38
igcpoolie: once upon a time before we had the nice catalogs we do now, I guess the source location was more important07:38
igcpoolie: now I'd expect most developers to find the html easily enough07:39
pooliei've just moved the source to be in the same location as the html to avoid minor confusion07:39
pooliei think i once started editing the wrong copy of the text file07:39
igcpoolie: cool. Thanks.07:40
poolieit's all fine now though, thanks07:40
lifelesshi vila08:25
vilalifeless: hi08:26
* igc dinner09:41
Lo-lan-doHi all09:44
Lo-lan-doIs there a way to get bzr to "forget" the submit or parent branch?09:45
Lo-lan-do(Apart from editing the .bzr/branch.conf, that is)09:45
lifelessLo-lan-do: remember a new one09:53
poolie1night all09:59
Lo-lan-doHm.  Yes, that would work, of course.10:00
Lo-lan-doExcept it needs some non-transparent operation to happen, doesn't it?10:00
Lo-lan-doSuch as merging (for the submit branch) or... I don't even know how to remember a new parent branch.10:01
intellectronicahi, 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:26
lifelessintellectronica: use nosmart+ before the url or an sftp url10:27
lifelessintellectronica: there is a bug in older bzr's that causes branches to individually generate that message10:27
intellectronicaoh right, so if i re-upload the branch with a new bzr it will be ok?10:28
lifelessintellectronica: or you can run te fix script10:40
lifelesshttps://bugs.edge.launchpad.net/bugs/35403610:41
ubottuLaunchpad bug 354036 in bzr "ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad" [Undecided,Confirmed]10:41
lifelessthere 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.10:41
maxriskfactori have been trying to use bzrlib to list the files under a working directory, can someone help me in this reguard11:22
=== jelmer_ is now known as Guest54966
awilkinsjelmer: Did bzr-gtk get upgraded to rich-root?12:00
jelmerawilkins: yep12:00
awilkinsaha.12:00
awilkinsjelmer: 1.9 or 1.14?12:01
awilkinsHmmph, info says "unnamed". V.unhelpful.12:02
jelmerawilkins: either should work12:02
jelmerawilkins: I upgraded to 1.9-rich-root12:02
awilkinsI'll stick to 1.9, my users are still on 1.1312:02
jelmerlifeless: ping12:03
jelmerawilkins: I think 1.14 only matters for the working tree format anyway12:03
awilkinsI only really use bzr-gtk for gconflicts now12:08
awilkinsAnd a local patch of it, at that12:09
jelmerawilkins: no viz?12:11
awilkinsI use qlog for that12:11
awilkinsHow's viz now?12:11
jelmerah12:11
jelmerviz is still the same12:11
jelmerwhat's better about qlog?12:11
awilkinsLet me try viz again for a mo and I'll think about it12:11
awilkinsOk  (silly) : qlog looks more native on win32 and has font smoothing, etc12:12
jelmerah, of course. I'd forgotten you were on win3212:13
awilkins(practical) qlog has a "files that changed" pane from which you can trigger a file diff12:13
awilkinsIt also has expansion of merge points12:13
awilkinsOver half the width is consumed with the DAG on viz, on qlog you only get this if you expand a few nodes12:14
james_wdouble click a revision to see the changes12:15
awilkinsqlog could do with a heck of a lot more context options (which viz seems to have in menus)12:15
awilkinsBoth of them need to be able to be configured to use external diff utils12:16
awilkinsWhen considering this sort of thing I think TortoiseSVN is a great place to start12:17
awilkinsYou can't go too far wrong just ripping off their feature sheet12:17
awilkinsMaybe 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:20
awilkinsThere 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:21
lifelessjelmer: pong; just fixing raid controller software, so you'll only get a little bit of attention12:25
jelmerlifeless: does PQM ignore duplicate submissions?12:28
lifelessjelmer: GPG dups yes, others no, but if no changes are found it bounces the second12:29
jelmerlifeless: ok, then it'll bounce - thanks12:29
ronnymoin12:39
jelmerhey ronny12:41
ronnysup12:41
ronnyolder bzr versions still arent easy_install-able12:42
zygahello, I wrote a simple plugin that allows for filtering by changeset author12:43
jelmerronny: I think LarstiQ was looking into that12:43
jelmerLarstiQ: ^12:43
zygaI did it in a pretty hacky way because I could not find any better APIs to do it12:43
zygaI removed log._make_search_filter from available log adapters12:43
zygaand then added my own _make_author_filter function that understands author: prefix of the search argument12:44
zygaI was wondering if there is a better way to do it12:44
jelmerigc: you might want to talk to igc when he's around, I think he did a lot of work on log recently12:44
zygabasically I'd like to have "bzr log | grep author" that is smarter12:44
zygacan anyone please point me to some API's/people that could show the way?12:45
Lo-lan-dozyga: I think jelmer's last message was for you :-)12:45
jelmerzyga: one way is to just register a new log formatter that only shows revisions by a particular author12:45
zygaLo-lan-do: oh, thanks - I'll look for igc then12:46
zygahmm12:46
zygahmm :-)12:46
zygaI'll look into that, maybe it's easier than I though12:46
Lo-lan-dojelmer: Does the current lp:bzr-git depend on some dulwich version newer than 0.2.0?12:48
zygathat's bad in one way though: you loose all the --long --short, etc options12:48
zygaI 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:48
igczyga: An improved search filter is the right general approach12:50
igczyga: see http://bazaar-vcs.org/Roadmap/Log as well12:51
igczyga: basically, we need:12:51
igc1. some agreed search language12:51
zygaigc: hi,12:51
igc2. a parser that converts it into a compiled query object12:52
igc3. a search filter that takes that query object and returns matching results12:52
jelmerLo-lan-do: yeah, it depends on dulwich trunk12:53
zygaigc: right12:53
igc#3 can probably be done first12:53
jelmerLo-lan-do: bzr-git 0.2.0 and dulwich 0.2.0 should work together12:53
zygaigc: maybe 3 can be done now as a plugin12:54
Lo-lan-dojelmer: 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
zygaalong with a new log command that uses it12:54
zyga(logging is pretty complex though)12:54
zygaas 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.dev12:55
zyga(this way nobody has expectations on stability of the UI)12:55
zygaand a sensible thing can be though out later12:55
igczyga: hmm - I'd like #3 to be core code; then plugins can experiment with various languages for building the queries12:56
igczyga: a plugin to try out #3 is fine though12:56
jelmerLo-lan-do: local repositories should also work12:57
zygaigc: 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 features12:57
Lo-lan-dojelmer: Maybe I'm doing something wrong then, but I get an AttributeError: 'Repo' object has no attribute 'open_index'12:57
jelmerLo-lan-do: that means you need a newer dulwich12:58
jmllifeless: is the presence of a '.' in an hpss method name a necessary and sufficient indicator that that method is *not* a VFS call12:59
jml?12:59
igczyga: sure12:59
Lo-lan-dojelmer: 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
jmlactually, I'll throw that question to the whole channel12:59
zygaigc: I'll hack on a copy of cmd_log and craft a simple search support on that12:59
zygawhen author search works again I'll publish the code so that someone can have a look at it13:00
zygathanks for the insight and help13:00
igczyga: why do you think you need a custom cmd_log?13:00
zygahow would you add new features to cmd_log?13:00
igczyga: we're just extending the -s option with a smarter string, yes?13:01
igczyga: take a look at the bzr-search plugin13:01
zygaigc: ok wait13:02
igczyga: from memory, it provides a custom implementation of the search filter just like you need to13:02
zygayeah I just noticed it's mentioned in cmd_log docstring13:02
jmlAnswer: no13:02
zygaigc: argh, it requires a built index13:07
zygaigc: that's bad - but I'll look at the API13:07
igczyga: 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 filter13:08
* jml runs a full selftest13:09
jmlhow long does it take these days?13:09
bob2FOREVER13:10
zygaigc: hmm, it's doing something similar as I did but with additional trick :-()13:11
zygaigc: it removes the original log adapters but instead of totally loosing them it calls them in their own adapter as a fallback13:12
jmlhmm.13:12
jmlI don't have forever.13:12
zygaigc: but I still don't get something13:12
zygaigc: how do I extend log to add search without new cmd_log2?13:13
igczyga: cmd_log should be calling into the log adapter "pipeline" ...13:15
igczyga: changing the pipeline ought to be enough IIUIC13:15
zygaIt already does13:15
zygabut how to add new options (search query)13:16
igczyga: ah13:16
igcI don't think you want a new option13:16
igcjust extend the meaning of the -s value13:16
igce.g. ...13:16
zyga-s ? where is it defined13:17
igcbzr log -s "author:me" ...13:17
zyga(I'm based on 1.14.113:17
* jml just sent a simple patch to the list.13:17
lifelessjml: --parallel=fork13:18
lifelessjml: 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
jmllifeless: I figured something else out instead.13:18
jmllifeless: see the patch I just sent to the list13:19
jmlbut maybe not now, since I'm going to prepare a hot chocolate and retire for the evening.13:19
lifelessjml: remind me tomorrow and it will get my full attention13:19
igczyga: sorry - I meant --message or -m13:20
jmllifeless: will do.13:20
zygaah13:20
zygathat's sensible13:20
zygaI'll look into it13:20
igczyga: we can always alias --message to --search later13:21
zygaright13:21
lifelesszyga: bzr-search uses -m too13:25
zygayeah I'm on to it - just wait for a moment13:25
lifelesszyga: I'd love to change the meaning of -m to be a nicer language than regex, it limits bzr-search a lot13:25
=== thekorn_ is now known as thekorn
zygawhat is the python version all bzr code should run on?13:36
zyga2.4?13:36
jelmerzyga: yep13:38
lifelesszyga: 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:39
igcnight all13:42
lifelessgnight igc13:43
vxnickhas anyone any experience integrating bzr with redmine (http://redmine.org)13:56
jelmerigc: thanks for the reviews13:56
jelmer'night igc, lifeless13:56
jelmerbeuno: ping14:21
beunojelmer, hi14:22
jelmerbeuno: What happened to your plugin management code?14:22
lifelessjelmer: I wrote bzr-plugin-info which is meant to seed a plugin db14:23
beunojelmer, 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:24
jelmerbeuno: :-/14:25
jelmerlifeless: it's a bit of a chicken-egg problem I guess14:26
zygawooyt14:31
zygaigc: it works :-)14:31
zygaigc: the API is not perfect yet because it hardcodes all(...) but it's not far away from full-blown logic tree14:34
zygaigc: search terms are pluggable14:34
zygaigc: simple searching for properties like author is trivial to add14:34
zygaigc: I'd love to have a python-like logical expression parser:14:35
zygasomething that could parse:14:35
zygaEXPR: EXPR and EXPR | EXPR or EXPR | not EXPR14:35
zygaEXPR: property14:36
zygaEXPR: property=value14:36
zygaright now I can do: bzr log -m author:someone14:36
zygawhich works rather well :-)14:36
liwdo 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 trees14:46
james_wliw: does "bzr add -v" print info about what is being added?14:48
james_wor you already have the info and you just want to know what is coming next?14:48
liwjames_w, it prints the names it adds already, yes14:49
liwwhat I mainly want is to know how much longer this is going to take, of course14:49
james_wit may be that adding a sorted() call is easy14:49
james_wor it may be that it would not perform at all well14:49
james_whaving full progress info is difficult though, as it requires two full tree walks, and the assumption that nothing changes between the two14:50
liwyeah, that's why I thought just sorting the list of directories would be good enough (for me)14:50
jelmerIs there some easy way to import an arbitrary file as a module in Python?14:52
liwjelmer, I think so14:52
liwjelmer, the imp module, I think14:53
jelmerliw: Ah, thanks14:53
liwhm, it's as if it is doing the directory tree twice anyway (I'm sure I've seen those directory names before)14:55
Lo-lan-dojelmer: My git.db is acurrently 152M, and I'm only "fetching revisions 4962/6104".  Does that sound right?14:56
lifelesszyga: I rather like googles search syntax; it sounds like you are doing something similar - +1 to that :)15:04
* ronny pokes LarstiQ 15:04
jelmerLo-lan-do: Yeah, it can become pretty large15:07
Lo-lan-doThe "bzr branch" seems to be slowing down pretty drastically, too.15:15
liwdoes 5+ gigabytes of RSS memory count as a big bzr process?15:17
jelmerliw: YES15:18
jelmerI mean, yes15:18
jelmerDidn't mean to shout :-)15:18
jelmerLo-lan-do: For better performance try newer dulwich/bzr-git15:18
liwat least it's still running15:18
jelmerliw: what are you trying to do exactly?15:19
liwjelmer, 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 bzr15:19
liwby importing jaunty's unpacked source packages15:19
liwbzr has stopped printing out pathnames, I wonder if that means it's about to be done?15:21
Lo-lan-dobzr branch lp:dulwich says bzr: ERROR: bzrlib.errors.SHA1KnitCorrupt: Knit <bzrlib.knit._VFContentMapGenerator object at 0x9202fec> corrupt: sha-1 of reconstructed text does not match expected sha-115:24
zygalifeless: I can do simple boolean logic over expressions but I'd like to hear some kind of agreement over what is really wanted15:25
zygalifeless: I can publish my plugin soon (corporate env)15:25
jelmerLo-lan-do: You've probably hit a bug in bzr-git15:27
jelmervila: ping15:48
vilajelmer: pong15:48
jelmervila: can you include a copy of the GPL in bzr-webdav?15:48
jelmervila: (required for inclusion in Ubuntu)15:48
Lo-lan-dojelmer: "bzr --no-plugins branch http://people.samba.org/bzr/jelmer/dulwich/trunk/" fails similarly15:49
jelmerLo-lan-do: Ah, this must be a bug I fixed recently15:51
jelmerLo-lan-do: (dulwich is maintained in git but developed using bzr)15:51
Lo-lan-doNice to know such a setup already works :-)15:51
vilajelmer: done and committed on lp15:52
jelmervila: thanks15:52
Lo-lan-dojelmer: Is the reverse already possible (bzr repo accessed through git)?15:54
Lo-lan-doI guess it's the bzr-*-pack stuff, but I have no idea if/how it works :-)15:54
Lo-lan-doAlso, in your setup, can you handle several branches?15:56
jelmerLo-lan-do: you mean a git-compatible smart server that accesses bzr branches?16:00
jelmerLo-lan-do: jc2k has done some work on that, I'm not sure what the current state of it is16:00
jelmerLo-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:01
liwsuccess!16:02
liwI did "bzr add" on the unpacked ubuntu jaunty source tree16:02
liwnow let's see if commit works16:03
jelmerwhoa :-)16:03
Lo-lan-dojelmer: Thanks.16:03
liwthe add required about 8 gigabytes of RAM16:03
Lo-lan-doJc2k: Ping (status of bzr-{send,receive}-pack?)16:04
Lo-lan-doliw: You're crazy.  But it had to be tried :-)16:04
Lo-lan-doliw: Next step: try the same on Debian.16:04
liwLo-lan-do, I've tried it on etch sources before, years ago, and bzr failed16:04
Lo-lan-doIf bzr can handle that, it'll handle anything :-)16:05
liwubuntu and debian should be on the order of magnitude the same size, shouldn't they?16:05
Lo-lan-doPossibly.  I was under the impression that we had lots more crap^W"fringe packages" in Debian.16:07
lifelessliw: --development-rich-root?16:14
liwlifeless, yes16:20
LarstiQronny: 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:20
LarstiQronny: if that fails, I'll take one of the other outlined measures16:21
LarstiQronny: so expect easy_installability tomorrow16:21
exarkunSo I'm curious about how the revision data associated with a revision number in a particular branch can change over time16:30
exarkunIs there something I should read?16:30
Lo-lan-doexarkun: Revision numbers are just a convenience.  What matters is the revision id.16:31
Lo-lan-doIf a branch is overwritten, the revision numbers will overlap, but not the revids.16:32
exarkunBut even if you don't overwrite a branch, then you still can't treat revision numbers as stable, right?16:32
exarkunOr is resolving divergence equivalent to overwriting a branch?16:33
Lo-lan-doYou're right.  If you pull from another branch, even if you only add revisions, you might change your numbers.16:33
james_wexarkun: if you only "merge" other branches then numbers will only be added16:34
james_wany numbers you currently have will not change16:34
exarkunthanks16:38
ronnyLarstiQ: dont try to read easy_install, its a fucked up pain16:44
dahosteI 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 <Location> 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 how16:52
dahoste 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:52
liwdahoste, 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 sftp16:56
liwdahoste, http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#running-a-smart-server might be useful16:56
liwdahoste, there may be other ways, too, but I'm too ignorant16:58
=== dereine[OFF] is now known as dereine
dahosteliw, 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:00
dahosteliw, I think I need to get smarter about the bzr writing via the http-webdav plugin.  That might be the ticket.17:01
dahosteliw, 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:03
pygidahoste, what's wrong with using clue-bzrserver?17:29
dahostepygi, possibly nothing.  I'm not aware of it.  Or wasn't...17:30
a_c_m1can you clear the slate (so to speak) with anything thats not yet commited17:30
a_c_m1e.g. i bzr add by mistake17:30
Lo-lan-doa_c_m1: bzr revert17:31
pygidahoste, its bzr+http, but oh well :)17:31
pygidahoste, I mean it still isn't perfect, but it works17:31
a_c_m1Lo-lan-do: thanks :)17:31
Lo-lan-doa_c_m1: You can even use it on one particular file if you just want to revert that one.17:31
dahostepygi, 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
pygidahoste, ok, clue-bzrserver works then17:32
pygidid you already google it or?17:32
dahostepygi, reading now...17:33
=== dahoste is now known as dahoste|away
Peng_jelmer: ping18:43
Lo-lan-do$ bzr help dpush18:51
Lo-lan-doPurpose: Push diffs into a foreign version control system without any18:51
Lo-lan-doUsage:   bzr dpush [LOCATION]18:51
Lo-lan-doWithout any what?18:51
Lo-lan-doPurpose?18:51
jelmerPeng_: pong18:52
Peng_Heh.18:52
jelmerLo-lan-do: that's fixed in 1.14 IIRC18:52
Peng_jelmer: I thought so too, but it doesn't seem to be.18:52
Lo-lan-doOh.  I guess it's the "Bazaar-specific metadata." later on.18:52
Peng_Lo-lan-do: Yeah.18:52
Lo-lan-do1.14-2 here18:52
Peng_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:52
Peng_jelmer: With lp:~jelmer/loggerhead/transport, why did you move the stat() in directory_ui?18:53
Lo-lan-doThanks to jelmer, I have ceased doing dpush on SVN (bound branches work so much better).18:53
Lo-lan-doI was reading on dpush for git.18:53
jelmerLo-lan-do: yeah, dpush works quite well for git atm18:55
Lo-lan-doGood 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:57
Lo-lan-doIn the meantime, we keep SVN as a pivot.18:58
jelmerJc2k: ping18:58
Lo-lan-doNo hurry... I'm about to go out for drinks.18:59
Lo-lan-doBut I'll read the backlog when back :-)19:00
jelmerPeng_: Which stat?19:05
Peng_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:07
Peng_jelmer: Was it just to get rid of the list comprehension or to reduce the number of stat()s done or something else?19:11
jelmerPeng_: to reduce the number of stats, as we'd only do it in case something is not a branch now19:27
Peng_jelmer: OK, I'll put it back, then.19:33
Peng_Sorry. :\19:36
=== zirpu2 is now known as zirpu
Jc2kjelmer: pong19:45
TDTHey 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:52
jelmerJc2k: hi19:53
jelmerJc2k: we were just wondering what the status of bzr-*pack in bzr-git is atm, does it work?19:53
jelmerJc2k: also, did you see my msg about hg-git picking up dulwich?19:54
jelmervila: bzr-webdav is now in karmic19:56
jelmervila: your http multi-auth patch is huge :-/19:56
LarstiQTDT: ehm, it is a bit surprising the standard bz2 module is missing from your python install?19:57
Jc2kjelmer: i saw your message and blogged it :)19:59
Jc2kjelmer: i dont know about the state of bzr-*-pack - it might have bit rot19:59
Jc2kjelmer: when i last played with it, it worked for git-only stuff19:59
jelmerJc2k: ah, nice, haven't seen that yet20:05
TDTLarstiQ: Very surprising actually, especially since 3 machines, two if which I'm sure worked, suddenly don't...recompiling to see what happened.20:07
LarstiQTDT: did they get upgraded?20:09
* LarstiQ catches the tram20:11
TDTLarstiQ: Fixed it, was a horribly stupid reason this was happening...didn't expect it to be a problem, but meh20:17
orsonjdoes bzr determine that a number of different files are identical and store them compactly in the repo?20:21
Peng_orsonj: No. Well, the new disk format (development6-rich-root) does, IIRC.20:29
orsonjI might have to play with that. I have one situation where I have a bunch of files that are hard linked several times each20:35
orsonjThe repo ended up taking up a lot more space than the actual files.20:36
orsonjIs there a way to remove files from the version history without bothering other versioned files?20:37
orsonj(aka to save space, this has been a space hogging experiment)20:37
GaryvdMNo - by design - you can20:39
=== dahoste|away is now known as dahoste
GaryvdM't modify any old revisions20:39
GaryvdMsorry - enter instead of '20:39
orsonjI only have a few revisions, so I'll just extract and rebuild without the large files.20:39
=== 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
AmanicAyou may be able to filter them out with bzr-fastimport , but I don't really know how20:54
AmanicAorsonj: if you installed the bzr-fastimport plugin, see bzr help fast-import-filter21:01
AmanicAit seems to be able to do what you want21:01
LarstiQor maybe just `bzr uncommit`, if it's recent history21:04
Lo-lan-doJc2k: I think bzr-upload-pack does indeed suffer from bitrot or something: http://pastebin.com/d4b66f61621:15
Lo-lan-doUm.  I'm wondering why it's using the system-wide git plugin rather than the up-to-date one in ~/.bazaar21:16
Lo-lan-doUninstalling the system-wide git plugin gives me a "ImportError: No module named git.server"21:19
Lo-lan-doSeems to me the local server.py isn't properly registered.21:19
Lo-lan-dojelmer: Any idea about that?21:19
jelmerLo-lan-do: not off the top of my head21:37
jelmerLo-lan-do: I'd have to look into it deeper, but I think there will be more issues like that atm21:38
Lo-lan-doDoes "import bzrlib" suffice to load all plugins?21:38
Lo-lan-doAn strace seems to indicate that the git plugin isn't loaded when bzr-upload-pack tries to import part of it.21:38
jelmerLo-lan-do: you need 'from bzrlib.plugin import load_plugins; load_plugins()' to make sure all plugins are loaded21:40
Lo-lan-doI'm sending a patch your way21:45
Lo-lan-doIt'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:46
jelmerLo-lan-do: ENOPATCH ? :-)21:54
Lo-lan-dobzr send failed to attach it?21:54
Lo-lan-dohttp://pastebin.com/f4ab696b5 it is then21:55
jelmeryeah, apparently21:55
Lo-lan-doThis guest account isn't properly configured.  It's reset at each reboot, and I don't open sessions with it, only su.21:56
jelmerLo-lan-do: thanks, merged21:57
Lo-lan-dojelmer: How about http://pastebin.com/f69a8b139 ?21:59
jelmerLo-lan-do: Yeah, that looks like a good idea :-)22:00
jelmerLo-lan-do: pushed22:01
Lo-lan-doAnd 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:05
jelmerLo-lan-do: we changed what some of the arguments / return values look like22:06
jelmerLo-lan-do: something must've made us return a tuple22:07
vilajelmer: huge ???22:08
jelmervila: well, pretty large at least22:09
mwhudsonjelmer: let me try that again: hi22:09
jelmermwhudson: hey22:09
mwhudson(damn routers/isps)22:09
mwhudsonjelmer: so a bzr-git question: how much ram/time would you expect an import of banshee into 1.9-rich-root to take?22:10
pooliehi all22:13
vilathe main part (in auth_required) is due to reindenting a block... Anyway, I don't think it's large :)22:14
vilajelmer: a bit hackish, yes, but large, it's just an added loop and one more if :)22:14
vilajelmer: and thanks for webdav :)22:15
jelmervila: I guess I should do more careful reading then :-) I skimmed over it only22:15
jelmermwhudson: 200Mb RAM, < 30min I would say22:16
* jelmer gives it a shot22:16
mwhudsonjelmer: i was seeing 1.8 gigs and >1 hour :)22:17
mwhudsonbut i may not have been using the updated code22:17
jelmermwhudson: are you running dulwich trunk though?22:17
vilajelmer: 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 follow22:17
mwhudsonjelmer: well 0.2.1 or whatever it was22:17
mwhudsoni hope :)22:17
jelmeryeah, that doesn't have a particular fix yet (iterobjects remembering *all* undeltified objects while walking a pack)22:18
mwhudsonjelmer: it's possible i stuffed up and was using the old dulwich, i'll try agai22:18
mwhudsonjelmer: oh22:18
jelmermwhudson: I also just fixed a bug in the offset handling in dulwich/bzr-git22:19
jelmermwhudson: which may corrupt repositories if you're not in UTC22:19
mwhudsona22:19
mwhudsonh22:19
jelmermwhudson: mainly matters for dpush though22:19
mwhudsonjelmer: ok, pretty sure launchpad won't be doing that :)22:20
thumpermwhudson: but our users might :)22:21
jelmerone of the side effects is that some of the commits in dulwich are now in timezone "+0020"22:21
mwhudsonjelmer: so is there a new dulwich/bzr-git combo that will work with python2.4 and bzr 1.14 ?22:22
jelmermwhudson: I don't think I've made any 2.4-incompatible changes but let me check..22:23
jelmermwhudson: yeah, 1.14/2.4 should be fine with both trunks22:24
mwhudsonjelmer: have you rebased dulwich trunk again?22:26
jelmermwhudson: yes, that's this offset bug I was talking about22:27
mwhudsonargh22:27
jelmersorry :-/22:27
jelmerit's dogfooding dpush that finds these bugs though22:27
mwhudsoni guess :)22:28
jelmermwhudson: banshee import: RAM usage seems to vary somewhere between 120Mb and 60Mb, takes about 1000s wall clock time on my thinkpad22:28
mwhudsonjelmer: dulwich r295, bzr-git r44222:29
mwhudsonjelmer: ok22:29
mwhudsonjelmer: can you check my revnos ^22:31
jelmermwhudson: ack22:32
jelmermwhudson: they match what I have here22:32
mwhudsonjelmer: cool22:32
pooliei'm just catching up on the 1.4rc date thread from when i was away22:36
poolieso long22:37
pooliesome useful ideas though22:37
=== phinze_ is now known as phinze
=== lifeless_ is now known as lifeless
awmcclainIs there a way I can move a branch into a subfolder of another branch while retaining my version history?22:48
mwhudsonawmcclain: i think the merge-into plugin can do this22:50
awmcclainthank you22:50
jelmerlifeless: are there any plans for upgrading bzr.dev to rich-roots yet ?22:53
lifelessjelmer: yes22:56
lifelessjelmer: I've been posting to the list regularly about that ;P22:56
jelmerlifeless: oh, oops22:57
jelmerlifeless: I must've missed that, or do you mean the rich root upgrade bugfixes you've been posting?22:57
lifelessjelmer: I posted saying we should upgrade, and lets test on smaller projects22:59
jelmerlifeless: yeah, I saw that bit and the upgrade of bzrtools22:59
lifelessso the plan is to fix those bugs then try again23:00
=== dahoste is now known as dahoste|away
jelmerah, cool23:00
jamlifeless: 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:01
jamI'm trying to investigate now23:02
jmllifeless: so, I was going to remind you about "[MERGE] Report the number of VFS calls in -Dhpss output"23:06
lifelessjam: thanks23:06
jamI'm trying a reconcile right now (which of course spends a huge amount of time in "Finding text references"...)23:10
jamit would seem that bzr.1.14.1 also fails to branch23:11
jamso it might not be something new23:11
lifelesshttps://bugs.edge.launchpad.net/bzr/+bug/36841823:12
ubottuUbuntu bug 368418 in bzr "'Revision X not present': when branching from stacked branch with ghosts" [Critical,In progress]23:12
lifelessjam: is  https://bugs.edge.launchpad.net/bzr/+bug/182715 fixed?23:14
ubottuUbuntu bug 182715 in bzr "Graph.heads() gives false heads sometimes" [Medium,Confirmed]23:14
lifelessjam: bug 368418 has a branch that should fix it for yoy23:15
ubottuLaunchpad bug 368418 in bzr "'Revision X not present': when branching from stacked branch with ghosts" [Critical,In progress] https://launchpad.net/bugs/36841823:15
jamlifeless: for bug 182715, afaik ghosts still confuse things23:15
ubottuLaunchpad bug 182715 in bzr "Graph.heads() gives false heads sometimes" [Medium,Confirmed] https://launchpad.net/bugs/18271523:15
lifelessyah, just had to read it again to figure that out23:15
jamOther than changing the api (or raising an exception) I don't think there is a lot to do for ghosts23:15
jelmermwhudson: crap, I think I think the timezone handling still might not be correct23:16
jelmermwhudson: you might want to hold off for a bit, I'm writing some extra unit tests to make sure it's really right this time23:16
mwhudsonjelmer: will this mean you need to rebase dulwich again?23:17
jamlifeless: branching that gives 'AbsentContentFactory' .... :(23:17
lifelessjam: hilarity ensues23:17
jelmermwhudson: probably, unfortunately23:17
mwhudsonjelmer: spm finished the dance to get the new dulwich in seconds before you typed that :)23:18
lifelessspiv: if you're well enough, please fix-branch your fix for bug 36841823:18
ubottuLaunchpad bug 368418 in bzr "'Revision X not present': when branching from stacked branch with ghosts" [Critical,In progress] https://launchpad.net/bugs/36841823:18
lifelessjam: you can probably get the patch via loggerhead23:18
jamI'm trying via nosmart+23:18
jamwhich seems to do just fine23:18
lifelessthat too23:18
mwhudsonjelmer: is bzr-git reasonably good at progress reporting?23:19
jamlifeless: with patch applied, same failure23:19
jelmermwhudson: it should be doing either activity reporting or progress bars23:20
mwhudsonok23:20
jmlpoolie: I've updated that patch, btw23:20
pooliefor dhpss23:20
mwhudsonhmm, i need to look into activity reporting actually23:20
pooliei saw, thanks23:20
mwhudsonmight help https://bugs.launchpad.net/bugs/37049123:21
ubottuUbuntu bug 370491 in launchpad-code "Unable to handle reasonably sized development6 branches" [High,Triaged]23:21
pooliespiv was sick yesterday, i don't know about today23:21
pooliejml: if you're impatient i'll just merge it23:23
poolieit definitely sounds like useful data23:23
pooliejml: do you have pqm access?23:23
jmlI am a little impatient, yes :)23:23
mwhudsonpoolie: very quick UI factory question, should/could a call to report_transport_activity be seen as a sign of activity?23:23
jmlno I don't.23:23
lifelessmwhudson: it means something is networking23:24
mwhudsongood enough for me23:24
pooliemwhudson: well, yes, but maybe i misunderstand the qn23:24
poolieas opposed to what?23:24
lifelessmwhudson: it doesn't mean its not in an infinite loop; but then no activity doesn't mean anything either way either23:24
mwhudsonpoolie: good question23:24
mwhudsonpoolie: it wouldn't be called if the network connection stalled?23:24
mwhudsonlifeless: we've not had anything do that to us yet, touch wood23:25
pooliemwhudson: no, it doesn't23:25
mwhudsonpoolie: i can't imagine why it would be, i'm just feeling paranoid23:25
lifelessmwhudson: its called when bytes are read or written; a stall where we can write, get no error, and keep doing that would fool you23:26
poolietypically (for the text ui) if it stalls it will just stay stuck on the last activity rate23:26
pooliewhich is not ideal23:26
lifelessI think thats an unikely scenario23:26
lifelesspoolie: this is for the robot ui23:26
mwhudsonlifeless: that hasn't been a problem in practice (yet, touch wood again)23:28
mwhudsoni want a "commit the change in this tree to a new branch" command :/23:29
mwhudsoni guess that's not so hard, just a bit shell scripty23:29
lifelessits easy with ric23:29
lifelesswe just have to finish adjusting iter_changes so ric can be always used23:29
mwhudsonric?23:29
=== abentley1 is now known as abentley
lifelessjam: ^ are you likely to get to that soon? / not in your pipeline?23:30
lifelessmwhudson: record_iter_changes, the fast path commit code23:30
mwhudsonoh right23:30
mwhudsonwell it's not so hard in a shell script really, bzr branch, bzr merge --uncommitted, bzr ci23:30
lifelessmwhudson: I mean 'bzr commit --to ../newbranch'23:31
mwhudsonyeah23:31
poolieyes i realize it's for the robot23:34
pooliemwhudson: if you'refeeling paranoid i suggest you check the 'action' or whatever it's called is 'read'/'write'23:34
mwhudsonmerge --uncommitted seems broken :(23:34
mwhudsonoh oops23:34
mwhudsonpebkac23:35
mwhudsonbut still23:35
poolieif we add a soft timeout like 'no io for two seconds' then we'd make a new action23:35
mwhudson"bzr merge --uncomm ." explodes23:35
mwhudsonpoolie: ah, ok, that makes sese23:35
mwhudsonpoolie: the parameter seems to be called "direction" currently?23:36
mwhudsontbh23:37
mwhudsonif we have a network write in the puller, something's gone a bit funky :)23:37
mwhudsoni wonder how to test this23:38
jelmermwhudson: ok, I have finally fixed it now *and* added tests23:53
jelmermwhudson: pushing dulwich again now, should be there soon23:54
mwhudsonjelmer: did you have to rebase?23:54
mwhudsonok23:54
jelmermwhudson: yes, a bit23:54
mwhudsonjelmer: how do you rebase a bit? :)23:55
jelmermwhudson: only the identity of the last few revisions has changed, the first few are still as they were before23:57
mwhudsonjelmer: oh ok23:57

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