/srv/irclogs.ubuntu.com/2009/12/01/#bzr.txt

mwhudsoni don't think loggerhead strictly depends on setuptools but it does use pkg_resources00:05
mwhudson(which most people have because setuptools itself depends on pkg_resources aiui)00:06
Noldorinmwhudson: yeah, i'm sure you're right. i included the whole thing just to be safe thuogh00:06
Noldorinright, now a non dependency-related issue00:06
NoldorinThe specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "".00:07
mwhudsonNoldorin: it's not a cgi app00:07
PengYeah, Loggerhead doesn't need setuptools. To run, anyway. I dunno about installing it.00:07
Noldorinmwhudson: hmm. yeah, it's wsgi. and the server apparently supports that via isapi-wsgi00:07
Noldorinbut i'm not sure how to tell it to use wsgi00:08
PengThe usual practice is to use HTTP and have the server proxy to it.00:08
mwhudsonPeng: btw, if you want to steal stuff from http://bazaar.launchpad.net/~launchpad-pqm/launchpad-loggerhead/devel/annotate/head%3A/start-loggerhead.py and incorporate it into loggerhead proper that would be great00:10
lifelessPeng: windows VPS server, nothing usual about it :)00:11
NoldorinPeng: yeah, so i've been told. but i'm on a shared server00:11
mwhudson(i'm thinking of the improved logging and the timeout stuff)00:11
Noldorinlifeless: exactly :S00:11
Penglifeless: Ah.00:13
Pengmwhudson: Hm.00:13
Peng...Great, now I'm speaking in two-letter grunts.00:14
mwhudsonPeng: well i guess what i really mean is "have you seen this stuff" ?00:14
PengPerhaps it would be easier to get FastCGI working?00:14
Pengmwhudson: I knew of launchpad-loggerhead, but hadn't looked at it much.00:14
NoldorinPeng: i'd need a fastcgi -> wsgi interface though00:15
PengNoldorin: What? You mean like flup?00:16
lifelessisapi-wsgi may be that interface already00:16
lifelessinside the server00:16
NoldorinPeng: not sure, honestly00:16
PengEh. I'm not going to pretend to know anything about Windows servers.00:16
Noldorinthis is all fairly new to me00:16
PengOr that I know what this conversation is about. :P00:16
Noldorinlifeless: yeah quite possibly00:16
Noldorini'm just not sure how to use it :S00:17
Pengmwhudson: lp-lh is under a different license...00:17
PengI think.00:17
PengYeah, Loggerhead is00:17
mwhudsonPeng: oh god it probably is agplv3 isn't it00:17
PengGPLv2.00:17
Pengmwhudson: :D00:17
mwhudsonand loggerhead is gpl00:17
mwhudsonyay00:18
mwhudsonwe can probably get this fixes00:18
mwhudson*fixed00:18
dOxxxI'm running selftest on windows and I'm getting a lot of these: http://pastebin.com/m3a6c05f000:18
dOxxxIt's making it pretty hard to see the "real" errors in tests :P00:20
Peng(Thank goodness for licenses. Otherwise I would've had to come up with an excuse not to work on it. ;-)00:21
Noldorinlifeless, mwhudson: are you stumped then?00:23
Noldorini certainly am now...00:23
PengI'm more or less happy with my logging setup, so working on that makes me want to bang my head on the wall without any benefit. :P00:23
=== arjenAU2 is now known as arjenAU
PengI haven't run into the other things it works around, but they look interesting. 'specially the threadpool_options.00:23
lifelessNoldorin: I have no idea, haven't had at any point :)00:23
lifelessNoldorin: I'd guess that you don't have a proper wsgi app setup, *or* that isapi-wsgi doesn't support what we do, or something else.00:24
Noldorinheh. it's really going to be much less pain using webbr i think00:24
=== jelmer_ is now known as jelmer
Noldorinyeah, it's just too tricky on a windows servers, let alone a shared windows service i think00:24
lifelessI'm sure its doable, but other than saying 'good luck' and 'ask mwhudson if you need wsgi pointers'... I can't do much for you.00:25
mwhudsonloggerhead is set up bit oddly compared to many wsgi things00:25
mwhudsonit's more like a "http server that uses wsgi" rather than "a wsgi app" i think00:26
mwhudson(this would probably be good and not that hard to fix if you knew how)00:26
Noldorinlifeless: if i had the time and effort to spare, perhaps00:26
Noldorinbut alas i do not00:26
igcmorning00:35
Noldorinalright00:40
Noldorintoo late to be hacking now, methinks00:40
Noldorinthanks for your help, all00:40
Noldorin'night00:40
maxbDoes any documentation for bzr-git exist?00:41
lamalexHi, i keep getting this bzr: ERROR: [Errno 13] Permission denied when i do bzr update00:42
=== blueyed_ is now known as blueyed
lifelesslamalex: check your .bzr.log00:52
jelmermaxb: the normal bzr documentation should apply00:54
maxbjelmer: I'm starting to think that despite "bzr git-import" existing, there's no way to pull further revisions from a non-HEAD git branch?00:55
jelmermaxb: git-import can be run repeatedly00:56
jelmerbut there's no other way to pull from a non-HEAD git branch00:56
jelmer(since bzr doesn't have a way of addressing colocated branches)00:56
maxbIt would be nice to invent such a thing, even if it only was relevant to bzr-git and bzr-hg00:57
lifelessit was agreed on thelist ~ a year back00:59
lifelessI don't recall what the agreed way /way/00:59
lifelesss/way/was/00:59
jelmerlifeless: I don't think there was an agreed way01:00
maxbWas the idea of doing something bzr-git specific shot down already?01:00
jelmerlifeless: at least I don't recall seeing anything01:00
jelmermaxb: Yes, that's a bad idea - it means we'll have migration issues later and break existing URLs01:01
dOxxxI'm getting a lot of TypeErrors about Tuple when running selftest on Windows, any idea what's going? http://pastebin.com/m3a6c05f001:05
lamalexlifeless: i dont see on..01:06
lamalexs/on/one01:06
jelmerlamalex: should be in your home dir01:07
maxbjelmer: Well.... it's sad that bzr-git remains crippled for the want of a consensus01:09
maxb remote.py |    7 ++++++-01:10
maxb 1 file changed, 6 insertions(+), 1 deletion(-)01:10
maxb^ and I've made it work more or less with merely that01:10
spivlamalex: 'bzr --version' should tell you where it is01:12
lamalexjelmer, lifeless: yah, found it. http://paste2.org/p/54133401:12
spivdOxxx: interesting, is this with current lp:bzr ?01:12
dOxxxspiv: yes01:12
dOxxxI was running --parallel=subprocess on win3201:13
spivdOxxx: are all the C modules up to date?01:13
dOxxxspiv: this was from source without C modules compiled01:13
spiv(i.e. have you run whatever the windows equivalent of "make build"?)01:13
spivAh, so no C modules?  Hmm.01:13
dOxxxspiv: I'm not even sure how to do that on Windows :)01:13
spivdOxxx: python setup.py build_ext -i, IIRC, but there may be tricky dependencies or something more to it...01:14
pooliehello spiv, doxxx, jelmer01:14
dOxxxspiv: hmmm01:15
dOxxxhey poolie01:15
spivdOxxx: I can reproduce it here01:15
dOxxxspiv: that's good, I guess :)01:15
spivdOxxx: probably a bug in the pure python fallback code for John's StaticTuple work01:15
jelmerhi poolie01:16
dOxxxspiv: should I file a bug?01:16
jelmermaxb: agreed01:16
lamalexanyone know about that error? i dont understand the log output01:17
spivdOxxx: yeah01:17
mkanatWow, if you run "nick" on a loomified branch, things explode.01:22
fullermdIf you nick us, do we not bleed?01:23
mkanatlol01:23
* mkanat just realized his bzr is somewhat old, though.01:24
mkanat1.16.01:24
dOxxxspiv: bug 49060001:24
ubottuLaunchpad bug 490600 in bzr "TypeError: StaticTuple can only point to StaticTuple, str, unicode, int, long, float, bool, or None not <type 'tuple'>" [Undecided,New] https://launchpad.net/bugs/49060001:24
mkanatWell, 1.16.1.01:24
=== dOxxx is now known as dOxxx_
spivmkanat: yeah, I think that may be fixed with current bzr + current bzr-loom01:26
* mkanat nods.01:26
mkanatOkay.01:26
spivdOxxx_: thanks!01:27
shakaran1Hi, I can have severals parents locations for a branch? I explain that. I have a ppa with bazaar but I need migrate all code to a SVN. If I do a pusth with the url of a SVN, the bazaar branch complains that already exists a parent location and the show a diverged branch01:40
jelmershakaran1, hi01:44
jelmershakaran1: Does the location you're trying to push to already exist perhaps?01:46
shakaran1yep, the bazar location exits, and the svn too01:46
shakaran1I do: bzr push svn+https://forja.rediris.es/svn/cusl4-tivion01:47
shakaran1And I get: bzr: ERROR: These branches have diverged.  See "bzr help diverged-branches" for more information.01:47
shakaran1the bzr missing show me: Using saved parent location: bzr+ssh://bazaar.launchpad.net/~shakaran/tivion/tivion/01:48
jelmerthat's a different location01:48
jelmerthan what you're pushing to01:48
jelmershakaran1, ^01:49
shakaran1yeap, Can I do?01:51
shakaran1I dont know how to do it01:51
shakaran1I want push all my repo on the SVN01:51
shakaran1how to do it then?01:53
jelmershakaran1: did you read the information in "bzr help diverged-branches" ?01:54
shakaran1 bzr merge01:56
shakaran1Merging from remembered submit location bzr+ssh://bazaar.launchpad.net/~shakaran/tivion/tivion/01:56
shakaran1Nothing to do.01:56
jelmershakaran1: What does "bzr missing" on the URL you're trying to push to say?01:56
shakaran1In this url, I have a SVN repo,  https://forja.rediris.es/svn/cusl4-tivion how to do bzr missing?01:57
shakaran1I have to do something with this02:01
jelmer"bzr missing https://forja.rediris.es/svn/cusl4-tivion"02:03
shakaran1You have 55 extra revision(s):02:04
shakaran1I need to do a commit?02:04
jelmershakaran1: You probably want to push to https://forja.rediris.es/svn/cusl4-tivion/trunk02:05
shakaran1jelmer: oh perfect! jelmer you save my day!02:06
* igc lunch + est02:11
igcrest02:11
pooliespiv, hi - tell me things? :)02:20
spiv_Well, I just discovered duelling pppd processes, which probably explains why I dropped off adsl a moment ago :)02:21
spiv_I think I found the cause of https://bugs.edge.launchpad.net/bzr/+bug/490600, and just pushed a simple branch for it.02:22
ubottuLaunchpad bug 490600 in bzr "TypeError: StaticTuple can only point to StaticTuple, str, unicode, int, long, float, bool, or None not <type 'tuple'>" [High,Confirmed]02:22
spiv_I'm a bit concerned about https://bugs.edge.launchpad.net/bzr/+bug/489211, but it's going to be hard to track down without a way to reproduce it locally.  Coincidentally it's possibly the same area of code as 490600, but that's just coincidence :)02:24
ubottuLaunchpad bug 489211 in bzr ""bzr: ERROR: exceptions.AssertionError: second push failed to complete a fetch set" during checkout" [High,Confirmed]02:24
spiv_I've spent some time staring at the relevant code hoping to spot the bug by inspection, but I think I'll have to make a patch to add more logging for the reporter to try.02:25
=== spiv_ is now known as spiv
pooliemm i thought that was a dupe02:35
pooliebut apparently not?02:35
pooliewell, they're seeing it in a release that's supposed to have the other bug fixed02:35
poolieas you say02:35
spivpoolie: in a release that fixed the other, with a format (2a) that didn't experience the other.02:40
pooliespiv, i was wondering a bit this morning if there were UDD things more important than these bugs02:40
pooliebut i think these bugs are genuinely high02:40
poolieso02:40
poolieit's not a bad use of time to work on them02:40
LaserJockI'm getting bzr: ERROR: KnitPackRepository is not compatible with RemoteRepository different rich-root support when trying to pull from a branch on Launchpad, any thoughts?02:42
lifelessthe source has upgraded, probably to 2a.02:44
spivLaserJock: you have mismatched formats, upgrade one (or both) sides to 2a.02:45
LaserJockspiv: I think I tried that02:45
spivYour local side isn't 2a, judging from that error.02:45
LaserJockbzr info gives an "unnamed" branch format on both sides02:46
spivTry info -v02:46
LaserJockso yeah, that doesn't sound right02:46
spivWhat's the URL of the remote branch?02:46
LaserJockformat 7 locally02:46
LaserJockbzr+ssh://bazaar.launchpad.net/~cjwatson/ubuntu-cdimage/mainline/02:47
spivLaserJock: "format 7" is the format of the branch, for this it's the repository format that matters02:48
spivRight, that remote branch is 2a02:48
spivWhereas your local one is probably something like "Packs 6 ..." rather than "Repository format 2a ..." (to use the descriptions info -v will print)02:50
LaserJockspiv: "Packs containing knits without subtree support"02:52
LaserJockso do I blow away my repo and start over (not a big deal)?02:54
lifelessLaserJock: you run 'bzr upgrade'02:54
LaserJockI did02:54
LaserJockoh, wait02:54
LaserJockI ran bzr upgrade on the branch02:54
LaserJockgah, how confusing02:55
spivbzr upgrade, if you have bzr 2.0.0 or newer, will upgrade you to 2a.02:55
LaserJockok, running bzr upgrade on the repo dir02:55
spivIt should upgrade both the branch and the repo, IIRC, that's a bit odd.02:55
lifelessspiv: it upgrades a single bzrdir last I heard02:56
spivAh.02:59
spivThat's a pity.02:59
LaserJockis there any cool ways to make a bzr pull from a repo do pulls from all the branches in the repo?03:27
LaserJockI'm searching for better alternatives to bzr multi-pull03:27
bob2repo-push ;p03:30
Pengspiv: It's unintentional that lp:~spiv/bzr/static-tuple-pure-python-bug-490600 is linked to bug #408193, right?03:33
ubottuLaunchpad bug 408193 in bzr "bzr branch or checkout --hardlink has no effect in 2a format" [Medium,In progress] https://launchpad.net/bugs/40819303:33
spivPeng: d'oh, yes03:34
spivPeng: it's because I copy & pasted the wrong bug number.03:34
* spiv fixes03:35
Peng:)03:35
=== jfroy|frackoff is now known as jfroy
zomborhello, im trying to run svn2bzr on os x, and i get a "ImportError: No module named bzrlib" error, any idea how to fix it? my bzr install works perfectly fine03:55
Pengzombor: svn2bzr? Isn't that...really old? Why not bzr-svn?04:01
zombordoes that export svn repos into a bzr repo?04:01
Pengzombor: Yes.04:02
zombori thought that was for commiting to svn with bzr04:02
Pengzombor: It's for bidirectional transfers between bzr and svn.04:02
zomboryeah, i don't want to do that04:02
Pengzombor: You don't have to push back to svn if you don't want to.04:02
zombori want to take my svn repo, and convert it into a bzr repo04:02
Pengzombor: So use bzr-svn.04:02
PengDid I link to http://bazaar-vcs.org/BzrForeignBranches/Subversion? I meant to link to it.04:03
zomborim looking at that right now04:03
zomborhrm, so how do i use this thing...04:06
spivzombor: bzr-svn?  If you just want to convert one branch "bzr branch svn://.../the_branch the_converted_branch"04:09
zomborah ok, it just uses normal svn syntax04:09
spivRight.  http: and svn+ssh etc should all Just Work.04:10
zomborhrm, but i just upgraded to bzr 2.0.2 and it broke my bzr command =(04:10
spivOh?04:10
zomborah, nevermind, i needed a shell refresh -_-04:11
zomborgot the svn branching, thanks a lot guys04:11
pooliegetting back into pilotage04:51
=== dOxxx_ is now known as dOxxx
pooliereview queue jumpers welcome04:54
=== poolie changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://bazaar-vcs.org | http://irclogs.ubuntu.com/ | Helping with patches: poolie
_AndrewHi guys05:03
_AndrewIs there a way to export any modified or added files between two different revisions ?05:03
poolieyou want a whole copy of those files?05:03
poolieor just the diff?05:04
_Andrewwhole copy05:04
pooliehm05:04
poolienot built in05:04
_AndrewI know you can bzr export the whole project05:04
poolieyou could probably script it by reading the output of 'log -v' or 'status -r'05:04
spivor maybe do a "bzr diff -rX..Y | lsdiff" to get the list of changed/added files?05:07
spivAlthough I suppose status -r does that too.05:08
spivThe bzr-upload plugin must calculate something like this too.05:09
JonCruzso... any recommended way to find out what has changed on the server before syncing it on down?05:09
lifelessthere was a bug report about export I think05:11
lifelessdo do this05:11
spivJonCruz: perhaps rsync or the bzr-upload plugin would work for you?05:18
JonCruzwith subversion, "svn status -u" would tell me. I wounder if "-v" on "missing" might help05:20
_Andrewspiv, thanks i'll check it out05:23
_AndrewI'm looking at the manual online but I can't find the command just to get the latest revision with bzr log?05:24
spiv-r -105:25
_Andrewah!05:25
_Andrewthaks05:25
dOxxxor -l105:37
=== dOxxx is now known as dOxxx_
vila hi all07:06
lifelesshiya07:06
vilarevno 4842 broke no-extensions-pure-python support, babune is so confused about that it turned all red07:09
lifelessvila: https://code.launchpad.net/~spiv/bzr/static-tuple-pure-python-bug-490600/+merge/15470 ?07:12
vilawow07:12
_AndrewAfter I start using a plugin and want to install another do I still need the __init__.py file?07:13
_Andrewor do I need to merge the two files ?07:14
vilalifeless: sounds very likely07:14
pooliehi there vila07:23
poolie_Andrew: ?07:23
poolieyou should have ~/.bazaar/plugins/one/__init__.py07:23
poolieand then .../two/...07:24
poolieetc07:24
_Andrewoh really07:25
_Andrewwoops07:26
_AndrewSo actually I should put the plugin in it's own folder07:26
PengOr call them ~/.bazaar/plugins/one.py and two.py.07:38
_Andrewbut what if two plugins both have __init__.py ?07:42
_AndrewSurely you can't just rename them?07:42
Peng_Andrew: So, what poolie said.07:43
_AndrewThanks07:43
poolie_Andrew: they should have folders named eg 'gtk', 'pqm', etc07:43
_AndrewIt's working now. :)07:43
vila_Andrew: then you'll have one/__init__.py instead of one.py and two/__init__.py instead of two.py07:43
pooliecontaining all their files07:43
poolieyay07:43
bialixhi08:05
_AndrewBranch format 6 is old right?08:05
bialix_Andrew: not really08:06
bialixit's pack-0.9208:06
_AndrewWould it be worth upgrading because many people in our office keep complaining it's slow.08:07
Peng_Andrew: The only thing branch format 7 gets you is stacking.08:07
bialixPeng is right08:07
_AndrewAh, I read that. I don't need that.08:07
Peng_Andrew: This is about performance? Then the important part is the _repository_ format. Well, unless you want to use stacking too.08:07
_AndrewI think that if it's not going to make any difference upgrading then I'm not going to touch it08:12
_Andrewthanks for the help guys08:13
Peng_Andrew: Upgrading your repository to 2a would probably make a big difference.08:13
_Andrewoh really?08:13
Peng_Andrew: Yes. They were able to squeeze much more awesome into it than the previous formats.08:13
Peng_Andrew: What's your current repository format?08:14
_Andrewformat 7 ?08:14
_Andrewer08:15
_Andrewformat 608:15
PengEh.08:16
Peng_Andrew: What's the first line of "bzr info -v", and what's the "repository:" line?08:17
_Andrew pack-0.9208:17
_Andrewknits without subtree support08:17
_AndrewWe're using bzr for web development08:18
Peng_Andrew: Okay. So you should see a big performance (and disk space) improvement if you upgrade to 2a. It requires a very recent version of bzr, and upgrading to a rich-root format like 2a is one-way.08:18
PengI should rephrase that. You'd have to make the rich-root transition, which is one-way.08:19
_AndrewWe have bzr 2.0.2 installed08:20
PengPerfect.08:20
PengAll of you? There's not that one weirdo who's still using 1.5?08:20
_AndrewRight now we're all working via ssh off the server08:20
PengDoes the server have 2.0.2?08:21
_Andrewyup08:21
_AndrewHow we're setup is that 5 people have all checked out a copy of trunk which they commit and update to08:21
_Andrewand we have a branch named "live" for stuff that is ready to be uploaded08:22
_AndrewSo what I'm wondering is how would I upgrade this so that it doesn't screw everyone up08:22
PengIs bzr really that slow? Is the repo that large?08:23
_AndrewWe have about 600 meg of content I think08:23
_AndrewMost of the time it's ok but some people you can see that it take a good 5+ seconds08:23
_Andrewplus my boss keeps using this as a reason to switch to hg08:24
PengWhat takes 5 seconds? Bazaar isn't always a speed demon; 2a might not help all that much.08:24
Peng_Andrew: Anyway, http://doc.bazaar-vcs.org/latest/en/upgrade-guide/index.html should help.08:24
_AndrewI can't remember08:24
spiv_Andrew: definitely upgrade to 2a, it may help a little, or it might help a lot.08:25
bialixrun bzr with cold cache and you get more than 5 seconds only to start08:25
spivbialix: yeah08:25
bialixPeng: "werdo" :-P08:26
spivbialix: run *python* with cold cache and you can get that... :/08:26
bialixspiv: right now I see PyQt starting is very slow08:26
* spiv -> food08:26
_AndrewSo if I upgrade trunk to 2a what happens when others with checked out copies of pack-0.92 try to commit ?08:26
bialix_Andrew: this require local upgrade08:27
_Andrewor if I pull changes into my live branch08:27
bialixor they will get error08:27
_AndrewSo I need to upgrade trunk then make everyone checkout a new copy08:27
bialixthat helps08:27
Peng_Andrew: The link explains at least some of it.08:28
_Andrewoh sorry I didn't see that link08:28
bialix_Andrew: are you using light checkouts or heavy one08:28
_Andrewlooking at it now08:28
bialix?08:28
_AndrewNot sure of the difference08:28
bialixbzr info tells08:29
bialixyou need heavy co to get the power of local repo to speedup local operations08:29
_Andrewhttp://pastebin.com/m3a0e491a08:31
_AndrewThat's the output of bzr info -v08:31
_Andrewbut I don't see anything about heavy or light08:31
bialixjust checkout is heavy08:31
bialix_Andrew: does you have many binary files?08:32
_Andrewi'm not sure of the ratio but probably. Things like videos, images, etc08:32
bialixhg is not much faster with binary files as I know08:33
_AndrewYeah, I'm not too sure either but i'd prefer to keep using bzr08:35
bialixyou can upgrade to 1.9 format, it has non-rich-root variant, but 2a is recommended default today, so...08:37
_AndrewI think it won't be too much trouble08:38
bialixyou have pack-0.92 which is old, 1.9 is better08:38
_AndrewJust make sure everyone commits beforehand08:38
bialixwill be nice to know how much 2a will be faster for you08:39
Peng1.9 isn't all *that* much better, though.08:41
PengWell, it mostly is. Just not compared to 2a.08:41
_AndrewWell, I asked the developer who was having the problem and he said every command was slow. I'll let you know when we do the update08:41
_AndrewI guess he means bzr up, st, ci etc08:44
Peng_Andrew: If he's using a lightweight checkout, using a heavyweight checkout or regular branch would probably be faster, since bzr wouldn't have to contact the network so much.08:49
lifelessvila: I think you should land spivs fix, its nearly 8 here08:50
vilalifeless: yup, I was just checking pqm08:51
bialixPeng: I disagree with you, but have no time to argue08:56
sjamaanHi09:15
sjamaanI'm trying to push to an FTP server using "bzr branch . ftp://some-location"09:15
sjamaanIt seems to hang on "Get stream" for a long time09:16
sjamaanNow that disappeared and doesn't seem to do anything09:16
lifelesssjamaan: yes, ftp uses append, there is a bug open about switching to PUT, for most of teh data copying.09:16
lifelessjust be patient.09:16
lifelessalso, you would normally use 'bzr push ftp://some-location', not 'bzr branch . URL' to do a push.09:17
sjamaanlifeless: I'm making an initial branch09:17
sjamaanNot pushing to an existing branch09:17
Pengsjamaan: You'd still use push for that.09:17
sjamaanic09:17
sjamaanWhy is that?09:17
PengWhy not?09:17
sjamaanBecause it's a new branch09:17
sjamaanPush is for updating09:18
lifelesssjamaan: push will make a branch if one doesn't exist.09:18
PengISTM the bzr way is easier.09:18
sjamaanhm, it finished but didn't make a working copy09:19
Pengsjamaan: That's correct.09:19
sjamaanI only see an option for --no-tree, but not the inverse09:19
Pengsjamaan: Why do you want one?09:20
lifelesssjamaan: we dont make working copies over non-local-filesystems09:20
sjamaanPeng: I want to make a deployment of a website on a shared hosting provider09:20
sjamaanI'd like to be able to push updates easily and thought bzr would be ideal for that09:21
sjamaanI only have ftp access, no ssh09:21
Pengsjamaan: You should SSH to the server and run "bzr checkout" and maybe install the bzr-push-and-update plugin -- ah.09:21
Pengsjamaan: Use the bzr-upload plugin.09:21
sjamaanheh :)09:21
sjamaanthanks for the pointer09:21
Pengsjamaan: It doesn't create working trees on remote FSes because it would be tricky to do things like resolve conflicts.09:22
sjamaanAh, of course09:22
sjamaanIn my case that's not relevant, but I understand the general case is hard to get right09:22
Runewhich format does bzr upgrade to when I do not specify a format? bzr 2.0.009:26
vilaRune: 2a starting with bzr-2.009:27
vilalifeless: thanks for adding me to c-a-c-o team, but I just wonder if I indeed apply them as I wanted to or if you did that on your own ?09:29
vilas/them/there/09:29
lifelessvila: see my mail to the list (not sent yet :)) - and the internal wiki page on contributor agreements09:30
vilalifeless: come to think of it, I think I didn't find a way to apply, so certainly you did that on your own :)09:30
jmlhow do I get the bound location of a branch?09:30
lifelessbranch.get_bound_branch(), I think.09:30
jmlthanks09:30
vilalifeless: lol synchronicity/telepathy on so on ;)09:30
sjamaanPeng: The upload plugin works fine. Thanks again for the tip!09:32
Pengsjamaan: Great. :)09:35
vilaspiv: I've landed lp:~spiv/bzr/static-tuple-pure-python-bug-490600, it helps reduce the ~4000 errors, but still 2000 are left :-/11:40
Morbusg'day. i'm a newb. how does one "set a configuration option"? http://doc.bazaar-vcs.org/plugins/en/email-plugin.html13:19
beuno Morbus it's usually bu adding it to ~/.bazaar/bazaar.conf13:19
beunoor if it's for a specific branch, in ~/.bazaar/locations.conf13:20
beunounder the branch's entry13:20
Morbusbeuno: doesn't that make it compulsory on the user though? i want anyone who uses the master to have the commits mailed out, regardless.13:20
Morbusin a svn-based environment, this would be editing the post-commit on the master repo itself.13:20
beunoMorbus, it does. I know there's a server-side alternative, but I don't know about it13:21
Morbushrm. alright.13:21
Morbusi'll poke around some more.13:21
RenatoSilvaMorbus: .bzr/branch/branch.conf. Using bzr-email?13:21
MorbusRenatoSilva: yeah.13:22
Morbusso stick the post_commit_to config option in there?13:22
RenatoSilvaMorbus: I wrote a patch to allow customization of subject and body: https://code.launchpad.net/~renatosilva/bzr-email/mail-customization13:23
Morbusi just want to get it to work first, then i'll worry about beautifying it ;)13:23
RenatoSilvaMorbus: yes, set the options inside the branch, and anyone using it will be affected13:23
Morbusso, where does the plugin get installed?13:24
Morbus.bzr/branch/plugins? ;)13:24
Morbusor do i just install via the setup.py on the master box?13:24
Morbuslooks like it.13:25
RenatoSilvaCan we install plugins inside branches? O.o I know of ~/.bazaar/plugins, and <bzr_home>/plugins13:25
Morbusyeah, i just checked out, and python setup.py install.13:26
Morbusstuck it in /usr/lib/python2.4/site-packages/bzrlib/plugins/email/tests/ for this box.13:26
Morbusso, now just to add the config and hopefully i'm dandy.13:26
RenatoSilvaemail/tests? it should not be in a subdir, it should be in email13:29
Morbusyeah, it is. i just randomly pasted one of the installation lines.13:29
Morbusis there anyway to debug the sending? i just ptu the config in, made a commit from an external checkout, and no mail. whee.13:30
Morbussending mail manually using /usr/bin/mail does work...13:31
RenatoSilvahow long you've been waiting?13:36
Morbushrm. nope. not working.13:36
Morbusi've been checking the mail log after each send.13:36
Morbusi've tried /usr/bin/mail, /bin/mail, and smtplib.13:36
RenatoSilvasmtp server log? see bzr.log13:36
Morbusfor the value of post_commit_mailer13:36
Morbuswhat should i be looking for in there?13:37
RenatoSilvaclean bzr.log and do a commit, then check what's outputted there13:38
Morbusthere are no errors jumping out at me.13:38
Morbusnor are there any indications that email was attempted.13:38
Morbus(though a bzr help email does display the help text, suggesting that the plugin was installed)13:38
Morbusi'm the only one using the repo at the moment, so there's no confusion about what messages relate to what (re, clean bzr log)13:38
Morbusshould i be seeing activation of the email plugin in there?13:39
RenatoSilvaMorbus: $bzr plugins, email should be listed13:39
Morbusit is.13:39
Morbuspost_commit_to = devteam@example.com13:40
Morbuspost_commit_sender = noreply@intra.example.com13:40
Morbuspost_commit_mailer = smtplib13:40
Morbusis in my /path/to/master/branch/.bzr/branch/branch.conf13:40
=== mrevell is now known as mrevell-lunch
Morbusi've also tried /bin/mail for the mailer, which works when I run "/bin/mail -s whee morbus@disobey.com" etc.13:41
RenatoSilva.bzr/branch/branch.conf? where's smtp_server?13:44
Morbusjust added that to localhost, did a commit, checked mail and bzr.log and no change.13:44
RenatoSilvatry localhost:2513:46
Morbusreading through https://bugs.launchpad.net/bzr-email/+bug/307988 at the moment13:47
ubottuLaunchpad bug 307988 in bzr-email "Central repository email?" [Undecided,Invalid]13:47
RenatoSilva$bzr version?13:48
Morbus2.0.213:48
RenatoSilvaos?13:48
Morbuscentos, also mentioned in the above bug13:48
Morbusi am checking out from an external client - a different machine entirely. one of the reports here suggests that it'll work from a checkout on the server itself - i'll test that out shortly.13:49
RenatoSilvaare you using bzr commit to test it? push/pull notification is disabled by default13:52
Morbusyes, using bzr commit, and just added push/pull too.13:52
Morbusstill nothing. but i haven't tested a server checkout yet.13:52
RenatoSilvatried localhost:25?13:52
Morbusyes.13:52
Morbusand i'm going over bzr+ssh13:52
RenatoSilvaman, it's like email plugin is not loaded13:53
RenatoSilvacrazzy13:53
Morbusshould i be seeing it loaded in the bzr log?13:53
Morbusi see:13:53
Morbus0.023  looking for plugins in /home/bzr/.bazaar/plugins13:53
Morbus0.023  looking for plugins in /usr/lib64/python2.4/site-packages/bzrlib/plugins13:53
Morbus0.084  looking for plugins in /usr/lib/python2.4/site-packages/bzrlib/plugins13:53
Morbusand email is in one of those dirs.13:53
Morbusbut it never says "found email!" ;)13:53
RenatoSilvaMorbus: $bzr plugins, email should be listed, by that I mean run the command 'bzr plugins'13:54
Morbusyes, and i did, and it was.13:54
Morbusran that command on the branch server.13:54
RenatoSilvatry creating a simple branch, for test13:55
Morbusand, what, put in the branch.conf again?13:56
MorbusRenatoSilva: here's a question.13:56
MorbusRenatoSilva: the checkout on machine B was checkedout BEFORE I made the changes to branch.conf on master branch machine A.13:57
Morbusdoes that matter?13:57
RenatoSilvaI don't know, but I don't think so. Try not using checkout, try using the branch directly13:59
Morbusgasp, something worked.14:00
Morbusdetermining what it was.14:01
RenatoSilvaif doesn't work, try a fresh branch: bzr init test; copy your lines to ./bzr/branch/branch.conf; create a file, bzr add; bzr commit14:02
bialixhello again14:03
MorbusRenatoSilva: hrm. while i figure out what made it work, is there anywy to get the diff inline instead of as an attached file?14:04
bialixI've just had a situation when after merge new code from source branch was not merged to destination branch14:04
MorbusRenatoSilva: bah, looks like that's a symtop of using smtplib.14:04
Morbus*symptom14:04
bialixany core devs around?14:05
* Morbus goes back to debugging.14:05
RenatoSilvaMorbus: I don't think so, unless you patch it as I did14:05
* Morbus nods.14:05
bialixoh, nm, PEBKAC14:07
* bialix bangs head by wall14:07
RenatoSilvaMorbus: https://bugs.launchpad.net/bzr-email/+bug/39939814:08
ubottuLaunchpad bug 399398 in launchpad-code "Diff highlighting in mail body" [Undecided,Invalid]14:08
Morbusannoying enough, i just made a third ocmmit (the last two got emailed), and so far, no email. heh.14:09
Morbusstill waiting.14:09
RenatoSilvawhat made it work?14:09
Morbusno idea.14:09
Morbusthe last two changes i added was commit on push/pull and localhost:25. i wanted to comment one out and see if i could figure out the exact culprit.14:10
Morbusbut, before i did so, i wanted to do one more commit test to ensure it still worked.14:10
Morbusand i'm still waiitng for that email to come in ;)14:10
=== mrevell-lunch is now known as mrevell
Morbusok. there it is.14:13
Morbustook about 8 minutes to get here.14:13
Morbusso, with push/pull true and localhost:25, it worked.14:14
Morbusi'm now gonna comment out push/pull and try it again ;)14:14
vilajam: ping14:15
Morbusnote to self: 11628 (both enabled), 11629 (no push/pull)14:15
RenatoSilvathat bug you linked, the suer still had the problem in last comment, so I don't know if it's invalid14:16
RenatoSilvas/suer/user14:17
Morbusyeah, but he was always using mail.14:17
Morbusi've been using smtplib14:17
Morbusthat's the diff between the two there.14:17
Morbusi need the utf8 capability of smtplib.14:17
RenatoSilvaif you can understand his problem clearly (did he explain it well? I'm not use, I don't use "centralized" model), and if you can *reproduce* the bug, you can change the status from invalid to confirmed14:18
jammorning vila14:18
vilamorning jam !14:19
RenatoSilvas/not use/not sure14:19
MorbusRenatoSilva: well, i read his use of centralized as the same thing i came in with: i want emailed commits to be in the master branch, not optionable on the client side.14:20
vilajam: did you see bug #49060014:20
ubottuLaunchpad bug 490600 in bzr "TypeError: StaticTuple can only point to StaticTuple, str, unicode, int, long, float, bool, or None not <type 'tuple'>" [High,In progress] https://launchpad.net/bugs/49060014:20
MorbusRenatoSilva: ok, so confirmed.14:20
Morbuspost_commit_push_pull = True14:20
Morbusit was that.14:20
vilajam: spiv proposed a partial fix, but there are still ~2000 errors (from the ~4000 initial ones :)14:20
Morbus11629, which didn't have that, didn't come through. 11630, with that, DID come through.14:20
jamI did, I'm also thinking that spiv's proposal was probably at the wrong layer14:21
Morbusnow i'll test with and without port :25 ;)14:21
vilajam: babune agrees with you, it's still all red :)14:21
Morbus11631 (without 25)14:21
RenatoSilvaMorbus: comment there too, saying you also have the same problem and mainly why the invalid status is invalid14:21
Morbus11632 (without smtp_server)14:21
MorbusRenatoSilva: yep.14:22
Morbusi will.14:22
jamvila: all red? Or just red on the slave that doesn't compile the extensions?14:22
sikswhat's the proper way to do a init-repo with a unc path? \\server\path and //server/path don't seem to work14:22
vilaMorbus: are you using host:25 notation, I know some parts of the code can't grok the embedded port and requires specific variables for the port14:22
MorbusRenatoSilva: well, at this point, post_comit_push_pull seems required, even though the docs suggest that it isn't. so i'm not sure it IS invalid.14:22
Morbusvila: i'm testing with and without at the moment.14:22
vilajam: all slaves run without extensions, so they are all red :)14:22
jamvila: really? that seems foolish14:23
jamgiven that our preferred way of running is with extensions...14:23
RenatoSilvaMorbus: try answer the first comment that was the one arguing it was invalid14:23
vilajam: which one should you  chose to run without extensions ? What guarantee will that give you ?14:23
MorbusRenatoSilva: yeah, without an explanation of what he consideres "appropriate", it's a bit hard ;)14:23
RenatoSilvaMorbus: I'm not sure it is invalid because the user is not satisfied in the last comment, so something's wrong14:24
Morbusok, the smtp_server value had nothing to do with it.14:24
vilajam: anyway running lots of combinations *is* foolish, that's why we use a bot :D14:24
Morbusi tested with localhost:25, localhost, and no smtp_server at all, and all messages came through.14:24
bialixsiks: is there any error you get?14:24
Morbusso it's definitely the push/pull config.14:24
Morbusthat was the clincher for em.14:25
RenatoSilvaMorbus: I'm not sure I can get all that info well as I don't use checkouts/centralized model/mail program. I think you can get it better14:25
Morbus*me.14:25
RenatoSilvaMorbus: you have to convince Robert Collins it it not invalid, just because he's the developer :P14:26
Morbusaye ;)14:26
Morbushow would i set it back to status confirmed?14:26
Morbusi got not widgets.14:26
Morbus*no widgets.14:26
Morbusah, way at the top there.14:26
siksbialix: [Error 58] The specified server cannot perform the requested operation: u'//127.0.0.1/temp/bzr'14:26
Morbusanyways.14:26
bialixsiks: do you have permissions rights?14:27
jamvila: I would run 1 bot per platform with extensions. One bot on one platform w/o extensions. One bot on one platform for 3 major python versions (with extensions). That is N platforms + 1 + 3 bots. Not 3*N or 3*N*2 bots, etc.14:28
siksbialix: i do14:28
RenatoSilvaMorbus: either way, if the bug is really invalid, it would be nice if that user and you created an answer for people having the same syntoms. That is, provide detailed context of what you were doing, and the resulting problem: no email, no error. Then provide what is the root cause of that. All this of course, if you find that root cause (ps: maybe what's causing your problem is not causing that user's, so there may be need for two q/a, try contacting him14:28
Morbushe's sub'd to the bug, and so am I, so hopefully he'll see it. i certainly will, if he updates.14:29
bialixsiks: I have slightly different error: bzr: ERROR: No such file: u'//127.0.0.1/temp/bzr/': [Error 53] The network path was not found: u'//127.0.0.1/temp/bzr/'14:29
vilajam: yeah, I thought so too for some time, and then I started getting weird failures and I came to the conclusion that trying to be smart is not the point. The not point is to avoid regressions, and you never know *where* the regression will come from. That's why we test.14:29
vilas/not point/point/14:30
bialixsiks: it seems like a bug for me14:30
siksbialix: i get that with //127.0.0.1/temp/bzr and the error i showed with \\server14:30
bialixsiks: I'm sure it worked in the past when I wrote UNC support14:30
siksi'm investigating bzr because i really want a new version control system for the company i work for14:31
siksreally tired of freevcs14:31
* bialix said on core devs with disapprobation14:31
vilajam: there will always be cases like: oh, look, python2.6.2 has a bug but not python-2.6.4 and Fedora will use 2.6.2 as part of its LTS policy, etc14:31
bialixsiks: as workaround you can assign your UNC path to some letter14:31
bialixand file a bug!14:31
siksthe thing is, we need a central server (which of course is np), and a somewhat central place for the projects14:32
vilajam: and that's without mentioning pqm not running py2.4 anymore...14:32
siksfreevcs has a hierarchy but i don't see a problem why our core bazaar rep can't be a net dir14:32
bialixsiks: oh, no14:33
bialixsiks: wait14:33
jamvila: mthaddon just changed pqm over to python2.4 as of.. yesterday I believe14:33
bialixit works for me with real remote machine14:33
siksstrange14:33
bialixsiks: does not work with 127.0.0.114:33
* bialix trying with localhost14:33
bialixok, I got error if the path not found, but I can't reproduce your case14:34
vilajam: good to know :) But the point is still valid: whatever assumption *I* will make, I will forget some cases and be doomed when the failure is revealed :) So as long as it's a bot running the tests, the more the merrier !14:34
bialixsiks: with localhost and real existing path I have another error:14:35
bialixC:\>bzr init-repo \\localhost\share\bzr14:35
bialixbzr: ERROR: No such file: u'//localhost/share/bzr/': [Error 52] You were not connected because a duplicate name exists on the ne14:35
bialixtwork. Go to System in Control Panel to change the computer name and try again: u'//localhost/share/bzr/'14:36
bialixsiks: works for me with 127.0.0.1 and real shared folder14:36
jamvila: except you also are a big proponent of test isolation14:36
jamhaving 20 bots fail because of one bug14:37
bialixyou may want to look into .bzr.log and see if there something suspicious about error 5814:37
jamdoesn't give us defect localization :)14:37
bialixsiks: do you need password to connect your server?14:37
siksnope14:37
bialixmaybe if you pastebin the relevant part of .bzr.log I may suggest something14:38
siksit's not that big a problem anyway, i was just trying out if unc works at all. if we end up using it, it'll be a proper remote host anyway14:38
vilajam: you got that wrong I'm afraid, defect localization is about having more failures not less, especially with eager tests where the first failure masks the other ones14:38
siksand i can test it locally without unc14:39
bialixsiks: just a thought: we are trying to make .bzr folder hidden after creation14:39
jamvila: if the only bot to fail was the one running without extensions, then it is clear that the bug is when running without extensions14:39
vilait's about making tests more focused with more precise contexts14:39
jamhaving 20 bots go red doesn't tell you that14:39
bialixsiks: perhaps your server refuse to change file attributes?14:39
jamit gives you 20 test files to go sift through to see what is wrong14:39
vilajam: it's 6 not 20 and it tells me it's it's about running without extensions. *I* read the first report and that's enough to know the cause, I don't need to read the other ones14:40
bialixsiks: so either mkdir on the server does not work, or something other14:40
jamvila: it is 6 because you don't *have* 20 bots...14:40
bialixsiks: but I see it works for me14:40
jamI was using it as "BIG_NUM"14:40
vilaBut if the failure were only on one slave *then* by virtue of defect localization, we'll know it's related to that slave and not only to running without extensions14:41
Morbuscan i edit a commnt on launchpad? i forgot to sanitze some emails.14:41
bialixMorbus: uncommit, commit, push --overwrite14:42
Morbusbialix: no, in a comment on a bug, not in a commit ;)14:42
vilaIf we run it on a single slave and it doesn't fail, *we* lose14:42
bialixMorbus: you can edit first message, but I don't know the way for other comments14:42
siksbialix: hm i guess i'll investigate a little more tomorrow14:42
siksrunning out of works hours soon for today :)14:42
bialixsiks: np14:42
PengEven if you edit the first message, anyone can click a link and see the first one.14:44
PengPlus a dozen people probably got emailed a copy...14:44
bialixtoday is not my day14:51
jamMorbus: also, note that for users that aren't logged in, all things that look like emails are sanitized15:01
chriswhmm, why does Bazaar Explorer on windwos drop a dos box? Why isn't pythonw used instead of python?15:13
jamchrisw: it requires a bit of change to how the script is built, and just hasn't been done yet15:16
jamI tried working on it once, and ran into problems with py2exe + pyqt + python2.615:17
jamso I couldn't get the build working locally15:17
chriswI also tried to click the "config" button and it crashed...15:21
jamvila: so do you run a second time with extensions?15:21
vilajam: first with extensions, second with C locale, third without extensions15:22
chxhow can i edit the subject line of the commit email? maybe a plugin? what should i rtfm?15:24
bialixanybody can suggest a way to compress bzr revision-id to hexascii form, and make sure the string will be smaller at least in half?15:36
bialixis it possible in theory?15:36
bialixI'm using revision id in version of the program (bzr version-info output) and it looks long15:36
bialixso I think if I can compress it and later decomress15:37
tumbleweedhowdy. can anyone give me some good reasons why I should upgrade my projects trunk to 2a instead of 1.6? (1.6 because it makes stacked branches possible)15:38
jambialix: zlib.compress(revision_id) ?15:38
bialixjam: if I have 53 chars in orig revid, then zlib makes result 61 chars long15:39
bialixin hexascii I'll have 12215:39
bialixjam: maybe your groupcompress?15:40
jambialix: there is a fair amount of non-randomness in revision-ids. If you compress them together it will probably shrink, but there is little that could be done for a single string15:40
bialixtumbleweed: 1.915:41
jamtumbleweed: 2a is generally significantly smaller on disk than 1.6. Depends on the project15:41
jambut bzr went from 200MB => 35MB, etc.15:41
bialixmaybe I need to reformat timestamp15:42
tumbleweedbialix: there's no FAQ on this, what's the major improvement in 1.9?15:42
jamtumbleweed: 1.9 introduced btree indices15:42
jambut I would still recommend 2a first15:42
jamonly  reason not to is if you expect people to be using old bzr clients15:42
tumbleweedjam: yeah, I'm feeling the pull to 2a, but we don't have a massive code base15:42
tumbleweedyes, don't want to make life hard for committers15:42
bialixjam: maybe it's possible to do as plugin15:43
bialixhmmm15:43
jambialix: possible to compress revision ids? I'm saying that the string is not very compressible15:43
bialix:-/15:46
jamif you want to include version-info output, the best you could probably do is to map revision-ids to simple integers, and then reference them that way15:47
jamthen at least you don't end up with the same revision-id multiple times15:47
bialixand how I can found from simple integer the real revision id? by creating the map again? so it's basically as sha(revid) to get the index?15:48
jambialix: you store the map in the output15:49
bialixno, I can't15:49
bialixI've got this program version from customer15:50
bialixin this case I need anyway full revid15:50
jambialix: you were saying that the revid is "too big" and wanted to compress it. You could compress the whole output of 'bzr version-info' which would give a smaller total content.15:57
jamThere isn't a trivial way to shrink a 53-byte string that has as much entropy that revids have15:57
bialixok,  understand15:57
bialixI may imagine the way to shrink it based on semantic: email-timestamp-random15:58
bialixbut this semantic not always will be true15:58
bialixit seems when I merge 2 branches which have tag conflicts I don't get any error message. Is it intended?16:11
lugohi16:35
lugoi'm having trouble with https://bugs.launchpad.net/bzr/+bug/15646216:38
Noldorinhello. what's the best way to interface with bzr if i want to extra information about certain commits/revision/files/etc. ?16:38
ubottuLaunchpad bug 156462 in bzr ""cannot lock LockDir" on update over http" [Undecided,Invalid]16:38
NfNitLoopNoldorin: bzr log -v ?16:38
NfNitLoopNoldorin: what sort of extra info?16:39
lugosince latest entries in that bug have been posted some time ago, has anyone workaround for that?16:39
lugoor informations on how to update using bzr+ssh instead of http? the cmdline output is http://dpaste.org/NwPm/16:42
NoldorinNfNitLoop: the sort of info loggerhead extracts16:42
lugo*information ;)16:42
Noldorini've been tempted to cobble together something in asp.net that is vaguely equivalent16:42
beunoNoldorin, using python is probably the best way  ;)16:42
beunoor16:42
Noldorinbeuno: mm, so i suspected16:42
bialixlugo: what tells bzr info on your local checkout?16:42
beunobzr-xmloutput16:42
Noldorindoes bzr expose some sort of api though?16:43
Noldorinah, interesting16:43
beunoNoldorin, yes, it has a python API16:43
beunoyou can use xmloutput to get XML, but you may need to tweak it to get extra information16:43
Noldorinbueno: if i had ironpython on the server, then it would be win. alas, i don't16:43
Noldorini see16:43
beunoright16:43
beunoverterok built xmloutput to interface with java, and I piled up on top of it for PHP  ;)16:44
Noldorinso in theory, interfacing it with asp.net shouldn't be a problem either16:45
Noldorinbeuno: what did you write in php on top of it?16:45
beunoNoldorin, I did xml > mysql16:47
beunoand then used that data in an internal workflow software16:47
beuno(match commits to projects and people)16:47
beunoto some extent, that's what Launchpad does, but without the xml bit16:48
Noldorinah i see16:50
Noldorinbeuno: well i'm just using this for webbzr accesss, so i don't really forsee a performance issue here16:50
Noldorini think i'll give that a go16:50
Noldorinthanks :)16:50
lugobialix, http://dpaste.com/127539/ , checkout of branch: http://bazaar.launchpad.net/%7Eexaile-devel/exaile/exaile-0.3.x/16:51
beunoNoldorin, good luck!16:51
beuno(and maybe verterok will some day get xmloutput in the core!)16:51
Noldorincheers. i'll report back if i have any success :P16:51
bialixlugo: based on the comments in that bug you need to "fix" your master branch url.16:51
bialixlugo: open .bzr/branch/branch.conf and find bound_location entry; change %7E to ~16:52
bialixsave and try again16:52
lugobialix, oh i read tha part but i seem to have misunderstood it, it's working now thank you :)16:54
bialixplease add the comment to the bug16:54
bialixso other people will understand the workaround16:54
lugodone17:00
bialixthx17:01
vilajam: well done, only 22 left \o/17:17
jamvila: can you point me to the remaining failures?17:21
vilajam: http://paste.ubuntu.com/332463/17:22
vilajam: safely ignoring the spurious error: Socket is closed, this heavily points to the smart server serialize/deserializer not supporting StaticTuple ?17:25
jamvila: right17:36
* vila EODing17:40
vilag'night all, may the force be with jam ;)17:40
jmlI wrote this script today that almost does something useful: http://paste.ubuntu.com/332474/17:41
jmlvila, g'night.17:41
fullermdWhew, vila's gone.  Now it's safe to come out.17:43
=== deryck is now known as deryck[lunch]
=== oubiwann_ is now known as oubiwann
james_wanyone know if it's possible to just have loggerhead serve a directory listing?19:16
james_wIt's serving all the branches below a directory, but I just want to allow it to access something that's not a branch as well19:16
beunojames_w, not currently supported, no19:19
james_wok, thanks19:19
beunomy gut feeling is that it shouldn't be tto hard19:19
beuno*too19:19
james_wI'll find another way around it19:21
james_wI just wanted a quick hack to avoid troubling IS19:22
=== deryck[lunch] is now known as deryck
emmajanejames_w, have you tried just throwing a .htaccess file into the dir?19:35
emmajane(with an allow directive)19:35
james_wso, I've placed the directory I want to serve under .bzr19:36
james_wbecause apache doesn't then proxy that to loggerhead19:36
james_wnow I've got a permissions issue19:36
emmajanehttp://viralpatel.net/blogs/2009/03/htaccess-directory-listing-enable-disable-allow-deny-prevent-htaccess-directory-listing.html <---- try that?19:36
james_wbecause it won't follow the symlink out of its tree I think19:36
emmajane.htaccess containing: IndexOptions +FancyIndexing19:36
emmajane(they may have an allowoverride set to None, but it's worth a shot if that's all you're trying to do)19:37
james_wand the main one has                AllowOverride None19:37
emmajanegrr19:37
* emmajane shakes her fist19:37
emmajanenevermind then. :(19:37
james_wso I have http://package-import.ubuntu.com/failures/.bzr/19:38
james_wbut you can't see the symlink there19:38
emmajanewhich shows no content?19:38
emmajaneyeah19:38
emmajanewhat are the permissions on the target of the symlink?19:38
NfNitLoopand is your web server set to follow symlinks?19:38
emmajaneI had problems with something similar on DreamHost. It wouldn't do Bazaar properly when symlinked outside of the root directory. I couldn't be bothered to figure out if it was Apache or Bazaar though.19:39
=== verterok is now known as hal
=== hal is now known as verterok
=== andreas__ is now known as ahasenack
saedelaerehi21:27
saedelaerei have a question to bzr-cia plugin. somehow when my changelist is long not all changes are posted to my irc channel. anyone seen the same behaviour?21:28
ckontrosCan anyone tell me what I'm missing here? (the bzr ERROR) http://paste.ubuntu.com/332619 (fresh Inkscape compile from BZR) I'm wondering if I stumbled across an issue for them or just user error.21:28
jelmersaedelaere, bzr-cia only submits on new commits21:45
saedelaeresure jelmer, i make a commit. this commit has a long changelist. then not all changes are posted to my irc channel. they get cut off at some point.21:46
saedelaereby the way you are the creator of this plugin right?21:47
saedelaerenice work!21:47
jelmersaedelaere, what do you mean with changes ? the commit message?21:47
jelmersaedelaere, thanks21:47
saedelaereyes the commit message21:47
jelmersaedelaere, bzr-cia submits the full commit message21:47
jelmerthe cutting off is done somewhere inside of the cia IRC bot21:48
saedelaereah ok interesting. i just looked in my cia.cv account, but couldn't find anything to configure this. perhaps it is even a limitation of my irc channel.21:49
NfNitLoopIRC does limit the size of a single message.21:50
NfNitLoopas well as rate-limit messages.21:50
NfNitLoopso it could be getting chopped down the line.21:51
saedelaerethis must be the source of the problem. anyone an idea how i could circumvent this?21:56
NfNitLoop I don't know bzr-cia.  Is there a way to set a max message length and tell it to split long commit messages into multiple IRC messages?21:57
NfNitLoopThat could get annoying though if someone commits something with a huge message.21:57
NfNitLoopbzr commit -m `cat war_and_peace.txt`21:58
jelmerNfNitLoop, it doesn't have anything to do with bzr-cia21:58
jelmersaedelaere: You might want to ask in #cia21:58
saedelaerejelmer: you are right better to ask there :) thanks for your help guys and have a nice evening all...21:59
NfNitLoopOh.  I didn't realize what cia was.  I thought bzr-cia included its own bot.  heh.  Nevermind. :)21:59
pooliehi all22:21
jam hi poolie22:46
dOxxxheya22:51
dOxxxis it safe to use os.makedirs to make the .bzrmeta dir?22:52
jamdOxxx: since it is only a single directory, what is wrong with 'os.mkdir' ?22:53
jambut since it is in a working tree, yes it is generally safe22:53
jamthough I believe makedirs raises an exception if the dir exists22:54
jamso you still have to check first22:54
dOxxxjam: yeah, I was intending to do that22:54
dOxxxI noticed there isn't any other mention of .bzrmeta in trunk. Am I pioneer? :P23:01
spivGood morning.23:01
starenkahi, i can't get bzr stable docs in chm (wanna read them on android - pdf viewers suck bigtime) - links are dead, directory listing havent revealed anything either, any chance gettingthem?23:06
dOxxxjam: or should I be using tree.mkdir instead?23:06
jamstarenka: http://doc.bazaar-vcs.org/bzr.2.0.2/downloads/ ?23:07
jamor http://doc.bazaar-vcs.org/bzr.2.1.0b2/downloads/23:08
starenkaoh, ok http://doc.bazaar-vcs.org/latest/downloads/ linked from website are bad than (at least for chm)23:08
starenkajam thank you!23:09
pooliehello jam23:19
pooliejam/lifeless: what is ben's actual objection to launchpad? that we should create an faq?23:25
pooliei mean, that i feel like we should create an faq23:25
pooliei think it's just that remembering another password would be annoying?23:25
jelmerpoolie, yeah, that's it basically - and another account to keep up to date23:25
dOxxxperhaps he doesn't like giving out personal info?23:26
PengCoughOpenIDCough. :P23:26
jelmerdOxxx, there isn't much personal info you have to give out23:26
dOxxxjust trying to get inside his head :)23:27
lifelesspoolie: what objection ?23:28
lifelesspoolie: oh, he has a principled stand.23:28
pooliebut it's an oddly pragmatic principle to defend23:28
pooliei'm just trying to work out what the principle is and I think it is "i don't want to create another account"23:29
lifelesshes expressed it before as 'just emailing should be enough' too23:29
lifelesshe likes debbugs, for instance.23:29
dOxxxwhile an email interface is cool, it is somewhat crude.23:30
lifelesslamson + html email with javascript.23:31
lifelessajax-over-email.23:31
lifelesswould be an interesting hack.23:31
dOxxxheh23:31
fullermdA matter of perspective...   it's a cheap universal API.  I broke down and cried the day NSI stopped supporting their email interface for registration manglement  :|23:31
jelmeris there some way to disable the write-traceback-to-file stuff ?23:31
dOxxxthis .bzrmeta/ignore thing is trickier than it looks. a lot of stuff is broken by the extra directory in the path.23:31
dOxxxmakes tests messier23:32
fullermdI must say, in this day and age I'm a little creeped out by email control interfaces that don't require crypto.23:32
jelmerdebbugs seems to be doing (mostly) ok without crypto23:32
dOxxxdoesn't launchpad though? I thought that's why you could set your PGP key in your launchpad account?23:32
rockstarfullermd, the Launchpad interface does if you want to change something.23:32
fullermdYah, but that requires either luck (e.g., in the form of being 'not an interesting target'), or a lot of monitoring vigilence.23:33
fullermdTo say nothing of the ability to speel...23:33
PengMy favorites are the ones where you can make changes that actually cost money over email.23:33
fullermdOf course, that also ties in with my creepy feeling seeing patches to add TLS to bzr://.23:34
PengOr those domain registrars/registries where you can change your nameservers.23:34
dOxxxwould it be cheating if, in bt.test_ignores.TestTreeIgnores.test_add_to_existing if I used tree_ignores_add_patterns to create the initial contents of the ignore file before using tree_ignores_add_patterns again to test adding to an existing file?23:34
fullermdShouldn't have to be patches.  Any protocol written since 2000 should be encrypted by default from the get-go...23:34
Pengfullermd: I'm glad the bzr developers don't have to worry about getting encryption right, though.23:35
fullermdExcept DNS, of course, 'cuz if I have to see one more DNSSEC argument, I'm going to have to kill somebody.23:36
fullermd(which of course means I'll probably be indicted by the end of the week, but still...)23:36
spivfullermd: perhaps we just need a smart server mode that verifies gpg signatures on revisions (and checking the gpg keys are from an authorised set) before inserting them ;)23:36
fullermdWell, you'd have to go the other way too; smart servers are used for pulling as well as pushing.23:38
fullermdI just figure the question should never be "why crypto"; it should be "why not crpyto", and absent a really compelling reason it should just be the default posture.23:39
Pengspiv: That feature already exists; it just doesn't work/.23:39
dOxxxdoes this make your skin crawl? http://pastebin.com/m240ae4e723:39
dOxxxin a test23:39
dOxxxas opposed to this: http://pastebin.com/d53952ce223:42
dOxxxI'm trying to decide if being abstract about the ignore filename/path is worth the extra hassle.23:44
spivdOxxx: I prefer the latter in this case23:45
spivdOxxx: because the abstraction actually makes it harder to understand the intent23:45
=== EdwinGrubbs is now known as Edwin-afk
dOxxxyeah and to be truly abstract about the path to the ignore file, I'd have to handle the case where there are multiple missing parent directories, which is just insane.23:45
dOxxxtime for a global search and replace :P23:46
dOxxxI need bzr qshelve :)23:58

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