/srv/irclogs.ubuntu.com/2008/05/15/#bzr.txt

brilliantnutjam: got an error☺incomplete request for that.00:00
* AfC waves to jam00:00
igcmorning00:01
* jam waves at AfC00:01
brilliantnutjam: I just got an OK for the request... the problem was \r\n on win00:01
jambrilliantnut: ah, ok00:02
jamyeah, you need plain '\n'00:02
brilliantnutso, the bzr smart server *is* up at that url00:02
Odd_BlokeGood morning, Australasians.00:02
spivGood morning.00:03
jambrilliantnut: you can try something like:00:05
jamecho -ne "BzrDir.find_repository\001.\n" | POST ...00:05
jamIt an return: norepository00:06
jamor: ok☺☺no☺no00:06
jamIt *can* return one or the other00:06
brilliantnutok☺..☺no☺no00:06
jamor even: error☺Not a branch: ...00:06
jambrilliantnut: so we can find the repository....00:07
brilliantnutright.00:07
jambrilliantnut: what path did you POST to, btw00:07
jamSince it seems to say that the repository is found in ".."00:07
brilliantnuthttp://<creds>@<server>/bzr/HEAD/.bzr/smart00:07
spivvila: have you seen https://bugs.edge.launchpad.net/bzr/+bug/230223 ?00:08
ubottuLaunchpad bug 230223 in bzr "smart server probing in 1.4 breaks check outs of short bus http repositories [regression]" [High,Confirmed]00:08
brilliantnutwithout HEAD it gives ok☺☺no☺no00:08
brilliantnutjam: that does make sense though... we did init-repo is /home/tech-admin/data/bzr/ and then init in /home/tech-admin/data/bzr/HEAD00:10
jambrilliantnut: right, that is what I thought you did00:11
jamI'm trying to understand the other error, then00:11
brilliantnutbzr log bzr+http://<creds>@<server>/bzr/ gives "Not a branch:"00:13
brilliantnutand bzr log bzr+http://<creds>@<server>/bzr/HEAD gives "No repository present:"00:14
jambrilliantnut: well I would expect the "Not a branch" since HEAD is the branch, "bzr/" is the repository00:14
jamI' don't know why you are getting the other error00:14
brilliantnutso, when I'm accessing the branch, it wants a repository, and vice versa :(00:14
jambrilliantnut: well, it can find the repository from the branch, which is why it is confusing00:14
jamcan you paste the output of ~/.bzr.log if you run00:15
jambzr log -Dhpss -Dhttp bzr+http://..../bzr/HEAD00:15
jambrilliantnut: and unfortunately, it is now time for me to spend with my family, but maybe spiv will peek his head in here and help00:15
igcmorning Odd_Bloke00:15
brilliantnutjam: thanks for your help.00:15
pooliegood morning00:17
pooliehi markh00:18
markhhi poolie00:20
brilliantnutoutput of .bzr.log after bzr log -Dhpss -Dhttp bzr+http://..../bzr/HEAD http://paste.ubuntu.com/12151/00:20
brilliantnuthttp://paste.ubuntu.com/12151/00:20
brilliantnutspiv: jam said you might be able to help with our problem...00:21
spivbrilliantnut: I'll take a look00:25
libwilliamI have a question regarding embedding bazaar's api's in my C code. I am getting fairly familiar with the python C api but I don't know enough about Python in general to understand what I am missing. Without all of the details I am trying to load a working tree object by... http://pastebin.com/m5abe9728   Now it says 'No module names workingtree' and that is where not knowing much about python is hurting me. I am unsure if I am supposed to d00:27
libwilliamo some special linking in my makefile to link to the bzrlib or where to look for information.00:27
=== mwhudson_ is now known as mwhudson
spivbrilliantnut: strange, it repeatedly tries to do BzrDir.find_repositoryV2 in HEAD, rather than in bzar.00:30
spivbrilliantnut: that looks like a bug in the client to me.  Which version of bzr is that?00:30
spivlibwilliam: the module is called "bzrlib.workingtree"00:31
spivlibwilliam: or rather, the workingtree module is in the bzrlib package.00:31
brilliantnutspivl, I'm on 1.6 dev (latest checkout of bzr.dev), deepjoy is on 1.5rc1, and we've also tried using 1.3 earlier with identical results. The server is 1.3 (from fedora EPEL)00:32
brilliantnutspiv:  ^^^^00:32
spivbrilliantnut: ok, thanks00:32
spivbrilliantnut: looks like bug report time :(00:32
spivThe server appears to be working correctly, at least from that snippet.00:32
spivI'll file a bug report, I'll try to deal with it soon.00:33
spivIt looks pretty severe to me.00:33
libwilliamspiv: thanks, im building right now to try it out. So as long as bazaar is installed using bzrlib.workingtree should work do I have to specify to link against it(im new)00:33
spivlibwilliam: no, you can't "link" Python modules.00:33
spivYou need to import python code, as you're doing.00:34
spivYou might want to read the python tutorial, especially the section about modules and packages: http://docs.python.org/tut/node8.html00:35
spivThe background information that gives you should help you make sense of the C APIs.00:35
libwilliamspiv: alright, im only used to using c and the makefile pain so not sure how anything python related words.00:35
libwilliamspiv: im looking at it now, thanks for the help00:35
brilliantnutspiv: This is similar happened to us when we last tried it after 1.0 released, and apparently there was a patch underway to fix this or something... unfortunately, we only got time to get back to this now...00:35
spivbrilliantnut: yeah, this is definitely supposed to be working now :(00:36
brilliantnutspiv: do you need further information from us to help fix this?00:36
spivbrilliantnut: I don't think so at this stage00:38
brilliantnutdeepjoy and I have access on both the server and client... we could give you test credentials to our repository, if it would help.00:39
spivbrilliantnut: I'll tell you the bug number in a moment, if you could subscribe to that in case we do need more information, that would be good.00:39
spivbrilliantnut: bug #23055000:44
ubottuLaunchpad bug 230550 in bzr "bzr+http repeatedly queries the wrong location for BzrDir.find_repositoryV2" [Undecided,New] https://launchpad.net/bugs/23055000:44
spivbrilliantnut: thanks very much for reporting this00:44
brilliantnutspiv: subscribed.00:52
jamspiv: is this fallout from your "post to the same URL" patch?01:05
jamI think the client thinks it is doing01:05
jamtransport.clone('..')01:05
jambut then it ends up posting to the same URL01:05
jamspiv: just a guess, though01:05
jamcertainly RemoteBzrDir has been stupid about opening a containing repo for a long time01:06
jamit has the RPC's to just open it directly, but it still does a VFS walk01:06
spivjam: it seems likely to be involved, yeah01:11
brilliantnutspiv: one more thing, there is an inconsistency in the documentation section 10.4 (the part we were referring to). 10.4.1 (example) says /srv/example.com/www/code/, but the code snippets in section 10.4.3 have /srv/example.com/code (missing www)01:38
brilliantnutalso, the modpywsgi link is broken01:46
hersonlsI have a question, I can convert it into a project svn to bzr?02:08
hersonlsI have a question, I can convert it a project into svn to bzr?02:09
Penghersonls: bzr-svn.02:10
hersonlsPeng: what is this?02:11
hersonlsPeng: bzr plugin?02:12
AfChersonls: one-way conversion (never to go back) is do-able and pretty easy.02:12
Penghersonls: Yes, it's a plugin.02:13
AfChersonls: on the other hand, if you need to _continue_ to interact with the old central Subversion repository, then that is also possible.02:13
AfChersonls: in both cases, the 'bzr-svn' plugin will help you do this.02:13
Penghersonls: http://bazaar-vcs.org/BzrForeignBranches/Subversion02:13
hersonls:D02:14
AfChersonls: there are also other tools that can do the first02:14
hersonlstanks02:14
* AfC wonders if svn2bzr is still maintained.02:14
PengAfC: Dunno. With bzr-svn, I don't really care.02:15
AfCPeng: granted, but bzr-svn can be quite difficult to get to run. If all you're after is a never-look-back one-time conversion, then other tools are worth considering.02:15
PengTrue.02:16
bob2abentley: be gets a shoutout in lwn this week02:16
Pengbob2: Whowhat?02:17
abentleybob2: wow.02:17
abentleyAnd I thought nobody cared.02:17
bob2you were just like two years ahead of the world02:19
libwilliamhttp://pastebin.com/m686a55f Now I am coming across a problem with trying to specify a directory of where to open a working tree from. Looking at the pastebin link I specify /home/will/bzrtest but no it tries to open the directory I am currently in /home/will/apps/svn/anjuta02:19
bob2Peng: www.bugseverywhere.org02:20
abentleyPeng: be= Bugs Everywhere, a distributed bugtracker I wrote for use with Arch and Bazaar.02:20
PengOh.02:20
PengOh!02:20
PengI misread "be" as "he". As in "him".02:20
PengI really need to sleep.02:20
PengCongratulations. :)02:20
PengIt has a domain name now too? Nifty.02:21
bob2haha, with rcs support02:22
* Peng goes to bed.02:23
spivlibwilliam: hmm, strange02:31
spivlibwilliam: maybe an odd interaction with the fact that WorkingTree.open is a staticmethod?02:32
spivI wouldn't expect that to be the case.02:32
libwilliamwhen I directly pass in "/home/will/bzrtest" into the method instead of converting to a py_string it correctly tries that directory but with the screwed up characters No such file: u'/home/will/bzrtest/\x01'02:33
spivOh, right.02:33
spivThe "s" format means a C string, not a PyObject02:33
spiv(see "Parsing arguments and building values" in the Python/C API Reference Manual)02:34
libwilliamalright I brought it up, thanks again02:35
pooliehersonls: hello02:39
hersonlspoolie: hi02:39
hersonlspoolie:  Bazaar is reflected in some other vcs to be build as is currently?02:39
pooliei don't understand, can you restate the question?02:41
hersonlsyeah02:41
hersonlssorry for my english02:41
hersonlshave any influence of another vcs, in the building bazaar?02:41
hersonlspoolie: you understand now?02:44
poolieyes02:45
pooliebzr takes ideas from several places: monotone, arch, baz, svn, git02:45
hersonlspoolie: bazaar have news?02:47
hersonls( reminding you these questions are for an article )02:48
poolieoh i see02:57
pooliehersonls: yes, see for example http://jam-bazaar.blogspot.com/2008/05/this-week-in-bazaar-first-edition.html02:58
bimberihaha "Launchpad developer and wanted criminal"03:25
TFKylehmm, re: http://jam-bazaar.blogspot.com/2008/05/creating-new-launchpad-project-redux.html , are you supposed to use bazaar as the super-project for all plugins?03:25
* ig1 lunch03:50
poolieigc, ig1, i approved your "for 1.5" patch; if you want me to read anything else in particular please let me know04:18
ig1thanks poolie. The only tweak I want to do is to move Miscellaneous Topics ahead of the plugin tour.04:19
ig1That will mean a minor rewording of the 'port 2' intro as well04:20
ig1s/port/part/04:20
=== ig1 is now known as igc
igcpoolie: I'd like your opinion on the Zen doc patch as well but it can wait if you're busy on other things04:22
pooliei suspect people are keen for me to finish their raise recommendations :)04:24
* fullermd could use one while you're at it.04:24
igcsure :-)04:25
=== pickscrap1 is now known as pickscrape
fbondAny ideas on this?05:01
fbondbzr: ERROR: Must end write group before releasing write lock on KnitPackRepository05:01
fbondGot that while pulling.05:01
jamTFKyle: you certainly don't have to, I do it because then you can see them all as part of the project05:13
* igc pick up kids05:46
vilaspiv: yes, I've seen bug #230223, a bit short of time though, I agree with you that it may be related to error handling but I also suspect some bad interaction with connection sharing, also bug #229076 is weird, pycurl works while urllib got a connection reset so early I wonder why...06:31
ubottuLaunchpad bug 230223 in bzr "smart server probing in 1.4 breaks check outs of short bus http repositories [regression]" [High,Confirmed] https://launchpad.net/bugs/23022306:31
ubottuLaunchpad bug 229076 in bzr "'Connection reset by peer' error when branching repository" [Undecided,Confirmed] https://launchpad.net/bugs/22907606:31
spivvila: that is odd06:42
vilaspiv: pfew such a relief, I'm glad you share the feeling :-)06:42
spivvila: thanks for taking a look.  I was asking just in case you knew the answer instantly :)06:43
vilaspiv: I had a look a few days ago at #230223 and -Dhttp revealed that the POST failed for unclear reasons and then a new connection is issued 90 seconds later (sounds like sone timeout) which made me suspect some bad reuse of the connection, but I didn't have time to dig further06:44
vilaso my first reaction is to suspect some bad handling of the socket when POST errors, but I may be wrong06:45
vilaand again, I really really want to be able to apply some parts of the test suite against a real server, that's my #1 TODO since it will simplify a lot of other tasks (https for urllib, list_dir for webdav, just to name a few)06:47
vilaregarding #229076, a telnet session under wireshark gives only a few packets, but I'm not expert in diagnosing at that level and some help here will be very appreciated06:49
* gour is preparing to adopt bzr's terminology - {standalone,shared} branch, {shared} repository, checkout, tree etc. which, afaics, differs a bit from darcs' lingo06:49
AfCI just blogged about my experience using Bazaar to import and then publish a mirror of GTK. Hopefully that will be of some interest in GNOME land.06:49
goururl?06:50
gourotoh, i don't know why, but i simply love/like bzr. git was never serious candidate and hg did not penetrate my mind when playing with it06:52
gourahh, found GTK post...07:02
pooliegour: i'm glad you like it07:11
=== poolie changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org/ |
gourpoolie: i really does07:12
=== poolie changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org | bzr-1.5rc1, May 9 | http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/
gourit looks svn-1.5 (containing reqs for bzr-svn) should be soon out?07:13
TFKylegour: seems like it, it's at -rc5 atm07:13
vilapoolie: now that the topic is up-to-date, do you have a few seconds to inspect a wireshark trace ? Like the one #229706 can produce ;-)07:14
goursoon, we can try bzr-svn without patching07:14
gourAfC: cool note at the end of your blog post ;)07:17
gourhey, bzr viz is really cool!07:19
TFKylevisualize++07:19
poolie:)07:19
* TFKyle wonders if bzr isn't supposed to work with py 2.6/trunk or if it's just something with the gzip stuff on his windows machine07:20
* gour is sold. visualize will impress his windoze friends07:20
poolievila, sure, url?07:20
poolievila, really #229706 "gobuntu-desktop installation does not remove non-free software"?07:21
vila#22907607:21
vilagrrr, damn typos !07:22
vilaback in ~30 mins, daughter to school time07:22
poolievila, happy to look at it07:22
pooliemaybe just attach it to that bug?07:23
gouram i right in understanding that i'm supposed to do bzr branch 'repo', then create 'working copy, hack in there, pull to 'repo' to keep it update and then bzr merge 'cause, according to docs for pull, "This command only works if your local (destination) branch is either an older copy of the parent branch with no new commits of its own, or if the most recent commit in your local branch has been merged into the parent branch." while in07:27
goure.g. darcs i can select patches while pulling and resolve potential conflicts?07:27
jameshgour: if you have diverged from the branch you are pulling from, you need to merge07:38
gourjamesh: right. darcs' can pull no matter of adding new stuff07:41
jameshgour: yep.  Darcs has a different model to Bazaar07:41
jameshgour: I guess you'd have to do something to resolve conflicts in Darcs if the two diverged branches changed the same sections of code though07:42
gourtrue. it presents branch as set of patches...otoh, bazaar avoids with its model, some scalability problems07:42
gourjamesh: sure...darcs will mark conflicts07:43
gourbut, afaiu, bzr does not allow to pull even if there are no conflicts, right?07:44
jameshgour: Bazaar is snapshot oriented rather than delta oriented07:44
jameshgour: provided the deltas can be applied on top of each other Darcs doesn't consider there to be a conflict07:45
gouryes. it's just the other model, as in hg, but, somehow, hg did not appeal to me as much as bzr07:45
jameshgour: in contrast, combining the changes in Bazaar results in a new tree snapshot (and revision).07:46
jameshthere are pros and cons to both systems07:46
gourright, darcs allows fine cherrypicking, the other model is more robust & safe07:47
jamesha Bazaar revision represents a particular tree state, so you can do things like verify that a test suite passes before accepting a commit07:47
jameshin contrast, you can only make those sort of assertions in Darcs against the entire set of deltas in the branch07:48
gourwell, in darcs you can do that as well with --pre-hook switch while darcs record07:49
AfC... on the other hand, extracting small and/or unrelated changes out of the middle of a branch and applying them to another branch is something that Bazaar's current UI doesn't help very much with.07:49
AfCThat's fine, except that I know that a number of us feel the desire to do this sort of thing quite frequently, and so hopefully someday Bazaar will evolve some capabilities to help smooth the way in such scenarios.07:49
jameshpulling one branch into another won't necessarily leave you with a tree with all the tests passing, even if both branches passed before hand07:50
jamesh(not all conflicts are textual)07:50
jameshAfC: cherry picking has been on the todo list for a long time :()07:50
AfCyeah well07:50
jameshthat should have been :(07:50
gourjamesh: if you tag then you know that all the patches before have to pass07:51
gourand darcs record --pre-hook will do the right thing, check new patch(es) before commit07:52
jameshgour: well, a pull could insert patches into that existing sequence, right?07:52
AfCgour: maybe it would help you if I were to point out that most of the people working on Bazaar are world class experts in the version control field; notably, most of them used Darcs at one point or another. You don't really need to explain what it does here.07:52
gourok07:52
gouris improving speed the main concern of bzr-dev atm?08:05
* gour is reading user-guide08:10
vilapoolie: wireshark traces added to bug #229076 for a failing telnet session (7 packets) and a succeeding pycurl session (only the first 52 packets)08:26
ubottuLaunchpad bug 229076 in bzr "'Connection reset by peer' error when branching repository" [Undecided,Confirmed] https://launchpad.net/bugs/22907608:26
spivgour: I'd say it's the main one, yes.  That said, there's feature work happening too.08:27
spivOur speed is already good enough in lots of cases, though.  We're just trying to make sure it's good enough for even more cases :)08:28
fullermdI was thinking about speed earlier today...08:33
spivvila: that is weird08:33
vilaspiv: trying to tie 'vila', 'odd' and 'weird' in your comments when fullermd is around is naughty...08:35
vila:-)08:35
fullermdvila isn't odd.  2 vowels, 2 consonants; that's an even number of evens, adding and summing to the same even.  Total non-odd.08:36
fullermdWhich is weird, when you think about it.08:36
* vila hopes google doesn't index IRC logs...08:37
vilaseriously, is anyone able to reproduce the telnet session ?08:38
gouri'm  noticing some ambiguity while reading docs. any preferred pastebin i should use to write the details?08:41
vila!paste08:41
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic)08:41
gourta08:42
fullermdSpeedwise:   * /src - Convert Time: ~6h20m, Git Repo Size: 495M (before repack 2.2G, repack time ~18hours), CVS Repo Size: 2.3G08:45
* fullermd is guessing a bzr conversion wouldn't even get a significant way through in 24 hours...08:45
poolievila, thanks08:45
jameshfullermd: don't most things add and sum to the same thing?08:45
fullermdjamesh: Yes, but they don't multiply and sum, which is totally what I wrote if you disregard my fingers and go straight to my mind   :P08:46
* igc dinner08:48
gourok, here it is: http://paste.ubuntu.com/12203/ anyone can comment on it?08:50
uniscripthow do I set up a remote repository (well via mount) and then make the directory I am in be a lightweight bound checkout of that remote repo, without changing the files in this directory or creating a copy?08:53
uniscriptI can create the remote repo or branch08:54
uniscriptbut what do I say in my tree of stuff to say: create me a .bzr dir here that contains info for a bound lightweight checkout of that remote branch over there?08:55
gouri've another 'doc-bug' report, but let's hear the feedback on the first one 1st09:02
gourok, here is the other one if someone bothers to look at http://paste.ubuntu.com/12204/09:07
jameshuniscript: "bzr reconfigure" is probably what you're after09:22
jameshfor the last bit09:22
uniscriptso bzr init, bzr bind, bzr reconfigure?09:22
uniscript(in outline)09:23
uniscriptoh --bind-to09:23
uniscriptthanks09:24
AfCI would have thought the bzr documentation would be in a bzr branch somewhere, but I can't find it off the cuff.09:28
fullermdMost of it's in with bzr...09:34
AfCAh, of course.09:41
Jc2klo AfC10:05
AfCSomeone about to join who is attempting to get the GTK branch I blogged about today at http://research.operationaldynamics.com/blogs/andrew/#bzr-branch-of-gtk10:06
AfCbut is getting... ah, there he is :)10:06
Jc2kjohn@cocacola:~/gnome/gtk+$ bzr branch http://www.gnome.org/~afcowie/bzr/gtk+/trunk10:06
Jc2kbzr: ERROR: Connection error: while sending GET /%7Eafcowie/bzr/gtk%2B/trunk/.bzr/branch-format: (104, 'Connection reset by peer')10:06
AfCI already asked what version he was using10:06
AfCAhem, please excuse me.10:06
Jc2k:)10:06
AfCI assume John to be a him, sorry10:06
Jc2kyou are correct ;)10:07
AfC... and he indicated trouble with bzr both 1.3.1 and 1.5rc110:07
AfCLet me try branching raw10:07
fullermdIsn't that the thing vila was just looking at?10:08
Jc2kwhoops, its 1.3-1 (debian package version) not 1.3.110:08
vilayup, something is weird here, *server* log may help, from here it looks like the server just close the connection, so I'm a bit short of info to understand10:10
vilaespecially when using pycurl (instead of the urllib based http client imlpementation) just works...10:10
james_wvila: hi, you were looking at gnome.org in that bug report weren't you?10:10
AfCI don't have access to the HTTP server logs, sorry10:10
vilajames_w: hi, see bug #229076 for details10:11
ubottuLaunchpad bug 229076 in bzr "'Connection reset by peer' error when branching repository" [Undecided,Confirmed] https://launchpad.net/bugs/22907610:11
AfC(it's just a public_html directory in a user account on the server that GNOME hackers can use.10:11
AfCNot a server I control)10:11
james_wJc2k: installing python-pycurl will probably get you moving.10:11
vilaAfC: and do you know someone who can look at those logs ?10:11
Jc2kjames_w: will try now10:12
fullermdThere's certainly something weird with the server.10:12
vilaAfC: and can you tell me me how you upload that branch ? Do you use pycurl ?10:12
fullermd% ( echo 'GET / HTTP/1.0' ; echo 'host: www.gnome.org' ; echo ) | nc www.gnome.org 8010:12
AfCvila: Yes, but that's a pretty bloody busy server, and the GNOME sys admin team is in over their heads today (as are most sysadmins on the planet)10:12
fullermdjust dumps me right back at the prompt (i.e., closed connection with no data passed back)10:12
AfCvila: I uploaded with bzr+ssh10:13
vilafullermd: thanks for confirming that10:13
fullermdPresumably it's doing one of those weird "detect if the far end is a 'real' browser by random connection fingerprint stuff, else ignore" things that's all the rage.10:13
vilaAfC: Huh ? There is a smart server there ???10:13
vilathe POST command got a 404 when bzr probes for it...10:14
* AfC has a normal `bzr branch http://` running on his URL right now, and it's 2/5 inventory texts and 17 MB in10:14
AfCvila: what are you talking about?10:14
vilafullermd: how can it do that ? You can try again without the 'host' header and get the same behavior10:15
* Jc2k installed python-pycurl and its working \o/10:15
vilaJc2k: ahpy for you :)10:15
AfCvila: I would (on a normal day) have SSH access to that machine. So once I got Olav to install Bazaar on it, I just pushed a branch up there with bzr push bzr+ssh://...10:15
james_wvila: it's got a smart server accessible over ssh, but it's not set up for bzr+http://10:15
Jc2kshould the package depend on python-pycurl?10:15
fullermdvila: I don't recall offhand.  But it apparently can be done with some degree of accuracy, by details of the timing and packet structure and whatnot.  At least, as long as you only care about Mozilla/IE/Opera/etc.10:15
vilajames_w: ghaaa, of course10:16
vilaAfC: james_w is obviously right :)10:16
AfCJc2k: it would seem so. It's an optional "does something different at runtime if found" dependency.10:16
james_wJc2k: we would like to move away from pycurl, however there are two things to fix, one is the couple of bugs that have been found in the last week or so, and the other is doing something with SSL certificates.10:17
vilafullermd: my my my, are we getting bitten because we are too slow between connectin and sending the GET ? I can hardly believe it >-/10:17
james_wJc2k: though there could be a dependency in the meantime.10:17
vilafullermd: I thought about something like that but discarded it as too 4th-dimension-y10:18
vilaand why on earth would they want to do that ???10:18
fullermdThe theory is to avoid robots/scrapers/etc.10:18
fullermdI don't know much about it; just seen some references in passing.10:19
vilaanyway, if that's the case, we need to at least check with them and try to find a solution10:19
fullermdCan't coax anything out of google in a little trying.10:19
viladoes anybody knows one of those gnome sysdamins ?10:19
vilaAfC: I should have missed something but why all admins of the planet are so busy today ?10:20
james_wvila: AfC does, but as he said they will be very busy today10:20
james_wvila: http://www.ubuntu.com/usn/usn-612-110:20
james_whttp://lists.debian.org/debian-security-announce/2008/msg00152.html10:21
vilajames_w: oh, that one, I think I applied the update a couple of days ago already10:21
AfCvila: http://blog.drinsama.de/erich/en/linux/2008051401-consequences-of-sslssh-weakness.html and http://mail.gnome.org/archives/devel-announce-list/2008-May/msg00002.html10:23
AfCErich's blog post was excellent reading.10:23
vilaAfC: thanks, read both, I should check *when* I created my ssh keys, the good news is that I kept *all* of them under bzr ;-)10:27
vilajames_w: that includes keys uploaded to lp I presume, time to update them ?10:28
matkorHi ! gtk masters, 'Graph' object has no attribute 'iter_ancestry' is gtk related ?10:28
bob2vila: they all got killed anyway10:29
matkorits bzr 1.4.0 and olive -r 486 (tagged as 0.94.0) ?10:30
bob2that sounds a lot more like a bzr thing than a gtk thing10:31
vilabob2: the keys uploaded on lp ?10:31
james_wvila: yes, though my DSA key was still there yesterday, so it might have been a selective deletion.10:36
james_wmatkor: yeah, I think that's a bzr thing.10:37
matkorjames_w, bob: Where are docs around graph: Graph(KnitParentsProvider(KnitVersionedFile(file:///home/users/matkor/.bzr/repository/revisions))) ?10:40
james_wI'm not sure10:41
gourwhen not using lockstep dev, checkouts are not required?10:41
james_whttp://starship.python.net/crew/mwh/bzrlibapi/bzrlib.graph.Graph.html10:41
Ngdoes bzr do clever things with its output? (where "clever" is some magic I can't clearly define)10:42
james_wgour: yes, if you're not doing lockstep then checkouts are not what you want10:42
Ngon hardy, doing "bzr diff | pastebinit" doesn't work10:42
Ngbut something like "echo foo | pastebinit" does10:42
matkorjames_w: Thank you very much10:42
james_wgour: though you can use commit --local, but I'd recommend using a branch10:42
james_whi Ng10:42
Nghey :)10:43
james_w"doesn't work"?10:43
Ngpastebinit gives an error which its author tells me means it didn't receive any input10:43
james_wwow, yeah10:43
gourjames_w: thanks10:43
james_wNg: bzr diff exits with 0 when piped to pastebinit, so it's not looking for the changes correctly, and I guess outputting nothing to match the "no changes" status10:45
lifeless'sup10:45
james_whi lifeless10:45
pooliehello lifeless10:45
pooliejust leaving now10:45
poolienight all10:45
james_whi poolie10:45
james_wgood night10:45
poolieenjoy Prague10:45
james_wthanks.10:46
poolieI hear it's Pragmatic :)10:46
pooliebadabing10:46
james_wboo10:46
gourare there any 'Cons' in using shared repos?10:47
intellectronicahi, i'm suffering from some kind of strange corruption pushing a branch10:47
intellectronicawhen i look at the pushed branch, only the last few revision seem to be there10:47
Ngjames_w: I get this whether there are changes or not, but even 'echo "" | pastebinit' works. I guess I'm wondering if bzr should notice that stdout isn't a terminal and just send text, but I'm guessing wildly ;)10:47
intellectronicaand one i try to branch from it, i get the error NotLefthandHistory: Supplied history does not follow left-hand parents10:48
james_wNg: yeah, but "bzr diff | cat" works10:48
lifelessit reminds me of dunedin10:48
lifelessNg: utf8 is text :P10:49
Ngjames_w: sure, and | less. so is the conclusion here that pastebinit is broken somehow?10:49
lifelessthat would be my first guess10:49
james_wintellectronica: that is strange. You should only get the branch error message on push.10:50
james_wintellectronica: is this a public branch?10:50
Ngalthough at some point, bzr merge --preview failed to work with |less, so I'm not entirely convinced you guys aren't to blame somehow ;)10:50
intellectronicajames_w: it isn't, srry10:50
lifelessess10:50
james_wNg: could be, I don't know if it does anything funny with stdin.10:50
lifelessintellectronica: there was a bug10:50
lifelessintellectronica: use an older, or newer bzr and it should go away10:51
intellectronicalifeless:  older than 1.5rc1, you mean?10:51
intellectronicathere is no newer packaged version, afaik10:51
james_wNg: pastebinit is at least a little broken10:53
james_wNg: "list index out of range"10:53
Ngyeah, a quick read of the code for stdin suggests it calls .read() on stdin twice10:54
james_wcontent=l_r[0][0].read()10:54
Ngquite why that works with some stuff and not with others, I don't know, but is seems like a highly suspect thing to do, to me10:54
Nghmm, maybe not10:55
* Ng shrugs, I'm not going to start debugging this right now ;)10:55
james_w"When the time-out is reached without a file descriptor becoming ready, three empty lists are returned. "10:55
james_wso something bzr is doing means that pastebinit's stdin is not ready10:56
james_w(sleep 2; echo a) | pastebinit10:56
intellectronicalifeless: no, downgrading to 1.3.1 doesn't seem to help10:57
lifelessinterewsting10:57
lifelessit may be something else I guess10:58
lifelessI'm a little shell shocked - just ogt off th eplane10:58
intellectronicai have 6277 revisions locally, but when i push i get only the last 167 branches10:58
intellectronicalifeless: ah, are you doing the prague thing?10:58
Ngjames_w: ooh, good catch10:59
lifelessyes10:59
intellectronicacool10:59
james_wAnyone know a better way to know if stdin is going to have data for you than "select.select([sys.stdin],[],[],0)" ?10:59
lifelessif you're non blocking, no - other than to say 'use twistd ffs'11:00
mwhudsonjames_w: the FIONREAD ioctl?11:02
james_wI guess what it should do is first look for filename arguments, rather than looking for stdin11:02
james_wthat would allow you to run "pastebinit" and type what you want. It does have the same problem as "patch patch_filename" though.11:02
james_wNg: bug 230649 if you care enough to subscribe.11:09
ubottuLaunchpad bug 230649 in pastebinit "Fails to read from stdin if the process producing data is slow to start" [Undecided,New] https://launchpad.net/bugs/23064911:09
lifelessI'm not sure why it wants to be nonblocking anyway11:12
Ngjames_w: cool thanks :)11:14
matkorWho is now responsible for merging bugfixes for olive-gtk ? Jelmer Vernooij  ? Szilveszter Farkas ? I have one pretty straightforward typo fix in https://code.launchpad.net/~matkor/bzr-gtk/trunk-matkor ...12:01
jelmermatkor: sorry, I don't have time at the moment. please send a merge request to the bzr-gtk mailing list12:01
matkorShould I mark somehow that I am killing given bug (https://bugs.launchpad.net/bzr-gtk/+bug/218406) during commit ?12:29
ubottuLaunchpad bug 218406 in bzr-gtk "olive-gtk.desktop lists incorrect categories" [Undecided,New]12:29
lifelessmatkor: --fixes12:30
lifelessmatkor:  -- fixes12:30
lifelessmeh, sorry - latency12:30
james_wmatkor: "bzr commit --fixes lp:218406" to be exact12:31
matkorok thanks12:32
matkorjames_w, lifeless: Is launchpad such smart, so when my revision with --fixes will get merged into mainline, descriptions on https://bugs.launchpad.net/bzr-gtk/+bug/218406 will get updated :) ?12:41
ubottuLaunchpad bug 218406 in bzr-gtk "olive-gtk.desktop lists incorrect categories" [Undecided,New]12:41
james_wmatkor: no, it's not that smart yet.12:42
sidneijelmer: hi there?12:57
jelmerhi sidnei12:57
sidneijelmer: trying to get bzr-svn going on osx, using python-svn from macports12:58
sidneijelmer: is that 'metze' patch the only one required?12:58
jelmersidnei: yes, but you may want the other one as well since it fixes some memory leaks12:59
sidneijelmer: odd, after applying the patch it is still complaining that the version isn't good enough13:00
sidneijelmer: this is subversion 1.4.613:01
jelmersidnei: one of the common problems is that SWIG has to be forced to rerun13:01
sidneijelmer: ah. that might be it then13:01
matkorHow are release files ( *.tgz ) generated ? Is it done from bzr ?13:05
matkorbzr export ?13:05
lifelessbzr export can do that yes13:08
igchi lifeless - hope you had a good trip13:11
lifelessmixed as these things are13:12
lifelessI'm sneezing constantly at the moment :(13:12
igcgour: thanks for the doc feedback. Please raise bugs in LP for things you'd like improved and tag them as 'documentation'.13:12
igclifeless: :-(13:12
igctravel sucks - seeing other places in neat though13:13
igcs/in/is/13:13
spivInteresting snippet on git not quite satisfying the kernel devs: http://kerneltrap.org/mailarchive/linux-kernel/2008/5/14/181558413:26
fbondAny ideas on this?13:27
fbondbzr: ERROR: Must end write group before releasing write lock on KnitPackRepository13:27
fbondGot that while pulling.13:27
spivfbond: that sounds like a bzr bug13:28
spivfbond: which bzr version?13:28
lifelessspiv: I would guess a network error or something triggering that13:29
fbondspiv: sorry, one sec; took a phone call and I have to fire up my laptop to get the version.13:39
spivlifeless: any tips for diagnosing the trigger?  I'm about to go to bed.13:44
spiv(for fbond's issue)13:44
lifelesswell, I would guess exception Ai s being raised and not being caught, triggering unllock()13:45
lifelessthe backtrace in ~/.bzr.log will confirm/deny that the lock decorator is triggering this13:45
lifelessI *think* it logs the original exception in that case too13:46
spivlifeless: oh, so it's similar to the TooManyConcurrentRequests error?13:46
lifelessyes13:47
spivI know in the TooManyConcurrentRequests case, the original error is just completely discarded :(13:47
lifelesssomething somewhere failing to cleanup properly; and the usual cause for that is hard to reproduce locall things e.g. network13:47
* spiv nods13:47
spivSomeone (possibly me) should write tests for the improved lock decorators I have in the branch on https://bugs.edge.launchpad.net/bzr/+bug/12578413:48
ubottuLaunchpad bug 125784 in bzr "TooManyConcurrentRequests when using smart server over ssh" [High,Confirmed]13:48
fbondspiv: bzr 1.3.113:48
fbondpulling from same via bzr+ssh13:49
spivISTR to poolie was going to do that at some point, but I guess it never happened.13:49
fbondspiv: Can I do something to generate a useful log file?13:50
spivUnfortunately this cold/flu I'm recovering from is wiping me out, so I definitely need to go to bed.13:50
lifelessspiv: I hope I haven't een incubating on the plane13:50
fbondspiv: Okay, feel better.13:50
spivfbond: "bzr --version" will tell you where you log file is.  You could try "bzr -Dhpss ..." if you're using bzr+ssh, which might give a very indirect indication of where the problem is.13:51
fbondI'll be back later with a log file.13:52
jelmerjames_w: where does the master branch of bzr-builddeb live these days?13:55
james_wjelmer: it's on launchpad at the moment, as I was having problems with alioth a while back, let me grab the location13:55
james_whttps://code.launchpad.net/~james-w/bzr-builddeb/trunk13:56
jelmerthanks13:57
gourigc: thank you for review. i'll do it14:07
james_wjelmer: hi, are you still around?14:40
jelmerjames_w, yep14:41
james_wjelmer: cool, can I ask a favour?14:41
jelmerjames_w: depending on what it is, sure :-)14:41
james_wI'm trying to clean up the branches for builddeb, would you do a couple of things on lp for me, as I don't have permission?14:41
james_whttps://code.edge.launchpad.net/~jelmer/bzr-builddeb/trunk14:41
james_wcan you either change the ownership to ~bzr-builddeb-hackers, or delete it if it's not possible.14:42
james_wAh, it's a mirrored branch, that should not be needed.14:42
jelmerLooks like I can only change the ownership to teams I'm in14:43
james_wyou could join :-)14:43
james_whttps://code.edge.launchpad.net/~jelmer/bzr-builddeb/jelmer <- that could be marked merged14:43
jelmerjust attempted to do so :-) Still needs approval14:43
james_wthanks14:44
james_wI'll merge your patch once I've cleaned up a bit, sorry I didn't get to it before.14:45
jelmerI've changed the ownership of the mirrorred branch14:47
jelmerjames_w: thanks14:47
james_wthe patch you sent is pretty large, did you use an old parent branch when creating it?14:48
jelmerah, ouch - yes, it's using the wrong submit branch14:48
jelmerI'll resend14:48
james_wis https://code.edge.launchpad.net/~jelmer/bzr-builddeb/452130 the same code?14:48
james_wI can just merge from there if it is.14:49
jelmerthat's the old one, which will cause conflicts when merging14:49
jelmerjames_w, sent14:51
james_wthanks14:51
gourigc: where can i tag bug report as documentation?15:02
gourthere is bzr-book, but i'm not sure it's the right one15:03
james_wgour: with an actual tag15:04
james_w"Edit Description/Tags" in the top left box.15:04
igcgour: as james_w says15:04
james_whi igc15:04
igchi james_w15:04
gourthis comes AFTER submitting bug?15:04
igcyes15:05
gourok15:05
gourthe tag 'documentation' hasn't yet been used by Bazaar before ?15:06
gourshould i create a new one?15:07
lifelessno15:07
gour:-/15:07
* gour is confused15:07
lifelessif you look at the current tags15:07
james_wgour: "doc" is what we use apparently.15:07
lifelessyou can see that there is a tag doc15:08
gourlifeless: somehow i do not see list of tags15:08
lifelesson the left hand side there is probably a collapsed area15:08
gourit isn't...ok, i tagged as 'doc'15:08
james_wthey're shown on https://bugs.launchpad.net/bzr/15:09
lifelessinteresting tags on this bug : https://bugs.edge.launchpad.net/bzr/+bug/20904615:09
ubottuLaunchpad bug 209046 in bzr "Crash when comitting with non-English description" [Undecided,New]15:09
lifelessplease don't fix, I'm going to show the lp ui guys15:09
gourdone, https://bugs.launchpad.net/bzr/+bug/23073415:09
ubottuLaunchpad bug 230734 in bzr "make some terms in documentation more clear" [Undecided,New]15:09
gourbtw, who is keeping the track about the numbers of bzr users?15:10
gourjames_w: it would be nice that the list is at hand when filling the bug report15:12
james_wgour: yeah, at least when adding tags.15:13
lifelessindeed15:15
lifelessgour: I think we have a bug open about tag suggestion15:20
jelmerhmm, bzrlib.config is a mess.. What's the difference between get_value(), get_option() and get_user_option() ?15:23
jelmeror maybe I'm missing the big picture here somewhere15:23
lifelesswoo15:39
lifelessI have verieonedfiles with annotate()15:39
lifelessand all that shitt15:39
jelmerw00t15:39
james_wwoo15:40
lifelessnow to add it to repository and deprecate KnitVersionedFile15:40
lifelessjelmer: I'm in prague15:40
jelmerlifeless, ahh15:40
james_wwould it be cruel to put lifeless on a plane half the way around the world whenever there's a big job to be done?15:40
lifelessjames_w: I thought that that was what happened already?15:40
james_wheh15:41
lifelessjames_w: are ou here for fosscamp?15:41
james_wlifeless: no, just UDS, I arrive on Sunday.15:42
igcgo lifeless go15:59
igc(sounds better than go speed-racer go)16:00
igcmust be time for sleep16:00
jelmerigc: You're in .eu as well then I guess ? :-)16:00
igcnight all16:00
igcnope - here in Brisbane16:00
jelmerapparently not :-) g'night Ian16:00
igcnight16:01
gournight16:01
statikis there a way to prune all but the last month of history from a branch?16:18
james_wstatik: short answer, no.16:23
james_wmedium answer, it's something that we would want to support somewhat at some point.16:23
statikjames_w: i like short answers :) thanks, guess i'll need to wait for history horizons then16:23
james_wlong answer, I think you can do it now, but it would be a bit dirty.16:24
james_wstatik: yep, that would be the best solution.16:24
james_wthanks jelmer, all merged up. I made +svn work as well. I'm working towards releasing a new package today.16:28
jelmerjames_w: cool, thanks!16:37
james_wjelmer: did you see that bzr-dbus is causing deprecation warnings with 1.5?16:38
jelmerjames_w: yeah16:39
jelmerjames_w: I was hoping upstream would merge the fix for that first though16:39
jelmerthen again, merging it first shouldn't cause any problems..16:39
james_wah, I thought I had seen you propose a fix, but I just looked at the code and it wasn't changed, so I thought I was imagining it.16:40
gourhmm, svn-1.5 is expected in 1st week of June16:41
james_wah wow, that will be interesting.16:42
pickscrapeThe glacial rate of svn development depresses me16:42
pickscrapeThen again, it's quicker than svk's current rate of development16:42
gournice news for bzr-svn16:42
rockstar+1 gour16:43
radixis that the one where they added merge tracking?16:45
james_wdato: nice catch, I'll fix that in a moment, thanks.16:45
jelmerrockstar, yes16:50
jelmersorry16:53
jelmerradix, yes16:53
james_wthanks jelmer16:53
radixinteresting16:54
ricardokirknerhi. I am having some issues trying to set up bzr+http on my apache. I think I have the apache config finally ok, but I am getting errors when committing. I get bzr: ERROR: No repository present: "bzr+http://...17:06
ricardokirknerI cannot find out where it is failing.. any hints?17:06
james_wricardokirkner: have you looked in ~/.bzr.log ?17:12
james_w"-Dhttp -Dhpss -Dtransport" as options to bzr will print more information there about what it is doing.17:12
denndaIs there something that helps me push to several locations without always entering the location again?17:13
ricardokirknerjames_w, that should appear in my log? or are those options I should use when calling bzr?17:13
james_wdennda: there is a "bookmarks" plugin that allows you to shorted the URLS17:13
james_wdennda: or you want to push to several locations at the same time?17:13
denndajames_w: both sounds interesting17:14
denndajames_w: but I think bookmarks is what I was asking for17:14
james_wricardokirkner: they are global options to bzr, so "bzr -Dhttp -Dhpss -Dtransport commit"17:14
denndawhat's the name of the plugin?17:14
ricardokirknerI'll try that...17:14
james_wdennda: good, because I don't know of a way to push to multiple locations :-)17:14
james_wdennda: bzr-bookmarks.17:14
james_wdennda: https://edge.launchpad.net/bzr-bookmarks/17:15
denndahm.. is there any documentation on how to use it?17:16
pickscrapeWhat's the best transport for a central server with flexible permission options (i.e. write access for different groups for different branches)?17:18
pickscrapeI'm currently playing with bzr+ssh, but wonder if some other might be faster/more flexible17:18
awilkinsProbably sftp or bzr+ssh17:18
pickscrapePresumably sftp wouldn't take advantage of the smart server?17:19
awilkinspickscrape: Nope. It's probably the quickest for initial checkouts though17:20
ricardokirknerjames_w, using bzr+http I get NoRepositoryFound, but when using http alone I get IncompatibleRepositories: Repository KnitPackRepository(...) is not compatible with repository KnitPackRepository(...)17:21
james_wdennda: I don't know, sorry.17:22
james_wricardokirkner: is there anything useful in the log file?17:22
denndathanks james_w17:23
jelmerricardokirkner: Are you trying to branch into a repository?17:24
ricardokirknerjames_w, I created a repo in my server, then I did a checkout to another machine. in that host I did a change and commited.17:25
ricardokirknerthe repo on the server is in rich-root-pack format (because it was migrated from svn)17:25
jelmerricardokirkner, but what repository are you trying to copy into locally?17:26
jelmerthat should be a rich-root-pack repository as well17:26
ricardokirknerwell, I didn't explicitely create a repo locally, but just did a checkout, and the checkout format is rich-root-pack17:27
ricardokirkneractually, in the log file I get <RepositoryFormatKnitPack4> for both locations17:27
ricardokirkneraparently, the last thing tried was a Branch.unlock operation17:30
ricardokirknerbut just before the traceback I get a result 'ok' response17:31
pickscrapeIs there any expectation that the smart server will become a useful standalone server in the centralised sense (e.g. akin to svnserve)?17:31
ricardokirknerjames_w, if you want I can paste the log17:32
james_wricardokirkner: that would probably help17:33
james_wpickscrape: what do you need that it doesn't do?17:33
=== kiko is now known as kiko-fud
pickscrapee.g. user authentication, init.d scripts to start it up (could be a distro thing)17:35
pickscrapeJust thinking that it might have less of an overhead than going through ssh and starting up bzr every time.17:36
james_wwell it's started on demand17:36
james_wauthentication has been discussed, but there are no immediate plans for it.17:36
pickscrapeI understand that what I'm after is very much for a centralised workflow.17:37
james_wthere's a reticence to get involved in authentication, as it's problematic. We'd rather leave it to existing, tested technologies, at least for now.17:37
pickscrapeUnderstood.17:39
jelmerdato/james_w: any chance you can upload bzr-email ? It hasn't had any uploads with DM-Upload-Allowed yet17:40
ricardokirknerjames_w, http://paste.ubuntu.com/12258/17:40
james_wjelmer: you're uploads that have the wrong size for the orig.tar.gz, are they caused by builddeb as well?17:41
james_wyour uploads, sorry.17:41
james_wjelmer: I wish I could, but I ain't no DD.17:41
jelmerjames_w: Yes, those are also caused by the timestamp in the tarball being incorrect17:41
james_wah, it changes the size, ok.17:42
james_wI was just thinking of writing the patch to bzr to allow me to fix that.17:42
jelmerjames_w: A fix for that bug would be really nice17:44
=== BasicPRO is now known as BasicOSX
james_wricardokirkner: can you provide the output of "bzr info" in the branch and "bzr info sftp://path/on/server/" please?17:49
ricardokirknerjames_w, http://paste.ubuntu.com/12263/17:57
ricardokirknersorry.. that entry has a typo17:58
ricardokirknerno, my mistake, its correct17:59
james_wricardokirkner: so, it looks like it's done the commit, and then fails when fetching the revisions back to the local repository.18:06
james_wdoes it fail if you bind to a bzr+ssh:// URL to the same branch?18:06
ricardokirknerjames_w, bzr+ssh: works fine18:09
james_wsounds like a bug then, if you do "bzr init-repo --rich-root-pack test && cd test && bzr branch http://whatever" do you get the same error?18:11
=== kiko-fud is now known as kiko
ricardokirknerjames_w, I created the repo, did a branch, could commit (because it was a branch), but when pushing to the server, I get the same error18:14
james_wricardokirkner: sounds like a bug to me18:16
ricardokirknermhh.. ok, thank you very much for your help.... i will have to look for another option then18:17
ricardokirkneruntil I manage to get spare time to hunt the bug18:17
ricardokirknerjames_w, what would you recommend me to do to setup authentication for a central server setup, so that I need to have a user in order to commit to the central branch?18:19
james_wricardokirkner: are you happy to give out ssh accounts?18:21
=== lamalex_2 is now known as lamalex
ricardokirknerjames_w, well, I know that possibility, what I didn't want to do that18:56
=== thekorn_ is now known as thekorn
demodricardokirkner: there is also the possibility of using the http wsgi smart server (which leaves authentication and encryption to htaccess and https), however, last time i tried it it didn't exactly work out (but that might have been a misconfiguration on my side, since i haven't used it before)19:11
ricardokirknerdemod, I was trying that too, but it wasn't working either ... probably because of a configuration issue too19:11
demod;)19:11
james_wricardokirkner: there is a webdav plugin as well.19:13
demodjames_w: i thought that one isn't working anymore since bzr 1.0 or so19:14
ricardokirkneryes, but it states that it doesn't work with bzr > 1.0  (although I haven't tried it to confirm this)19:14
vilajames_w: Did you summon me by my webdav name ?19:14
james_wvila: do you have it on highlight, or are you just tuned to it?19:15
vilaThe webdav plugin lacks list_dir, it's on my TODO list, but I can give delays...19:15
james_wah yeah, I remember now.19:15
vilajames_w: just passing around :)19:15
james_wricardokirkner: if you can file that bug then it may be fixed for the 1.6 release this month, but I don't know where to start looking yet.19:16
james_wvila: how is your kitchen?19:16
ricardokirknerjames_w, I'll try to file a bug now, thank you19:16
vilahehe, we still need to finish.... I don't know the name in english, what you put on walls in kitchen or bathrooms and is not paint19:17
ricardokirknerjames_w, the strange thing is I tried to do the same thing using a pristine repo that was created exclusively using bzr (with the default repo format), and I keep getting the same issue19:17
radixwallpaper?19:17
radixpaneling?19:17
radixtiles?19:17
demodtiles19:17
james_wfood?19:17
vilaradix: :) Not wallpaper, may be tiles, it generally comes in 10x10 to 30x30 centimeters, can be white or colored19:18
james_wricardokirkner: yeah, you're investigations seem to indicate that the http remote implementation is messing up the calculation of compatible formats.19:18
vilajames_w: lol19:18
demodvila: http://www.atelierkk.nl/images/la%20fontaine/la-fontain-bruin.jpg like those? ,)19:19
ricardokirknerjames_w, thank you for formulating the problem so nicely :-), now I can file the bug :-p19:19
vilademod: yup ! :)19:19
demodvila: images.google.com be praised ,)19:19
vilademod: hoooo, cheater ;-)19:20
demodvila: you don't want any drawing from me; neither with gimp or otherwise ,)19:20
vilademod: Ok, I'll try to remember that :) How about pictures for bzr data model ?19:21
gourjames_w: 1.6. is coming this month?19:22
james_wgour: ah, no, some days slipped by without me noticing19:22
demodvila: give me some handdrawn template and i might consider it ,)19:22
james_wmake it "within the month".19:22
gourjames_w: :-)19:22
vilademod: hehe. Not me, ask hard-core bzr devs ;-)19:23
demodvila: I'd rather not, someone might actually take the offer and i'm supposed to get some assignments done ,)19:25
vilademod: too bad, I'd like to do it my self, but lack the time, I thought I found a valiant volunteer ;)19:29
demodsorry ,)19:30
=== cprov is now known as cprov-out
* gour is reading bzr manual19:43
gourthis sounds interesting: '...it can be really hard to "unlearn" the please-let-me-avoid-merging-at-any-cost habit.'19:44
gourdoes bzr extmerge works with emacs' ediff?19:53
pickscrapeNot that I can see at the moment19:54
b0efif I do a checkout from foo to bar, then remove foo and put another repository there, named foo and try to update bar, why is that possible?19:56
b0efis there no check that foo is the repository you did the initial checkout from?19:56
demodb0ef: i get an error message when trying to bzr merge them (bzr 1.5rc1)20:00
vilagour: what do you mean by 'bzr extmerge with emacs' ?20:00
pickscrapeI presumed he was referring to the extmerge plugin.20:01
vilayou can use M-x shell-command-on-region RET bzr merge --preview20:01
b0efdemod: you tried this?20:01
vilaor M-x shell-command-on-region RET bzr diff20:02
demodb0ef: yes20:02
pickscrapeextmerge is for dealing with conflicts20:02
vilaalso, opening files with conflicts triggers the smerge mode20:02
gourvila: right, i think about extmerge plugin20:02
b0efdemod: so this is a clear bug that it doesn't check that it's the same repository, then?20:02
vilaand there is the excellent DVC emacs package20:03
gouri still did not try DVC in emacs...so far used darcssum.el20:03
vilagour: synchronicity :)20:03
demodb0ef: "bzr pull" says that the branches have diverged and that i got to merge them but "bzr merge" notices that they don't share any ancestors20:03
gouryeah, another good point to use bzr20:03
vilagour: try it !20:03
gourvila: will do for sure ;)20:03
demodb0ef: well, a tiny one ,)20:03
vilaI run dvc-status and dvc-diff hourly if not minutely20:04
b0efdemod: well, if you keep changing foo and keep updating your initial checkout you will have a shitload of "pending merges" in your checkout directory20:04
b0efthis must be a bug20:04
gourvila: still reading user-guide, 5th chapter20:04
kdawkinshey guys... am in the right place to ask for some bzr help?20:04
vilagour: DVC has a user guide ? Updated and not mentioning tla ?20:04
vilaor xtla (can't remember who DVC is the son of ;)20:05
gourvila: no, bzr's user-guide. but there is, afaik, DVC manual as well20:05
james_wkdawkins: couldn't be in a better place :-)20:05
kdawkinsright on...20:05
vilagour: ha, ok20:05
demodb0ef: hm, i actually don't have a clue how/if pending merges are handled, you might have a point there20:05
kdawkinsi am new to bzr... svn user, struggling with bzr's distributed model20:06
kdawkinsmy colleague has a branch, let's call it jonny-fixing-x20:06
gourkdawkins: you mean, enjoying distributed model ;)20:06
kdawkinsto review his code, i do bzr branch ....url/jonny-fixing-x20:06
kdawkinsgour: hah yeah20:06
kdawkinsand i get a new dir jonny-fixing-x in my filesystem20:07
kdawkinsso far so good.20:07
kdawkinsi find a problem with it20:07
kdawkinsand fix it20:07
kdawkinshow do i commit it back to the server for him to review?20:07
james_wkdawkins: keep asking your question, but I'll just mention http://bazaar-vcs.org/BzrForSVNUsers in case you haven't found it yet20:07
james_wkdawkins: there are a few options, you could ask him to pull from you to review it.20:08
james_wyou could use "bzr send" to email him the changes for him to review and then possibly apply (or generate a text file you can give to him by any other means)20:09
kdawkinshe's not online though, and i want to keep working on his code20:09
kdawkinsideally, he'd merge it into trunk since it's been reviewed and i'd branch off that and keep going, no?20:10
gourwhat is usual lingo used in bzr for 'trunk', i.e. how to name it?20:10
james_wcan you merge it to trunk, or does he have to review it first?20:10
kdawkinshe has to review, i think20:11
kdawkinsso i can't merge because there's a shitload of changes on his branch20:11
kdawkinscan i create my own branch from his?20:11
james_wgour: "trunk" is the most common one, sometimes people say "HEAD" to mean the tip of a particular branch, trunk if not specified.20:11
kdawkinsand work on that?20:11
james_wthat's what you did with "branch ...url/jonny-fixing-x" at the start.20:11
james_wyou get a separate branch, and you can work and commit however you like on that without affecting him at all.20:12
kdawkinsok20:12
kdawkinsthat's very unclear from the docs.20:12
kdawkinsit says "to get a named branch, do bzr branch foo"20:12
kdawkinsi took that to mean "to get jonny's branch"20:13
kdawkinsnot "to make my own branch from foo"20:13
kdawkinsfair enough20:13
kdawkinsok, so i can hack away all i want20:13
james_wyeah, it's the latter, if you can suggest a better way of explaining it we would be happy to fix it.20:13
gourjames_w: is the 'trunk' (or main branch) used in real repos as well (as it is common in svn)?20:13
kdawkinsi think the "get a branch" bit is confusing... maybe "to make a new branch ..." instead20:13
james_w"get your own copy of the branch"?20:14
james_w"make a new branch based on..."?20:14
kdawkinsbut then that sounds like it's not a new branch20:14
* gour submitted today a bug (launchpad) to clarify some terminology as well20:14
kdawkinsyeah the latter20:14
demodI always liked the "clone" alias... ,)20:14
pickscrape"get your own branch of the branch"20:14
kdawkinsthat is perfect20:15
james_wgour: I'm not sure I understand your question, could you explain it please?20:15
james_wkdawkins: which one?20:15
kdawkins"make a  new branch based on..."20:15
kdawkinsthx a ton for the help!20:16
james_wgreat, I'll add it to gours bug, it's easier to roll these doc changes up.20:16
james_wkdawkins: thanks you, it's always good to improve the documentation. If you have any more questions please ask.20:16
kdawkinsohhhh i will :)20:16
gourjames_w: does people use the folder name 'trunk' to name 'HEAD' in their bzr repos? i'm aware the 'trunk' is same as 'HEAD', but i'm curious what is the bzr-way to name it, not to call it20:17
james_wah, "trunk" is common yes20:18
james_wbzr is bzr.dev20:18
james_wso several projects copy that.20:18
gourthanks20:19
james_wah, just missed him, his patch is submitted.20:28
Jc2k*20:34
gourbzr send help says that merge directive provides: An _optional_ patch that is a preview of the changes requested20:36
gourwhat does it mean 'optional' ?20:36
pickscrapeI think it means it is possible to exclude it, which threw me a bit too.20:38
gourhmm, having patch is nice if one has to send to non-bzr user...20:38
pickscrape--no-patch excludes the patch20:38
pickscrapeFor me, 'optional' usually means you don't get it by default.20:39
gourand what provides --no-bundle then?20:40
pickscrapeI'm not sure what you mean20:40
gourahh, --no-bundle means one has to retrieve separately20:41
pickscrapeBy default you get both (bear in mind I'm new to this too) :)20:41
gouri wonder how one get _patch_ only if required to send to non-bzr party?20:41
pickscrape--no-bundle20:41
pickscrapeThe patch is great even if the recipient is using bzr though, especially if he's running Thunderbird with the Colored Diffs plugin.20:42
gourok. will try it tomorrow..now i discovered there is no Gnus listed as mail client :-/20:42
* gour finished readng 6th ch. of user-guide...now best practices20:44
pickscrapeNo idea about anything Emacs-related I'm afraid...20:44
gourprobably some devs use emacs/gnus20:45
gourotoh, i wonder why bzr is not more widely adopted..20:45
pickscrapeTotal speculation, but I believe performance held it up in the early days.20:46
gouri find it is superb...very nicely crafted20:46
pickscrapeAgain, I'm new here, so there could be any number of other reasons20:46
pickscrapeFor me it's like choosing Postgres over MySQL.20:47
gourwhat's the use of e.g git with such complex model...one has to think more about the tool than the work to be done20:47
pickscrapeDesign properly first, then optimise.20:47
gourright20:47
gourpremature optimization is root of...20:48
gour:-)20:48
pickscrapeAnd now we see benchmarks showing Postgres to scale much better than MySQL.20:48
pickscrapeI also like the regular release schedule20:49
pickscrapeThough the 'harmony' of the PPA archive is currently a bit worrysome. I'm hoping that will improve though soon.20:49
gourhuh, i was really not aware (until few days ago) that bzr releases so regularly20:50
pickscrapeYeah, about once a month I think.20:50
* gour uses archlinux and soon will move to nixos20:51
fbondbzr-svn segfaults in push21:21
fbondI'm using bzr 1.3.1, bzr-svn 0.4.9 from PPA...21:22
fbondAny ideas?21:22
jelmerfbond, please file a bug report with a gdb backtrace21:22
fbondjelmer: Okay, will do.21:22
fbondjelmer: I'm installing python-subversion-dbgsym, libsvn1-dbgsym.  That should be all, right?21:30
jelmeryes, I think so21:30
vilagour: no need for a Gnus mail client, just add 'mail_client = emacsclient' in ~/.bazaar/bazaar.conf and add (server-start) to your ~/.gnus21:32
fbondhttps://bugs.launchpad.net/bzr-svn/+bug/23085321:34
ubottuLaunchpad bug 230853 in bzr-svn "segfault while push" [Undecided,New]21:34
jelmerfbond, what version bzr/bzr-svn ?21:36
fbondI'm using bzr 1.3.1, bzr-svn 0.4.9 from PPA...21:36
jelmerah, right. Any chance you can try with 0.4.10 ?21:37
fbondWill that work with 1.3.1?21:37
clskdoes bazaar suport keywords like svn's $Id$ ?21:37
jelmerno, only >= 1.421:37
fbondjelmer: Okay, I guess I can upgrade to 1.5rc121:38
fbondThat is in the PPA.21:38
vilacslk: igc has a related work in progress21:40
brettcannonI was hoping someone here could help me figure out what the best practice would be for handling multiple developers needing to push to a master branch online.21:42
brettcannonAnyone up for trying to help me?21:44
PengPython?21:47
brettcannonYeah, it was a situation that came up while we were working on something for Python.21:47
brettcannonBasically what happened is I branched off our trunk locally to work on something.21:48
brettcannonPeople then said they wanted to chip in, so I pushed my branch up to my users space on code.python.org.21:48
brettcannonI was committing locally, people were doing their thing, but then it came to do merges from my pushed branch (based on what other people had done) and merging from the trunk.21:48
brettcannonIt was not clear to me exactly how to handle pulling changes people pushed to my public branch and from the trunk.21:49
brettcannonSomeone had me to a bind to my public branch, but that made my commits get pushed immediately, which I don't want because it locked the branch down for so long that it held up other developers.21:49
brettcannonSo, my question is how can I do commits locally, occasionally merge from the trunk (which is what I originally branched off of), merge from my branch that I pushed publicly, and all the while still commit locally and occasionally push to my public branch?21:50
clskbzr commit --local21:51
fbondjelmer: same thing with 0.4.1021:51
jelmerhmm21:51
Pengbrettcannon: bzr unbind?21:51
clskif you've already binded21:51
brettcannonclsk: Well, I want to know what to do in the future (the branch is dead at this point).21:51
james_wbrettcannon: use "bzr merge" to integrate the changes locally and then push them back out?21:52
clskwhat do you mean by dead?21:52
brettcannonjames_w: Right, but ``bzr merge`` pulled from the trunk since I branched from that. What about the changes pushed to the public copy of my branch?21:52
james_wbrettcannon: bzr merge URL21:53
brettcannonclsk: It is no longer being developed on. The issue we created for is finished. I just want to know what to do the next time this situation comes up with a new branch.21:53
brettcannonjames_w: I have to specify the URL every time? There isn't some way for bzr to know that I pushed the branch somewhere and so I want to pull from it on occasion?21:54
james_wit currently only remembers one merge location21:54
jelmerfbond, I've reassigned it to python-subversion21:54
james_wyou can use a "bookmarks" plugin to shorten the URLs, but you still have to provide one.21:54
brettcannonjames_w: Damn, I was afraid of that.21:55
radixbrettcannon: you can have "bzr merge" work with one remembered URL.21:55
james_wif someone can provide a good UI for having multiple merge locations then it may implemented, but I haven't seen a suggestion yet.21:55
radixbrettcannon: If you want to change the remembered URL, use "bzr merge --remember URL", and it'll merge the URL and also remember it for next time.21:55
radixI just use environment variables that specify the root of various repositories, personally21:55
fbondjelmer: Okay.  Now what?  Is there anything I can do to get my changes to the svn repository?21:56
brettcannonradix: That might be best in this situation since remembering ``../trunk`` is a lot easier than http://code.python.org/python/users/brett/issue2750-simplejson. =)21:56
radixbrettcannon: right. I'd set PYTHONBZR to "http://code.python.org/python/users" or something21:57
jelmerfbond, I'm not sure. It's pretty hard to debug for me if I can't reproduce :-/21:57
jelmerand this appears to be pretty deep inside of the svn code21:57
jelmerfbond: I can give some suggestions for debugging21:57
brettcannonradix: Possibly, although it's still easier for me to remember where I keep my local branch.21:58
fbondjelmer: Ack.  I recently upgraded bzr-svn & bzr on the client, plus I also upgraded svn on the server.21:58
fbondNever had this problem before.21:58
jelmerfbond: you may want to try over svn+ssh://21:58
fbondjelmer: Okay, will do.21:59
brettcannonThanks for the help guys! I will update the bzr guide for Python developers with the info.22:00
fbondjelmer: Funny, I restarted apache on the server, and then pushed the revisions up one-at-time with ``bzr push -r x'', ``bzr push -r x+1'' and things mostly worked.22:03
fbondjelmer: I didn't get the segfault.22:04
jelmerfbond: ok, odd...22:04
fbondI now have an AssertionError on a higher-numbered revision.22:04
fbondI'll open a new bug22:04
fbondhttps://bugs.launchpad.net/bzr-svn/+bug/23086322:05
ubottuLaunchpad bug 230863 in bzr-svn "AssertionError on push -r x" [Undecided,New]22:05
fbondAnd the svn repo is a bit odd.  My last pushed revision is *there*, but bzr missing indicates that it is different from the one that I have.22:07
jelmerfbond, You need to clear out your svn-cache22:10
jelmerfbond, How did you push, using 0.4.10 ?22:10
fbondjelmer: yes.22:10
l3onHi all!.... while I pushing up some files in a LP repo, I recived this error -> http://paste.ubuntu.com/12304/22:10
l3onIt gets me out ad locks repo... :/22:10
fbondjelmer: Oh, this might be important:22:10
fbondI recently did a dist-upgrade on the server.22:10
fbondRan into a funny issue with svn, had to dump and load all my repos to get them back in order.22:11
jelmerfbond: you'd have to clear out your cache to get "bzr missing" to work again I suspect22:11
beunol3on, start by unlocking it: bzr break-lock bzr+ssh://l3on@bazaar.launchpad.net/~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo22:11
fbondjelmer: How do I clear out the cache?22:11
beunol3on, you might have to do that a few times to get it unlocked22:11
jelmerfbond: rm -rf ~/.bazaar/svn-cache22:11
fbondIs my svn repo now in a bad state?22:12
fbond(I have a backup)22:12
beunol3on, and it seems you've hit bug #12578422:12
ubottuLaunchpad bug 125784 in bzr "TooManyConcurrentRequests when using smart server over ssh" [High,Confirmed] https://launchpad.net/bugs/12578422:12
l3onoh damn !22:12
jelmerfbond: no22:12
fbondOh, bzr missing looks good now.22:12
fbondShould I continue pushing?22:12
fbondYep, push is working now.22:13
fbondjelmer: Thanks for the help.22:13
l3onbeuno: and now ? how can I do ?22:13
fbondNot sure what was going on.22:13
beunol3on, it might be worth trying to push with sftp instead22:13
james_whi beuno22:14
beunohey james_w!  you in prague already?22:14
james_wno, I go on Sunday. No Fosscamp fun for me.22:14
fbondjelmer: Should I close both of those bugs as invalid, or let them stand?22:14
l3onbeuno: do you mean instead of ssh  ?22:14
beunol3on, yeap, instead of bzr+ssh22:14
jelmerfbond: Please leave them open, even while they are not reproducible they are still bugs.22:15
l3onok, I'll contact repo admin to request this solution22:15
l3ontnx22:15
fbondjelmer: Will do.  Thanks very much!22:15
beunojames_w, well, I guess you can't be everywhere  :)22:16
l3onbeuno: just another question: Launchpad is able to make repo in sftp way ?22:18
beunol3on, yeap, you can use either anytime22:19
beunoyou don't need special settings from the branch admin, just use sftp22:19
l3onjust a bzr push sftp://l3on@bazaar.launchpad.net/~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo ?22:20
beunol3on, yeap22:20
l3onok I'm try22:20
beunoit doesn't make a difference how you push/pull22:20
=== dpm_ is now known as dpm
beuno(well, it does, but performance-wise, which probably isn't your concern right now)22:20
l3onl3on@SubMission:~/wiki-repo $ bzr push sftp://l3on@bazaar.launchpad.net/~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo22:21
l3onbzr: ERROR: Unsupported protocol for url "sftp://l3on@bazaar.launchpad.net/~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo": Unable to import paramiko (required for sftp support): No module named paramiko22:21
beunol3on, seems you need paramiko installed22:21
beunol3on, sudo aptitude install python-paramiko22:21
l3onyep found22:21
l3onl3on@SubMission:~/wiki-repo $ bzr push sftp://l3on@bazaar.launchpad.net/~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo22:22
l3on\  0/0                                                                                                                                     Read from remote host bazaar.launchpad.net: Connection reset by peer22:22
l3onbzr: ERROR: [Errno 32] Broken pipe22:22
l3ongreat!22:23
beunol3on, sounds like a conectivity problem to me22:23
l3onok, I'll try it later22:24
l3onPushed up to revision 8. finally works !22:26
beunol3on, :)22:26
l3ondamn it, 2 ours to get a push -.-22:27
=== keithy_ is now known as keithy
=== mwhudson__ is now known as mwhudson
pooliehello all23:36
beunohey poolie23:37
james_whi poolie23:44
igcmorning23:57
beunomornin' igc23:57
pooliehello igc23:57

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