/srv/irclogs.ubuntu.com/2009/09/28/#bzr.txt

igcmorning00:43
Peng_Good morning. :)00:52
verterokjfroy: pong01:38
jfroyverterok: just wanted to let you know I had pushed my packaging stuff01:52
verterokjfroy: cool :)01:53
jfroyit's kind of a half-baked solution.01:53
jfroyit will stage the various packages and plug-ins into independent "destination roots" that make it easy to build the distribution using Package Maker.01:53
jfroyThe next step is to build the Package Maker document, or at least update the content files.01:54
verterokjfroy: I'm quite curious about this way of building the installer, as the weak point of my scrits is that I need to manually edit the pmproj/pmdoc01:55
jfroysame deal01:56
verterokjfroy: oh, :(01:56
jfroyI started building a PackageMakerDocument class in the script01:56
jfroybut it's not quite done01:56
jfroyI'll try to work on it when I have some free time.01:56
verterokjfroy: well at least in the case of .pmdoc it might be possible to do that from the script, as it's a bunch of xml's in a dir :) ,right?01:57
jfroyyep, that's the plan01:57
verterokjfroy: did you checkedout the branch I talked about in the mails?01:57
jfroyyes301:58
jfroyI picked the installer background from it :p01:58
verterok:)01:58
verterokjfroy: we should unify this into a single branch ;)01:58
jfroyyeah01:59
verterokjfroy: please..url of your branch? (/me is imIn the branch there is a lot of stuff to download depedencies, plugins, etc and build the packages, docs, and also to generate the DMG.)01:59
verterokLooks like you know a thing or two about building installer ;)01:59
verterokIt would be great if you can include this way of building it as part of the scripts included in https://code.launchpad.net/~verterok/bzr/OSX-10.4-dmg so we finally get an automated way to build thins.01:59
verterokoops, sorry01:59
verterokcliboard failure :(01:59
jfroylp:~jeanfrancois.roy/+junk/SnowLeopard-package01:59
verterokjfroy: please..url of your branch? (/me is impatiante) :)01:59
verterokjfroy: thanks01:59
verterokjfroy: the PackageMakerDocument it's quite cool02:01
jfroyand very much not done :p02:02
verterokjfroy: yes, but it's a start02:02
jfroyit shouldn't be too hard though to finish02:02
jfroyalthough there are some complexities to deal with, well special cases really02:02
jfroyMy package has a custom requirement on bzr-svn such that bzr-svn is disabled if subvertpy is disabled02:03
jfroyneed to figure out a nice way to put that in place02:03
verterokjfroy: I just read your mail. both solutions are quite similar from 1000ft, mine using bdist_mpkg and generating the doc.02:06
jfroyyeah02:07
jfroythough I produce a more "modern" single-file package02:07
verterokjfroy: I;d like to remove the dependency on bdist_mpkg as it forces me to patch each plugin setup.py in the build process02:07
jfroyyeah, for plug-ins I don't "install" them02:07
jfroyI just stage them inside bzrlib02:08
jfroyand run build_ext --in-place on them02:08
lifelessI have a patch for bzr02:08
lifelessback on bundle buggy02:08
lifelesswhich bundles many plugins02:08
lifelessthe reason its not merged02:08
lifelessis that it doesn't run build_ext --in-place on them nor install them when setup.py install is called.02:09
* lifeless would love to see someone pick that up and run with it02:09
verterokjfroy: I'll try to use your scripts to build the Leopard and Tiger installers02:11
jfroyok02:12
verterokjfroy: and possibly include the download script from my branch ;)02:12
jfroyyes, that would be a nice combo02:12
verterokjfroy: so, regarding ian comments, it's ok with you about labeling your installer as a core-installer? (I'll try to build a matching installer for Leopard and Tiger)02:14
verterokjfroy: and also build the 'desktop' version for them too02:14
jfroyyes it's fine I think02:15
jfroysince I don't include any GUI-related plug-ins.02:15
verterokjfroy: ok, cool :)02:15
jfroyIn any case, I think it's useless to offer qbzr and bzr-explorer if you're not going to also bundle Qt and py-qt02:15
jfroyIt's like "here's a super nice car, but we won't give you the engine. Go build one yourself."02:16
verterokjfroy: it might be, I don't really know02:16
verterokjfroy: I'll packaging pyqt with your approach02:17
verterokjfroy: don't know about QT, installing it is quite easy02:17
jfroyQt is OK.02:17
jfroyIf you bundle PyQT that would make it all pretty easy.02:17
jfroyoh one particular thing02:18
jfroywe should refactor the compiler to use based on the system version and store it as a Builder class attribute or something.02:18
jfroyWe want gcc 4.0 on 10.4, gcc 4.2 on 10.5 and llvm-gcc-4.2 on 10.6 :/02:19
verterokjfroy: ok, I'll take a look to this compiler thing :)02:20
verterokthanks02:21
jfroyverterok: I've pushed an updated readme that addresses Ian's feedback.02:26
verterokjfroy: ok, thanks02:29
jfroyfixing the compiler thing now02:30
verterokjfroy: I was thinking about that, we can check which compiler to use at runtime ;)02:32
jfroyand fixed02:33
jfroy(and pushed)02:33
jfroywhoa, or not02:33
jfroyoh, duh02:34
jfroyhate you mac_ver()02:34
verterokjfroy: I'm using bdist_mpkg to do that in my scripts: "from bdist_mpkg import tools; osx_version = '.'.join(map(str, tools.sw_vers().version[:2]))"02:34
lifelessigc: on the wiki02:34
lifelessigc: perhaps we should say 'every 6 months, with beta releases available every month'02:35
igclifeless: yep, that's better02:35
jfroyOK fix pushed :p02:35
jfroyyeah, I wasn't casting to ints and using ints in my branch :p02:36
lifelessigc: are you still editing [in which case can you do it], or should I make the change?02:36
igclifeless: you can do it - I'm not editing02:37
verterokjfroy: cool, thx02:39
jfroystrange02:39
jfroyit's not using llvm for linking...02:39
jfroyDo you need to set more than CC?02:39
verterokjfroy: no idea :)02:40
jfroyand yes you do, LDSHARED :/02:41
jfroybah02:41
jfroyor not?02:42
jfroyweird, nm02:46
igcjfroy, verterok: great to see you guys chatting about this stuff! While it's desirable in the medium term, I don't think we're ready to combine the Windows and Mac installers into one project yet ...02:48
jfroyhuh, we didn't propose that?02:48
igcjfroy, verterok: so maybe one of you should create a project called bzr-mac-packaging and put your combined branch there02:49
verterokigc: agreed02:49
igcjfroy: no, jam suggested it on the mailing list02:49
jfroyoh, well, it doesn't make sense?02:50
igcjfroy: so plugin authors like jelmer had one project to update after releasing a new bzr-svn say02:50
jfroyit's not their responsibility IMO02:50
jfroythey should just announce new releases on the mailing list02:51
jfroypackage maintainers can pick them up when appropriate02:51
verterokigc: once I merge both branches, actualle jfroy branch + some utilities from my branch, I'll push it and create the project02:51
igcjfroy: that would work as well. The trick is getting the right combo of bzr-svn+subvertpy+bzr-rewrite and we'd prefer jelmer to own updating that for the Windows installer02:52
igcjfroy,verterok: anyhow, I'm *really* pleased to see os x packaging progressing02:53
igcverterok: I'm with jfroy wrt needing PyQt and Qt bundled for the "desktop" installer - bundling qbzr and explorer without those also bundled doesn't help much02:55
jfroyigc: fair enough, but I'm sure we can establish communication with him and deal with it02:55
igcverterok: Qt is a simple install but PyQt is a nightmare for casual users02:55
verterokigc: I'll try to use jfroy approach to build pyqt02:55
jfroyigc: this is going to take more time to come up with, which is why I only worked on a core installer.02:56
jfroywe could get the open-source Qt installer and merge it all in into one giant package :p02:57
jfroybut it won't be small -- probably > 30 MB02:57
jfroywell, not that that's particularly large by today's standards02:57
lifelessspiv: around?03:25
fullermdHuh.  First 2 chars of the MD5 of bzrtools 2.0.1 are the same as that of 2.0.  Good thing it's not an 8-bit hash...03:25
lifeless\o/03:26
lifelesscreepy03:26
fullermdMaybe it's a coincidence.  Or maybe it's part of the plan of the global banking cartel!03:27
spmthat'd be the new bzr --crack-md5 feature isn't it?03:30
lifelessdistributed virtual cracking system03:31
spm'zactly03:31
=== sdboyer_ is now known as sdboyer
fullermdYeah, we're merging that into 2.0.x, just 'cuz nobody would expect to see it in a stable release.  It's more sekrit that way.03:31
lifelesswe'll respin 2.0.0 in fact, without changing the md5sum, cause thats the point03:32
spmbzr: taking over the world, one cracked md5sum at a time03:33
fullermd1 down, 340282366920938463463374607431768211455 to go!03:33
spmso by next tuesday?03:33
fullermdWednesday more likely.  I have an early tee time on Tuesday.03:34
spmfar be it for us to let world domination get in the way of a game of golf! your excuse is acceptable.03:35
=== tro|| is now known as tro
spivlifeless: yeah, what can I do for you?03:58
lifelessspiv: various bug state questions03:58
spivhit me, as they say.03:58
lifelessspiv: I'm picking $foo to work on, check your mail is sufficient at this point03:58
lifeless'hit me with your rhthym Stig' could have a whole new meaning ;)03:59
meoblast001how do you apply patches with Bazaar?04:00
lifelessfrom other bzr users?04:01
meoblast001no, from myself04:01
lifelessbzr merge generally04:01
meoblast001well, i created a diff with bzr diff04:01
spiv(A rhythm Stig?  I'm imagining a car racing around a course while playing a tune by careful revving of the engine...)04:01
meoblast001and i'd like to apply it at a different directory04:01
lifelessspiv: yup04:01
lifelessspiv: that was the sort of image I was hoping to provoke04:02
AfCmeoblast001: the "different directory" is also a Branch with a WorkingTree ?04:02
lifelessmeoblast001: bzr patch can do that, but if you did something like04:02
lifeless'bzr diff -r x..y'04:02
lifelessto make the patch, then I'd like to introduce you to04:02
meoblast001hm, i checked bzr <tab> and didn't see patch04:02
lifeless'bzr send -r x..y $path_to_trunk -o-'04:02
lifelesswhich will make a rich patch04:03
lifelesswhich 'bzr merge' or 'bzr pull' can use directly.04:03
meoblast001bzr: ERROR: unknown command "patch"04:03
lifelessits in the bzrtools plugin04:03
meoblast001oh04:03
lifelessbut like I say, its _very_ unusual to use patches to move stuff from one bzr tree to another04:03
spivmeoblast001: I'm not certain about exactly what you want to achieve, but GNU patch doesn't stop working just because there's a .bzr directory somewhere :)04:03
lifelessand by very, I mean very very very very04:04
meoblast001spiv: i tried GNU patch and it didn't do anything, maybe i don't know how to use it :/04:04
meoblast001patch -p0 blah.diff?04:04
spivmeoblast001: but as lifeless is saying, I'm surprised that you can't use "bzr merge".  Can you explain more about what you are doing?04:04
meoblast001i have 1 branch that i was modifying, when i realized i had to make some modifications to my entire branch that would make all checkouts incompatible (had to overwrite the branch on launchpad)04:05
meoblast001so now, i can't continue editing the old copy until i apply the difference to the new one04:05
spivmeoblast001: perhaps you want "bzr merge --uncommitted"?04:06
meoblast001which am i doing bzr merge on?04:06
meoblast001how would i apply the patch with GNU patch?04:06
spivYou have an "old copy" and a "new one", and they are both bzr branches of the same project?04:06
meoblast001yes, but one is now incompatible04:06
meoblast001i knew that not many people at all had a checkout of my project, so i went forth with fixing some problems with older commits04:07
meoblast001this made my own older branches incompatible04:07
spivYou rebased?04:07
meoblast001well, i fast-exported :P04:07
meoblast001i had to remove a font, a directory, and 2 source files that really should have never been there04:08
spivOk, that explains a lot.04:08
spiv(As well as demonstrating why history rewriting of published branches is a bad idea :P )04:08
meoblast001and my project is only a half year old, i'm pretty sure only 2 people (including me) have a checkout04:08
* fullermd . o O (Famous last words? :)04:09
spivSo you effectively want to rebase some changes from the old history onto the new history.04:09
meoblast001basically, i want to construct a patch of uncommitted changes to my old, incompatible branch, and apply them to my new branch04:10
spivdiff/patch should work ok for that, I'd think, assuming you don't mind bringing the change across in a single commit.04:10
meoblast001i made the diff, i just can't get it to apply04:10
meoblast001well, the only thing i'm trying to bring across is uncommitted changes anyway04:10
spivIf fast-export has kept the file-ids the same, then "cd new-one; bzr merge --uncommitted ../old-one" would work,.04:10
spivBut I would expect "patch -p0 blah.diff" to work too.  How does it fail?04:11
meoblast001it just sits there, and does nothing04:12
meoblast001maybe i'm not waiting long enough?04:12
fullermdpatch doesn't take the patch file as an argument...04:12
spivOh, "patch -p0 < blah.diff" maybe.04:12
spiv"bzr patch" is more convenient in this respect :)04:13
meoblast0011 out of 1 hunk FAILED -- saving rejects to file src/Makefile.am.rej04:13
meoblast001hm04:13
meoblast001i know what that is04:13
meoblast001since fallbacks.cpp was one of the files i removed, it isn't in the new Makefile.am04:13
* igc lunch04:18
malibuHi there... so now that bzr is at 2.0.0.... Does TortoiseBZR work better / FASTER ?04:43
lifelessmalibu: Tortoise hasn't been radically changed by the work on 2.0; I think naoki was doing some work on it though.04:45
lifelessso it may be better, but its not really cause of 2.0 :)04:45
malibuIs there anywhere where the changes may be logged?04:46
lifelessthe tortoisebzr project I imagine ;)04:48
lifeless[sorry I don't know quite where that is]04:48
malibuohh.. yeah I found it04:49
malibuit doesn't work for lightweight checkouts and won't be fixed.... darn04:49
lifelesswhy do you need lightweight checkouts? for most folk a regular checkout is much better04:50
malibuI put everything in my repository.. install files, config files.. I use it to sync my machines from my own server, like dropbox04:51
malibuIf I do not do lightweight, there is too much space used by the .bzr directory04:52
malibuI had the same problem with subversion and git04:52
malibuBut using lightweight, the .bzr directory stays small04:52
malibuIt has been working quite well for me for a couple months now.. But I had hoped to get TortoiseBZR to work at some point04:53
malibuI didn't realize there wasn't enough in the .bzr directory to allow it to work at all04:54
malibuI had thought bazaar could still track what files had been changed since last update / commit04:54
lifelesswe can tell 'not the same'04:55
lifelessbut will stil connect to the network04:56
malibuFor lightweight, it would be nice to still work offline by checking modification dates.04:56
malibuoh erll04:58
malibuwell04:58
lifelessthere is metadata needed that isnt in a lightweight checkout04:58
lifelesswhich is why we connect to the repo04:58
malibuunfortunately for me..04:59
malibuStill, bzr is the best for my purposes05:00
malibuIs there a way to do a normal checkout but limit the size of the .bzr ?05:00
malibuSometimes I've seen it get just as big as the actual working copy05:01
lifelessmalibu: sorry, I've got to pop out05:01
malibuI guess something like lightweight with the metadata.. which I assume is small05:02
malibuok05:02
malibulater05:02
verterokjfroy: still around?05:02
lifelessspiv: igc: if you need me SMS me05:02
jfroyaye05:02
lifelessI won't be far, but $stuff to $do05:02
verterokjfroy: looking to your branch, I realized there is no mention of pycrypto or paramiko05:02
jfroyyeah I haven't included them.05:03
jfroyprobably should I guess05:03
verterokjfroy: hmm, probably :)05:04
spivlifeless: happy $doing of $stuff :)05:05
* spiv -> lunch06:03
vilahi all07:19
Peng_Hello. :)07:23
bialixhello bzr08:08
spivHello bialix :)08:09
bialixhello spiv08:09
bialix:-)08:09
rustySo, if I really want people to be able to browse my repo in a web server, I really need fastCGI et al?  (ccan used the hgweb stuff, and it broke with a recent upgrade)08:33
nedosahi, i have a question about rebase, i'm getting the "No revisions to rebase." message08:36
nedosaTried it on a simple test case, created a new child branch, made some commits, then tried to run rebase on the child branch against the parent08:37
nedosaeven then, it would give me "No revisions to rebase"08:37
spmrusty: if I understand your meaning; you can use loggerhead without an apache/web-server per-se. Or are you meaning super performance issues?08:39
rustyspm: nope... thanks, just found that by punching right keywords into google :)08:40
pooliehello spm, rusty08:40
spmhey poolie08:40
spmpoolie: how's london?08:40
rustypoolie: hi!08:41
pooliepretty normal: grey, coldish, full of canonical people08:41
pooliepretty good really08:41
spmheh08:42
lifelesspoolie: hi poolie08:56
bialixhello poolie08:56
bialixthe whole universe looking at poolie and asking: when?08:57
pooliethe final announce?08:59
poolietoday!09:00
pooliebut right now... tada, a meeting!09:00
spivWoo!09:00
lifelesspoolie: :P09:00
lifelesspoolie: have a good week09:00
poolieexciting lp & bzr hacks for 4.009:00
spivHe's such a tease.09:01
lifelesshehe09:01
fullermdJeez, we just finally got 2.0, and already we're talking about 4.0?09:01
lifelesslp 4.009:01
spivfullermd: exponential improvement!09:01
spiv(or he's talking about Launchpad 4.0...)09:02
lifelesstxen rzb si 1.209:02
* spiv wanders off09:02
lifelessigc: are we talking past each other?09:13
rustyOK, how does loggerhead know what repos to serve?09:14
rustySo far I have a blank page: http://ccan.ozlabs.org/repo/09:14
lifelessrusty: how are you running it?09:14
lifelessrusty: the general way is 'bzr serve --http <path[cwd implied]>'09:14
rustylifeless: via apache.  I am *TRYING* to replace the hgweb hack which was broken in the move.09:14
lifelessrusty: so in apache you have a proxypass09:15
lifelessrusty: yes?09:15
rustyYep...09:15
lifelessright09:15
rustylifeless: as you can see, it's hitting loggerhead.09:15
lifelessso the backend is what matters - how are you starting loggerhead09:15
rustylifeless: ?  from /etc/init.d/loggerhead ?09:15
lifelessrusty: can you pastebin that somewhere?09:16
rustylifeless: it's standard ubuntu package...09:16
lifelessrusty: I'm pretty sure that the packaging adds the init script09:16
lifelessrusty: upstream its 'bzr serve --http' as I said :)09:16
Peng_Which version of Loggerhead?09:18
rustyPeng: 1.10-1.. actually,t his is debian Sid.09:19
rustylifeless: basically "start-stop-daemon -p $PIDFILE -S --startas /usr/bin/start-loggerhead -- -p $PIDFILE -c /etc/loggerhead.conf -L /var/log/loggerhead 2>/dev/null"09:20
lifelessugh09:20
lifelessso we all roundly hate loggerhead.conf09:20
lifelessbut thats what you'll need to edit09:20
rustylifeless: it doesn't seem to have a "here is my repo" option.09:21
Peng_Or you could upgrade.09:21
lifelessrusty:09:22
lifeless[ccan]09:22
lifeless name = 'ccan'09:22
lifeless auto_publish_foder='/path/to/root/containing/branches'09:22
lifeless url_prefix='http://ccan/webroot/branches'09:23
lifeless#(or whatever)09:23
rustylifeless: /path == dir which has .bzr subdir?09:23
lifelessrusty: the root area to want to server our09:24
lifeless*out*09:24
lifelessroot-of-the-area09:24
rustylifeless: I ahve a ccan repo.  Actually, just a .bzr/ dir (it's not checked out).09:25
rustylifeless: I want to serve it on the intertubes.09:25
lifelessrusty: righto, so put the path to the repo as the auto_publish_folder09:25
rustylifeless: it is in /home/ccan/ccan/09:25
lifelessrusty: is it just one branch, or many?09:25
rustylifeless: yeah, that's waht I though.  Still blank.09:25
rustylifeless: just one.09:26
lifelessI was assuming many09:26
lifelessfor one09:26
rustyMay have branches in future, but today, one.09:26
lifelessis there a shared repo at /home/ccan ?09:26
lifeless[where would other branches go, in future]09:26
rustyNo, I use ssh hack to allow commit access.  OK, -ETIMEDOUT.  I'll decide what to do tomorrow...09:27
garyvdmHi all09:31
garyvdmvila: I would like to make a change to bzr-upload. I just want to see what you think of the idea first.09:31
vilagaryvdm: hi, what is your idea ?09:32
garyvdmI would like for it to check on upload, that the revision that you are uploading is a decedent of the revision that was there.09:32
garyvdmJust like bzr push09:32
vilawow poolie in my TZ ! Welcome ! :)09:32
garyvdmAnd add a --overwrite option to disable it.09:33
lifelessvila: poolie is offline :P09:34
vilagaryvdm: That sounds useful and coherent with push, so +1 on the idea09:34
garyvdmvila: Cool - I'm going to start on that now :-)09:34
vilalifeless: rats, missed that in my vgrep, and of course I didn't use completion *this* time :D09:36
vilahi bialix09:36
loxs_wrkfolks is it safe to rename branches inside a --no-trees repository? Is it ok to do it with mv or do I need to use bazaar somehow for this purpose?09:39
fullermdloxs_wrk: As long as you don't mv it outside the repository, that's fine.09:39
fullermd(of course, anything pointing at the old location will need to be updated)09:39
loxs_wrkyeah, that's obvious09:40
loxs_wrkthanks09:40
nedosahi all, i have a quick question about bzr rebase09:42
nedosaI keep getting "No revisions to pull." whenever i try and do a rebase09:45
NET||abusehey guys.09:50
NET||abusei've got a local branch for a stand alone branch, but i pushed it up to my web server over bzr+ssh last week, to just get the branch backed up,, how can i alias the remote branch address?09:51
NET||abuseso i can just do bzr push mywebsitealiasname09:51
NET||abusesince the web bzr+ssh path is already stored in the related branches attribute in bzr info.09:52
lifelessnedosa: probably you have no local work or something; file bugs on bzr-rebase please.09:52
lifelessNET||abuse: install the bookmarks plugin09:52
NET||abuseaohhhh,,09:52
NET||abusei'm on intrepid, is that installed by default?09:53
vilaNET||abuse: 'bzr plugins' will tell you09:53
NET||abusepqm, upload, dbus, tools, deb, netrc credential store.09:56
nedosalifeless: well, i have a very simple test case, empty an empty repo, add a file, commit, then branch that, add a few more commits to my child branch09:56
vilaNET||abuse: then you don't have it09:56
lifelessnedosa: yes, and so you have nothing new to pull into your child branch do you?09:57
vilaNET||abuse: cd $PLUGINS ; bzr branch lp:bzr-bookmarks bookmarks09:57
nedosalifeless: sorry, i meant create an empty repo....now if I do a bzr rebase from my child branch, it say "No revision to rebase."09:57
lifelessnedosa: yes, as I said, you have nothing new to pull in in the example you've described09:59
nedosalifeless: I see o.k., maybe I'm missing how rebase should work then10:00
lifelessnedosa: you have two branches, the trunk and the child, and the child is missing nothing from trunk; what do you expect rebase to do in that situation?10:00
nedosalifeless: I expected the changes to be pushed onto the trunk and there I would be able to re-arrange my commits10:01
lifelessso, to push changes to trunk, use bzr push10:01
lifelesseven in git rebase wouldn't do anything in this situation :)10:01
lifelessas for rearranging commits, I think thats basically unimplemented in bzr's rebase - there isn't a rebase -i yet.10:02
NET||abusevila, $PLUGINS doesn't seem to be set to anything for me.10:02
vilaNET||abuse: sorry, I meant <whatever your plugins directory is>10:03
bialixbonjour vila10:03
nedosaoh i see, I thought modifying the history of a branch meant rearranging the commits, apologies10:03
vilaNET||abuse: 'bzr version' should tell you that10:03
NET||abusevila,  :) figured... ok, branched that stuff..10:03
nedosalifeless: so as it stands, there's nothing in bzr that re-arrange commits, is that right ?10:03
spivNET||abuse: out of interest, why do you need an alias?  "bzr push" remembers the push address so you don't need to type it again next time.10:10
lifelessspiv: he wants two, lp and a backup10:10
lifelessspiv: AIUI10:10
NET||abuseexactly, i was planing on pushing to a backup server location also.. so having a few bookmarks / aliases is a good thing.10:11
igchi lifeless10:16
igclifeless: so I think we can't close bug 116094 as "Fix Released"10:17
ubottuLaunchpad bug 116094 in bzr "local clone without shared repository is too slow" [High,Fix released] https://launchpad.net/bugs/11609410:17
igcwe could say "Won't fix" - don't do that10:17
lifelessigc: do you think we're going to make copying history substantially faster?10:17
igclifeless: not while we have our current approach10:18
lifelessigc: because I think we've tapped out all the low hanging fruit that make sense, and the next speed jump is going to be a tonne more C10:18
igclifeless: if we detected 'local branch' and did just (lock branch, cp -a) under the covers we could10:19
lifelessigc: I think it *is* fixed, because we've made it fast, its not doing what 'hg is'.10:19
igclifeless: the trap with reocmmending cp -a is lack of locking10:19
fullermdcp -a also isn't what you want when branch'ing into an existing repo...10:20
lifelessigc: I'd be amazed if git is as fast as hg, git does an actual history copy AFAIK10:20
lifelessigc: the recommended way to use git is to make a local branch in the repo, which is ~ what bzr branch in a shared repo is.10:20
igclifeless: so the use cases for 'local branch' are (1) create a feature branch (2) take a backup10:20
lifelessigc: I want to understand why you think we *haven't* solved it - we got a report that cloning was way to slow, and now its not.10:21
lifelessigc: its not the same as hg, because we're not hg.10:21
igclifeless: I still think the bug is clear ... *local* branch *outside* a shared repo is slow10:22
igclifeless: and at 20 minutes for OOo on a super-fast desktop, I don't understand how you think we can say it's fixed10:22
lifelessigc: I think its exactly as slow as it should be to do a history copy10:22
lifelessits very understandable: copying within repositories is ~= symlinking, copying out of them processes history10:23
igclifeless: as I said, 'cp -a' is what we'll be compared against and 20 minutes is far greater than 90 seconds10:23
lifelessigc: If we're going to do more work on it, the bug should stay open. If not, it should be closed.10:23
lifelessigc: this isn't about what we're compared to, its about whether we're going to do more in this space or not.10:24
igclifeless: so close it as "Won't Fix"10:24
lifelessfine10:24
igclifeless: please don't claim it's fixed10:24
lifelessigc: having spent nearly 2 years making it faster I find calling that work 'wont fix' really objectionable10:24
igclifeless: branching over a network is faster - granted10:25
lifelessbut if it will stop the fighting, we'll call it that10:25
lifelessI feel like you are arguing 3 different bugs as reasons to keep this open10:25
lifelessbut not suggesting that we should be doing more work on the specific thing this bug was about10:26
igclifeless: I don't think local branching is much faster for 2a than pack is it?10:26
lifelessigc: it was opened *on knits*10:26
lifelessigc: I think fix released is appropriate when we've done a lot of work to address a bug, whether or not we reached the rather arbitrary goal that the filer set10:28
lifelessigc: if we didn't address it at all, wont fix would be appropriate10:28
NET||abusehmm, so i have a bit of a disjointed directory structure in my app, how can i export a portion or two from my bzr working tree to deployment locations,10:31
NET||abusedoing this locally to the web server10:31
lifelessigc: and I've got to say, this back and forward leaves a rather unpleasant taste in ones mouth. How can we avoid it?10:35
igclifeless: sorry, I'm not trying to be difficult10:35
igclifeless: I just feel the bug isn't fixed10:36
lifelessigc: If I demonstrated that on the history of the day we're now appropriately fast, would you be convinced?10:36
igclifeless: if you take any large project and bzr is within 100% of git or hg for 'local clone', I think it's fixed10:37
igclifeless: i just timed 'git clone' on the kernel - 13 seconds10:38
igclifeless: I don't think my fastimport of the kernel worked but I suspect we're a few minutes, not 26 seconds10:39
igcthe git time was cold cache btw10:39
lifelessigc: I'm presuming it does history processing10:41
igclifeless: http://www.kernel.org/pub/software/scm/git-core/docs/git-clone.html suggests it hardlinks by default if the source and target are both local10:45
lifelessigc: test across two filesystem then ;)10:45
lifelessigc: hardlinking is a really bad behaviour IMO, for a number of reasons10:45
lifelessigc: or perhaps use --no-hardlinks10:46
lifelessigc: so, I object to bugs being open that we're not going to action; I feel that as we have improved more than enough to fix the original report it should be closed.10:47
lifelessigc: and I feel like you're basically moving the goalposts on the bug10:48
igcso git clone --no-hardlinks on the kernel took 10.3 seconds (cold cache)10:48
spivLess than hardlinking?  That's surprising.10:49
igcspiv: maybe my drop-caches script is too soft?10:50
igcecho 1 | sudo tee /proc/sys/vm/drop_caches10:50
igcshould I use 3 instead of 1?10:50
spivI think 2 or 3.10:50
igcspiv: thanks. I'll try again10:51
spivYou need 2 to drop the fs metadata cache.10:51
lifelessI use 310:51
spivI'd just use 3, you may as well turn the knob up to the max :)10:51
lifelessalso you still need to avoid the 'just cp' facilies10:52
lifelessfacility10:52
igchmm - just tried 3 - still takes 10 seconds10:52
spivThe man page for proc also says you ought to run sync before writing to drop_cache, otherwise there may be dirty pages the kernel cannot drop.10:54
ScriptFanixhelloo10:54
ScriptFanix-o10:54
spivHi10:55
ScriptFanixI have a question abour bzr builddeb and file permissions10:55
james_whello ScriptFanix10:55
ScriptFanixin my branch, I have file with mode 700 or 60010:55
lifeless:!less ~/bin/drop-caches10:55
lifeless#!/bin/sh10:56
lifeless# get written data to disk (not that its guaranteed)10:56
lifelesssync10:56
lifeless# (drop the unmodified pages)10:56
lifelessecho 3 | sudo dd of=/proc/sys/vm/drop_caches 2>/dev/null10:56
lifelessis mine10:56
ScriptFanixwhen I run bzr builddeb -e --native, those file and up with permissions 644 / 75510:56
james_wScriptFanix: which files?10:57
ScriptFanixI and up with a debian package with files containing potentially sensitive information world-readable (bad bad bad)10:57
spivigc, lifeless: I don't have a firm opinion on what to do with the bug report that's controversial, but I agree with lifeless that it's good to have something that can be closed positively after a good chunk of work has been done10:57
ScriptFanixjames_w: for one package it's an ssh authorized_keys file10:57
spivigc, lifeless: both for giving ourselves and users warm fuzzy feelings, and also for making the reports of work queued and work done reasonably intelligible.10:58
james_wScriptFanix: inside the package?10:58
ScriptFanixfor another, it's a file where the user is supposed to enter a mysql root password10:58
ScriptFanixjames_w: yup10:58
james_wScriptFanix: "man dh_fixperms"10:58
NET||abusei'm googling around alot trying to find good articles on methods of exporting to publish to your webserver,, and i'm not really finding the right articles at all.. .can anyone point me at some good material for this?10:58
spivigc, lifeless: so doing a large chunk of work towards fixing a bug, and then closing that bug Won't Fix definitely feels wrong.10:58
lifelessspiv: https://bugs.edge.launchpad.net/bzr/+bug/342869 is that fixed, do you think?10:59
ScriptFanixjames_w: thanks, that should do the trick10:59
ubottuLaunchpad bug 342869 in bzr "Internal error on push" [Undecided,New]10:59
NET||abusei remember seeing one article which had you setup a bare repo on the server and setup auto hooks to push commits to it straight out to your web server,,,10:59
ScriptFanix(I'm new to debian packaging)10:59
NET||abusewould someone show me something like this?10:59
spivigc, lifeless: I'm not sure if that's an argument for leaving this bug unresolved for now, or splitting difficult bugs into smaller ones, or something else...11:00
igcspiv: performance bugs are hard to make the call on w.r.t. fixed vs otherwise11:00
NET||abuseoh,, and if i have a wt on my web server, can i just cp -r part/of/working/tree /path/to/site.com/www/    and not be moving bzr related meta files over also?11:00
spiv(although leaving unresolved is probably poor for much the same reason)11:00
igcspiv: I simply saying that 'local branch outside a shared repo' is still slow so ...11:00
igcclosing it simply because we're done work on it doesn't make sense IMO11:01
spivBut if the outcome for this bug isn't "mark fixed" (and I'm not saying it should or shouldn't be) then I think we probably need to do something a bit differently.11:01
igcslow is slow11:01
igcspiv: you, lifeless and jam have made *great* stride wrt network performance11:02
lifelessigc: unless we make the system fragile - see the number of options git clone _requires_ because they support hardlinking etc.11:02
spivAnyway, dinner needs me!11:02
lifelessthen its not going to get radically faster11:02
spivHappy bug-squashing, whatever form it takes!11:02
lifelesswithout considerable elbow grease11:02
lifelessI am pretty damn sure we've exceeded the requirements of the original bug report; upcasting it to 'bzr is not as fast as git' isn't useful11:03
lifelessI'm done for the day11:05
Fly-Man-Morning11:50
Fly-Man-Any Bazaar developers awake that could have a look at a pastebin11:50
Fly-Man-captured after the nice message11:50
Fly-Man-segmentation fault11:51
Fly-Man-while trying to capture a bzr branch11:51
mzzFly-Man-: I'm not a bazaar developer, but if the segfault isn't in a bazaar-specific extension I can look11:53
Fly-Man-mzz11:53
Fly-Man-let me grab the pastebins for ya11:53
* mzz wishes people would just include the pastebin link the first time around in cases like this11:53
Fly-Man-used gdb for debugging11:54
Fly-Man-http://launchpad.pastebin.com/d364c32a911:54
Fly-Man-this is what gdb gave11:54
Fly-Man-http://launchpad.pastebin.com/d1e01157411:54
Fly-Man-Used the ppa that's mentioned in this posting11:54
Fly-Man-https://dev.launchpad.net/Getting11:54
Fly-Man-=> https://edge.launchpad.net/~bzr/+archive/ppa11:55
mzzbah, memory corruption11:55
mzzFly-Man-: is the branch data needed to reproduce this available?11:55
mzzFly-Man-: and what python is that?11:56
Fly-Man-python 2.611:56
Fly-Man-bzr 2.0.0-1~bazaar1~jaunty111:56
mzzFly-Man-: ubuntu jaunty's? ubuntu karmic's?11:56
Fly-Man-Jaunty11:56
Fly-Man-I don't run Karmic yet11:56
Fly-Man-Was planning to11:56
mzzthat's fine11:56
Fly-Man-if this won't work11:56
* mzz has jaunty here11:56
mzzFly-Man-: can you give me instructions for reproducing this?11:57
Fly-Man-Yes11:57
Fly-Man-I installed a clean slate Jaunty11:57
Fly-Man-then I ran apt-get update / upgrade / dist-upgrade11:57
Fly-Man-to get the system setup fully11:57
Fly-Man-after that, I added the 2 lines from the ppa to the /etc/sources.lst11:57
Fly-Man-ran apt-get update again11:57
Fly-Man-added the keys for the pp11:58
Fly-Man-and started to follow the instructions on that page11:58
mzz(mainly interested in the bzr commands you ran)11:58
Fly-Man-after about 140 / 175 mb pulling11:58
Fly-Man-it just dies11:58
mzzahh11:58
mzzlaunchpad, got it.11:58
Fly-Man-mzz, I ran the rocketsetup11:58
Fly-Man-that has the commands in it11:58
mzzyeah, got it now. Running...12:00
Fly-Man-mzz: thanks12:00
Fly-Man-if you get the same error, I know it's not my bzr12:00
GaryvdMHi - I'm getting an error: bzr: ERROR: wanted 8638 bytes but next hunk only contains 322: 'gcb1z\n8621\n19545\nx\x9c\x9d'...12:00
Fly-Man-but I think i'll jump to Karmic then12:00
GaryvdMThis is the .bzr.log: http://pastebin.com/d2f71d8e412:01
GaryvdMHow can I work out what's wrong?12:01
mzzGaryvdM: I'd start by running "bzr check" on both ends12:02
GaryvdMmzz:12:02
GaryvdMmzz: Ok12:02
GaryvdMmzz: both are ok12:04
mzzGaryvdM: then I'm afraid for someone who actually knows bzr to show up12:05
SamB_XPmzz: you're afraid ?12:06
mzzSamB_XP: frequently12:06
SamB_XPwhy are you afraid of people who know bzr ?12:06
mzzerr, wait12:06
mzzI don't know what happened there12:06
SamB_XPlol12:06
mzzGaryvdM: then I'm afraid *you'll have to wait* for someone who actually knows bzr to show up12:06
GaryvdM:-)12:07
mzzmy brain got ahead of my fingers a little there, I think12:07
GaryvdMHmm - odd - bzr pack on the source fixed it.12:23
igcnight all12:33
Fly-Man-mzz: I think I found something that could explain the behaviour12:37
mzzFly-Man-: I haven't reproduced yet (it's pulling revisions)12:37
Fly-Man-mzz: It will pull revisions12:38
Fly-Man-but around 140 Mb or 171 mb it will give the error12:38
bialixGaryvdM: hello12:50
mzzFly-Man-: looks like it's well past that point now (still going though). Are you sure your physical ram is ok?13:03
Fly-Man-yup13:03
mzz(bzr is pretty ram-hungry while it's doing this)13:03
Fly-Man-it's a virtual machine13:04
Fly-Man-with 2 gb ram13:04
mzzFly-Man-: if I wanted to debug this I'd first try to reproduce locally somehow, and then running a debug build of python under valgrind, assuming I'm correct about this being memory corruption13:05
mzz(running valgrind on a regular build of python is fairly pointless)13:05
mzzbut only if you're sure about the hardware being ok (in this case that means the vm software being ok and the hardware the host is running on being ok)13:06
Fly-Man-yupz, the machine is brandnew13:07
mzzI'd trust it more if it was old13:08
orattueWhat's the difference between using the protocol bzr+ssh:// over sftp:// - I can't seem to find any clear answers in documentation...13:15
garyvdmHi bialix13:19
Takorattue: as I understand it, bzr+ssh invokes (and thus requires) bzr at both ends, while sftp just uses raw sftp to transfer data13:20
orattueTak: are there any benefits to using bzr+ssh?13:20
=== doko__ is now known as doko
garyvdmorattue: bzr+ssh has some performance advantages13:22
garyvdmorattue: e.g. Sometimes bzr will autopack it's repository. With sftp, this has to be done on the client, transferring all the data over the wire. With bzr+ssh, that is all done on the server.13:24
orattueGaryvdM: yeah think I have experience an autopack over sftp:// not good :(13:24
=== garyvdm is now known as GaryvdM
mzzbzr+ssh should cut down on the number of roundtrips, so I'd expect the performance difference to be more noticable if there's a lot of network latency13:28
bialixGaryvdM: what you think about upgrading qbzr trunk to 2a?13:30
GaryvdMbialix: That would be good.13:32
Fly-Man-mzz: Same error occurs with the installed version from Karmic13:32
bialixGaryvdM: I won't object, because 2a is supported at least since bzr 1.1713:33
bialixand qbzr support only recent bzr versions13:33
GaryvdMbialix: Though, it's not urgent for me.13:34
bialixGaryvdM: I'm unlikely will have chance to do upgrade soon13:34
Fly-Man-mzz: It seems to be in all 2.0.x branches13:41
Fly-Man-when I try it on another machine with 1.1813:42
Fly-Man-it works instantly13:42
mzzFly-Man-: works for me using the same jaunty+ppa13:53
Fly-Man-mzz: that's odd ....13:54
Takhmm, shouldn't dpush have the same option set as push? (e.g. --no-strict)14:35
GaryvdMTak: probably, but --no-strict is quite a new option.14:38
GaryvdMTak: I think the right thing to do here is to log a bug...14:39
allenapHi, I'm using the Ubuntu Jaunty PPA ("deb http://ppa.launchpad.net/bzr-beta-ppa/ubuntu jaunty main") and I noticed that bzrlib is no longer available for Python 2.4. Does anyone know if this is a new policy, an issue with the package, or a local problem?14:40
GaryvdMallenap: As far as I know, bzr still supports py 2.4. What distro are you using.14:42
GaryvdMallenap: The version of py in jaunty is 2.6...14:42
allenapGaryvdM: Ubuntu Jaunty (9.04).14:42
GaryvdMallenap: Have you specifically chosen to run py 2.4?14:43
allenapGaryvdM: Unfortunately yes :) Developing Launchpad.14:44
Takhmm, is dpush part of bzr proper? or one of the plugins?14:45
allenapGaryvdM: When Launchpad builds, it creates an egg for bzr, so that's fine, no dependency on the system bzr. However, to prepare the build there is a script that needs bzrlib.14:45
GaryvdMallenap: *I think* that the .deb in the ppa are built against the default py version for the distro, so you may need to build from source. I am not an expert on this though...14:46
allenapGaryvdM: It's not a huge problem; that script can be run using python2.6, but I wanted to ask in case something had been removed.14:46
allenapGaryvdM: ... by mistake.14:46
GaryvdMallenap: I think it is just the .debs that require py 2.6, not the source...14:47
allenapGaryvdM: Okay, that's reasonable. Thanks.14:47
jelmertak: It's part of bzr itself14:47
=== EdwinGrubbs2 is now known as EdwinGrubbs
Takk, thanks14:48
Takwhat determines whether a command goes into the "hidden" list or not? (bzr help [hidden-]commands)15:07
* Tak full of silly questions today15:07
jelmerTak: if it's got 'hidden = True' set in the class IIRC15:09
Takwell...I mean more philosophically15:10
james_wif it has the aura of a hidden command15:10
james_wbasically whether it should show up in "bzr help commands"15:11
james_wso internal, experimental, highly specialised or similar15:11
TakI see15:12
GaryvdMTak: Alot of the hidden commands are things that would be used by bzr devs, but not by ordinary users (e.g. dump-btree)15:14
GaryvdMTak: qsubprocess is use by qbzr to launch a command with a specialized ui_factory, would never be used directly by a user.15:15
Takdpush is what prompted my question ;-)15:16
TakI just found out about it the other day, and it seems like it would be highly useful to many bzr-#{othervcs} users15:17
smoserkirkland, i know you use 'bzr cdiff' is it busted for you right now?15:31
smoser$ bzr cdiff15:31
smoserPlugin "Bzrtools" is not up to date with installed Bazaar version 2.0.0.15:31
smoserThere should be a newer version of Bzrtools available, e.g. 2.0.15:31
james_wsmoser: install updates15:33
james_wit should be built by now15:33
smoserjames_w, looks like it. i *can* read, but i'd done that some time before when update wasn't available. thanks.15:35
james_wyeah, it was just fixed this morning, not your fault as you have bzrtools 2.0 installed :-)15:36
* GaryvdM seeks poolie...15:53
orattuehmm - bzr: ERROR: Cannot commit to branch BzrBranch6('file:///Library/WebServer/Documents/example.com/apps/'). It is bound to BzrBranch6('sftp://pixeco@dev.pixeco.com/home/bazaar/pixeco/example.com/apps/trunk/'), which is bound to file:///home/bazaar/pixeco/example.com/apps/trunk/.17:38
orattuev.circular - anyone ever seen this before?17:39
LarstiQyeah17:40
LarstiQorattue: `bzr unbind` sftp://pixeco@dev.pixeco.com/home/bazaar/pixeco/example.com/apps/trunk/17:40
orattueLarstiQ: right but I want to commit to that location...17:41
rbistolfiHi, I get this error trying to branch from lp, any ideas? http://pastie.org/63356117:42
LarstiQorattue: yes, but it is bound to itself, you need to fix that first17:43
LarstiQorattue: so unbind it from itself, and continue17:43
luke-jrhow do you undelete in Bazaar? O.o17:44
luksundelete?17:44
LarstiQluke-jr: vague term like that, use case?17:44
luke-jrin Subversion, I would copy the file from its last revision17:44
luksbzr revert -r X path/to/file17:44
luke-jrno, teh delete is commmitted17:45
LarstiQluke-jr: yes, what luks said17:45
luksthat's why there is "-r X"17:45
dashluke-jr: revert does more in bzr than in svn :)17:45
luke-jro17:45
luke-jrso that will restore the old file and commit it with its original history?17:46
dashrestore yes, commit no.17:46
luke-jrO.o?17:46
dashit just changes your WC17:46
luke-jr:/17:46
dashbut you can commit it then. :)17:46
lukswhy :/?17:46
LarstiQluke-jr: unlike svn revert, you can commit the result of a revert17:46
lukscommit is as simple as bzr commit -m 'restored path/to/file'17:46
luksbut people usually want more than that17:47
luke-jrbut then I'd lose the history?17:47
luksno17:47
luke-jrand probably break merges17:47
luksit will be the same file with the same history17:47
luksagain, no17:47
luke-jroh17:47
luke-jrso it restores the history, so when I commit manually, it's there17:47
luke-jr?17:48
dashyes17:48
luke-jrok17:48
luksit's there when you run revert17:48
luke-jrthanks17:48
luksthen you commit manually17:48
luke-jrand does that work smoothly with bzr-svn?17:48
dashbzr in general won't let you do stuff that breaks merges17:48
LarstiQyes (although the history was never gone, so didn't really need restoring)17:48
luke-jror am I better off using svn to restore it?17:48
dashluke-jr: works fine with bzr-svn17:48
luke-jrso bzr-svn will represent it as a copy in svn? :)17:48
nedosahi all, is there anything in bzr to support rearranging commits ? I thought bzr-rebase can do it, but apparently not yet17:53
LarstiQluke-jr: euh, that I don't know exactly17:53
LarstiQluke-jr: try it! :)17:53
luke-jrLarstiQ: svn has no simple undo if not :/17:54
LarstiQluke-jr: do you really need it to be a copyz?17:54
LarstiQsvndump if you need to be sure17:54
luke-jrLarstiQ: of course... :/17:54
LarstiQor try it on a an example repo17:54
LarstiQluke-jr: why?17:54
luke-jrbecause I'm a perfectionist17:54
luke-jrand some of these might be big17:55
LarstiQif bzr-svn doesn't use a copy, I'd think it uses the original entry17:57
LarstiQby pivoting in the revision17:57
LarstiQthereby using even less space17:57
LarstiQbuuut, that's svn details I'm not going to vow on :)17:58
luke-jreh?18:00
luke-jrSubversion can only do it with a copy...18:00
LarstiQluke-jr: not if you say "use this prior revision"18:00
LarstiQwhich may or may not be possible in the case of reverting one file18:01
* LarstiQ knows enough about svn inner workings to be dangerous18:01
LarstiQnot enough to know exactly how it will play out18:01
LarstiQluke-jr: the bundled svn _client_ can only do it with a copy18:01
luke-jrLarstiQ: how would that be represented in a svn dump?18:01
LarstiQluke-jr: good question18:02
luksis this something you are going to do regularly?18:02
* luke-jr notes his Subversion repository is generated from a hand-crafted svn dump of his18:02
luksif not, I'd just use svn copy and be done18:02
luke-jrheh18:02
luksotherwise I'd test bzr-svn on a test local repository18:02
luksthe file will use the same history and everything in bzr18:03
luksbut I don't think anybody here, except jelmer, knows what will it do in svn :)18:03
=== EdwinGrubbs is now known as Edwin-lunch
luksouch, bzrlib version check in qbzr :(18:30
GaryvdMluks: I wanted to have just a minimum check, but there is no api for that :-(18:43
GaryvdMluks: I really think it's better overall to do a version check. It takes away alot of unknowns.18:45
luksGaryvdM: my problem with it is that parts of qbzr might easily work with older bzrlib, but it will refuse to run18:46
luksI had enough of that with bzrtools and bzr-svn18:46
luks(upgrade bzr => oops, no plugin works anymore => locally comment out version checks => they all work fine)18:47
GaryvdMluks: Ok - that could be solve by not defining a max version.18:48
luksI can understand it in bzr-svn, where a different format API might lead to data corruption18:48
luksbut not in a tool plugin, like qbzr or bzrtools18:49
lukswell, max version is only one end of it18:49
luksthe point is that one version number is not a good way to represent "compatibility"18:50
Takheh, I put a min version check on md-bzr because of the strict/no-strict behavior18:50
jelmerTak: how do I build monodevelop-bzr from the command-line *and* build the GUI code?18:59
jelmerTak: so far I've used mdtool but that doesn't seem to create the .cs files18:59
Takhmm, good question19:03
GaryvdMluks: Sorry - I had some one talking to me.19:08
GaryvdMThere is some system wide code (SubprocessUIFactory) that was not compatible with bzrlib 1.16. That affects a large scope of the qbzr functionality.19:08
Takjelmer: apparently there's not a way; I guess we should add a generated.cs and then add it to ignores19:09
luksGaryvdM: I have no real problem with that, it's your choice19:09
GaryvdMI agree on the max check though.19:10
luksjust note that the lack of a version check in earlier qbzr versions was intentional19:10
GaryvdMluks: yes19:10
luksfor example, the qcommit code from qbzr r1 (3 years old, written against bzr 0.10) still works fine19:10
luksthat's two major bzr versions19:10
luksit didn't do much, but it shows that some API does not change while some does19:11
luksand a single number can't reflect that19:11
jelmerTak: just for everything in gtk-gui/ ?19:12
Takjelmer: yeah19:14
RobOakesI've got a quick question about creating a branch from a separate user account.  Is there any way to tell bzr which public key I want to use?19:18
jfroy|workIs there documentation on the attributes or properties of things in bzrlib?19:40
jfroy|workI just looked everywhere on a way of getting a revision object from a branch and a revid, only to dig out of the source that I could do branch.repository.get_revision()19:42
jfroy|workpydoctor is hugely not helpful by being silent on attributes / properties completely :|19:42
mwhudsonit should document @properties, but yeah19:43
* gerard_ loves bazaar19:47
gerard_and now the complaint: bzr svn-import <path to local repo> is SLOOOW19:48
gerard_any way to get data from svn into bzr faster?19:48
gerard_is bzr-fastimport much faster?19:49
GaryvdMjfroy|work: branch.repository.get_revision() is the correct way to do what you want.19:55
jfroy|workGaryvdM: precisely what I am doing :p19:56
GaryvdMjfroy|work: "getting a revision object from a branch and a revid" :-p19:56
jelmergerard_: how slow is slow?20:01
gerard_good question20:02
Takso zen20:02
gerard_about 1s per revision20:02
jelmergerard_: could be right, depending on the size of the trees20:02
jelmergerard_: what versions of bzr/bzr-svn?20:02
gerard_meh20:02
gerard_Bazaar (bzr) 1.5, bzr-svn 0.4.1020:03
gerard_about 8000 revisions in total20:03
jelmergerard_: oh, upgrading will definitely get things a lot faster20:03
gerard_jelmer: probably, but it's the latest version in debian testing20:04
jelmergerard_: in debian stable I think20:05
jelmergerard_: testing has 1.1720:05
gerard_hmm, I was in the opinions that I was running testing20:05
gerard_let me check20:05
gerard_not the first time they switched around stuff and I got stuck with stable20:06
gerard_jelmer: right, I feel stupid now20:16
gerard_let me check how much faster it is20:16
=== Noldorin__ is now known as Noldorin
gerard_jelmer: ahh, thanks alot20:28
gerard_works much much better now20:28
Takugh, speaking of version limiting, I made a stupid mistake that breaks the md-bzr version check for 2.020:28
gerard_now I need to plan when I'm going to update my system to testing again....20:28
gerard_it still doesn't understand ^C very well but that's ok20:30
jfroy|workIs there a way to get an output similar to 'bzr log -c FOO' but using the bzrlib API for a specific Revision object?21:18
jfroy|workmmm, bzrlib.log21:24
Mezhow do I find the revid of the current branch tip21:27
Meznvm, found it.21:29
jfroy|workmmm, that's not a simple API21:30
jrwrenhttps://bugs.launchpad.net/bzr/+bug/186014 says fix release, how can I find out what the fix was ?22:06
ubottuLaunchpad bug 186014 in bzr "MemoryError on diff/commit due to corrupted dirstate" [High,Fix released]22:06
GaryvdMjrwren: The milestone says 1.1722:08
jrwrenhrm, well I'm on 1.18.1, wondering how I can fix up a corrupted dirstate22:11
scrash09Hi! I just started using bzr, and need a little help.22:11
scrash09If I checkout a source tree (e.g., /webapp) that contains a user-files directory (e.g., /webapp/files) that I replace with my local stuff.  Every once in a while I want to merge upstream changes into my local setup.22:11
scrash09When I try a merge, though, I get 'bzr: ERROR: Working tree "/webapp" has uncommitted changes (See bzr status).'; 'bzr status' then lists any files i've modified/added in /webapp/files.22:11
scrash09Do I _have_ to manage /webapp/files under bzr control in order to keep the upstream changes in sync? Or is there a way to exclude the /webapp/files folder from the sync/merge process?22:11
jrwrenyou can ignore those files, but then you get no help for merging.22:12
scrash09jrwren: Sorry, I don't understand what you mean by "no help" ...22:14
jrwrenscrash09: teh whole point is to use VCS to help you merge.  If you commit those files, and then "every once in a while" merge upstream changes... bzr will help you merge those changes, or rather, help you manage teh versions of them. You still need a nice diff tool to merge conflicts.22:15
jrwrenscrash09: but if it is source, quite often it can just merge and work.22:15
scrash09jrwren: Hm.  I'm not grokking this. :-(  E.g., the 'upstream' in my case is a Drupal-clone, Pressflow (not that it matters, I suppose).  It includes a 'sites' folder  .... that I'll put my stuff into.  So, Pressflow changes and I want to merge those changes "around" my sites folder.  I _try_ to do that, using bzr merge, but get an ERROR -- and it refuses.22:18
scrash09Oh, and I will _never_ merge _my_ local stuff back into upstream ...22:19
dubhi, is there a dns name for a launchpad.net bzr server?22:20
Peng_dub: What do you mean?22:21
dubI've been given a probelm with 'bzr.launchpad.net' to look at, which appears to be wrong22:22
Peng_dub: It's bazaar.launchpad.net.22:23
dubthanks, are there any known issues with bazaar and transparent HTTP caching that you are aware of?22:24
Peng_dub: Broken HTTP caches sometimes get freaked out by what bzr does, but not that often, and I think it might've been worked around anyway.22:25
Peng_dub: You can access bazaar.launchpad.net over SSH if you need to. It's faster, too.22:25
scrash09Can 'bzr ignore' be used to ignore an entire subdirectory below my tree root?  Or just file-name pattern matching?22:25
dubthanks for your help22:26
Peng_That one didn't wait long.22:26
dashmaybe he tried it22:27
Peng_Hopefully, but we'll never know.22:28
jrwrenany good docs for working with multiple heads?  we ahve 3 heads, adn I don't know why.22:34
dashjrwren: hmm. where are you seeing this? :)22:39
jrwrenbzr heads --all22:41
jrwrenshows 3 heads, only 1 tip. somehow, some of us are using different heads, not sure how/why22:41
jrwreni guess this is called nested trees?22:43
zsquarepluscrunning heads within a branch in a shared repo also lists the heads of the other branches in the repo, at least is seems to do that here22:43
jrwrenoh no, nested trees is something else entirely.22:44
jrwrenzsquareplusc: yes, and would hopefully show on TIP per branch22:44
zsquarepluscyes22:44
jrwrenmine shows one TIP per branch, but also 2 other HEAD things that aren't TIP22:45
zsquarepluscmaybe with stacked trees you see a head for each "layer"?22:45
jrwrenhrm... maybe I inadvertently stacked my trees.22:45
jrwrenstacked branches teh same as stacked trees?22:47
Fly-Man-mzz: *ping*22:47
Fly-Man-mzz: For some stupid reason, it works now ;)22:47
Fly-Man-I baked 1.18 from source22:47
Fly-Man-then all of a sudden it worked22:48
lifelessmoin22:49
lifelessdub: intercepting caches - no. Unless they ignore cache control headers22:50
dubdoes it user tcp/80?22:53
dubI get a 302 to https://launchpad.net22:53
dubuse*22:53
lifelessport 80 for http, 443 for https, as normal22:54
dubis there another URI that the application uses?22:55
dubie, not bazaar.lp22:55
zsquarepluscjrwren: is it a shared repo where you deleted branches?22:59
lifelessdub: many, depends on what the user types in ;)23:00
lifelessdub: why?23:00
dubI have a user complaining about inability to 'edit stuff on bzr.launchpad.net'23:01
dubusing bazaar as the client23:01
lifelessare they able to connect to port 22 ?23:02
Peng_dub: The user needs to pastebin the error he's getting.23:02
lifelessto push or commit on launchpad, we use bzr+ssh, which tunnels over ssh - on port 2223:02
dubI can ask, at this stage I was just trying to establish the actual URI and do the usual checks on if its cache friendly23:02
lifelessand as Peng_ says, seeing the error would help immensely, as there are multiple possible causes.23:02
lifelessdub: I wouldn't say its friendly, we cache bust a lot (because of the nature of the beast). However, 'works when folk are doing interception' - yes.23:03
jrwrenzsquareplusc: it is a shared repo, but we did not delete branches23:06
Peng_dub: The http access is read-only. If the user wants to "edit stuff", he/she/other has to use ssh anyway, and who in the world has a transparent SSH cache?23:07
dashOne way to get multiple heads is to use incommit23:08
dasher uncommit23:08
Peng_I've heard that radiation can do it too.23:09
dubPeng_, we're caching tcp/80. The user is rather vague on details but is sending through the error message23:15
rbistolfiHi, any idea about why do I get this? http://pastie.org/63356123:20
Peng_rbistolfi: ...Do you have a transparent proxy? What happens if you try again?23:22
Peng_dub: Is rbistolfi the person you were talking about?23:24
dubno idea sorry23:24
dubthe IP suggests not23:25
=== oubiwann_ is now known as oubiwann
lifelessoubiwann: you're flapping23:27
oubiwannyeah... I need to extend my wireless network23:28
lifelessrbistolfi: is it a private branch?23:28
lifelessoh sorry, terrible pastebin site.23:29
lifelessuhm as Peng says, looks like something mangling the http response23:29
lifelessrbistolfi: ^23:29
dubnot seeing much in the way of cache control headers23:33
dubshould be using expires23:33
lifelessdub: not really, if you're seeing web pages, they don't matter. if you're see VCS metadata, we no-cache them all in the client23:49
dubmy users error is much the same as rbistolfi23:51
dublooking at headers returned from an HTTP request for the URI I see no attempt at cache control.23:53
lifelessdub: thats right.23:54
lifelessdub: Completely consistent with what I was saying ;)23:55
lifelessdub: if you're running squid, you have an old version.23:55
dubim not23:55
lifelessknown bug, fixed a while back.23:55
lifelessok23:56
lifelessin which case could you please open a bug? We'll need to figure out if the product you've got is doing the wrong thing so we can add it to our knowledgebase [or fix bzr if its a bzr http bug]23:56

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