/srv/irclogs.ubuntu.com/2008/08/16/#bzr.txt

jdubhey hey00:33
jdubis there a loggerhead package in a ppa somewhere?00:33
beunojdub, not yet. Hopefully I'll get to that next week00:34
beunoregular setup should be easy enough, if you don't want to wait00:34
jdubcool, ta :-)00:34
beunojdub, all you need installed is python-paste and python-simpletal. Then just either run from source, or run: setup.py install00:35
beuno(optionally you can install python-sqlite and bzr-search, to get some caching for speed and super-cool searching)00:36
jdubtasty00:37
jdubis it pretty anal retentive about code, so i can display branches i don't control?00:37
jdubs/code/content/00:38
beunojdub, define "don't control"00:38
jdubi'd like to suck down branches from other core developers (so, semi-trusted) and display them in the one place with loggerhead00:40
beunowithout having the branches locally?00:41
beunoI mean, if you branch them to a dir, just serve that dir with LH, and you're set00:41
jdubyeah00:42
lifelessjdub: do checkout --lightweight URL00:43
lifelessjdub: then it should work00:43
lifelessjdub: or just branch and maintain a mirror, if you don't want LH sucking data over the network00:44
jduband you're pretty confident LH won't screw me for 'trusting' that external data?00:45
jdub:-)00:45
beunojdub, I can't really think of anyway you can get screwed. What do *you* have in mind?00:45
lifelessjdub: what do you mean by trust00:46
jdubevil co-developer putting evil in their branch that abuses my LH00:46
lifelessjdub: we use loggerhead do display 10^4+ branches on launchpad00:46
mwhudsonloggerhead is reasonably careful to not allow xss by displaying user content unmunged, for example00:47
lifelessif you pull their branch to a local mirror and show that, you'll have precisely the same level of condom loggerhead on launchpad has00:47
jdubcool00:48
lifelessjdub: also, if you mirror locally you can setup a bzr-search index of the same branch00:48
* jdub levels up his condom by grinding...00:48
Peng_If it's remote, will bzr-search still work?00:48
lifelessPeng_: yes00:48
lifelessPeng_: if there is a search index on the remote branch00:48
lifelessPeng_: or if you add a mapping to bzr-search telling it to use a different index for that branch, and then sync the index from time to time00:49
lifeless-> train to catch00:49
Peng_Oh, neat.00:49
Peng_lifeless: Bye. :)00:49
lifelessjdub: ring me if you want more info00:49
jdubbeuno: congrats, btw :-)00:50
beunojdub, not sure exactly for what, but thanks  :_00:51
beuno:)00:51
jdubcanonical00:51
beunoah, yes!  I'm thrilled  :)00:52
cody-somerville:]00:52
beunohow was your first week btw, cody-somerville?00:52
cody-somervillebeuno, fairly productive00:53
cody-somervillebeuno, Yours?00:53
beunocody-somerville, productive too. Lots of setup stuff though, took away a chunk of time. I'm really enjoying it so far  :)00:54
* cody-somerville nods.00:56
cody-somervillebeuno, I dunno how I'm going to like getting paid monthly instead of biweekly though00:57
Peng_But do you get beanbag chairs?00:57
beunoPeng_, I have a beanbag 2m away from me!00:57
cody-somervillePeng_, I opted for the hoody00:57
cody-somervilleAnyhow, I'm starving! :-) It has been a long day. One of the drawbacks of working from home is that you have to force yourself to actually stop working :P00:58
mwhudsoncody-somerville: yeah, i find that a lot01:03
* cody-somerville forms Canonical Workaholics Anonymous.01:04
rockyis there a standard way to "disable" a widget like a TitlePane so that all of it's inner contents become greyed out and can't be edited/focused ?01:32
markhit looks like I can get similar http weirdness with a 'http+urllib' url... - bzr: ERROR: Invalid http response for http://bazaar-vcs.org/....rix: Expected a boundary (squid/2.6.STABLE18:...9C890B4)line, got ''01:33
=== mark1 is now known as markh
LeefmcQuestion: How do you create a working directory again?01:59
LeefmcOr is it just a lightweight checkout.. i forget heh01:59
Peng_"bzr co --lightweight whatever/" to create a lightweight checkout.02:00
Peng_"bzr co" to create a working tree in the current branch.02:01
LeefmcI'm confused, a normal checkout creates a working tree?02:02
Peng_The  checkout command is overloaded.02:03
Peng_If you have a branch with no working tree, run "bzr co" to create one.02:03
markhand my hardy box on the same network can give the same error.02:04
LeefmcPeng_: Huh.. i gatta go, so i'll have to ask again later, because im still confused. I spose i must just be confused on BZR's version of a working tree. Anyway, thanks :)02:08
Leefmclater02:08
=== toytoy_ is now known as toytoy
* markh wonders where the release manager is when you need him :)05:05
taconeif he is european he could be in bed :-)05:06
markhI think he is in the US which means he would be getting ready for it (or better still, hopefully something even better on a friday night :)05:14
meteoroidso i have a relatively old bzr and bzr-svn from ubuntu hardy, should i build from source, or are there newer packages from alternative sources?05:17
meteoroidjelmer says the new bzr-svn has fixes for issues i have, and bzr-webdav says it "only works with 1.6"05:18
lifelessRAOF: http://piumarta.com/pepsi/?C=M;O=D05:47
fullermdmarkh: He's in my TZ, which means that if he's sensible, he's in bed   :p05:47
lifelessbeuno: hi07:20
lifelessbeuno: rant07:20
lifelesshttp://bazaar.launchpad.net/~jml/subunit/split-right/revision/5107:20
lifelessbeuno: can't read the entire line, no scroll bar in my window to make things wider; kthxhelp07:21
mwhudsoni think there's a bug report about that already07:24
lifelessmwhudson: great07:24
lifelessmwhudson: number plx?07:25
* mwhudson looks07:26
mwhudsonlifeless: maybe not, actually, i think it was just complained about on the mailing list07:27
Jc2kZooming out FTW07:57
Jc2k(i have to zoom in to see the bug :P)07:57
lifelessJc2k: :P08:18
lifelessbeuno: ^^^^ more hai!08:18
jml        self.failUnless(self.suite._tests == [self.case1, self.case2,08:35
jml                                              self.case3, self.case4] or08:35
jml                        self.suite._tests == [self.case3, self.case2,08:35
jml                                              self.case1, self.case4])08:35
KazadeHi everyone, I've just recently tried moving a project to Bzr (from GIT) so that I can use it on Windows easily. I've set up putty etc with my private key so I can ssh into my other PCs without entering a password, but no matter what I do, bazaar on windows crashes when I try to clone a project with the error "ERROR: socket.error: Socket is closed". Any ideas?09:25
gourjelmer: someone from #ghc asks me about bzr's rebase...11:00
gourjelmer: is it possible to drop shortly in #ghc11:01
gourlifeless: ping11:14
gourlifeless: can you visit #ghc shortly to explain about loom plugin, pls.11:15
gour...or whoever use it and understand the purpose..11:16
=== Bambi_BO1H is now known as kgoetz
=== wantok is now known as kgoetz
matkorHi ! Afer bzr update I see list of modified (M) files but bzr finishes run with bzr: ERROR: [Errno 13] Permission denied ... with not futher info which file permission are denied ... any hint how to find it out ?12:15
matkorok, question cancelled - I found out ...12:17
gourconsidering http://andrew.puzzling.org/diary/2008/July/29/rebase-criticism i wonder whether rebase is actually needed in bzr?12:20
thumpergour: no, it isn't normally needed12:21
* thumper going to bed now12:21
LarstiQgour: there are usecases for it, but it usually isn't needed.12:45
gourLarstiQ: thanks13:01
gourthumper: ^^^13:02
* rocky sniffs and wishes his "bzr commit" to a svn repo didn't make 100 requests and take about 1min14:51
palangois there an easy way to find out if a file is under bzr control?15:18
Peng_I guess you could use "bzr st" on it.15:20
Peng_You could also check for it in "bzr inventory".15:20
Peng_I'm sure there's a better way, especially through bzrlib.15:20
Necorobzr unknowns | grep -q $FILE  && echo $FILE is unknown15:23
Necoro;)15:23
uwsNecoro: that doesn't take ignored files into account15:23
Necorotrue15:24
Peng_"bzr st" does, but it's not very good for a script.15:24
uwsno15:24
Peng_I mean, usable by a script15:24
uws"bzr inventory $FILENAME"15:24
Peng_Oh, I didn't know you could do that. There you go then.15:25
uwsbzr inventory $FILENAME 2>/dev/null && echo versioned || echo not versioned15:25
palangothanks15:28
Glenjamindoes anyone have experience setting up tortoisebzr on vista?15:40
Glenjamini'm getting an error about a missing entry point in pywintypes25.dll15:41
LeefmcQuestion: Is there a way to wildcard remove directories? I added a set of directories and my .bzrignore was formatted wrong, so it added a ton of directories and files i dont want.. and removing them by hand would suck16:00
Leefmcoo, seems wildcard works16:02
Leefmc:)16:02
gourhow can one delete project on LP?18:01
jbalintHi19:07
jbalinthow can i debug this problem on windows? http://rafb.net/p/3vsOH366.html ssh.exe/plink.exe to the host works fine, bzr is working fine on the local and remote hosts19:07
beunojbalint, I wonder why you're getting bzr: Command not found.19:08
beunois bzr installed on the remote server?19:08
jbalintyes19:08
LarstiQBZR_REMOTE_PATH?19:09
jbalint /usr/bin/bzr19:09
beunojbalint, also, My Documents/.bzr.log   has more debug info19:09
jbalintbeuno: ah, right. thx, will check it19:09
LarstiQjbalint: and I presume that is also where bzr actually resides?19:10
jbalintyes19:11
jbalintheres the info from the log http://rafb.net/p/1kzTVr41.html19:11
LarstiQjbalint: hmm, no clue of command not found there.19:13
LarstiQthough, maybe, hmm.19:13
jbalinti branch its locally on the server, works. i can ssh to the exact from part of the url, and bzr version works fine19:14
LarstiQjbalint: it might be a red herring, but how is ssh/plink setup? Key based login?19:15
LarstiQjbalint: does the server side ssh log provide any insight?19:15
jbalintyes, keys, everything is working fine19:16
* LarstiQ glances at the code19:16
LarstiQjbalint: It comes back to BZR_REMOTE_PATH.19:21
jbalintset locally?19:22
LarstiQjbalint: what happens if you set that to, say, /bin/true?19:22
LarstiQjbalint: yes19:22
jbalintDlklemme try19:22
LarstiQjbalint: do I read that correctly to say that you previously hadn't set the env var in Windows?19:23
jbalintheh, /bin/true: Command not found.19:25
LarstiQriiight.19:25
LarstiQjbalint: is your ssh server jailing you?19:25
jbalintoi, i dont think so19:26
LarstiQif it is a bzr bug, it is a strange one.19:28
jbalinti can ssh in and it works fine19:28
LarstiQbut right now I'd like some more confirmation on your environment :)19:28
LarstiQrihgt.19:28
LarstiQugh, typo galore tonight.19:29
LarstiQjbalint: So what is the difference in the two methods?19:29
jbalinti dont know19:29
LarstiQjbalint: for openssh, you can add config options for particular hosts to ~/.ssh/config. Does plink have something similar?19:30
jbalintkind of, yeah19:30
LarstiQjbalint: can you up the verbosity of the connection?19:30
LarstiQjbalint: if not, does BZR_PDB=1 bzr .... drop you in a pdb prompt? (I'm not sure about connection errors)19:31
LarstiQthen again, if the connection is already closed..19:31
jbalintit gets into the debugger after the error message19:33
LarstiQok, good19:33
jbalint http://rafb.net/p/aCkOkR40.html19:34
LarstiQjbalint: while I read more of the code to see what we could do, could you try executing ls or something to discover more about why we get these command not founds?19:38
LarstiQjbalint: and, perhaps you could try with paramiko directly?19:39
LarstiQjbalint: ie, BZR_SSH=paramiko19:39
LarstiQjbalint: btw, which version of bzr is this?19:45
jbalint1.4rc1 on the client and 1.5 on the server19:49
jbalintoh, paramiko wont work because of the plink aliases, bzr: ERROR: Unable to connect to SSH host linksys-route-FWD-nt77; (11001, 'getaddrinfo failed')19:49
jbalintlet me try the ip19:50
LarstiQjbalint: ooh, is that alias something over a forwarded ssh connection?19:52
LarstiQthat might be a clue.19:52
jbalinthttp://rafb.net/p/jI6CPD49.html19:52
LarstiQjbalint: without BZR_PDB, does it still print 'command not found'?19:53
LarstiQjbalint: and in pdb, could you 'print dir(self)'?19:54
jbalintno, just the bzr: ERROR part19:54
jbalint http://rafb.net/p/8a351019.html19:54
LarstiQjbalint: that to me sounds like an ssh login problem.19:54
* LarstiQ looks at _request19:55
LarstiQjbalint: the .pyc in the traceback sounds like you use the windows binary installer, and not the bare python based one, is that right? (Thinking of editing .py files instead of doing post-mortem debugging)19:58
jbalintyeah, i can install something else19:58
whitemiceHi, new (potentially) to bzr.  I am the patch gatekeeper for a large codebase kept in subversion(OpenGroupware).  I'd like to front-end the subverzion repo with bzr so I can allow people to use BZR and push patches, then look at the patches and potentially push them to svn.20:00
whitemiceI've looked at a couple of pages like <http://blog.tplus1.com/index.php/2008/03/22/use-bazaar-and-subversion-together/> but the examples don't quite work. :(20:00
uwswhitemice: install bzr-svn and   "bzr branch svn+ssh://....."20:00
whitemiceIs this a possible setup?20:00
whitemiceI tried "bzr branch svn+http://developer.opengroupware.org/OpenGroupware.org/trunk" and get "Unsupported protocol for url "svn+http://dev..."20:01
jbalintLarstiQ: i just branched from another box on the lan, and it worked fine, so it must be a client issue20:02
uwswhitemice: do you have bzr-svn?20:02
uwswhitemice: bzr: ERROR: Invalid http response for http://developer.opengroupware.org/OpenGroupware.org/trunk/.bzr/branch-format: Unable to handle http code 401: Authorization Required20:02
uwswhitemice: That's what I get20:02
LarstiQjbalint: ok, still would like to find out what is going on20:02
LarstiQjbalint: could you go 'up' in pdb until you hit bzrlib/smart/medium.py:protocol_version20:03
jbalintok20:03
uwsjelmer: ping20:03
uwsjelmer: recent bzr and bzr-svn complain about svn+ syntax being depreacted20:04
LarstiQjbalint: and then a dir(self) again, looking for the backing transport20:04
uwsjelmer: but on the url just mentioned by whitemice it DOES make a difference20:04
jbalintLarstiQ: print some specific member of self? or dir is enough?20:04
LarstiQjbalint: dir is enough for now20:04
LarstiQjbalint: what I want to do is call transport.list_dir('.')20:05
LarstiQor '/'20:05
whitemiceuws: yep, the repo requires auth.  I must (openSUSE 11) be missing something...  I have all the available bzr packages installed.20:05
LarstiQjbalint: but first we have to find the transport20:05
uwsjelmer: in the svn+http:// case it asks for a password, while the http:// one (recommended by the warning message) gives an error about .bzr/branch-format needing auth20:05
uwswhitemice: does "bzr plugins" list svN?20:05
jbalint http://rafb.net/p/O1seq080.html20:05
whitemiceuws: no20:05
LarstiQwhitemice: you cn use http://user@../ to force authentication prompt20:06
uwswhitemice: then you don't have the bzr-svn machinery so bzr won't be able to speak to SVN servers20:06
uwsLarstiQ: wasn't that supposed to be directed to me instead?20:07
LarstiQjbalint: you can check self._bzr_remote_path but I don't think it will help us much20:07
jbalint'/bin/true'20:07
LarstiQuws: ehm, maybe, not paying close attention, trying to debug jbalint's issue20:07
uwsLarstiQ: no worries20:07
LarstiQjbalint: ah. hmm. Have you tried the combo paramiko//usr/bin/bzr ?20:08
LarstiQjbalint: since paramiko /bin/true doesn't print a command not found20:08
jbalinttrying20:09
jbalintah, success!!20:09
LarstiQjbalint: ok, so: paramiko works with the ip address, but plink does not with the alias?20:10
jbalintright20:10
LarstiQjbalint: how about plink + ip?20:10
LarstiQat least we have isolated the problem somewhat20:11
jbalinthrm, yup works with IP20:11
LarstiQnext question would be, does it work with other aliases? Or, what makes this one different.20:11
jbalintlet me try a new/clean alias20:12
LarstiQIf it doesn't work with _any_ alias, then we know which bug to file.20:12
LarstiQjbalint: thanks for your patience going through this with me.20:12
* LarstiQ is also simultaneously trying to translate a text.20:13
uwsLarstiQ: from klingon to dutch?20:13
LarstiQuws: Finnish to English20:14
uwsLarstiQ: that's roughly the same for me :)20:14
LarstiQhaha :P20:14
LarstiQI admit one of the Finnish 2-seat row athletes had some suspicious crinkles in her forehead.20:14
uwsheh.20:15
LarstiQbut Klingon I don't speak at all.20:15
* uws afk for a book (in English, not the original ancient greek *phew*)20:16
whitemiceuws: ran through one-click install (nice!) and now have svn plugin20:16
whitemiceuws: "bzr branch svn+http://adam:******@developer.opengroupware.org/OpenGroupware.org/" fails with "subversion/libsvn_ra/ra_loader.c:940: svn_ra_get_log2: Assertion `*path != '/'' failed."20:16
jbalintLarstiQ: yup same problemw tih a fresh alias :(20:17
uwswhitemice: ask jelmer about that one. I think it's a Subversion bug20:17
LarstiQjbalint: alias to the same system?20:17
uwswhitemice: (recompile svn, comment out that assertion might work ;))20:17
uwswhitemice: (or try upgrading svn to 1.5)20:18
LarstiQjbalint: I have no clue how plink aliases work. But if you can list a set of steps to reproduce this, a bug report would be nice.20:18
whitemiceuws: I'm using subversion 1.5.0 as is the server (I believe)20:18
LarstiQwhitemice: what version of bzr-svn are you using?20:18
whitemiceuws: bzr-svn-0.4.10-6.220:18
LarstiQwhitemice: svn changed their api in 1.5, but there is a patch for bzr-svn to deal with that.20:18
uwswhitemice, LarstiQ: https://bugs.launchpad.net/bzr-svn/+bug/23401020:19
ubottuLaunchpad bug 234010 in bzr-svn "abort: svn_ra_get_log2: Assertion `*path != '/'' failed (dup-of: 229419)" [Undecided,New]20:19
ubottuLaunchpad bug 229419 in bzr-svn "WorkingSubversionBranch.test_create_checkout fails" [High,Fix released]20:19
LarstiQwhitemice: for a big gun approach, you could try to apply http://ftp.de.debian.org/debian/pool/main/b/bzr-svn/bzr-svn_0.4.10-2.diff.gz (but -6.2 seems to imply some local patching)20:20
jbalintLarstiQ: add a bug on launchpad?20:27
LarstiQjbalint: yes please.20:28
jbalintok20:28
LarstiQala "bzr complains about command not found when using plink aliases", listing steps to reproduce and something like your original paste, that would be sweet.20:29
jbalintok20:30
jbalintthanks again20:30
LarstiQjbalint: glad to be of help, and thank you for the report.20:31
LarstiQwhitemice: how easy is it for you to patch the bzr package you are using?20:41
=== edcrypt1 is now known as edcrypt
=== emgent is now known as emgent`
=== emgent` is now known as emgent

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