/srv/irclogs.ubuntu.com/2011/01/21/#bzr.txt

lifelessmkanat: sorry, more local interrupts00:01
lifelessmkanat: and we have a group dinner tonight00:02
lifelessmkanat: I'll pick this up tonight or tomorrow evening - I have caught up more fully with poolie on this00:02
mkanatlifeless: Okay.00:02
=== Ursinha is now known as Ursinha-afk
dOxxxmmm steak. bbl.00:27
GaryvdMdOxxx: I've read your finale patch. I looks very good. I think I should try make qbzr ext diff tools config similar to the new mergetool config.00:28
GaryvdMjam: bundel is at 37%, so I think it working :-)00:30
GaryvdM*bundle00:30
=== GaryvdM is now known as GaryvdM_sleep
dOxxxI return, steakified.01:39
peitschiehi everone :)03:01
PengHaha, test subject. Whatever it was, I'm probably not a good test subject ATM. Especially since I was on the road when you were discussing it. :P06:20
mkanatPeng: For loggerhead users who aren't LP.06:23
PengOh, you're here.06:23
Pengmkanat: Yeah...I kind of dropped off of the world a while back. I am back on IRC, but I'm not tinkering with Bazaar or Loggerhead again yet.06:23
PengHonestly, I'm running lp:loggerhead from May. :D06:23
mkanatPeng: :-)06:23
PengPlus I've hit old age -- you know, 19 -- and I've developed an aversion to breaking things that already work. :P06:24
PengWhich is not what's stopping me, but it's making me even less motivated in general. :P06:25
fullermdYou'll get over that in a few years.06:26
fullermdMostly, 'cuz you'll get to the age that you realize nothing ever gets as far as really 'working' anyway...06:26
mkanatPeng: Hahaha. :-)06:26
Pengfullermd: :(06:30
fullermdIt's too early to get frowny.  That was the GOOD news!06:32
Pengfullermd: It's good news that nothing ever works?06:59
Pengfullermd: Don't worry, I'm not frowny. I just watched Evangelion, so I'm incapable of any emotions but excitement and vague confusion.07:00
PengWoah, half an hour's gone by? Seems I'm also unable to track time properly. :P07:00
mkanatPeng: Hahahaha!07:01
mkanatPeng: Yes, that's pretty much like a Pan-Galactic Gargle Blaster.07:02
mkanatPeng: Did you just watch the *end* of Evangelion?07:02
Pengmkanat: No, 2.0! \o/07:02
mkanatOMG, didn't even realize that had happened!07:03
spmit ends? I got confused after about 6 or so episodes. "is there , in fact, a plot here that bears a vague resemblance to ... a plot" ;-)07:03
mkanatspm: Hahahaha. There's more of one than there is for FLCL....07:03
mkanatspm: Also, really, the first 12 episodes of Eva are where they're *nice* to you.07:04
spmwheee07:04
mkanatspm: That's where they make you like the characters so that later they can punish you for ever thinking they were good people.07:04
PengWait, 6 or so episodes? You didn't see Asuka?07:04
spmthey failed then. I was starting to despise them all.07:04
mkanatspm: lol07:04
spmdon't recall, this would ahve been 10 ish years ago?07:04
mkanatAnyhow, I'm off to the land of Hulu.07:05
Pengspm: It has a plot. Only Hideaki ANNO knows what that plot is, but we're pretty sure there is one. Anyway, who cares about that? Watch it for the crazy symbolism, psychological problems and cool fight scenes!07:06
spmheh. the cool fight scenes, sure. but he teenage angst. urgh.07:07
spms/he/the/07:07
PengHeh.07:07
Pengmkanat: Speaking of FLCL, FUNimation's DVD and Blu-ray release comes out in a month.07:07
mkanatSweet. 1080p of total nonsense. :-D07:07
PengUpscaled, tho.07:07
Pengspm: Not a fan of the teenage angst? That could be a problem, yes...07:08
mkanatOkay, for reals now, though. Off to TV I go.07:08
spmlater mkanat07:08
mkanatLater! :-)07:08
spmPeng: I wasn't a fan of it when I was a teenager. so... ;-)07:09
PengHeh07:09
Pengspm: It's got adult angst too, you know. :D07:09
PengImmature adults, but... :P07:10
spmthat's not winning me over!07:10
PengHmm...07:13
Erimos_WolfMorning @ all, verterok, are you there?08:32
jdobrienssh: connect to host bazaar.launchpad.net port 22: Connection refused11:18
verterokErimos_Wolf: Hi11:51
Erimos_Wolfhi11:51
Erimos_Wolfsorry for bothering you but i cannot explain the behavior of the eclipse plugin on my machine11:52
verterokErimos_Wolf: np, I just wokeup :)11:52
Erimos_Wolfgood morning :-)11:52
verterokErimos_Wolf: do you have the latest version of bzr-xmloutput installed?11:53
Erimos_Wolf0.8.611:53
verterokErimos_Wolf: and bzr version?11:53
Erimos_Wolf2.2.211:54
Erimos_Wolfgot all that info from the bazaar manager11:54
verterokErimos_Wolf: ok, so. I think the behaviour you'r seeing is caused by an old version of xmloutput (IN the nead future, bzr-eclipse will bundle a xmloutput version to avoid this kind of errors)11:55
verterokErimos_Wolf: to use bzr-2.2.2, you need the latest trunk of bzr-xmloutput11:55
verterokErimos_Wolf: is this windows?11:56
Erimos_Wolfjupp11:56
Erimos_Wolfi mean yes11:56
Erimos_Wolf:-)11:56
verterokErimos_Wolf: sadly, I didn't make a release of xmloutput, so there is no installer for trunk11:58
Erimos_Wolfso iam not too dump to use the software ?11:58
Erimos_Wolfmeant dumb11:58
verterokErimos_Wolf: let me try to build one, as an alternative you can branch lp:bzr-xmloutput and replace the installed one with it11:59
verterokhuh?11:59
Erimos_Wolfthx11:59
verterokErimos_Wolf: it will take a while to build the installed, need to update my windows vm :/12:04
Erimos_Wolfnon prob12:05
Erimos_Wolftake breakfast and a good cup of coffee12:06
Erimos_Wolfis this considered as a bug?12:11
verterokErimos_Wolf: you can get a installer from trunk at: http://launchpad.net/bzr-xmloutput/trunk/trunk/+download/bzr-xmloutput-setup-0.8.7-r149.exe12:25
Erimos_Wolfunbelievable! Could you explain why this happend?12:27
Erimos_Wolfplease12:27
verterokErimos_Wolf: your xmloutput version is very old, and isn't compatible with the bzr version12:30
Erimos_Wolfok. But i got it through the bazaar setup right?12:31
verterokErimos_Wolf: ah, no idea...it's inscluded in the bzr windows installer?12:31
Erimos_Wolfjupp12:31
Erimos_Wolfi just followed the tutorial of bazaar, installed the 2.2.2 win standalone12:32
Erimos_Wolfgot eclipse and installed your plugin (thats al i did)12:32
verterokErimos_Wolf: ok, I think this is because the last "stable" release of xmloutput is 0.8.6, but is broken with latest bzr12:32
verterokErimos_Wolf: I need to get some time to fix a few more bugs and do a release, in order to get it included in the windows installer12:33
Erimos_Wolfok i understand12:33
Erimos_Wolfuntil that this "manual" installing of xmloutput is the best workaround?12:34
verterokErimos_Wolf: yes :(12:34
Erimos_WolfThank you for the installer and solving my problem :-)12:40
Erimos_WolfSo this is a dependency problem between the xmloutput and the plugin,which will be fix through the next release xmloutput?12:42
verterokErimos_Wolf: eclipse plugin?12:52
verterokErimos_Wolf: it's a dependency problem in the bzr windows installer12:52
Erimos_Wolfoh, ok.13:09
verterokErimos_Wolf: is bzr-eclipse working as expected now?13:09
Erimos_Wolfyesss :-)13:09
Erimos_Wolfcommiting is done without any problems (only local)13:09
verterokcool13:11
Erimos_Wolfbefore i made some changes but there weren recognized "No commits needed"13:12
Erimos_Wolfthe bazaar manager said the opposite13:14
Erimos_Wolfthis is why i came here yesterday13:15
catphishwhat protocols can bzr use to push?13:38
catphishis it just ssh or apache dav?13:39
Lo-lan-doSmart server over HTTP, too, I think.13:44
catphishthat's what i want13:45
catphishcan's see any onfo on running smart server on http though13:46
=== oubiwann is now known as oubiwann_
=== oubiwann is now known as oubiwann_
james_wcatphish, http://doc.bazaar.canonical.com/bzr.2.2/en/admin-guide/other-setups.html#smart-server-over-http-s13:56
catphishoh yeah :)13:57
catphishdoes the smart server have an executable?14:01
catphishsince my webserver is not python, it will need to accept a request and pipe it to a bzr executable14:02
james_wcatphish, that would be the fcgi method wouldn't it?14:03
catphishis there an executable provided with stdio? or will i need to wrote my own?14:03
james_wthe bzr command14:05
catphishso does the smart protocol simply contain bzr commands?14:07
catphishi'll sniff a few14:09
maxbIt contains a custom message format14:10
catphishdoes that message format map to bzr CLI commands?14:14
catphishor is it more complicated?14:15
catphishmaxb: is the http protocol documented by any chance?14:19
maxbcatphish: Not that I know of, but you wouldn't want to reimplement it from scratch anyway14:27
maxbSo, are you saying your webserver cannot do fastcgi?14:28
catphishyes14:28
maxbNor has a WSGI adaptor?14:28
catphishmost likely not14:28
catphishi will consider plugging the python in14:28
catphishbut i would prefer to implement it myself, purely because that's what i've done for git and hg14:29
catphishrather than doing authentication then proxying, which is what i have had to do for svn14:29
maxbWell, it might not perform great, but you could run the smart server WSGI app as a CGI14:29
maxbplain CGI that is14:30
maxbhttp://henry.precheur.org/python/how_to_serve_cgi14:30
catphishthat could work14:30
catphishideally i'd like to take the http request and map it to a bzr command14:31
maxb"bzr command"?14:31
catphishperhsps i should have a read of the cgi adapter and see what's involved14:31
maxb"bzr command line invocation"?14:31
catphisheither that or a bzr pipe interface14:32
catphishif there is such a thing14:32
catphishthe ssh interface must execute something14:32
maxberm, that's what running the smart server WSGI app as a CGI *is*14:32
catphishyes i suppose it is actually14:32
catphishwhat about the ssh smart server interface? how is that executed?14:33
maxbThe ssh interface executes bzr serve --init --allow-writes --root=/something14:33
catphishthat sounds like what i want14:33
catphishin hg for example i run "hg serve --stdio"14:33
catphishthen map the http requests to ssh interface commands and pipe them in14:34
maxbwhoops, I mean bzr serve --inet --allow-writes --directory=/something14:34
catphishof course, that's the raw smart server14:35
maxbhuh, doesn't mercurial have a http interface of its own? Why are you so determined to reimplement things?14:36
maxbIn fact, if you wrote a WSGI adapter for your server, you could use it for both hg and bzr :-)14:36
catphishmaxb: because i have a ruby web server that implements my ACLs14:36
catphishand i don't want to then run apache in addition to host the repos14:37
catphishand proxy to it14:37
catphishyou're right that i could implement a WSGI adapter, then do the authentication before passing through to that14:38
catphishbut i didn't14:38
catphishand most SCMs have a web protocol that easily maps to their SSH protocol14:39
catphishso i convert the http requests and pipe them through14:39
catphishi realise i'm reinventing in places14:40
catphishalso, because my repositories are located on an array of storage hosts and my web server is on an array of frontend hosts, doing it this way means i can create an rpc interface between the web server and the storage server14:41
catphishlooking at the http protocol and the smart protocol, it looks like they might actually be identical14:44
catphishwhich makes this very easy14:44
=== Ursinha-afk is now known as Ursinha
catphishwhat does "No repository present" mean? (error from smart protocol)15:56
catphishi am specifying a branch inside a repository, would it not be finding the parent repository for some reason?15:57
thumpercatphish: where is your remote branch?15:58
catphishits inside a repository15:58
catphishi'm specifying it to bzr serve "bzr serve --allow-writes --inet --directory=/path/to/repo/branch"15:59
catphishi then issue: "bzr message 3 (bzr 1.6)\n\000\000\000\034d16:Software version5:2.1.1es\000\000\000\034l20:BzrDir.open_branchV31:.ee"15:59
catphishand get back "bzr message 3 (bzr 1.6)\n\000\000\000\034d16:Software version5:2.1.1eoEs\000\000\000;l5:error47:No repository present: \"filtered-162975116:///\"ee"16:00
thumperholy shit... bzr 1.6 is old16:00
catphishoh yeah i didn't spot that16:01
catphishi'm running bzr 2.1.116:01
catphishi wonder what's happening there16:01
thumperwhat is the server running?16:01
thumper2.1.1 too?16:01
catphishits the same machine right now so yes16:01
catphishi'll look into that first!16:02
catphishi guess its probably falling back to an old protocol version16:04
catphishi'll try to fix that16:04
catphishactually i think that is the latest version of the protocol16:08
catphishit appears that my problem is that because i specified --directory to point to the branch, the client is not being allowed access to the repository above16:31
fullermdYes, --directory acts much like a chroot.16:32
catphishthat makes sense, but if i point the directory to the repository, the client dies because it's not a branch16:34
catphisham i missing something in between?16:34
fullermdThe client has to supply a path below the --directory served.16:34
catphishactually that seems kinda obvious now that you say it16:35
catphishhow would i do that over http? i enter the url as: bzr+http://localhost/repo.bzr/branch16:35
catphishhow does the client know that branch is the branch?16:36
catphishor do i need to do something active in my webserver?16:36
catphishas far as i know, the client does not specify a branch location at all right now, it just relies on --directory to put it in a branch16:37
=== beuno is now known as beuno-lunch
maxbcatphish: --directory should be specified by your *server* to the root of the bazaar storage to which the client is allowed to see17:01
catphishmaxb: i understand that part17:02
catphishhowever, what i am stuck with is how to instruct the client to select a particular branch17:02
catphishquite simply, the client does not bother to do so at all17:04
catphishso i am thinking that i need to inject a command17:05
catphishmaxb: do you happen to know the command to specify the branch?17:12
maxbIt is not part of the command, it is part of the protocol17:12
catphishyes, but the protocol sends commands17:12
catphishright now my client sends: "BzrDir.open_2.1" then "BzrDir.open_branchV3"17:12
catphishno mention of *which* branch to open17:13
maxbyes there is, in the parameters17:13
catphishi don't see it17:15
catphishit definitely doesn't send a branch17:19
catphishit sends just the 2 commands i mentioned (this is over http)17:19
maxbl20:BzrDir.open_branchV31:.e17:23
maxbcommand and parameter17:23
catphishoh, the parameter is just '.' ?17:24
catphishthat makes much more sense17:25
catphish do you know if bzr+http will even send anything other than '.'?17:26
catphish*ever17:26
maxbUse the source17:28
maxbor stop reimplementing it :-/17:29
catphishi'm not reimplementing the client :)17:29
catphishbut i am finding my way through some of the code17:29
catphishjust hoped you'd know17:29
catphishsadly i'm not a native python speaker17:30
=== beuno-lunch is now known as beuno
catphishi can't seem to find a way to make the client differentiate between the base url and the branch name17:53
fullermdThere isn't one.17:54
catphishso am i correct in saying that the only way to implement multiple branches in bzr+http is to have the http server rewrite the BzrDir.open_branchV3 command?17:56
catphishrather than using BzrDir.open_branchV3('.') which the client always sends17:57
catphishor is there a better way to tell the client what the correct base url is?17:58
catphishunfortunately I can't find a repo anywhere that does this correctly18:03
catphishfor example "bzr clone bzr+http://pyzgoubi.bzr.sourceforge.net/bzr/pyzgoubi/branches/0.4.x"18:03
catphishshows the same error on SF18:03
fullermdWell, I dunno what's what on the level you're looking.  But from a client side, a URL is atomic.18:03
fullermdIt's all just one opaque thing.18:03
catphishto summarize, the problem i have is that when using bzr+http the command that the client sends to the server is always BzrDir.open_branchV3('.')18:04
catphishassuming that the branch is the root of the repository at the other end18:06
fullermdOther way around.  The client doesn't care anything about a repository; that's all under the covers.18:07
catphishthe problem is that on the server side, I pipe the request to "bzr serve --allow-writes --inet --directory /path/to/repo/branch"18:08
catphishwhich has the unfortunate side-effect of not allowing access to "/path/to/repo"18:08
catphishwhereas if i pipe it to "bzr serve --allow-writes --inet --directory /path/to/repo" then the client tries to open branch '.' which obviously fails18:09
catphishthe only solution i can come up with is for the web server to rewrite the "BzrDir.open_branchV3:." command to be "BzrDir.open_branchV3:branchname" based on the url18:11
catphishbut i wanted to know if that's the correct solution18:11
catphishsince i don't have sufficient python knowledge to read the python http smart server18:11
catphishi was really hoping to be able to pass the http body through to the 'bzr serve' unmolested18:13
catphishbut i guess that's not quite going to cut it18:14
catphishwell i have to go now, will test some things and see18:21
pooliei put up a tuolumne patch that will correctly represent 0 new bugs18:48
catphishexcuse my stupidity one more time, but where is bzr-smart.fcgi?19:02
catphishah got it19:13
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
cody-somervillehmm... I'm using the bzr pipeline plugin19:51
cody-somervilleand the the top pipe (ie. the upstream branch I'm maintain patches against) has somehow turned into what appears to be the last pipe19:52
cody-somervilleor wait a tick, it looks like a bunch of stuff from different pipes has made it into it19:53
cody-somervilleand interesting... these revisions I see haven't been piped.20:00
* cody-somerville wonders if this is some sort of bug in sync-pipe20:00
dOxxxcody-somerville: there's a new version of bzr-pipeline, have you tried that?20:06
cody-somervillenope20:07
cody-somervilleis it good?20:07
cody-somervilleany release notes/changelog available?20:08
dOxxxChanges:  - bzr pump supports --show-base, --reprocess and --merge-type.  - Pipes can no longer be accidentally named ":next", etc.  - Pipeline imposes smaller start-up cost when not used.20:08
dOxxxso, from the sounds of it, may not fix your problem20:08
dOxxxcheck if you can find a similar bug at https://bugs.edge.launchpad.net/bzr-pipeline, otherwise file a new one.20:09
dOxxxyou could also try posting on the bzr mailing list.20:09
maxbbzr-pipeline 1.1 is ready in the proposed PPA. probably fine to promote now20:15
jelmermaxb: Didn't you fix bug 622188 ?20:57
ubot5Launchpad bug 622188 in subvertpy "Test failures built against Subversion 1.4 (three fail) or 1.5 (one fail)" [Low,Triaged] https://launchpad.net/bugs/62218820:57
maxbI think so20:58
* maxb checks it got merged20:58
maxbyes, in 0.7.520:59
jelmermaxb: Great, thanks for checking!20:59
* jelmer marks as fix released20:59
mkanatHey poolie. :-)21:05
maxbjelmer: btw, what is the plan for bzr-svn version numbers now?21:29
maxblp:bzr-svn seems slightly confused about whether it is 1.0.5 or 1.1.021:29
jelmerI'll move to 1.121:31
jelmerthanks for the reminder21:31
maxbThis could get confusing :-)21:34
kireI am trying to run a bazaar smart server over https, but when I try to push something I get an error like "ERROR: Cannot lock LockDir .... ERROR: Cannot lock LockDir"22:20
kireehm, last part is "Transport operation not possible: http does not support mkdir()"22:21
jelmerkire: that suggests the smart server is not working22:22
kiredo you have to use bzr+https?22:26
jelmeryou shouldn't have to22:29
kireah, I should upgrade my server version probably, seems to be 2.0, are there any decent repositories for debian lenny?22:29
jelmerI don't think there are any recent backports22:30
jelmerI'm planning to do one when squeeze gets released22:30
kireand the pain of terrible ubuntu support of my server provider hits me again :p22:30
kireokay, I'll see if I can get something to work, thanks anyway :)22:31
=== mnepton is now known as mneptok
maxbjelmer: I have one pending MP concerning ~bzr-svn/bzr-svn/1.0, do you want it resubmitted against ~bzr-svn/bzr-svn/1.1 ?23:05
dOxxxeugh... damn 2.4 compatibility.23:16
dOxxxcan't use str.format ><23:17
mgzdamn 2.5 compatibility too then.23:22
dOxxxyah23:22
dOxxxso now I'll have to fake it23:22
catphishjust in case anyone missed this earlier, and knows of an easy solution, is there any way to make "bzr serve --directory /path/to/repository/branch" work? by default it does not appear to work because it denies access to the repository directory above23:25
mkanatcatphish: The branch would have to be standalone.23:27
mkanatcatphish: You could use "bzr reconfigure" to make it standalone.23:27
catphishmkanat: i'm hoping that will work as a last resort, but i'm trying to avoid it23:27
mkanatcatphish: I'm pretty sure there's no way to avoid it.23:28
catphishi hope to serve /path/to/repository instead and have something between the client and the server prepend the branch name to requests23:29
catphishunfortunately the http url scheme does not differentiate between repo and branch, it assumes the url points to the root of a branch, and always assumes the branch is '.'23:30
catphishanyway, went over this earlier and i don't think there's a simple solution other than inserting the branch into the request between receiving the http request and passing it to the smart backend23:32
=== Ursinha is now known as Ursinha-afk

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