/srv/irclogs.ubuntu.com/2011/04/10/#bzr.txt

=== psynaptic is now known as psynaptic|away
kgoetzah. i just exploded bzr02:33
kgoetzdoes the bot report bug numbers? just filed https://bugs.launchpad.net/bzr/+bug/756228 . would it be useful for me to keep a copy of the repo for testing?02:38
ubot5Ubuntu bug 756228 in Bazaar "bzr: ERROR: exceptions.StopIteration" [Undecided,New]02:38
d1bhi um i did a bzr clone lp:~launchpad-pqm/launchpad/stable in a vm with 256mb of ram06:01
d1bit is taking a long time and using a fair amount of memory06:01
d1b 539m 171m  956 D  4.6 69.9   3:15.61 bzr06:01
d1bit is Bazaar 2.1.206:02
d1binteresting it got oom killed :P06:45
d1bfail++06:47
lifelessuyeah06:54
lifelessyou'll need a little more ram than that06:54
=== Ursinha-afk is now known as Ursinha
methodscan the bzr web repo browser allow people to edit and commit ?19:42
=== lifeless_ is now known as lifeless
jelmermethods: no, although you can e.g. run wikkid to allow editing of bzr branches from the web19:54
methodshm wikkid ?19:55
methodshttps://launchpad.net/wikkid19:55
methodsthat one ?19:55
jelmeryep19:57
=== psynaptic|away is now known as psynaptic
vokodahi, is it ok to ask about loggerhead in here?20:30
lifelesssure20:35
vokodaok, so I'm running loggerhead 1.18.1 on a high port, and serving it up via nginx pass_proxy, which works fine at mydomain.com. but now I want to serve from mydomain.com/bzr - i've set my nginx location in the usual way, and i can see the requests going through to loggerhead: GET /bzr/ HTTP/1.0... etc. but i just get a 404 response and "The resource could not be found."20:41
vokodai've set prefix=/bzr in my loggerhead.conf20:41
vokodabut that was on a whim20:41
vokodai couldn't find any real docs for loggerhead config20:42
vokodais prefix= deprecated? it doesn't seem to be doing anything20:45
=== jasono is now known as JasonO
lifelessdo you have pastedeploy installed ?20:45
vokodanot sure, i installed via apt-get from debian stable. but it works at mydomain.com/, so presumably i do?20:46
lifelessloggerhead looks for HTTP_X_FORWARDED_SERVER20:48
lifelessto determine its virtual path20:48
lifelessis nginx setting that ?20:48
lifeless(see loggerhead/main.py)20:48
maxbRandom other comment, loggerhead.conf is deprecated and does not exist in future loggerhead versions20:54
vokodamaxb: i'm actually using serve-branches.conf, I presume that's just a different name for loggerhead.conf?20:55
maxbactually, no :-)20:56
maxbserve-branches.conf is an invention of the debian packaging which just passes a few values to the init script to use on the command line starting the server20:56
vokodaright, ok20:57
vokodamine is very simple20:57
vokodahttp://paste.pocoo.org/show/369250/20:57
vokodalifeless: googling 'HTTP_X_FORWARDED_SERVER nginx' turns up nothing20:58
vokodaso i guess it's a job for tcpdump20:58
vokodaor pdb but I'm not up for that right now20:58
mDuffIIRC, setting up any headers to be added on proxying has to be explicit in nginx20:59
=== psynaptic is now known as psynaptic|away
=== psynaptic|away is now known as psynaptic
vokodamDuff: ah, proxy_set_header21:00
=== psynaptic is now known as psynaptic|away
=== psynaptic|away is now known as psynaptic
vokodalifeless: looks like loggerhead/main.py raises an error if 'HTTP_X_FORWARDED_SERVER' is set?21:03
lifelessvokoda: *and* paste.deploy is not present21:04
lifelessvokoda: python-pastedeploy is the package, I think21:04
lifelesspastedeploy is needed to run behind a proxy21:04
=== psynaptic is now known as psynaptic|away
vokodalifeless: sigh.. installing pastedeploy worked, i feel stupid now. I thought serve-branches would be a bit louder about an import error21:08
vokodaat least it's working21:08
vokodathanks21:08
lifelessvokoda: cool21:20
=== psynaptic|away is now known as psynaptic
=== psynaptic is now known as psynaptic|away
=== Ursinha` is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Guest9774
=== Guest9774 is now known as Ursula_
=== Ursula_ is now known as Ursula__
=== _thumper_ is now known as thumper
=== psynaptic|away is now known as psynaptic
=== psynaptic is now known as psynaptic|away

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