/srv/irclogs.ubuntu.com/2008/11/06/#bzr.txt

james_wand Fix Released when I tell it I release a milestone00:00
james_wor something00:00
james_wI'll leave the details to you guys :-)00:00
beunoI don't quite understand00:00
beunofix committed automatically when what?00:00
Odd_Blokebeuno: When a branch is merged to the development focus.00:00
beunoah00:01
beunowhat has that to do with bugs?00:01
Odd_Blokes/branch/branch that fixes a given bug/00:01
james_wI'm talking about the bugs statuses00:01
* beuno blinks00:01
Odd_BlokeThen the bug gets automagically marked as Fix Committed.00:01
beunothat's a bit tricky00:02
james_wyou have "Fix Available" on the branch when I push a --fixes. If that gets merged to the development focus then it sets the bug "Fix Committed".00:02
emmajanebeuno, *grin* and you thought I was bad. ;)00:02
beunojames_w, gotcha00:02
beunoshould be viable00:02
Odd_Blokeemmajane's paying us to make her look better. :p00:02
beunofile a bug, I'll try and make it happen00:02
emmajanejames_w, how come I have to report bugs and you just get IRC requests. ;)00:02
emmajaneWOO!00:02
emmajane:)00:02
beunoemmajane, ;)00:02
emmajanebeuno, hopefully the screenshots were helpful as well?00:04
beunoemmajane, they're better than a patch00:04
beunodeeply appreciated00:04
emmajanekay00:04
emmajaneI'll continue to include them as I find more things.00:05
beunoif all users where like you, software would beperfect00:05
emmajanehehe00:05
emmajanebeuno, You can come and work with Drupal when you're done with LP. ;)00:05
beuno(my typing, on the other hand...)00:05
beunodone with LP? ha!  like that will ever happen00:05
* emmajane grins00:06
beunoLP is *big*00:06
beunohuge00:06
emmajaneso is Drupal ;)00:06
emmajaneit will be ready for you when you're done ;)00:06
Flare183When I try to push my bzr branch to launchpad it give me this error: Transport operation not possible: http does not support mkdir()00:06
beunoheh, I'm sure it will00:07
Flare183What can I do to fix this?00:07
beunoFlare183, you need to specify your launchpad login00:07
Odd_BlokeFlare183: 'bzr launchpad-login -h'00:07
beunobzr launchpad-login <username>00:07
Flare183oh ok00:07
beuno-h?00:07
Odd_BlokeHelp. :D00:07
beunoright, fish/teach to fish00:08
beunoI hate fishing, so I just give people food00:08
Odd_BlokeNOM NOM NOM00:10
Flare183ok Now I get this error: Target directory already exists. Please select another target.00:13
Flare183I know it exists thats why I'm pushing it there. Duh bzr!00:13
Flare183How can I fix this on?00:13
Flare183one*00:13
Odd_BlokeFlare183: What command are you using?00:13
Flare183bzr push00:13
Odd_BlokeOr, rather, what's the full command-line?00:14
Flare183Actually I'm using Olive00:14
Flare183But I can use the command line00:14
Flare183hold on00:14
Odd_BlokeHeh, serendipitous.00:14
Odd_BlokeWhat's the location you're trying to push to?00:14
beunoFlare183, add --use-existing00:14
Flare183oh ok00:14
beunothe error should be telling you to add the flag  ;)00:15
Flare183jesse@jesse-desktop:~/Python Projects/bot$ lp:~richardson183/ubuntu-bots/flarebot --use-existing00:15
Flare183bash: lp:~richardson183/ubuntu-bots/flarebot: No such file or directory00:15
Flare183jesse@jesse-desktop:~/Python Projects/bot$00:15
Flare183...00:15
Odd_Bloke'bzr push ...'? :)00:15
Flare183hold on00:15
Flare183sorry i screwedup00:15
Flare183screwed up*00:15
Peng_lifeless: FWIW, Launchpad hasn't been able to mirror https://code.launchpad.net/~lifeless/bzr/repository for a month.00:25
lifelessfail00:25
lifeless:P00:25
=== mw is now known as mw|out
loxsfolks, is there any permissions implemented in bzr itself?00:49
loxsbecause we are having a problem... one of my devs has read access to the main branch, but cannot co the trunk00:49
loxshttp://dpaste.com/88990/00:49
Odd_Blokeloxs: Have you checked FS permissions?00:50
bob2won't read-access via ssh (try to) take a lock?00:50
lifelessno00:50
loxsOdd_Bloke, they have read access00:50
loxsbob2, what do you mean by "take a lock"?00:51
Odd_BlokeWell, checkout implies commit access.  Does 'branch' work?00:51
bob2loxs: don't mind me00:51
loxshmm, I didn't know that, we'll try with branch00:51
Odd_Blokeloxs: Also, do they have execute permissions on .bzr?00:52
Odd_BlokeBecause if not then they won't be able to access anything under it.00:52
Odd_Bloke"chmod -R a+rX .bzr" or some equivalent is probably what you want.00:53
loxsyes, they have +x00:53
james_wbeuno: thanks00:53
Odd_Blokejames_w: Whereabouts are you based these days?00:54
james_wOdd_Bloke: Bristol00:54
Odd_Blokeloxs: And can they actually read that file via other means?00:54
Odd_Blokejames_w: Cool, I remembered that your old job was there, but didn't know if you were still there.00:55
james_wOdd_Bloke: yeah, no reason to leave yet00:55
james_wOdd_Bloke: how's work treating you?00:55
Odd_Blokejames_w: Eh, so-so.00:55
james_woh no, that will be over now won't it?00:55
james_woh, it's a year isn't it?00:56
Odd_Bloke9 months.00:56
Odd_BlokeI'm finding getting up in the mornings quite difficult.00:57
Odd_BlokeAnd there's rather more OpenOffice in my life than I'm entirely comfortable with.00:57
Odd_BlokeI don't really know whether I have issues with this job, or with 9-5 jobs in general, though, this being my first of more than 2 weeks.00:57
james_wOpenOffice should come with a health warning00:57
james_wyeah, I found 9-5 tough00:58
loxsyes, Odd_Bloke they can read the file when they do it via cat etc... and it raises the same exception when using branch00:58
Odd_BlokeWe're doing so much crazy stuff with OO.o.00:58
james_wthough I ended up working like 7-3 quite often so that I actually had an evening00:58
Odd_BlokeRanging from writing an automated presentation player to backporting OO.o 3 to Sarge. >.<00:59
james_wouch00:59
james_wmy sympathies00:59
Odd_BlokeThankfully I've mostly avoided the backporting.00:59
Odd_BlokeIt's also a little frustrating that I don't feel I'm working _on_ free software so much as I'm working _with_ it.01:00
Odd_BlokeWhich is nice, but this presentation player we're writing is going to be non-free.01:00
Odd_BlokeMaking it, IMO, a complete waste of my time.01:01
Odd_BlokeCertainly it's a far cry from stage diving. :p01:03
james_w:-)01:04
lifelessspiv: ping me when you're online please01:07
Odd_Blokejames_w: Anyway, the reason I asked where you were is that I have a friend at Bristol, and it'd be good to meet up for a drink if I ever get around to visiting him.01:07
james_wOdd_Bloke: sure, I'd like that01:08
Odd_BlokeCool.01:10
lifelessloxs: hi01:15
lifelessloxs: /home/bazaar/bloxs/trunk/.bzr/branch-format is the path reported in your error01:16
lifelessloxs: can you have one of the users try 'scp HOST:/home/bazaar/bloxs/trunk/.bzr/branch-format .'01:16
loxslifeless, thanks but we resolved it... typical administrator error... :)01:28
loxsthey had permissions to read the repositories... but they didn't have permissions to read the top /home/bazaar/ directory :)01:28
lifelessheh01:28
spivlifeless: pong01:43
spivlifeless: was online, just not looking at IRC very much!01:43
lifelessspiv: I wanted to know if my comments made sense etc01:44
lifelessspiv: the void was a tad disturbing01:44
spivlifeless: don't stare into the abyss ;)01:45
* spiv quickly rereads01:46
spivlifeless: so, I see a loop you added to fetch, although I don't grasp how it's deltaing a chain of inventories01:49
spivlifeless: the high-level description you gave makes sense, I just don't see the code.01:50
lifelessspiv: ah yes01:53
lifelessspiv: I lied apparently01:53
spivHeh.01:53
lifelessspiv: the loop would be something like:01:54
lifelessgrab the the inventory meta node for all the inventories01:54
lifelessplus one for any arbitrary inventory outside the set that the target has01:54
spivlifeless: _install_revision looks like it has added code related to this, maybe?01:54
lifelessthen do a set based difference on the node's pointers01:55
lifelessand repeat01:55
lifelessspiv: not really01:59
lifelessspiv: _install_revision has a inventory cache to get deltas, because it can insert deltas more cheaply than full inventories02:00
spivlifeless: thanks02:05
* spiv -> lunch02:05
=== ja1 is now known as jam
=== ja1 is now known as jam
lifelessspiv: the packer has no cache set02:34
lifelessspiv: you should chat more :>02:34
lifelessspiv: ugh, I hate lp's handling of attachments04:24
lifelesssend me the damn diff, biatch04:24
spivlifeless: http://rafb.net/p/9LQyFJ98.html04:36
spivlifeless: or do you mean email?04:36
lifelessspiv: lol I was ranting at lp04:36
lifelessat what it does04:36
lifelessnot at you04:36
spivOh, right :)04:36
spivYeah.04:36
lifelessI clicked to see the attachment04:36
lifelessand I commented too04:37
emmajanelifeless, careful or beuno will tell you to post a bug about LP. ;)04:44
lifelessemmajane: oh theres plenty of those already04:47
lifelessemmajane: :)04:47
emmajaneheheh04:47
emmajanehe likes it when you *attach* pictures. ;)04:48
gourmorning06:35
gouram i right that 'shelve' is moving into core?06:36
luksalready moved, as far as I know06:37
spivYep.06:39
gouryeah, i saw r3823...very nice06:39
gourfix for #293054 will go into 1.9 ?06:43
lifelessgour: its a new shelf, not the old one moved06:43
lifelessbug 29305406:43
ubottuLaunchpad bug 293054 in bzr "bzr fails with python2.6 and https missing sendall" [High,Fix committed] https://launchpad.net/bugs/29305406:43
lifelessgour: I don't know, it might, 1.10 for sure06:44
gourlifeless: but the new shelf provides the same functionality?06:44
lifelessdifferent06:44
lifelessmuch in common06:44
lifelessit can shelve more things06:44
lifelessbut some aspects are not as mature06:44
gouraha...still it's nice that plugin's functionality goes into core...06:45
* fullermd really looks forward to being able to shelve more things.06:46
fullermdA notable percentage of the times I've wanted to shelve, there have been renames or binary files involved.06:46
vilahi all07:27
vilagour: I doubt bug #293054 will make it into 1.9 but I'll try07:28
ubottuLaunchpad bug 293054 in bzr "bzr fails with python2.6 and https missing sendall" [High,Fix committed] https://launchpad.net/bugs/29305407:28
gourvila: thanks07:32
vilagour: you're welcome, your testing of python-2.6 support is very much appreciated :)07:33
gourvila: heh, python-2.6 is default in archlinux, so i didn't do any extra work :-)07:35
gour...except using bzr07:35
vilagour: which is exactly the point of having testers :) I had to rebuild a python-2.6 from sources to reproduce the problem, and a pycurl too (for different but related reasons) since my setup wasn't as clean as I thought, so indeed, it was harder for me to notice the problem07:38
gouri'm glad if i was somewhat useful in improving my beloved tool07:40
fullermdMan, I hate the half-assed VCS capability of wikis sometimes...07:51
eydaimonIs there a plugin or some such that allows emails to be sent out from the server when commits are made?07:59
lifelessthe bzr-email plugin; I *think* its been updated to work with commits as long as you're using bzr+ssh08:01
lifelessspiv: ^ do you recall?08:01
lifelesseydaimon: you can definitely just install it on each machine08:01
lifelesseydaimon: there is also a cron based plugin that can mail when a branch changes08:02
eydaimonok, thanks08:02
* fullermd figures he's spammed enough people for one night.08:45
spivlifeless: don't know, sorry08:47
* gour just re-read http://andrew.puzzling.org/diary/2008/July/29/rebase-criticism post and wonder whether there is scope for rebase in bzr08:59
gourwhat's happening with loom plugin? it looks like not much since 1.3...09:01
spivgour: there's a rebase plugin for bzr.09:03
spivgour: I just happen to think it's usually not the best option :)09:04
gourspiv: yeah, i did not go into looms yet, but example of selective merge is simple & good enough that i wodner why i'd need rebase09:07
dissonansI just merged a bunch of revisions from another branch using bzr 1.9rc1 and bzr-svn 0.4.14, but apparently the merge wasn't recorded09:08
dissonansfirst off, bzr st showed only straight modifications and no merge, then the "missing" command still shows the merged revisions as missing09:08
spivgour: the attraction of rebase is that it's a fairly simple mental model to work with09:08
gourspiv: heh, it seems my mind is at different wavelength then :-D09:09
spivgour: so if you are the sort of person that thinks in terms of "this branch would be better if revision #N was done differently" then rebase seems natural09:09
gourwhat is the price for it?09:11
spivWell, you lose the original history.09:12
gourand new merge will produce (more) conflicts?09:12
dissonanswhen you've merged, it's supposed to be indicated by "status" no?09:13
spivWhich impacts operations that use history, most obviously merge -- if someone else has branched off your original branch, then you rebase, now you have two branches that independently make similar changes.  Which means you've almost certainly created conflicts that you didn't have before.09:13
spivdissonans: right09:13
dissonanswell, it isn't :/09:13
dissonansI just confirmed09:13
spivdissonans: but we don't record merge history for cherrypicks yet09:13
gourspiv: yes, similar with doing unrecord in darcs after the patch went into wilderness?09:13
spivdissonans: how did you do the merge?  "bzr merge -r A..B"?09:13
dissonansspiv: ah hm09:13
dissonansyep, specific revisions09:14
dissonansthat's a problem09:14
spivgour: I'm not familiar enough with darcs, but that sounds likely.09:14
dissonansI know merge has worked as I expected, but maybe I wasn't cherrypicking09:14
spivdissonans: probably.  Or maybe the base of your cherrypick was already in the branch you were merging into.09:15
dissonansspiv: nah09:15
gourspiv: is it possible to record merge history when cherrypicking in bzr?09:15
gour(by bzr's design)09:15
spivgour: there was talk about how to support them at the March 2008 sprint09:16
spivI forget the details, but they're probably on the list somewhere.09:16
gourcool. cherrypicking-ala-darcs would be great09:17
spivIt would.  It's a pretty common request, unsurprisingly.09:17
dissonansshould I follow any other pattern to integrate changes from the trunk in my release branch then?09:18
crisbhi everyone.  has anyone got any tips about converting from an RCS like system (PVCS) to bzr?09:18
dissonanscan't see how to avoid it, and I kind of relied on having the merge history09:18
gourbtw, what is with the bug #109143 ?09:19
ubottuLaunchpad bug 109143 in bzr "hpss does not support ~ (tilde) for home dir access on bzr:// or bzr+ssh://" [High,Triaged] https://launchpad.net/bugs/10914309:19
spivgour: not enough people have complained about it recently ;)09:19
gourok, let me add myself to the list09:20
fullermdI knew I shoulda set up that cron job...09:20
spivgour: actually, you're the second person to mention it to me in the last week or so.  It's probably due to be bumped up to the top of my list of things to do...09:20
crisbwe want to convert to bzr and i'm thinking of moving just the head over then manually recreating any branches we had (PVCS has no concept of a whole project branch, just a file by file one) does that sound stupid?09:21
crisbi mean can i somehow change timestamps of commits?09:23
fullermdcrisb: I would suspect converting PVCS to CVS or SVN, and then going from there to bzr, would be the simplest thing to try...09:23
fullermd(since there are existing tools for both those paths out of PVCS, and both of those paths into bzr)09:23
crisbfullermd: yes sorry thats my plan, its just they dont give me anything very sane at the end of it if I leave it all up to the conversion tool09:24
fullermdMmm.  Yeah, if you started doing the sort of weird per-file stuff PVCS/RCS/CVS let you do, I can see that...09:26
crisbfullermd: so as we really dont want to end up with people having to know 2 (very different) tools we want to make a complete break from the past :) but do i have the ability to go in and fiddle about with the bzr repository when i'm making these manual branches from the historical stuff?09:28
fullermdYou can't change existing commits, no.  But you can certainly [through bzrlib; not through the CLI] set whatever attributes (including timestamps) you want on freshly created revisions.09:32
gourwhere can one find more info in regard to "Predefined formats for dumping version information in specific languages are currently in development." ?09:33
fullermdgour: "bzr help version-info"?09:34
gourfullermd: i mean if there is some work for other concrete language-formats like it's for 'python'09:36
=== kiko-zzz is now known as kiko-afk
* gour thinks (un)shelve is great stuff09:39
vilaso one can go from zzz to afk and hist IRC client noticed...09:40
vilaso one can go from zzz to afk and his IRC client noticed...09:40
gourhmm, cdiff prints in grey on white bg...how to fix it?09:42
NET||abuseuhoh,, i just ran bzr merge in my local svn working copy of a project i'm working on... i'm tired and think i just didn't think,, will this do anything bad?10:46
NET||abuseit says it's generating file id map at the moment.10:47
lifelessNET||abuse: just hit ctrl-C if you didn't want to do that10:52
NET||abuse.. well, doing a svn up on the working copy doesn't give out10:53
NET||abusesvn status shows up no new weird entries10:53
NET||abuseseems ok10:53
NET||abuseback in my bzr copy now10:54
fullermdAs I see it, the problem is that that project isn't in bzr   ;)10:55
NET||abusedid bzr merge to get changes from other people down, bzr log only shows rev 487, we're on 52010:55
beunojames_w, hey hey, happy birthday!10:56
lifelessNET||abuse: thats normal11:02
lifelessNET||abuse: revnos are per-branch11:02
lifelessNET||abuse: (by analogy, consider multiple svn repos being synced with svk; revno's are per repository there)11:03
lifelessgnight11:03
NET||abuselifeless: cheers. :)11:08
NET||abuselifeless: seeya11:08
=== Leonidas_ is now known as Leonidas
james_wthanks beuno11:36
RollyI have a live website that is a standalone tree. I want to allow someone remote read+write access to the repository (htdocs/.bzr/), but I don't want to give them any access to the working tree files (htdocs/) or in fact any path on my server's filesystem. What would be the quickest way to accomplish this?11:56
RollyOh and SSH / SFTP are out of the question11:57
awilkinsHoly monkey, why does this "bzr log -v" require 500MB of ram.....11:59
awilkinsIt's a rather large tree, but even so11:59
RollyI also forgot to mention I need some sort of authentication, even if it's rudimentary. I think that rules out "bzr serve"12:03
quicksilverI'm not aware of any other form of write access12:03
quicksilversince you've ruled out ssh, sftp and the smart server12:04
quicksilverwell, except bridging the filesystem to them somehow.12:04
RollyHm, but I've read that the smart server can be used with http12:04
quicksilveryou can't write over http.12:04
Odd_BlokeYou can, with the webdav plugin.12:04
Odd_Blokevila will know more.12:05
sorenHow can I tell a signed commit from an unsigned ditto?12:05
Rollyargh12:05
RollyI didn't see that mentioned in the docs, thanks12:05
vilabzr+ssh, bzr+http[s], webdav all provide various kind of authntication12:06
Rollyright I was just looking at authentication.conf12:07
vilawrong path12:07
vilaauthentication.conf is how you describe *your* credentials when accessing remote servers not how you want your local server to handle authentication12:07
RollyRight, I think I understand that. It's SSH/webserver/webdev/etc that provide the server-side auth12:08
vilaand if you install a smart server in your http server you *have* write access and you can use http[s] to handle authentication12:08
vilaRolly: yes12:09
RollyAh, you mean like with bzr-smart.fcgi or fcgi.py I can get write support?12:09
vilayes12:09
Rollyfabulous12:09
RollyIt's a little confusing at first12:09
vilaIf you feel you can make that clearer in the doc at any place, patches are welcome :)12:10
Rollyjust to be clear, using the smart server in the http server will just allow my remote user to just access the repository, yes? No filesystem access?12:11
Rolly(ignore that redundant "just")12:11
vilaRolly: that's the idea yes12:12
RollyCool12:13
Rollythe user reference definetely needs some clearing up, maybe I'll take a stab if I wrap my head around this12:14
vilaErr, wait, re-reading your description: access to htdocs/.bzr but no access to htdocs itself is a bit contradictory since the later is the working tree for the former12:14
vilaif you really want to separate the two just give your user write access to a different branch at a different place and merge/update locally what you want12:15
RollyI didn't mean literal filesystem access to htdocs/.bzr/, I actually meant "access to the repository"12:15
Rollylike with svnserve, you can serve a repository through svn:// and the users don't have filesystem access12:16
vilaIn that sense then yes if .bzr is a repository and not a branch my warning doesn't even apply12:16
RollyWell, when I "cd htdocs && bzr info", I get "Standalone tree,  branch root: ."12:17
RollyIn SVN terminology, htdocs/ is my repository _and_ my checkout. I need to give remote access to the repository but not the checkout12:20
vilaYou realize that if you give write access to your repo, even if the smart server doesn't update your working tree when your remote user commit, you will take his commits into account the next time you do bzr update ?12:20
Rollyyeah, that's what I want12:20
RollyI just need a firewall (me) to check missing revisions before I update12:20
vilaThen you'd better give him access to another branch from where you can pull or merge (IMHO)12:21
vilaThat will give you more control of your htdocs content12:22
vilaWhile taking his modifications will still be easy (even easier the day you disagree with some modification)12:22
RollyI see your point12:24
vilaThat's a usual setup where your user pull from your repository, push to a staging one and *you* pull or merge from the staging one acting as the gatekeeper (or firewall as you said)12:26
RollyHm, in what cases is that more convenient for the gatekeeper?12:27
Odd_BlokeRolly: In the case where you don't want some changes.12:29
Odd_BlokeBecause then you just don't pull, rather than having to perform acrobatics with the history of the branch.12:30
RollyBut in a production<->staging scenario, a bad commit can just be deleted (there isn't going to be a lot of activity on this repository, and no parallel coding going on12:30
Odd_BlokeA bad commit can be deleted, but should you be deciding the best way to do that, or should the developer?12:30
Rollyin this case, me12:31
Odd_BlokeIn that case, there's not a massive amount to be gained from pushing to a separate branch, except that it is: a) good practice, and b) more future-proof.12:31
Rollygotcha12:31
Rollyby the way, in the user reference, there is one mention of using an "http:// URL when a smart server is available via HTTP"12:33
Rollyeverywhere else, it talks about "bzr+http://". What is the difference?12:33
Odd_BlokeRolly: Where is that reference?12:34
Rollyhttp://doc.bazaar-vcs.org/bzr.dev/en/user-reference/bzr_man.html#hooks12:34
Rollyand then if you look here, it also mentions both protocols: http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#serving-bazaar-with-fastcgi12:35
Rolly"Now you can use bzr+http:// URLs..."12:35
Rolly"Plain HTTP access should continue to work..."12:35
Odd_BlokeHmm, I'm afraid I don't know.12:36
Odd_BlokeI've never set up smart HTTP access.12:36
RollyI'll just dive in and see what happens12:36
vilaRolly: the smart client probes any http server and revert to plain http when no smart server answers12:39
Rollyaha12:40
Odd_Blokevila: You can disable that behaviour using http+nosmart://..., right?12:41
vilaright12:41
Odd_BlokeAnd does the HTTP smart server give me any benefit on read-only branches?12:41
Rollya benefit would be speed, right?12:42
vilaOdd_Bloke: more and more :)12:42
Odd_BlokeRight, I wasn't sure if 'smart' meant 'I can write to this', or meant 'generally better in every way'.12:43
vilaand if you find a place where it is slower than raw http, file a bug12:43
vilathe later12:43
Odd_BlokeCool.12:44
Odd_BlokeI'll look into setting it up at some point.12:44
jmllifeless: *nudge* https://code.edge.launchpad.net/testresources/+activereviews12:49
=== kiko-afk is now known as kiko
loxshello, is there a way to version control ODT documents with bzr?13:35
gourloxs: odt is compressed xml or not?13:36
loxsgour, I have no idea13:36
beunoloxs, I don't thing there is a good way to do so ATM, no13:37
beunoit will version it as binaries13:38
gourloxs: it looks it's zipped xml content, so not the best candidate13:38
beunowhich isn't very good13:38
luksa good way to do what exactly?13:38
beunoOO has versioning built in13:38
beunoand you can plug VCSs into it13:38
beunobut I don't know too much abput it13:38
loxshmm, OO has versioning? interesting13:39
gourloxs: i decided to use reST markup for all my writings...it can be nicely versioned with bzr, and there is nice rst2odt converter13:39
loxsbut I suppose there is no good way for collaboration built in OO13:39
gourloxs: ...if reST markup satisfy your writing needs.13:40
luksloxs: what do you expect when you say 'to version control ODT documents'?13:40
loxsgour, the thing is that most of my contributors won't manage to do it13:40
loxsluks, version control and collaboration :)13:40
lukswhat does that mean?13:40
gourloxs: hmm, reST is so simple and one can write it in Notepad13:40
luksbzr can do it just fine, if you use my definition13:40
gourloxs: and using some bzr-gui it's easy for your contributors to commit and/or send you 'bundles' for merging13:41
* gour --> lunch.bbs13:41
loxsI'm afraid that I need rich formatting in a WSIWYG editor... so rest is not the best option, gour13:43
loxsit's not technical documentation, but medical one...13:44
Odd_BlokeWell, versioning ODTs in bzr won't be pretty.13:44
loxsand we need to collaborate on things like presentations etc13:44
Odd_BlokeOr, for that matter, much better than saving copies of the ODT, AFAIK.13:44
luksversioning binary files won't be pretty in any vcs13:44
luksbut as this question is in #bzr, I don't think that's the problem13:45
Odd_BlokeBut if you could get it in an intermediate format, then things might be better.13:45
loxsyeah, after all I can give up and use google docs :(13:45
loxsthe thing is that I want the docs "in-house" :)13:46
luksit's not like google docs can merge documents better than bzr13:46
jonnydeehi, when I try to push my branch to a shared repository via ftp protocol I get:13:47
jonnydeezr: ERROR: Transport error: FTP temporary error during APPEND /bzr-repo/.bzr/repository/upload/bh3t4m7b8vud2womzv46.fetch.Aborting. 451 /bzr-repo/.bzr/repository/upload/bh3t4m7b8vud2womzv46.fetch: Append/Restart not permitted, try again13:47
jonnydeeDoes anyone know what this means?13:47
luksjonnydee: your FTP server doesn't support APPEND13:47
luksjonnydee: which probably means you can't use it with bzr13:47
guilhembiweird... after a "bzr pull" of the latest bzrtools, all bzrtools command are gone (absent from "bzr help commands")...13:48
jonnydeewell, that's not good news :(13:48
Odd_Blokeguilhembi: What do you see in ~/.bzr.log?13:48
guilhembiOdd_Bloke: I see13:48
guilhembi'dict' object has no attribute 'register_lazy'13:48
guilhembiUnable to load plugin 'bzrtools' from '/home/guilhem/.bazaar/plugins'13:48
luksyou are using old bzr, upgrade to 1.913:49
guilhembion the screen, that's interesting... now updating to latest bzr.dev13:49
luksor downgrade bzrtools13:49
guilhembiluks: thanks, it's the solution13:49
jonnydeeI just asked our IT to create an ftp account for hosting bazaar branches and now the APPEND functionality should be the problem? ok, I see I will not be able to use Bazaar in our company... :(13:51
Odd_Blokejonnydee: :(13:52
Odd_BlokeDo you really only have FTP to access your servers?13:52
jonnydeethanks Odd_Block13:52
Odd_BlokeYou might want to start slapping your IT department around if that's the case. :p13:52
jonnydeewell there is also a windows network share...but this one is not reachable from our development-intranet network. the only server which is reachable from everywhere is our ftp server....13:53
jonnydeeok, anyway, thanks13:54
Odd_BlokeIt seems likely that a workaroubnd could exist (i.e. fetch remote file, append locally, push new file back).13:55
Odd_BlokeBut I don't know where append is used, so that might be prohibitive in terms of performance.13:55
luksI wonder what do packs need append for13:55
Odd_Blokejonnydee: Could you paste the .bzr.log section for the command run in question?13:57
Odd_BlokeOr, better, file a bug containing it.13:57
jonnydeeok, I will file a bug. Thanks for your attention.13:58
Odd_Blokejonnydee: No worries.  Sorry this didn't work. :(13:59
jonnydeeMaybe one day I will be able to use Bazaar in our development team. At the momen I can at least use it locally...14:01
=== sdboyer is now known as sdboyer|class
gourloxs: have you considered something like lyx (latex-front end)? it's wysiwym14:27
gourloxs: it can be nicely versioned, it has some collaboration tool integrated...14:28
loxshm, a good idea gour, thanks14:31
loxsbut that will solve only the "doc" needs, we still have to find a way for the presentations14:32
gourloxs: use latex beamer class for presentation and create presentation in pdf without worrying whether it can be presented or not ;)14:32
loxsthe thing is that the documents will be written by people who have never heard of latex14:33
gourloxs: check http://wiki.lyx.org/Examples/Beamer....well lyx hides almost all of latex stuff, it's like wysiwyg editor14:34
gourloxs: i was once burnt with binary format when working on one book and was not able to open it next day - program was crashing immediately...after that, i never wrote and save in binary format...only text formats (LaTeX, ConTeXt, reST....)14:36
loxsyet, I think it will be impossible to convert them to lyx.... I had gread difficulties to make them use OO, and I think it's impossible to change them any more :)14:36
Odd_BlokeThe LyX beamer stuff probably isn't good enough...14:37
gourOdd_Bloke: good enough for what? you mean OO has better features?14:38
Odd_BlokeSorry, good enough for people who don't want to know about LaTeX.14:39
Odd_BlokeI vastly prefer Beamer to any other presentation software, but always use vim for it.14:39
Odd_BlokeI do use LyX for other documents.14:39
gourahh, ok then ;)14:39
* gour is moving to ConTeXt instead of lyx/latex14:39
Odd_BlokeThat sounds suspiciously Mac-like.14:40
loxsnever heard of context14:40
jonnydeeOdd_Bloke: I've just filed a bug regarding my previously reported issue: https://bugs.launchpad.net/bzr/+bug/29470914:41
ubottuLaunchpad bug 294709 in bzr "Pushing to shared repo using FTP doesn't work: "Append/Restart not permitted, try again"" [Undecided,New]14:41
Odd_Blokejonnydee: Thanks. :)14:41
gourOdd_Bloke, loxs: check http://wiki.contextgarden.net/Main_Page14:42
gourit's kind a 'what-latex3-is-supposed-to-be-one-day'14:42
jonnydeeOdd_Bloke: You're welcome :)14:45
=== rockstar` is now known as rockstar
fynnHi. How do I serve a bzr repo off a dumb HTTP server?14:58
Odd_Blokefynn: Put it somewhere HTTP accessible.15:03
fynnOdd_Bloke: can I just put an empty directory with the .bzr dir inside it?15:05
=== kiko is now known as kiko-afk
Odd_Blokefynn: Just 'bzr branch <BRANCH> <PUBLICALLY ACCESSIBLE LOCATION>'.15:22
luksum, `bzr push <PUBLICLY_ACCESSIBLE_LOCATION>` instead?15:25
fynnOK, that would publish a working copy with its .bzr directory, right?15:35
NfNitLoopnot if the destination is remote.15:35
NfNitLoopbzr doesn't try to build a working copy when it pushes to remote locations.15:36
NfNitLoopfor performance reasons (I think?)15:36
fynnsounds like "a bare repository" in git...15:37
KeybukWhy isn't the bzr-svn in the PPA installable?15:41
Odd_Blokeluks: I don't know, I fail. :p15:54
Odd_BlokeKeybuk: I think mostly because PPAs don't keep old versions of packages around.15:54
KeybukOdd_Bloke: the version of bzr-svn in the PPA explicitly depends on the version of bzr *not* in the PPA though15:56
Keybukthat's kinda odd15:56
Odd_BlokeKeybuk: A newer version or an older version?15:56
Keybukit depends:15:57
james_wa new bzr-svn hasn't been uploaded yet15:57
Keybukbzr >= 1.6~, bzr << 1.8~15:57
fynnone more question: is there a way to publish a bzr repo on a dump HTTP server as a single file?16:01
Odd_Blokefynn: You could just tar it up.16:01
fynnOdd_Bloke: would people be able to pull directly from the tarred form?16:02
luksfynn: no16:03
=== kiko-afk is now known as kiko-fud
fynnOK, it's like git in that sense then.16:03
fynnyou need to publish the full .bzr tree if you want people to pull from it.16:03
luksright16:04
svenhi! when i run 'bzr visualize', it says "bzr: ERROR: No module named dbus  You may need to install this Python library separately.". but i have dbus installed.16:04
sveni'm using the current development branch of bzr, and the latest dbus that comes with ubuntu16:04
Odd_Blokesven: Check the appropriate part of ~/.bzr.log.16:06
svenOdd_Bloke, ok, here: http://pastebin.com/m38ce1a0316:07
fynnOK, not sure I got it:16:11
fynnhow do I clone to a bare repository in Bazaar?16:11
fynn("bare" == a repository without a working copy, essentially only the .bzr directory)16:11
luksfirst you need to fix your terminology16:12
luksyou can't clone a repository, you can get a copy of a branch16:12
luks`bzr branch PUBLIC_LOCATION`16:12
fynnOK, and how do I make a copy of a branch that contains only the .bzr, and no working files?16:12
luksI don't think you can do it directly, either setup a treesless local repository and run `bzr branch` or run `bzr branch` followed by `bzr remove-tree`16:13
luksor better, what are you doing?16:14
fynnpublishing a bzr repo over a dumb HTTP server.16:14
luksmaybe it's something git-specific for which has bzr a different solution?16:14
lukswhat's the use case for a not having the working tree?16:15
lukslocally, of course, it won't be on the server16:15
fynnthe server is not to house a working tree, because nobody is editing files on the server.16:16
fynnit's just a server to pull/push from/to.16:16
luksright, so it's a misunderstanding16:16
svenOdd_Bloke, did .bzr.log tell you anything?16:16
lukslet's say you have ~/project (where you work) and ~/public_html/bzr/project (where you want to publish the repo)16:16
luksnow, in ~/project you run `bzr push ~/public_html/bzr/project`16:17
luksand on another computer you run `bzr branch http://example.com/~user/bzr/project`16:17
luksthat's all16:17
=== ja1 is now known as jam
luksyou can replace ~/public_html/bzr/project with any bzr-supported procotol, e.g. sftp://example.som/home/user/public_html/bzr/project16:18
luksfynn: did that help or did I confuse you even more? :)16:19
fynnluks: "now, in ~/project you run `bzr push ~/public_html/bzr/project`" -> but wouldn't that recreate also the working tree of ~/project inside ~/public_html/bzr/project?16:20
luksfynn: no16:20
luksfynn: oops, yes if it's local16:20
luksfynn: in that case run `bzr remove-tree` in ~/public_html/bzr/project16:21
luksfynn: but if it's a different server, you won't need it16:21
=== bac is now known as bac_afk
fynnluks: right, and it looks like 'bzr remove-tree' in a branch makes it a "working-copy-less" branch, i.e. what git calls "a bare branch"16:22
luksfynn: yes, but in case of pushing over network if will not create the working tree16:22
luksfynn: it happens only if you push to a local location16:23
fynnso it's the same concept, and the same outcome, just that in bzr for local branching, it's a two-step process (push and remove-tree) while in git it's a single step with a switch (clone with the --bare flag.16:23
fynnluks: thanks a lot, all clear now.16:24
fynnluks: ah, there's another small different.16:24
fynn*difference16:24
luksnote that it will remember the "no working tree" flag, so if you push the next time it will be all fine16:24
* fynn nods16:24
fynnin git, if you create a bare branch in ~/public_html/bzr/project, ~/public_html/bzr/project would contain the contents of ~/project/.git directly.16:25
Odd_Blokesven: Sorry, I've been called away.16:25
Odd_BlokeSomeone else here should be able to help you though.16:25
fynnin bzr, it would contain ~/project, it's just that if you also did remove-tree, it would only contain .bzr inside, and no working files.16:25
svenOdd_Bloke, hmm, actually, from looking at the code it seems like you need not only dbus, but the bzr-dbus plugin. a bit hard to tell from the error message though16:28
svenhi! i'm having trouble using the latest bzr-gtk development branch, because it depends on the dbus plugin, which fails to compile for me with the message "libxml-2.0 >= 2.6.0... configure: error: No XML library found, check config.log for failed attempts". i have the version 2.6.31-dfsg-2ubuntu1.2 libxml2 package installed16:48
svenor rather, dbus fails to configure16:49
jamguilhembi: ping16:59
=== kiko-fud is now known as kiko
emmajanebeuno, ok there's your bug for today. :)17:43
* beuno looks17:44
beunoemmajane, I have some work done already which addresses that  :)17:45
emmajanewoo!17:45
emmajaneI should double check that the other bug that I commented on (that mpt commented on) makes sense as well...17:45
emmajaneit's sort of the same problem...17:46
beunoyeah, navigation needs re-working17:46
beunoit's high on my list17:46
emmajanecool17:46
emmajaneI think my biggest problem with LP is the navigation. And it's hard to interact with the site when I can't find things. :)17:47
* emmajane goes back to boring work now.17:49
beunoemmajane, so is mine!  :)17:49
* beuno goes back to fun work17:49
emmajane:)17:50
=== abadger19991 is now known as abadger1999
=== mvo_ is now known as mvo
guilhembijam: sorry I missed your ping; going to dinner now, bbl18:06
jamguilhembi: np18:06
jamJust wanted to talk about the upgrade stuff18:07
EarthLionhey how can i get a list of all the files that have been changed between revno x and revno y?18:24
beunoEarthLion, bzr log -r X..Y -v --short?18:25
EarthLionmany thanks18:26
james_w"bzr st -r X..Y" as well18:26
beunooh, status has revisionspec18:27
beunointeresting18:27
EarthLionbzr st -r 86..91 actually works better in this situation because i get a summary list rather then a revision to revision breakdown18:27
beunoyeah, james_w is much smarter18:28
james_wheh :-)18:29
beunoand today is his birthday, so we have to be extra nice to him18:29
* emmajane sings the birthday song to james_w 18:29
emmajanewithout tune, but with appreciation for his bzr cleverness. :)18:30
Peng_Oh, really? Happy birthday. :)18:31
* awilkins sends james_w a cookie18:32
* beuno avoids singing. Even on IRC18:33
james_wthanks everyone :-)18:33
* gour is singing...happy birthday to you, happy birthday to you...happy birthday dear james_w, happy birthday to youuuuuuuuuuuuuuuuuuuuuuuuuuuuu18:35
jamhey, let me join in... happy b-day james_w18:36
* gour sends nice cake to james_w http://www.iskcon.net.au/kurma/2008/02/20#a456618:41
NET||abusehi guys,.. just did a series of stuff for the first time with bazaar and svn, the process so far looks a little like the following=>  bzr branch svn+ssh://blah.... ; hack; bzr commit; hack; bzr commit; bzr merge; bzr commit; hack; bzr commit; bzr merge; bzr commit; and i'm finally trying to do bzr push; but it says it doesn't have a remembered location18:42
james_wgour: that is a very nice cake, thanks18:46
=== kiko__ is now known as kiko
emmajaneWhere can I find documentation on how to accept a proposed "code" change in launchpad? I'm going to be helping the training team, but I've never done this before...18:50
emmajanewe'll be using bzr to push changes to LP... and then ... what happens next?18:51
beunoemmajane, nowhere yet, it's work-in-progress18:52
beunobut, basically, you push, go to the branch, "propose for merge", do the reviewers dance18:52
beunoand merge18:52
beunoLP will mark it as merged when it seessss the tip of the proposed branch in trunk18:53
emmajaneyeah, it's the reviewer's dance that I need to know about.18:53
beunoah, well18:54
beunoby default18:54
beunothe review will be requested to the owner of the targetted branch18:54
gourjames_w: i'm glad you like it. i bought kurma's DVD set (11 disc) fulle of great vegat. dishes...18:54
emmajanebeuno, https://wiki.ubuntu.com/Training/KnowledgeBase <--- what happens after step 718:54
* beuno looks18:54
gourjames_w: see http://kurma.net/videos/index.html and bon appetit ;)18:55
* emmajane rewrote the instructions last night with popey. Suggestions welcome if I'm missing or wrong about anything. :)18:55
beunoemmajane, well, the reviewer bit really just concerns the reviewer, mostly18:56
beunoonce you file the merge proposal18:56
beunoyou have to wait for the reviewer to approve it18:56
emmajanebeuno, yup. and the reviewer instructions won't be included on this page...18:56
beuno(you don't really have to, it's a social constraint)18:56
beunoonce he reviewed it, you'll get an email saying so18:57
beunoand if he approved18:57
emmajanemy reviewer doesn't know how to use LP. I need to teach her. :)18:57
beunowell... usually the reviewer merges it into trunk18:57
beunoah, double the fun18:57
emmajaneyes :)18:57
emmajanewe taught the team how to branch the documentation from LP last night.18:58
emmajanenext we we're teaching how to push back up. but I also need to help out with how to accept merges.18:58
beunoah, I see18:59
beunohrm18:59
beunoI can send you something18:59
emmajanethat would be great. :)18:59
fynnis there a way to convert a git repo to BZR?19:14
lifelessfynn: yes, fastexport it19:23
lifelessthere is info on the bzr wiki19:23
fynnlifeless: thanks.19:25
thropeso the rc1-3 windows installer tortoisebzr seems to work - but I still can't find a way to add a file from the context menu19:40
thropeam I missing something?19:40
Odd_Blokebzr-buildpackage should be able to work out when I'm building a native package from the changelog, right?19:40
Odd_Blokejames_w: *catches up with scrollback* Happy birthday. :)19:40
lifelessgarh spammers19:46
=== bigjools-out is now known as bigjools
macohi, i want to use bzr on a directory.  i'm not sure which bzr ____ command to use though.19:56
james_wOdd_Bloke: thanks.19:56
james_wOdd_Bloke: it doesn't detect it from the changelog, you have to use --native or set it to native mode19:56
lifelessmaco: what is ____ ?19:56
lifelessOdd_Bloke: people have been known to upload as native non-native packages and vice versa19:57
macolifeless: well i *think* i have to put something after "bzr" since in the manpage there's like "bzr add" and "bzr branch" and all that...19:57
lifelessmaco: have you read the tutorial ?19:57
macoive only ever branched from things that were already in bzr19:57
macoum...where?19:58
lifelessmaco: http://doc.bazaar-vcs.org/bzr.1.9/19:58
lifelessif you've used bzr before, and you just want to know how to make a brand new project - just 'bzr init project-root'19:58
lifelesswhere project-root is the path to the existing project files (and if omitted defaults to '.')19:59
macolifeless: thank you19:59
emmajanemaco, http://doc.bazaar-vcs.org/bzr.1.9/en/mini-tutorial/index.html <--- skip to that one. the other pages are scary. :)20:01
macoaha20:04
macoemmajane: thanks, the part where it mentions +junk just explained the cryptic error i got trying to push to lp :P20:06
macothis "bzr: ERROR: Generic bzr smart protocol error: Permission denied: "/~maco.m/fusa"20:06
macodoesn't really explain much20:07
emmajanemaco, ahh20:07
emmajanemaco, have you told bzr about your LP account?20:07
emmajanebzr launchpad-login LPLOGINNAME20:08
macoemmajane: it was upset by "fusa".  i had to expand it to fast-user-switch-applet20:10
emmajanemaco, all solved now?20:10
macoyep20:10
emmajaneWOO!20:10
macostill dont think that error message is terribly helpful though20:11
emmajanemaco, that I can't help with :/20:11
lifelessjml: ^ is there are bug?20:11
emmajanemaco, are you on the mailing list? You could suggest an improved message...20:11
lifelessemmajane: its a launchpad error20:12
emmajanelifeless, heh. Good ol' launchpad.20:12
thumperwhat about launchpad?20:13
thumperlifeless: I feel like I've missed something...20:13
lifelessthumper: the error on an unknown project in a branch path20:13
thumperlifeless: oh, I'm about to talk to bkor about gnome20:13
lifelessthumper: permission denied is less informative20:13
thumperlifeless: on a conf call, want to join us?20:13
lifelessthumper: skype?20:13
thumperlifeless: my conf call number20:13
lifelessoh hmm20:13
=== mw is now known as mw|food
lifelessits 7am, got getting up things to do;20:14
lifelessif you'd like me there I'll join, but I don't think I'm critical20:14
thumperlifeless: if something comes up I may ping20:14
lifelesssure20:15
lifelessdo that20:15
NET||abusehmm, bzr push's back to the svn repo make a lot of notes come up in the rss report20:50
=== mw|food is now known as mw
lifelessNET||abuse: I believe that some of the default change->notification scripts are overly sensitive21:21
lifelessthere was a thread about this recently on the list21:21
NET||abusereally? hmm,21:22
lifeless(on the svn side)21:22
NET||abuseso on the server i can tone down the notification scripts21:28
NfNitLoopWoo!   I got the OK to do a presentation about bzr/bzr-svn here to try to convince people to adopt it.21:29
lifelesssweet21:30
lifelessNET||abuse: should be able to filter it out yes21:30
lifelessalso the first one is the worst AIUI21:30
NET||abuseNfNitLoop: if you do a full blown presentation, you should publish any notes or slides or even video the thing21:48
NET||abusevimeo rocks.21:48
NET||abusehmm, can you use bazar as teh server, and svn as a client?21:54
NET||abusein a mixed svn/bzr client base21:54
dobeyno, i don't think so21:59
dobeyyou can use bzr-svn to interact with an svn server, i don't think there is an svn-bzr to do the reverse22:04
NET||abusehmm, ok22:09
LarstiQwell, there is ish22:13
LarstiQbut it's not as mature as bzr-svn22:14
lifelessjam: let me know if you want to chat re: those things in the repository branch22:14
lifelessdobey: 'bzr svn-serve', a jelmer production22:14
dobeyoh22:15
dobeyn/m then22:15
dobeyi guess you can do that22:15
LarstiQdobey: in practicality I think you're right, unless I have severely missed development on svn-serve22:16
* LarstiQ goes to bed, ciao22:17
lifelessspiv: ping22:36
lifelessspiv: I've pushed22:36
lifelessspiv: can you send again?22:36
spivOk.22:37
lifelessthanks22:38
lifelessspiv: ping22:48
lifelessspiv: how are you generating that bundle?22:48
lifelessspiv: is it using your local mirror, o r my branc on people, or something else a gain?22:49
jampoolie, lifeless: What do you think about creating a bzr.dev mirror that would be in 1.9 format?22:49
jamMy back-of-the-envelope numbers show it being a pretty big win for me22:49
jamand even if I upgrade my local repo, I don't really get the benefit22:49
lifelessjam: I'm fine with that22:50
lifelessalternatively, wait for 1.10 or 1.11 and upgrade bzr.dev22:50
Peng_How often would the bzr.dev mirror be updated?22:50
jamlifeless: well, I think it would be good to have someone/some people actively using it before we make it primary branch22:50
spivlifeless: your branch on people'22:50
Peng_Better performance would be cool, but I'd use the most up-to-date repo instead.22:50
Peng_s/repo/branch/22:51
jamPeng_: well, we used to do the same thing for the weaves => knits and then the knits => packs upgrades22:51
lifelessspiv: its included changes to Makefile22:51
spivlifeless: "bzr send http://people.ubuntu.com/~robertc/baz2.0/repository/"22:51
jamI think it was updated each time pqm committed22:51
jamif not, < every hour22:51
Peng_That works then.22:51
Peng_How do the smart server and LP factor into this?22:51
Peng_I mean, what's optimal?22:52
jamPeng_: I'm not quite sure what you are looking for.22:52
lifelesstoday httpw/btrees is probably optimal pull22:52
jamI can't tell LP to mirror a branch into a different format22:52
lifelessfuture is smart server for sure22:52
jamand if I could, it still only allows 1 mirror of a public branch22:52
lifelessjam: I think peng is asking about performance and so on, not about making mirrors :P22:53
lifelessPeng_: lp will support 1.9 formats soon22:53
Peng_Right.22:53
jamPeng_: So in working on: https://answers.edge.launchpad.net/bzr/+question/3859922:53
jamI worked out that the new index format can often transmit < 1/8th the data the old format used22:53
Peng_Wow22:53
jamand that is when both are performing "optimally"22:53
jamwhich the new format has a much better time getting to22:54
jamthe big issue is log2(N) for bisection, versus log100(N) for btree22:54
jamboth are logarithmic, but the constant factor is a big deal22:54
Peng_How relevant are btree indexes when pulling over the smart server? Do they even get accessed over the vfs?22:55
lifelessPeng_: today, they are directly read22:55
Peng_lifeless: FWIW, I wrote a trivial patch to work around one Python 2.6 warning in bzr-search. (I don't know if there are others.) http://bzr.mattnordhoff.com/loggerhead/bzr-search/py2.6/22:58
* Peng_ shrugs22:58
* fullermd can't help thinking that SS VFS support was a mistake...22:58
Peng_heh22:58
lifelesshttp://bzr.mattnordhoff.com/loggerhead/bzr-search/py2.6 is permanently redirected to /loggerhead/bzr-search/py2.6/changes22:58
lifelesshttp://bzr.mattnordhoff.com/loggerhead/bzr-search/py2.6/ is permanently redirected to http://bzr.mattnordhoff.com/bzr/bzr-search/py2.6/22:59
Peng_:D22:59
Peng_Oh.22:59
Peng_The bzr branches are at /bzr and Loggerhead is at /loggerhead. I did a small hack to redirect /loggerhead/.../.bzr/ to /bzr/.../.bzr/, but I guess it wasn't enough for everything.22:59
lifelessPeng_: oh it worked23:00
lifelessjust a bit, circuitous23:00
lifelessPeng_: anyhow, my osutils has no md5 symbol23:00
Peng_It's rather new.23:00
lifelessPeng_: right, so this will break compatibility with older bzr's23:00
Peng_Yeah.23:00
Peng_Might be better to live with the warning or do a try/except ImportError yourself.23:01
lifelesstry:23:01
lifeless    from bzrlib.osutils import md523:01
lifelessexcept ImportError:23:01
lifeless    from md5 import new as md523:01
lifelessfrom bzrlib.osutils import split_lines23:01
lifelessseems to work, except jam's index changes cause the whole test suite to barf on the lower range map not being parsed23:02
lifelessPeng_: future reference, please put something in NEWS :)23:03
spivlifeless: I've done another send, it might work better for you23:03
jamlifeless: ?23:04
lifelessPeng_: how do you prefer your name in NEWS - Matt Nordhoff ?23:04
lifelessjam: https://bugs.edge.launchpad.net/bzr-search/+bug/29390623:04
ubottuLaunchpad bug 293906 in bzr-search "suggestion failure on some indices" [Undecided,New]23:04
Peng_lifeless: Oh. Yes.23:05
Peng_jam: Nice job on your "back of the envelope" calculations.23:06
Peng_Might be useful to put them in the docs somewhere.23:07
jamlifeless: ah, sounds like you need to switch over to _nodes from time to time.23:08
jamthough I thought you were using btree indexes for bzr search anyway23:08
lifelessjam: no, I need to implement key-element-prefix-iteration to do that23:09
lifelesssearch is damn fast anyway, because it's use pattern doesn't fragment index buffers23:09
lifelessjam: interestingly, using _nodes is probably going to be slower in some cases here :P - because the parsed key map is sorted23:11
lifelessjam: so what I'll probably be doing is backing out your heuristics in the subclass23:11
jamlifeless: anyway, I'm done for the night23:12
lifelessjam: sleep well23:12
lifelessspiv: thanks, commit+pushing23:14
lifelessspiv: it is pushed btw23:26
=== mw__ is now known as mw

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