/srv/irclogs.ubuntu.com/2008/07/29/#bzr.txt

jelmerlifeless: ping00:29
lifelessjelmer: hi00:41
jelmerlifeless: Any chance you can sponsor the initial upload of bzr-upload or bzr-avahi to Debian ?00:41
jelmerJeff has promised to upload bzr-stats00:42
lifelessI'll see what I can do; I'll need to review the package yadayadayada00:42
lifelessis the bzr-avahi you've packaged comaptible with bzr-dbus ?00:42
jelmerafaik yes, but I'll double check00:44
jelmerbzr-upload has already been reviewed once and uploaded to NEW but was accidently uploaded without source package00:44
lifelessahaha00:45
igcmorning00:47
jelmerHi Ian00:48
=== sdboyer is now known as sdboyer|bowlingY
=== sdboyer|bowlingY is now known as sdboyer|bowling
abentleylifeless: ping01:18
lifelesspong01:20
abentleylifeless: Have you seen my fetch patch?01:21
lifelessI didn't get to reading it yesterday; it sounds conceptually straight forward01:21
lifelessI'd kind of like to remove all fetching via Packer and instead just use Packer for auto-pack, reconcile, full-pack01:22
abentleyI am concerned that it may not be enough.01:22
lifelessbut I don't know that the performance is stable enough through the generic code path yet01:22
abentleyThe packer makes sure that all the compression parents are present.01:22
lifelessin autopack ?01:22
lifeless(insert_record_stream also checks for compression parents)01:23
abentleyI'm not sure.  That's what I'm worried about.01:23
lifelessI think thats a likely hole. dammit01:23
lifelessuhm01:23
lifelessI think that the check for existing parents should go through the relevant VersionedFiles attributes' graph object01:23
lifelessthat would solve it comprehensively01:24
lifelessor something ~= to that01:24
lifelessI need to pop out for a few minutes01:24
lifelesswill ping on return01:24
abentleylifeless: Yes, though it makes me wonder whether the packer should be doing it at all.01:24
abentleylifeless: cool01:24
lifelessk01:43
jelmerpoolie, ping02:42
* jelmer wonders if he's running into a lot of bugs today or just grumpy..02:44
jelmerautoppa doesn't work for me yet; is there perhaps an Ubuntu user who could help upload bzr-svn to ppa?02:45
lifelessjelmer: is it really ubuntu vs debian? or something else?02:47
jelmerno, it's just several issues in autoppa02:49
jelmerseveral minor things that scared me a bit and one thing that actually prevents me from using it02:52
jelmerI think for the time being it's probably best if somebody else (perhaps the same person who uploads bzr to the ppa) can upload bzr-svn to the ppa02:53
jelmerThis is just not my day..02:54
jelmerssh: connect to host bazaar.launchpad.net port 22: Connection refused02:55
spivjelmer: eep!02:55
jelmerah, appears to be back now02:57
lifelesspoolie: ^02:59
* igc lunch03:00
lifelessthumper: I want - http://bzr-playground.gnome.org/.mirror-log for launchpad.net03:02
jelmerlifeless: aol03:02
pooliejelmer, pong03:13
pooliejelmer, i can do that upload, can you point me at the packaging branch03:13
jelmerpoolie: Sure, it's at http://bzr.debian.org/pkg-bazaar/bzr-svn/unstable/03:13
pooliei'm working today on your bug re being unable to branch from bzr-svn03:14
jelmerpoolie, ah, cool03:14
pooliei guess there is no point packaging it into the ppa until that is fixed03:14
pooliewhat else are you hitting?03:14
poolieoh, and gmail is down too03:14
pooliewell, what a productivity boost :)03:15
jelmerpoolie, Yeah, that doesn't make much sense, indeed03:15
jelmerpoolie: What bugs am I hitting in autoppa you mean?03:16
poolie11:44  * jelmer wonders if he's running into a lot of bugs today or just grumpy..03:16
pooliebut i see the context now03:16
pooliei wasn't sure if you were referring to bzr or autoppa03:16
jelmerI just filed 6 additional bugs on autoppa03:17
jelmerand then I hit some open bugs in bzr03:17
jelmer(already reported though)03:17
jelmerpoolie: if there's anything I can do to help with bzr-svn in ppa, please let me know03:18
pooliejelmer, for bzr i was just packaging and uploading it by hand03:19
jelmerpoolie, the packaging branch should build without problems with bzr-builddeb03:19
poolie(the method is in doc.b.o)03:19
pooliethis is very low tech03:19
jelmerpoolie: I did that for a while, but it's too much overhead for me to also upload to PPA03:23
jelmerautoppa seemed like a nice way to deal with the multiple distributions you have to upload to03:25
lifelessjam: ping03:25
jelmerI did uploads of bzr-stats, bzr-rebase, bzr-gtk and bzr-svn to some distributions on ppa for a short while but that was just too much work03:25
lifelessjam: what mail client are you using? (It seems to quote everything everytime)03:26
* jelmer gets some sleep03:27
mwhudsonbeuno: http://bazaar.launchpad.net/~bzr/bzr/trunk/files :)03:28
lifelessnice03:30
lifelessbkor: ^03:30
spivmwhudson, beuno: hooray!03:30
pooliesweet!03:31
jelmerooh, shiny (-:03:34
=== sdboyer|bowling is now known as sdboyer
lifelessspiv: is https://bugs.edge.launchpad.net/bzr/+bug/180996 of interest to you?03:51
ubottuLaunchpad bug 180996 in bzr "bzr checkout fails with 'No buffer space available'" [Undecided,New]03:51
spivlifeless: yes, thanks03:57
=== stickwithjosh is now known as joshuablount
Peng_Hmm, that theme is a little different.05:04
rockstarspiv, I effing LOVE your latest blog post05:21
spivrockstar: thanks :)05:21
AfCspiv: uh, Andrew, something I don't follow from your excellent essay:if you use `bzr merge -r X..Y` you still have the same problem as rebase - new revisions are made, and if someone has branched off of the old revisions they will still be on a different branch that has no relation to the new hotness one.05:30
AfCThis "discards the real history" if the new branch becomes the published mainline, no?05:30
spivWell, the example where I used -rX..Y, X is present so the revision history would be attached.05:31
spivI could have used -r..Y I guess.05:31
pooliejml, thumper, ping?05:32
jmlpoolie: hi05:32
jmlpoolie: what's up?05:32
pooliejml, about lp stacking, briefly05:32
pooliei wanted to let you know i'm working on the two bugs found in stacking betas, being robert's one about stacking on a branch that is later upgraded05:33
poolieand jelmer's about it breaking branching from bzr-svn05:33
spivSo in the example I gave things Just Work as they should, but cherrypicking in general is still a problem.05:33
pooliehow is it on the lp side?05:33
jmlpoolie: pretty good right now.05:33
RAOFJust to check; the format for --fixes is --fixes=lp:123456, right?05:33
jmlpoolie: you've seen abentley's patch?05:33
jmlRAOF: yes.05:34
jmlRAOF: feel free to poke me into writing better docs at some point05:34
pooliealso, jml, which one?05:34
RAOFjml: Ta.  Maybe I'll file a documentation bug.05:34
AfCYou say present... but it when you do a cherry pick like that the _revisions_ (if not the text delta) and their history are not present [or is there some magic flag to bzr log|viz I'm missing out on?]05:34
AfCspiv: ^05:34
RAOFjml: Heh. I'm too slow :)05:34
jmlpoolie: I'll look it up.05:34
jmlpoolie: [MERGE] Fetch into stacked branches works correctly05:35
* AfC notes that this is the central problem he has been grappling with since the beginning of Bazaar, and the perennial topic of his questions, most recently in the email titled "There And Back Again" to the mailing list.05:35
AfC{shrug}05:36
jmlpoolie: without that, default stacking is unusable05:36
luksAfC: the example was about grouping a branch into fewer commits, not about cherry picking05:36
luksAfC: if you chery pick a revision, and the parent revision is not present in the target branch, the history won't be saved05:36
AfCluks: no, I get that, but the example also claimed "without losing your history" and as far as I can tell, X..Y cherrypicking has exactly the same [adverse] properties as rebase does, future-wise.05:37
luksAfC: `merge -r X..Y` with X present in the branch is an equivalen of `merge -r ..Y`05:38
AfCluks: as a means of submitting patches to another branch [ie, upstream or whatever] then it's all good, no question there05:38
luksis that more clear now?05:38
luksit's not cherry picking, it's "merging up to revision Y"05:38
AfCAh, I'm accustomed to the X-not-present case.05:39
AfC(Andrew did start at revision 0 in his essay, I certainly grant you that)05:39
luksbut yes, cherry picking and rebasing have the same problems05:40
luks(and also similar solutions, that's why bzr-rebase provides `bzr replay`)05:40
spivAfC: I see luks has already clarified things, but you can run the shell script at http://rafb.net/p/34dlJk37.html and then use "bzr viz" on the result if you're still curious :)05:46
jmlpoolie: sorry, I got distracted05:46
jmlpoolie: where were we?05:46
AfCspiv: no, I get it. You were starting from 0 which is "X already in branch"05:47
spivRight.05:47
AfCspiv: (and I was playing along at home already)05:47
spivCherry-picking with history would be great to have, for obvious reasons.  But you already know that :)05:48
AfCspiv: in view of the fact that we are all actually talking about the same thing, I would really appreciate your thoughts about the two options in that email I sent last week if it strikes your fancy that you have anything to say on the question05:48
spivI'll take another look.05:49
AfCmost kind05:49
igcspiv: thanks for the InventoryEntry review06:03
igcspiv: can I confirm you're ok with it landing as is and for me to tweak it later as part of some other work in that area?06:03
igcI'm not sure a registry is worth the complexity it adds right now personally06:05
spivigc: I am06:05
igcspiv: thanks. I'd liked the feedback btw and I'll incorporate you're thinking when I add some tests in that area soon06:06
igcs/you're/your/06:06
pooliejml, me too06:20
pooliejml, we were going to review blockers to stacking on launchpad06:20
pooliei'll read aaron's patch06:20
poolieis there anything else aside from that?06:20
jmlpoolie: not that I'm aware of.06:20
jmlpoolie: I'm currently testing my branch locally.06:21
pooliewhich branch is that?06:21
jmlpoolie: my launchpad branch that enables makes use of the in-development bzrlib stacking features.06:21
pooliespiv, how is memory usage with bzr+ssh in 1.6b?06:25
spivpoolie: not obviously worse than 1.5 IIRC.  I don't know of any big memory issues that are due to HPSS rather just bzrlib in general.06:28
alecwhA friend and I are working on a project, and we have a central repository where we both push/pull from. There is one file, /inc/config.py, that contains database info, etc etc. Now, when I push to the repository, it will change the config.py file, so that when my friend pulls, HIS config.py is changed, therefore messing up his database credentials. Is there a way to include config.py in the version control, but stop it from being changed on the 06:28
pooliealecwh: not at present, but there is some discussion recently about letting you persistently mask in your working tree what things should be committed or not06:29
alecwhDoes git have a feature like this?06:30
poolienot that i know of06:30
alecwhOkay, so for the time being, my friend and I should just try to have identical databases and credentials?06:31
pooliealecwh: how about if you put into that file something like this06:32
poolie'from config_local import db_user, db_pass, db_url'06:32
poolieand then have a config_local.py that's not versioned06:32
poolieor you could for example wrap that in a try/except block06:32
alecwhyeah...06:32
alecwhpoolie: thanks, much appreciated06:33
poolienp, hope that helps06:33
jmlpoolie: so, according to abentley and lifeless, it's likely that autopack won't work on stacked branches.06:37
jmlpoolie: I would consider this a blocker for Launchpad.06:37
abentleypoolie: Thanks for your review, though.06:38
poolieheh06:38
pooliewhat will happen when it runs?06:38
spivjml: add "for b in $branches; do bzr pack $b; done" to a nightly cron ;)06:38
poolieit won't repack the underlying branch?06:39
mwhudsonspiv: i knew we could rely on you!06:39
pooliemwhudson: it would be really nice as part of the scalability work to run06:39
spivmwhudson: thanks!  I'll be here all week... ("here" == "not in NZ, so you can't hit me")06:39
poolieto be able* to run pack/check/upgrade etc06:39
mwhudsonspiv: jml will be back in punching range sooner or later06:40
mwhudsonpoolie: i'm not sure how that's part of the scalability work, tbh, but yes06:40
abentleypoolie: It will raise errors.RevisionNotPresent on autopack.06:41
pooliei saw it as connected through being part of looking after a large collection of branches,b ut let's not get hung up on it06:42
pooliebecause autopack is trying to repack things in the underlying packs06:42
berto-anyone familiar with this error when trying to bzr branch an SVN repo via https:  error: (65, "necessary data rewind wasn't possible")06:45
berto-bzr-svn is compiled against subversion 1.4.406:46
spivberto-: sounds dimly familiar, maybe an interaction with pycurl if you have that installed?06:47
berto-spiv: yes, pycurl is installed.06:48
berto-spiv: though a standard curl request via HTTPS to a file in the svn repo works fine.06:49
spivberto-: google finds https://bugs.launchpad.net/bzr/+bug/241698 and https://bugs.launchpad.net/bzr/+bug/20773406:51
ubottuLaunchpad bug 241698 in bzr "POST to authenticating proxy causes "necessary data rewind wasn't possible" error" [Undecided,New]06:51
spivberto-: both when bzr tries to probe for a bzr+http service on an http:// URL when pycurl is installed06:51
spivberto-: possibly using "svn+https://" or "nosmart+https://" might workaround it.  As would uninstalling pycurl :/06:52
berto-hmm, can't uninstall pycurl.  i need it for other projects.  i'll try svn+https//06:53
berto-promising ...06:53
spivA hack would be to do "mkdir /tmp/disable-pycurl; echo raise ImportError > /tmp/disable-pycurl/pycurl.py" then use "PYTHONPATH=/tmp/disable-pycurl bzr ..."06:57
spivBut if svn+https works that would be easier :)06:57
berto-spiv: hehe, clever.  but, it looks like svn+https is working.  i've had luck branching svn repos, the question is will i be able to push changes back up.  i'll test that as soon as this is done.07:10
berto-looks like i'm going to have to upgrade to svn 1.5 for this to work ...07:23
alecwhAre there any notable projects that use bzr exclusively?07:24
lifelessjml: autopack not working would be a bug07:24
lifelessjml: Its on my short list to look at closely07:24
berto-alecwh: http://bazaar-vcs.org/WhoUsesBzr07:24
lifelessjml: if we extend the work poolie is already doing to make inventories never delta across a repo boundary autopack is guaranteed to work07:25
alecwhberto-: thanks!07:25
jmllifeless: cool.07:25
lifelessspiv: https://bugs.edge.launchpad.net/bzr/+bug/24688007:33
ubottuLaunchpad bug 246880 in bzr "reconcile not converting deltas to full texts appropriately" [High,Triaged]07:33
lifelessspiv: if you could eyeball that; reconcile bug I think07:34
* spiv balls it with eyes07:34
lifelesspoolie: I'm calling it a day; been sneezing and $hit all day - asthma etc are all playing up07:38
spivlifeless: hmm.07:38
spivlifeless: before you go, care to explain this bug a little more for me, to make sure I understand it?07:38
spivlifeless: (feel free to say "no")07:38
lifelessspiv: sure07:39
lifelessI've put my understanding to date in the topic07:39
lifelessbzr reconcile fails to reconcile the branch07:39
spivYeah, it's a bit hard reassembling the diagnosis from a series of bug comments, it's a bit like a stream-of-consciousness :)07:40
poolielifeless: sure, i hope you feel better soon07:40
lifelessspiv: so reconcile fails07:40
lifelessits meant to do 'oh thats a delta on a text we would not fetch so make it a full text'07:40
lifelessbut its not doing that07:40
lifelessfetch fails because there is a delta on a text that is not fetched07:41
spivAnd it has enough info to assemble a full text, somehow?  (I guess so, because iter_file_bytes works)07:41
lifelessjml: btw is there a bug open on lp to have a 'remirror from scratch please' ?07:41
poolielifeless: i've just filed bug 252821, is there anything else you can add to it?07:41
ubottuLaunchpad bug 252821 in bzr "autopack fails with RevisionNotPresent on a stacked repository" [Undecided,New] https://launchpad.net/bugs/25282107:41
lifelessspiv: yes, because the text chain (D1 and FT) are present07:41
lifelessspiv: but the revision D1 is not present, only the text is07:42
alecwhIs there a service for bzr that will notify the freenode channel when a commit has been made? Something like CIA agent?07:42
alecwhhttp://cia.vc07:42
jmllifeless: umm, no, I don't think so.07:42
lifelesspoolie: as I said above the easiest fix is to just always ensure we have the fulltext in the local repo07:42
jmllifeless: no one has asked for it yet.07:42
poolieoh is it the same bug?07:42
poolieas for upgrade07:43
lifelesspoolie: its the same situation causing it07:43
lifelessit seems to me we can save on code by just using whatever fix you do for inventories to control file texts as well07:43
spivAh, right.  So reconcile is probably being tricked by the lack of a revision, even though there is a text from that revision present (and necessary)?07:43
jmllifeless: I'll note that Launchpad actually has pretty awesome search nowadays07:43
lifelessjml: herewith a request07:43
lifelessjml: concretely I'd like reconcile operations to propogate to the mirror07:44
lifelessjml: and potentially other deeper voodoo; but reconcile would do for now07:44
lifelessspiv: I think reconcile is being tricked somehow yes07:44
lifelessspiv: all I really know is that:07:44
lifelessthe text (ID, D1) is reported as missing07:45
lifeless(ID, D2) is compressed on (ID, D1)07:45
lifeless(reported as missing by fetch/reconcile)07:45
lifeless(ID, D1) is compressed on (ID, FT)07:45
lifelessD1 and FT revisions are not present07:45
spivRight.  Ok, I think I grok the situation.  Thanks!07:46
lifelessso reconcile should turn D2 into a FT07:46
jmllifeless: so, a workaround is to change the branch format07:46
lifelessbut its not07:46
lifelessand its not copying D1 either (which is correct), but that leaves D2 as unreconstructable after the reconcile which is why it fails. or something like that. DUnno.07:47
lifelessjml: yes. ugh.07:47
mwhudson>:)07:47
spivlifeless: right.07:47
jmllifeless: can you please file a bug report for this?07:48
astrechi all07:50
jmlg'night all.07:52
astrecq'n about bzr-svn: it has built off trunk without complaint, but tells me: Unable to load bzr-svn extensions - did you build it?07:52
lifelessok, gone07:52
astrecthis is bzr 1.6b307:52
astrecanyone else seen this?07:52
lifelessspiv: I've uploaded the tarball if you are interested; I can probably look at it at some point myself too07:53
lifelessastrec: you've run make ?07:53
lifelesshmmm, really must go - sorry07:53
astrecyeah, run make07:53
astrecno errors07:53
berto-spiv: svn+https:// is finally working; took a few tries and a ton of patience.  after ~10 minutes, it finally started downloading revisions from the svn repo.  50/1188 so far ... :\08:00
astrecok, so i add it to the pythonpath08:00
berto-astrec: what platform are you on ?08:01
berto-astrec: i just had that error on OS X, ended up building svn from source.08:01
astrecsorry, OS X  10.5.408:01
berto-are you using the built-in svn ?08:01
astreci've tried the binary suggested in the doc, and macports. all svn 1.5.108:02
berto-i built from svn source b/c of this: http://samba.org/~jelmer/bzr-svn/FAQ.html#i-am-unable-to-access-a-repository-that-requires-user-password-authentication-or-uses-self-signed-ssl-certificates08:02
astrectrying to import the plugin from python yields: http://pastebin.com/m196cc42708:03
berto-astrec: you have apr in /opt08:03
astreci do08:04
berto-mine linked from apr in /usr/lib and it worked fine.  that seems to be your problem.08:04
berto-oh, /opt must be where macports puts svn, eh?08:04
elmargolHow can I pull a single revision of a branch?08:04
berto-astrec: i can help you build from source, that will probably clear things up for you.08:04
astrecthat would be great!08:05
spivelmargol: do you mean make a branch/checkout without grabbing the whole history, or something else?08:05
elmargolspiv, I have found branch containing a fix to my branch. And I need to somehow merge this change in08:05
berto-astrec: ok, cool.  for stuff i compile myself i put it in ~/local08:07
astrecberto-: same08:07
berto-so, you can: mkdir -p ~/local/src08:07
spivelmargol: ah, so you want to merge rather than pull08:07
berto-cd ~/local/src08:07
berto-svn export http://svn.collab.net/repos/svn/trunk svn08:07
berto-astrec: basically follow this, but change the configure line: http://bazaar-vcs.org/BzrForeignBranches/Subversion?action=show&redirect=BzrSvn#building-from-source08:08
spivelmargol: "bzr merge -r 123 OTHER_BRANCH" will merge all changes up to r123, or "bzr merge -c 123 OTHER_BRANCH" will just grab the changes from one revision.08:08
berto-my configure line goes like this:08:08
elmargolspiv, thx08:08
berto-./configure --prefix=${HOME}/local --without-apxs08:09
spivelmargol: if you use -c, you should be aware of http://doc.bazaar-vcs.org/latest/en/user-guide/index.html#pseudo-merging08:09
berto-astrec: make-check-swig-py is not necessary anymore as bzr-svn doesn't use swig anymore08:09
spivelmargol: (cherry-picking individual changes rather than full branches doesn't copy the revision history for those changes, so later merges are likely to have spurious conflicts)08:10
astrecberto-: lol... i tried compiling it earlier in the day and make-check-swig failed so i gave up08:10
berto-astrec: hehe.08:10
spivelmargol: also, "bzr help merge" will give you lots of options :)08:11
astrecberto-: compiled. so what did u add to your site-packages?08:21
berto-astrec: cd ~/.bazaar/plugins/svn08:22
berto-look for the list basedirs; mine is on line 6908:22
berto-add '/Users/<username>/local' to the front of that list, replacing <username> with your username, of course.08:23
astrecberto-: i've been here before: http://pastebin.com/m5b204f5f08:26
astreci have some strange issue with apr08:26
berto-astrec: me too. setup.py line 43, put apr-1-config first.08:27
astrecberto-: anything else? i get the same error08:30
berto-astrec: run: which apr-1-config08:30
astrec"/usr/bin/apr-1-config"08:30
berto-astrec: you are getting apr-config not found?08:32
astrecberto-: no, it's in /usr/bin08:32
berto-as the error.08:32
berto-and you changed the cmds line to look like this:         cmds = ["apr-1-config", "apr-config"]08:33
astrecno, that's not the error. i did change the cmds. error i get is: ld: library not found for -lapr-108:34
berto-astrec: can you paste the last compile line?08:34
astrecgcc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/client.o build/temp.macosx-10.3-i386-2.5/editor.o build/temp.macosx-10.3-i386-2.5/util.o build/temp.macosx-10.3-i386-2.5/ra.o build/temp.macosx-10.3-i386-2.5/wc.o -L/Users/cam/local/lib -lsvn_client-1 -lsvn_subr-1 -o build/lib.macosx-10.3-i386-2.5/bzrlib/plugins/svn/client.so -L/usr/lib -lapr-108:35
markhis bzr likely to use the python 'compiler' package at runtime, or can I safely exclude it from the windows binaries?08:37
berto-astrec: you have /usr/lib/libapr-1*.dylib, right?08:37
astrec"/usr/lib/libapr-1.0.2.7.dylib/usr/lib/libapr-1.0.dylib/usr/lib/libapr-1.dylib"08:38
berto-astrec: why are you getting temp.macosx-10.3 ?08:38
berto-which python ?08:38
astrecberto-: not system. /Library/Frameworks/Python.framework/Versions/Current/bin/python08:39
berto-astrec: that's scary.  you're using an old version of python.08:40
berto-well, maybe not old, rather not compiled specifically for leopard.08:40
astrecyeah, not old: Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53). but not compiled for leopard08:40
berto-astrec: try this: /usr/bin/python2.5 setup.py build08:40
berto-astrec: i had MacPython on this system and had all sorts of issues.08:41
berto-is there a reason you need 2.5.2 vs. system python, which is 2.5.1 ?08:41
astrecberto-: only to add a bunch of packages to it08:43
astrecberto-: that worked btw.08:43
berto-oh, i see, it's from darwin ports or something, huh?08:43
astrecno, it's macpython from python.org08:43
astreci think i will use system for bzr08:43
berto-hmm, where are the extra packages coming from, then?08:43
berto-astrec: yeah, just change the shebang or add an alias.08:44
astrecthey're part of our app08:44
berto-astrec: ok.08:44
astrecwill do. thanks for your help berto-08:44
berto-no problem, enjoy.08:44
kiorky jelmer toward bzr svn i didnt upstream you that : http://rafb.net/p/oKgQ9h69.html which facilitate compilation in non standart envs.08:51
kiorkyoups08:51
kiorkyjelmer: http://rafb.net/p/wrinSS26.html08:55
lukshm, the new loggerhead theme confuses me09:55
jameshluks: then file bugs09:57
luksit's more usability things, than real bugs09:57
jameshluks: then file bugs09:58
luksok :)09:58
spivusability bugs *are* real bugs :)09:58
spivAfter all, they're often hard to fix, like other real bugs ;)09:59
fullermd"I can't figure out how to file a bug."  "File a bug on it."10:05
luksok, I think I'm done for now10:30
luksbueno will probably hate me anyway :)10:30
Odd_Blokejames_w: Thanks. :)  It is my first package.10:40
beunonew theme in LP!12:12
* beuno dances around12:12
* markh tries again :)12:17
markhis bzr likely to use the python 'compiler' package at runtime, or can I safely exclude it from the windows binaries?12:17
james_wmarkh: hi, it's used by configobj apparently, but IronPython doesn't have it, so it handles the import error. However, there is a feature that requires it, but I don't know if that feature is used by bzr.12:20
markhheh12:21
markhwell, that's good to know, and for the few bytes it would save, I guess it can live :)12:22
james_wit appears to allow you to embed a dictionary as a value, I don't bzr makes use of that12:22
james_wyou could always strip it and see what fails :-)12:22
markhI think I'll wait until windows gets down to less than a dozen or so failing tests before I get that brave ;)12:23
markhIt must do something funky with that dict though to require the compiler package...12:25
james_wit stores it in repr form in the text file as far as I can see12:26
james_wdef getObj(s):12:26
james_w    s = "a=" + s12:26
james_w    if compiler is None:12:26
james_w        raise ImportError('compiler module not available')12:26
james_w    p = compiler.parse(s)12:26
james_w    return p.getChildren()[1].getChildren()[0].getChildren()[1]12:26
markhyeah - which eval could reconstruct - but I guess it wants to avoid eval12:27
markh"untrusted" config files?12:27
markhor maybe it supports types that repr/eval can't reconstruct... whatever :)  thanks!12:28
pooliebeuno: well done on the theme, it looks great on lp12:42
beunohey poolie!  Thanks  :)  I'm really happy to finally see it live12:44
pooliedon't stop now! :)12:44
beunoheh, of course not, this is an incentive  ;)12:45
pooliei think that's enough for me12:47
poolienight all12:47
markhnight poolie12:47
beunog'night poolie12:48
james_wnight poolie12:59
james_whi besonen_mobile__12:59
james_whi beuno :-)12:59
beunohowdy james_w!13:02
james_wbeuno: congratulations on the new theme landing, it looks great.13:05
beunojames_w, thanks :)  although, to be fair, mwhudson's reviews have been unvaluable13:06
bob2hm, I don't seem to be able to 'branch' a branch in a rich-root-pack repo over bzr+ssh anymore13:14
bob2ah, B_R_P wasn't set13:15
=== rocky1 is now known as rocky
james_whey, could someone in ~bzr and do me a favour and close bug 252894 as Fix Released and milestone for 1.6?14:58
ubottuLaunchpad bug 252894 in bzr "generally applicable way to refer to parent or stored locations" [Wishlist,Incomplete] https://launchpad.net/bugs/25289414:58
james_wI'm having some issues today which mean I can't login to launchpad.14:59
Odd_Blokejames_w: Done.15:00
james_wthanks15:00
jamigc: I'll be happy to review your patches, but right now BB is giving me PROXY timeouts15:10
jamAnd abentley is in NZ, so will be sleeping during my TZ15:10
igcjam: yeah - me too15:10
jamAny chance you could give me the subjects, and I'll do it via email?15:10
igcjam:sure15:11
igcjam: Make it easier to introduce new WorkingTree formats15:11
igcjam: do not export .bzrrules15:12
igcjam: lookup rules using get_special_file API15:12
igcthat's the 315:12
jamigc: quickly, I'm a bit concerned about the 'get_special_file', the other two I'm probably happy with15:12
jamBut I'll review them all15:12
jamigc: I'm surprised you're still awake, are you shifting your schedule a bit?15:13
igcjam: just catching up some hours15:14
gourigc: how is the fight against enemy?15:15
RealNitrois there a tutorial about interfacing with bzr-repositories through python? Something like repo = BzrRepo(path)15:15
igcgour: it has its good days and bad days15:16
igcgour: week 4 of 6 now15:16
jamRealNitro: http://bazaar-vcs.org/Integrating_with_Bazaar ?15:16
igc(of the initial stage of the battle at least)15:17
RealNitrojam: thx!15:17
gourigc: keep up the spirit. have you managed to read something of that material?15:17
igcgour: not a lot I must say - my reading pile is long15:18
gourigc: heh, use Emacs' org-mode and run it for GTD :-)15:19
igcnight all15:37
gournight, igc15:43
jamigc: sleep well15:44
jampatches reviewed15:44
=== mw is now known as mw|bbiab
Odd_Blokejelmer: python-git is in the NEW queue. :D16:53
=== rocky1 is now known as rocky
=== mw|bbiab is now known as mw
Odd_BlokeIf any Mac users have a minute: https://bugs.launchpad.net/qbzr/+bug/25300817:55
ubottuLaunchpad bug 253008 in qbzr "Qbzr not working :(" [Undecided,Incomplete]17:55
james_wyeah, I didn't know how to install python-qt4 on mac17:56
Odd_BlokeI should probably have converted it to a question, but was worried that that would confuse everyone involved so didn't. :p17:57
tolstoyHi folks. Simple question. If you've branched, and then you work on the branch, etc, etc.  How can you tell exactly when/where you branched from the parent without having tagged?18:46
radixtolstoy: You can use the "ancestor:branchname" revision spec18:47
radixso, in the context of ../branch1, if you use "-r ancestor:../trunk", it means "the ancestor revision of this branch in ../trunk"18:47
tolstoyHm. Okay.  Thanks.18:48
tolstoyI think that worked (for my colleague). Thanks!18:53
=== mw is now known as mw|food
mtaylorbzr: ERROR: Invalid bug 252805. Must be in the form of 'tag:id'. Commit refused19:55
ubottuLaunchpad bug 252805 in drizzle "./configure not detecting missing g++" [High,Confirmed] https://launchpad.net/bugs/25280519:55
mtaylorI'm not sure what to put for --fixes, given the above error19:56
mtaylorI tried --fixes=252805...19:56
radixmtaylor: I think it's supposed to be 'lp:252805'19:56
mtaylorah19:56
mtaylorThere we go. thanks radix19:56
Odd_Blokemtaylor: If you don't think --fixes is well-documented enough, could you please file a bug about it?19:59
mtaylorOdd_Bloke: sure19:59
Odd_Blokemtaylor: Thanks. :)20:01
mtaylorOdd_Bloke: Bug 12005020:04
ubottuLaunchpad bug 120050 in bzr "'bzr commit --fixes' should have better documentation" [Medium,Confirmed] https://launchpad.net/bugs/12005020:04
Odd_BlokeWell, I should probably have checked first. :p20:05
Odd_Blokemtaylor: Sorry to waste your time.20:05
mtaylorOdd_Bloke: no problem!20:05
=== mw|food is now known as mw
oohlafwhy doens't bazaar have a bzr copy command?20:58
oohlafnext to move20:58
oohlafI just ran into having to copy a file in a repo and make some modifications to it, but then it's not annotated20:59
oohlafwith the previous auther20:59
jelmeroohlaf, it's planned, just not implemented yet21:01
james_wjam: I was working on the bug tracker thing as well :-)21:05
james_wjam: are you cleaning your patch up to submit it?21:05
jamjames_w: I'm not doing anything more than what I posted21:05
oohlafjelmer: ah, ok21:05
jamI'm working on merge again21:06
oohlafjelmer: you prob need it for svn copy, right?21:06
jamjames_w: if you are working on it, make sure to assign it to you21:06
james_wjam: cool, I'm working on it, so I didn't want to duplicate work.21:06
james_wtrue21:06
beunoanyone happen to know how I can convince distutils to install zope templates on the package's dir?21:07
jambeuno: "package's" dir?21:11
jamdo you mean in-place?21:11
beunojam, I need them to be in site-packages/.../loggerhead/templates/*21:12
beunoand it only copies .py in there21:12
jamLike "python setup.py build_ext -i" ?21:12
Dossybzr: ERROR: Operation denied because it would change the main history, which is not permitted by the append_revisions_only setting on branch "sftp://dossy@bzr.savannah.gnu.org/srv/bzr/gnash/trunk/".21:12
DossySuggestions?21:12
Dossy$ bzr version21:12
DossyBazaar (bzr) 1.6b321:12
jamDossy: you are trying to push something which merged trunk21:12
jamrather than merging into trunk21:12
Dossyjam: I guess so.21:12
* Dossy is a bzr newbie.21:12
jamand that cannot be pushed because someone set the "append_only" flag21:12
jamthe recommendation is to21:12
jambzr co gnash/trunk21:12
jamcd trunk21:12
jambzr merge ../my-branch21:12
jambzr commit21:12
jam(with appropriate full paths)21:13
DossyOh.  Ack.21:13
DossyI have to duplicate commit messages?21:13
beunojam, I'm not sure what "setup.py build_ext -i" would do21:13
DossyOK, so at this point - what can I do?  LOL.  And, I should bzr checkout and not bzr pull or bzr branch?21:14
jambeuno: it is what we use with bzr21:14
DossyWhat's the difference between bzr pull and bzr branch anyway?21:14
jamit puts the .so library "in tree" rather than only building it in the build/... directory21:14
* beuno peaks in bzr's setup.py21:15
jamDossy: 'bzr pull' fetches changes that you don't have yet to local21:15
jambeuno: that would probably be in 'Makefile'21:15
jamDossy: I'm assuming you just recently merged trunk?21:15
jam(as in, the last action you did?)21:15
Dossyjam, yes21:15
Dossyand committed the change21:15
jamthen I would "bzr merge -r -2"21:15
jamwhich would skip your merge commit21:16
jamand merge the previous revision21:16
DossyHm.  OK.21:16
jamand only type the message there21:16
jamwell, you are technically doing it twice, but the one won't show in trunk21:16
jamDossy: alternatively you could "bzr uncommit; bzr revert" in your branch21:16
DossyOh, my local commit messages won't show in trunk?21:16
jamDossy: well if you do "bzr merge -r -2" then the *last* revision won't be merged21:16
jamandthus, not show up in log21:16
DossyOhh - what about the commits I actually want to push?  :)21:17
jamThings you "bzr merge && bzr commit "will show up in the log21:17
DossyWow.  bzr uncommit is ... slow.21:20
james_whas anyone seen a hang in blackbox.test_outside_wt.TestOutsideWT.test_url_log?21:21
alecwhAre there any web services (besides Launchpad) that will host bazaar repositories?21:23
james_walecwh: alioth and savannah are two that spring to mind, though they are not completely general purpose21:24
alecwhthe project isn't open source...21:24
beunojam, I'm looking at it, but I'm not quite sure how I'd use that to copy over arbitrary files21:25
Odd_Blokealecwh: Anywhere that gives you SSH and HTTP access can be used as a web host for bzr.21:25
alecwhWhat about FTP and HTTP?21:25
jambeuno: it isn't for copying arbitrary files, it is for building an extension such that you can run in-tree21:26
jambeuno: I don't honestly know why it isn't copying the files over21:26
jamThough I don't know what command you are using21:26
jambeuno: 'python setup.py install --help'21:26
jamhas a --install-base, --install-platbase, --install-purelib, etc21:27
jam--install-platbase  base installation directory for platform-specific files21:27
jam                    (instead of --exec-prefix or --home)21:27
jamsounds like something compiled21:27
beunoyeah, let me push real quick, and see if something obvious pops up to you21:27
beunoif not, I'll keep hammering help files and google  :)21:27
* beuno waits for codebrowse to mirror the branch21:29
jambeuno: I can get it via bzr+ssh21:30
jamwhat branch?21:30
jam(though my net connection here might be rather slow)21:30
beunojam, lp:~beuno/loggerhead/fix_setup21:30
jambeuno: so... can you explain *why* you are doing this?21:31
jamIt seems like SimpleTAL should get installed as normal21:32
jamand you just use it from there21:32
beunojam, I need the *.pt files in templates/21:32
jamwhy?21:32
Dossygrr.  bzr break-lock doesn't seem to work on win32.21:33
Dossyit just hangs.21:33
jambeuno: also, I would recommend using loggerhead.__version__ rather than hard-coding '1.6' in setup.py21:34
jamIt is generally a good idea to have a *minimum* number of places where you need to change version strings21:34
beunojam, noted21:35
beunoI need the .pt files there because that's where LH looks for them21:35
jamotherwise you always forget one :)21:35
jambeuno: so right now, you just have them manually copied there?21:35
beunojam, right now, it doesn't work. setup.py has been broken for ages.21:36
jamand you can't use a "try import from_tal else import_from_local"21:36
jambeuno: well, I see .pt files in there21:36
jamand I ran from source without it causing problems21:36
jambeuno: are you just trying to install the .pt files that you already *have* in there?21:36
beunojam, it works from source. The problem is when you install it21:37
jamI think I just caught on to what you wanted21:37
beunoit installs serve-branches in /usr/bin21:37
jamI thought you wanted to install *Zope* templates21:37
jamnot templates for the Zope engine21:37
beunoah, yes  :)21:37
beunosorry I wasn't clear from the start21:37
jambeuno: "package_data"21:37
jamlook at setup.py for bzrlib21:37
jamnamely, the 'doc/api/*.txt'21:38
beunothat simple?21:38
* beuno looks21:38
jamand 'tests/test_patches_data"21:38
jamPKG_DATA = {# install files from selftest suite21:38
jam            'package_data': {'bzrlib': ['doc/api/*.txt',21:38
jam                                        'tests/test_patches_data/*',21:38
jam                                        'help_topics/en/*.txt',21:38
jam                                       ]},21:38
jam           }21:38
jambeuno: so "package_data = {'loggerhead': ['templates/*']}"21:38
jamor something along those lines21:38
alecwhjam: pastebin that next time21:39
jam=== modified file 'setup.py'21:39
jam--- setup.py    2008-07-29 19:17:53 +000021:39
jam+++ setup.py    2008-07-29 20:39:29 +000021:39
jam@@ -41,6 +41,7 @@21:39
jam     scripts = ["start-loggerhead", "stop-loggerhead", "serve-branches"],21:39
jam     packages = ["loggerhead",21:39
jam                ],21:39
jam+    package_data = {'loggerhead': ['templates/*']},21:40
jam     data_files=[21:40
jam                 ('share/man/man1',['start-loggerhead.1', 'stop-loggerhead.1']),21:40
jam                 ('share/doc/loggerhead', ['loggerhead.conf.example'])21:40
jamalecwh: yeah, sorry21:40
alecwh=(21:40
jamJust trying to get done, and firing up a browser takes a while21:40
beunojam, you rock, thank you  :)21:40
Dossyok, looks like bzr uncommit is broken on win32.  i've left it running ~40 minutes, and it's not done22:10
Dossyand no progress indicator.  no output at all, and I ran it with -v22:10
lifelessDossy: can you look at your .bzr.log22:19
lifelessbeuno: why not nuke serve-branches as a script altogether?22:20
beunolifeless, nuke it?  why?22:21
lifelessbeuno: 'bzr serve-branches' as an interim step, and then 'bzr serve --http'22:21
beunointeresting22:22
lifelessif you look at the help for bzr serve22:22
lifeless'bzr serve-branches' will give you help and option parsing etc for ~ free22:22
lifelessif you look at the help for bzr serve you'll see that it is basically the same as any help you might write for serve-branches22:23
beunolifeless, makes perfect sense, I'll go down that path22:23
beunoand, good morning  :)22:23
lifelesshi22:23
lifelessthere is a thread at the moement about whether bzr serve --http makes sense, but putting that aside, having loggerhead start as a normal extension command seems uncontentious and to give benefits.22:24
beunoyeap, and it will feel much more integrated22:26
beunoI like it!22:26
beunoI also have all this ajax-voodoo in store, now that the new theme has landed everywhere22:27
lifelesscool22:27
lifelessis the gnome themed loggerhead getting it too ?22:27
beunoyeap, I uploaded a new branch with the new theme for 'em22:28
beunobut I don't think Jc2k got around to merging it22:29
beunolp:~beuno/loggerhead/new_theme_gnome22:29
lifelessnag thumper22:29
lifelessplayground is something he has work time for now :)22:29
beunoyay!22:29
beunowill do22:30
=== spmcinern is now known as spm
lifelessbeuno: I'm curious though, I did mention this in the thread22:39
lifelesswas I unclear?22:39
beunolifeless, you did, I just didn't see it as straightforward22:41
beuno'bzr serve-branches' tipped me off it's much simpler then I thought22:41
lifelessheh ok22:41
pickscrapeI've just discovered the possible_transports parameter that is available throughout bzrlib22:42
pickscrapeDoes this need to be maintained manually?22:42
pickscrapei.e. if I call a function and pass a list, do I need to add the transport my code uses to the list in case it needed to create a new one?22:43
=== cprov is now known as cprov-afk
lifelesspickscrape: its an optional performance improvement22:47
lifelessit can also avoid giving users additional password prompts in some situations22:48
pickscrapelifeless: for what I'm doing it's quite a significant performance improvement :)22:48
pickscrapeIt reduces the number of SSH reconnects from some factor of 14 to just 1.22:49
lifelessnice22:50
lifelesssounds like you are opening very many new branch/repository objects22:50
pickscrapeOur migration split our monolithic svn repository up into smaller more focused repositories22:51
pickscrapeWe're writing a plugin to allow some operations to be performed on a set of them at once.22:51
lifelessyes, thats the sort of situation where it matters22:52
lifelessbranch objects etc hold open their transport22:52
pickscrapeYes, it was quite magical making a simple change to the code and then watching the ssh log on the server become far quieter :)22:53
lifelessbut we removed a global cache we had which caused many problems22:53
lifelesswhich is why we have this parameter22:53
pickscrapeLovely feature to find :)22:54
chadmillerHi all.  I have a shared repo, containing v1, v2, and v3 branches.  "bzr tags" lists all tags, regardless of whether its associated revision is in this branch or not.  This is a bug, yes?22:56
chadmillerI can't see how it's useful, but...22:56
lifelesschadmiller: it lists tags in a given branch22:57
lifelesschadmiller: so if you have tags that are irrelevant to a branch, you've put them in there somehow :P22:57
lifelesschadmiller: possibly your converter was not selective about which tags went into which branch22:58
chadmillerlifeless: Hrm.  That's possible.22:58
chadmillerAnd lpbug#138802 won't let me delete them.  Grr.23:00
lifelessbug 13880223:01
ubottuLaunchpad bug 138802 in bzr "tag deletion does not propagate" [Medium,Triaged] https://launchpad.net/bugs/13880223:01
chadmillerOh well.  No big deal.  Just ugly.23:01
lifelessyou can copy the tags file up by hand if you like23:01
chadmillerNot for 175 developers.23:01
lifelessoh :[23:01
lifelesstrue dat23:01
chadmillerEach with dozens of trees.23:01
chadmillerOkay.  Thanks.23:02
lifelessspiv: ping; that reconcile bug - I wasn't intending to ask you to hack on it, but in case you did start doing that I'm going to leave it idle until you reply23:08
pickscrapelifeless: do you have a minute regarding the possible_transports stuff?23:35
pickscrapeOne of the things we're doing is running update on a number of checkouts23:35
lifelesssure23:36
pickscrapeI've done this by extending bzrlib.builtins.cmd_update, and calling the base class's run method for each checkout I'm iterating through23:36
pickscrapeIt works fine, except that it's connecting to the server for each checkout, and possible_transports is initialised in bzrlib.builtins.cmd_update.run() each time23:37
pickscrapeI've experimentally tried moving it to a member variable of bzrlib.builtins.cmd_update instead of a local variable of run(), and that gives me what I need for free without any changes in my code23:38
pickscrapeBut I'm not sure if such a change would be acceptable in bzrlib23:38
lifelessmmm23:38
lifelessyou could do that23:38
lifelessbut the command classes are intended to be CLI layer only23:38
lifelesswhy are you not using the WorkingTree.update method ?23:39
pickscrapeThe advantage to using the command class is that I get functionality consistent with the main command for free23:40
pickscrapeIt's not actually much of an advantage with update, but with things like status it means I get option handling and output consistent with the core command23:41
mwhudsonbeuno: hi23:41
lifelesspickscrape: I'm ok with run being an instance variable23:43
lifelesspickscrape: long as its not a class variable23:43
pickscrapelifeless: I'm embarrassed to say I'm not entirely clear on the difference with python :( I'm relatively new to it23:44
lifelessclass foo:23:44
lifeless  bar = None23:44
lifeless-> bar is a class variable23:44
lifelessclass foo:23:44
lifeless  def __init__(self):23:44
lifeless    self.bar = None23:44
lifeless-> bar is an instance variable23:44
pickscrapeAha, that makes sense, thanks. My little experiment used a class variable: I'll try it with an instance variable.23:45
pickscrapelifeless: worked with the instance variable too23:47
lifelessput it in NEWS, send a bundle :P23:48
pickscrapelifeless: If I was to submit a patch, should I do this with just this one command, or others for which it would make sense too?23:48
lifelesspickscrape: as many as you like23:49
lifelessI'd start with one and see what the reaction is23:49
lifeless(unless you've done others already)23:49
pickscrapelifeless: I've just done one. I'll do that tomorrow. Thanks for the help!23:49
Peng_Personally, I'd like it if remove-tree could operate on multiple dirs at once, but I've been too lazy to do anything about it.23:50
lifelessPeng_: I think thats a different change; pickscrape is making the command more useful to subclassers, not changing the UI level behaviour23:53
Peng_Oh, okie dokie.23:53
spivlifeless: I haven't started hacking on it, no.23:57

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