[00:00] jam: got an error☺incomplete request for that. [00:00] * AfC waves to jam [00:01] morning [00:01] * jam waves at AfC [00:01] jam: I just got an OK for the request... the problem was \r\n on win [00:02] brilliantnut: ah, ok [00:02] yeah, you need plain '\n' [00:02] so, the bzr smart server *is* up at that url [00:02] Good morning, Australasians. [00:03] Good morning. [00:05] brilliantnut: you can try something like: [00:05] echo -ne "BzrDir.find_repository\001.\n" | POST ... [00:06] It an return: norepository [00:06] or: ok☺☺no☺no [00:06] It *can* return one or the other [00:06] ok☺..☺no☺no [00:06] or even: error☺Not a branch: ... [00:07] brilliantnut: so we can find the repository.... [00:07] right. [00:07] brilliantnut: what path did you POST to, btw [00:07] Since it seems to say that the repository is found in ".." [00:07] http://@/bzr/HEAD/.bzr/smart [00:08] vila: have you seen https://bugs.edge.launchpad.net/bzr/+bug/230223 ? [00:08] Launchpad bug 230223 in bzr "smart server probing in 1.4 breaks check outs of short bus http repositories [regression]" [High,Confirmed] [00:08] without HEAD it gives ok☺☺no☺no [00:10] jam: that does make sense though... we did init-repo is /home/tech-admin/data/bzr/ and then init in /home/tech-admin/data/bzr/HEAD [00:11] brilliantnut: right, that is what I thought you did [00:11] I'm trying to understand the other error, then [00:13] bzr log bzr+http://@/bzr/ gives "Not a branch:" [00:14] and bzr log bzr+http://@/bzr/HEAD gives "No repository present:" [00:14] brilliantnut: well I would expect the "Not a branch" since HEAD is the branch, "bzr/" is the repository [00:14] I' don't know why you are getting the other error [00:14] so, when I'm accessing the branch, it wants a repository, and vice versa :( [00:14] brilliantnut: well, it can find the repository from the branch, which is why it is confusing [00:15] can you paste the output of ~/.bzr.log if you run [00:15] bzr log -Dhpss -Dhttp bzr+http://..../bzr/HEAD [00:15] brilliantnut: and unfortunately, it is now time for me to spend with my family, but maybe spiv will peek his head in here and help [00:15] morning Odd_Bloke [00:15] jam: thanks for your help. [00:17] good morning [00:18] hi markh [00:20] hi poolie [00:20] output of .bzr.log after bzr log -Dhpss -Dhttp bzr+http://..../bzr/HEAD http://paste.ubuntu.com/12151/ [00:20] http://paste.ubuntu.com/12151/ [00:21] spiv: jam said you might be able to help with our problem... [00:25] brilliantnut: I'll take a look [00:27] I 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 d [00:27] o some special linking in my makefile to link to the bzrlib or where to look for information. === mwhudson_ is now known as mwhudson [00:30] brilliantnut: strange, it repeatedly tries to do BzrDir.find_repositoryV2 in HEAD, rather than in bzar. [00:30] brilliantnut: that looks like a bug in the client to me. Which version of bzr is that? [00:31] libwilliam: the module is called "bzrlib.workingtree" [00:31] libwilliam: or rather, the workingtree module is in the bzrlib package. [00:32] spivl, 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] spiv: ^^^^ [00:32] brilliantnut: ok, thanks [00:32] brilliantnut: looks like bug report time :( [00:32] The server appears to be working correctly, at least from that snippet. [00:33] I'll file a bug report, I'll try to deal with it soon. [00:33] It looks pretty severe to me. [00:33] spiv: 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] libwilliam: no, you can't "link" Python modules. [00:34] You need to import python code, as you're doing. [00:35] You might want to read the python tutorial, especially the section about modules and packages: http://docs.python.org/tut/node8.html [00:35] The background information that gives you should help you make sense of the C APIs. [00:35] spiv: alright, im only used to using c and the makefile pain so not sure how anything python related words. [00:35] spiv: im looking at it now, thanks for the help [00:35] spiv: 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:36] brilliantnut: yeah, this is definitely supposed to be working now :( [00:36] spiv: do you need further information from us to help fix this? [00:38] brilliantnut: I don't think so at this stage [00:39] deepjoy 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] brilliantnut: 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:44] brilliantnut: bug #230550 [00:44] Launchpad bug 230550 in bzr "bzr+http repeatedly queries the wrong location for BzrDir.find_repositoryV2" [Undecided,New] https://launchpad.net/bugs/230550 [00:44] brilliantnut: thanks very much for reporting this [00:52] spiv: subscribed. [01:05] spiv: is this fallout from your "post to the same URL" patch? [01:05] I think the client thinks it is doing [01:05] transport.clone('..') [01:05] but then it ends up posting to the same URL [01:05] spiv: just a guess, though [01:06] certainly RemoteBzrDir has been stupid about opening a containing repo for a long time [01:06] it has the RPC's to just open it directly, but it still does a VFS walk [01:11] jam: it seems likely to be involved, yeah [01:38] spiv: 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:46] also, the modpywsgi link is broken [02:08] I have a question, I can convert it into a project svn to bzr? [02:09] I have a question, I can convert it a project into svn to bzr? [02:10] hersonls: bzr-svn. [02:11] Peng: what is this? [02:12] Peng: bzr plugin? [02:12] hersonls: one-way conversion (never to go back) is do-able and pretty easy. [02:13] hersonls: Yes, it's a plugin. [02:13] hersonls: on the other hand, if you need to _continue_ to interact with the old central Subversion repository, then that is also possible. [02:13] hersonls: in both cases, the 'bzr-svn' plugin will help you do this. [02:13] hersonls: http://bazaar-vcs.org/BzrForeignBranches/Subversion [02:14] :D [02:14] hersonls: there are also other tools that can do the first [02:14] tanks [02:14] * AfC wonders if svn2bzr is still maintained. [02:15] AfC: Dunno. With bzr-svn, I don't really care. [02:15] Peng: 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:16] True. [02:16] abentley: be gets a shoutout in lwn this week [02:17] bob2: Whowhat? [02:17] bob2: wow. [02:17] And I thought nobody cared. [02:19] you were just like two years ahead of the world [02:19] http://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/anjuta [02:20] Peng: www.bugseverywhere.org [02:20] Peng: be= Bugs Everywhere, a distributed bugtracker I wrote for use with Arch and Bazaar. [02:20] Oh. [02:20] Oh! [02:20] I misread "be" as "he". As in "him". [02:20] I really need to sleep. [02:20] Congratulations. :) [02:21] It has a domain name now too? Nifty. [02:22] haha, with rcs support [02:23] * Peng goes to bed. [02:31] libwilliam: hmm, strange [02:32] libwilliam: maybe an odd interaction with the fact that WorkingTree.open is a staticmethod? [02:32] I wouldn't expect that to be the case. [02:33] when 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] Oh, right. [02:33] The "s" format means a C string, not a PyObject [02:34] (see "Parsing arguments and building values" in the Python/C API Reference Manual) [02:35] alright I brought it up, thanks again [02:39] hersonls: hello [02:39] poolie: hi [02:39] poolie:  Bazaar is reflected in some other vcs to be build as is currently? [02:41] i don't understand, can you restate the question? [02:41] yeah [02:41] sorry for my english [02:41] have any influence of another vcs, in the building bazaar? [02:44] poolie: you understand now? [02:45] yes [02:45] bzr takes ideas from several places: monotone, arch, baz, svn, git [02:47] poolie: bazaar have news? [02:48] ( reminding you these questions are for an article ) [02:57] oh i see [02:58] hersonls: yes, see for example http://jam-bazaar.blogspot.com/2008/05/this-week-in-bazaar-first-edition.html [03:25] haha "Launchpad developer and wanted criminal" [03:25] hmm, 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:50] * ig1 lunch [04:18] igc, ig1, i approved your "for 1.5" patch; if you want me to read anything else in particular please let me know [04:19] thanks poolie. The only tweak I want to do is to move Miscellaneous Topics ahead of the plugin tour. [04:20] That will mean a minor rewording of the 'port 2' intro as well [04:20] s/port/part/ === ig1 is now known as igc [04:22] poolie: I'd like your opinion on the Zen doc patch as well but it can wait if you're busy on other things [04:24] i suspect people are keen for me to finish their raise recommendations :) [04:24] * fullermd could use one while you're at it. [04:25] sure :-) === pickscrap1 is now known as pickscrape [05:01] Any ideas on this? [05:01] bzr: ERROR: Must end write group before releasing write lock on KnitPackRepository [05:01] Got that while pulling. [05:13] TFKyle: you certainly don't have to, I do it because then you can see them all as part of the project [05:46] * igc pick up kids [06:31] spiv: 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] Launchpad 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/230223 [06:31] Launchpad bug 229076 in bzr "'Connection reset by peer' error when branching repository" [Undecided,Confirmed] https://launchpad.net/bugs/229076 [06:42] vila: that is odd [06:42] spiv: pfew such a relief, I'm glad you share the feeling :-) [06:43] vila: thanks for taking a look. I was asking just in case you knew the answer instantly :) [06:44] spiv: 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 further [06:45] so my first reaction is to suspect some bad handling of the socket when POST errors, but I may be wrong [06:47] and 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:49] regarding #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 appreciated [06:49] * gour is preparing to adopt bzr's terminology - {standalone,shared} branch, {shared} repository, checkout, tree etc. which, afaics, differs a bit from darcs' lingo [06:49] I 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:50] url? [06:52] otoh, 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 it [07:02] ahh, found GTK post... [07:11] gour: i'm glad you like it === poolie changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org/ | [07:12] poolie: i really does === 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/ [07:13] it looks svn-1.5 (containing reqs for bzr-svn) should be soon out? [07:13] gour: seems like it, it's at -rc5 atm [07:14] poolie: 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] soon, we can try bzr-svn without patching [07:17] AfC: cool note at the end of your blog post ;) [07:19] hey, bzr viz is really cool! [07:19] visualize++ [07:19] :) [07:20] * 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 machine [07:20] * gour is sold. visualize will impress his windoze friends [07:20] vila, sure, url? [07:21] vila, really #229706 "gobuntu-desktop installation does not remove non-free software"? [07:21] #229076 [07:22] grrr, damn typos ! [07:22] back in ~30 mins, daughter to school time [07:22] vila, happy to look at it [07:23] maybe just attach it to that bug? [07:27] am 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 in [07:27] e.g. darcs i can select patches while pulling and resolve potential conflicts? [07:38] gour: if you have diverged from the branch you are pulling from, you need to merge [07:41] jamesh: right. darcs' can pull no matter of adding new stuff [07:41] gour: yep. Darcs has a different model to Bazaar [07:42] gour: I guess you'd have to do something to resolve conflicts in Darcs if the two diverged branches changed the same sections of code though [07:42] true. it presents branch as set of patches...otoh, bazaar avoids with its model, some scalability problems [07:43] jamesh: sure...darcs will mark conflicts [07:44] but, afaiu, bzr does not allow to pull even if there are no conflicts, right? [07:44] gour: Bazaar is snapshot oriented rather than delta oriented [07:45] gour: provided the deltas can be applied on top of each other Darcs doesn't consider there to be a conflict [07:45] yes. it's just the other model, as in hg, but, somehow, hg did not appeal to me as much as bzr [07:46] gour: in contrast, combining the changes in Bazaar results in a new tree snapshot (and revision). [07:46] there are pros and cons to both systems [07:47] right, darcs allows fine cherrypicking, the other model is more robust & safe [07:47] a Bazaar revision represents a particular tree state, so you can do things like verify that a test suite passes before accepting a commit [07:48] in contrast, you can only make those sort of assertions in Darcs against the entire set of deltas in the branch [07:49] well, in darcs you can do that as well with --pre-hook switch while darcs record [07:49] ... 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] That'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:50] pulling one branch into another won't necessarily leave you with a tree with all the tests passing, even if both branches passed before hand [07:50] (not all conflicts are textual) [07:50] AfC: cherry picking has been on the todo list for a long time :() [07:50] yeah well [07:50] that should have been :( [07:51] jamesh: if you tag then you know that all the patches before have to pass [07:52] and darcs record --pre-hook will do the right thing, check new patch(es) before commit [07:52] gour: well, a pull could insert patches into that existing sequence, right? [07:52] gour: 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] ok [08:05] is improving speed the main concern of bzr-dev atm? [08:10] * gour is reading user-guide [08:26] poolie: 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] Launchpad bug 229076 in bzr "'Connection reset by peer' error when branching repository" [Undecided,Confirmed] https://launchpad.net/bugs/229076 [08:27] gour: I'd say it's the main one, yes. That said, there's feature work happening too. [08:28] Our 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:33] I was thinking about speed earlier today... [08:33] vila: that is weird [08:35] spiv: trying to tie 'vila', 'odd' and 'weird' in your comments when fullermd is around is naughty... [08:35] :-) [08:36] vila 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] Which is weird, when you think about it. [08:37] * vila hopes google doesn't index IRC logs... [08:38] seriously, is anyone able to reproduce the telnet session ? [08:41] i'm noticing some ambiguity while reading docs. any preferred pastebin i should use to write the details? [08:41] !paste [08:41] pastebin 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:42] ta [08:45] Speedwise: * /src - Convert Time: ~6h20m, Git Repo Size: 495M (before repack 2.2G, repack time ~18hours), CVS Repo Size: 2.3G [08:45] * fullermd is guessing a bzr conversion wouldn't even get a significant way through in 24 hours... [08:45] vila, thanks [08:45] fullermd: don't most things add and sum to the same thing? [08:46] jamesh: 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 :P [08:48] * igc dinner [08:50] ok, here it is: http://paste.ubuntu.com/12203/ anyone can comment on it? [08:53] how 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:54] I can create the remote repo or branch [08:55] but 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? [09:02] i've another 'doc-bug' report, but let's hear the feedback on the first one 1st [09:07] ok, here is the other one if someone bothers to look at http://paste.ubuntu.com/12204/ [09:22] uniscript: "bzr reconfigure" is probably what you're after [09:22] for the last bit [09:22] so bzr init, bzr bind, bzr reconfigure? [09:23] (in outline) [09:23] oh --bind-to [09:24] thanks [09:28] I would have thought the bzr documentation would be in a bzr branch somewhere, but I can't find it off the cuff. [09:34] Most of it's in with bzr... [09:41] Ah, of course. [10:05] lo AfC [10:06] Someone 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-gtk [10:06] but is getting... ah, there he is :) [10:06] john@cocacola:~/gnome/gtk+$ bzr branch http://www.gnome.org/~afcowie/bzr/gtk+/trunk [10:06] bzr: ERROR: Connection error: while sending GET /%7Eafcowie/bzr/gtk%2B/trunk/.bzr/branch-format: (104, 'Connection reset by peer') [10:06] I already asked what version he was using [10:06] Ahem, please excuse me. [10:06] :) [10:06] I assume John to be a him, sorry [10:07] you are correct ;) [10:07] ... and he indicated trouble with bzr both 1.3.1 and 1.5rc1 [10:07] Let me try branching raw [10:08] Isn't that the thing vila was just looking at? [10:08] whoops, its 1.3-1 (debian package version) not 1.3.1 [10:10] yup, 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 understand [10:10] especially when using pycurl (instead of the urllib based http client imlpementation) just works... [10:10] vila: hi, you were looking at gnome.org in that bug report weren't you? [10:10] I don't have access to the HTTP server logs, sorry [10:11] james_w: hi, see bug #229076 for details [10:11] Launchpad bug 229076 in bzr "'Connection reset by peer' error when branching repository" [Undecided,Confirmed] https://launchpad.net/bugs/229076 [10:11] (it's just a public_html directory in a user account on the server that GNOME hackers can use. [10:11] Not a server I control) [10:11] Jc2k: installing python-pycurl will probably get you moving. [10:11] AfC: and do you know someone who can look at those logs ? [10:12] james_w: will try now [10:12] There's certainly something weird with the server. [10:12] AfC: and can you tell me me how you upload that branch ? Do you use pycurl ? [10:12] % ( echo 'GET / HTTP/1.0' ; echo 'host: www.gnome.org' ; echo ) | nc www.gnome.org 80 [10:12] vila: 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] just dumps me right back at the prompt (i.e., closed connection with no data passed back) [10:13] vila: I uploaded with bzr+ssh [10:13] fullermd: thanks for confirming that [10:13] Presumably 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] AfC: Huh ? There is a smart server there ??? [10:14] the 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 in [10:14] vila: what are you talking about? [10:15] fullermd: how can it do that ? You can try again without the 'host' header and get the same behavior [10:15] * Jc2k installed python-pycurl and its working \o/ [10:15] Jc2k: ahpy for you :) [10:15] vila: 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] vila: it's got a smart server accessible over ssh, but it's not set up for bzr+http:// [10:15] should the package depend on python-pycurl? [10:15] vila: 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:16] james_w: ghaaa, of course [10:16] AfC: james_w is obviously right :) [10:16] Jc2k: it would seem so. It's an optional "does something different at runtime if found" dependency. [10:17] Jc2k: 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] fullermd: 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] Jc2k: though there could be a dependency in the meantime. [10:18] fullermd: I thought about something like that but discarded it as too 4th-dimension-y [10:18] and why on earth would they want to do that ??? [10:18] The theory is to avoid robots/scrapers/etc. [10:19] I don't know much about it; just seen some references in passing. [10:19] anyway, if that's the case, we need to at least check with them and try to find a solution [10:19] Can't coax anything out of google in a little trying. [10:19] does anybody knows one of those gnome sysdamins ? [10:20] AfC: I should have missed something but why all admins of the planet are so busy today ? [10:20] vila: AfC does, but as he said they will be very busy today [10:20] vila: http://www.ubuntu.com/usn/usn-612-1 [10:21] http://lists.debian.org/debian-security-announce/2008/msg00152.html [10:21] james_w: oh, that one, I think I applied the update a couple of days ago already [10:23] vila: 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.html [10:23] Erich's blog post was excellent reading. [10:27] AfC: 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:28] james_w: that includes keys uploaded to lp I presume, time to update them ? [10:28] Hi ! gtk masters, 'Graph' object has no attribute 'iter_ancestry' is gtk related ? [10:29] vila: they all got killed anyway [10:30] its bzr 1.4.0 and olive -r 486 (tagged as 0.94.0) ? [10:31] that sounds a lot more like a bzr thing than a gtk thing [10:31] bob2: the keys uploaded on lp ? [10:36] vila: yes, though my DSA key was still there yesterday, so it might have been a selective deletion. [10:37] matkor: yeah, I think that's a bzr thing. [10:40] james_w, bob: Where are docs around graph: Graph(KnitParentsProvider(KnitVersionedFile(file:///home/users/matkor/.bzr/repository/revisions))) ? [10:41] I'm not sure [10:41] when not using lockstep dev, checkouts are not required? [10:41] http://starship.python.net/crew/mwh/bzrlibapi/bzrlib.graph.Graph.html [10:42] does bzr do clever things with its output? (where "clever" is some magic I can't clearly define) [10:42] gour: yes, if you're not doing lockstep then checkouts are not what you want [10:42] on hardy, doing "bzr diff | pastebinit" doesn't work [10:42] but something like "echo foo | pastebinit" does [10:42] james_w: Thank you very much [10:42] gour: though you can use commit --local, but I'd recommend using a branch [10:42] hi Ng [10:43] hey :) [10:43] "doesn't work"? [10:43] pastebinit gives an error which its author tells me means it didn't receive any input [10:43] wow, yeah [10:43] james_w: thanks [10:45] Ng: 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" status [10:45] 'sup [10:45] hi lifeless [10:45] hello lifeless [10:45] just leaving now [10:45] night all [10:45] hi poolie [10:45] good night [10:45] enjoy Prague [10:46] thanks. [10:46] I hear it's Pragmatic :) [10:46] badabing [10:46] boo [10:47] are there any 'Cons' in using shared repos? [10:47] hi, i'm suffering from some kind of strange corruption pushing a branch [10:47] when i look at the pushed branch, only the last few revision seem to be there [10:47] james_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:48] and one i try to branch from it, i get the error NotLefthandHistory: Supplied history does not follow left-hand parents [10:48] Ng: yeah, but "bzr diff | cat" works [10:48] it reminds me of dunedin [10:49] Ng: utf8 is text :P [10:49] james_w: sure, and | less. so is the conclusion here that pastebinit is broken somehow? [10:49] that would be my first guess [10:50] intellectronica: that is strange. You should only get the branch error message on push. [10:50] intellectronica: is this a public branch? [10:50] although 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] james_w: it isn't, srry [10:50] ess [10:50] Ng: could be, I don't know if it does anything funny with stdin. [10:50] intellectronica: there was a bug [10:51] intellectronica: use an older, or newer bzr and it should go away [10:51] lifeless: older than 1.5rc1, you mean? [10:51] there is no newer packaged version, afaik [10:53] Ng: pastebinit is at least a little broken [10:53] Ng: "list index out of range" [10:54] yeah, a quick read of the code for stdin suggests it calls .read() on stdin twice [10:54] content=l_r[0][0].read() [10:54] quite 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 me [10:55] hmm, maybe not [10:55] * Ng shrugs, I'm not going to start debugging this right now ;) [10:55] "When the time-out is reached without a file descriptor becoming ready, three empty lists are returned. " [10:56] so something bzr is doing means that pastebinit's stdin is not ready [10:56] (sleep 2; echo a) | pastebinit [10:57] lifeless: no, downgrading to 1.3.1 doesn't seem to help [10:57] interewsting [10:58] it may be something else I guess [10:58] I'm a little shell shocked - just ogt off th eplane [10:58] i have 6277 revisions locally, but when i push i get only the last 167 branches [10:58] lifeless: ah, are you doing the prague thing? [10:59] james_w: ooh, good catch [10:59] yes [10:59] cool [10:59] Anyone know a better way to know if stdin is going to have data for you than "select.select([sys.stdin],[],[],0)" ? [11:00] if you're non blocking, no - other than to say 'use twistd ffs' [11:02] james_w: the FIONREAD ioctl? [11:02] I guess what it should do is first look for filename arguments, rather than looking for stdin [11:02] that would allow you to run "pastebinit" and type what you want. It does have the same problem as "patch patch_filename" though. [11:09] Ng: bug 230649 if you care enough to subscribe. [11:09] Launchpad bug 230649 in pastebinit "Fails to read from stdin if the process producing data is slow to start" [Undecided,New] https://launchpad.net/bugs/230649 [11:12] I'm not sure why it wants to be nonblocking anyway [11:14] james_w: cool thanks :) [12:01] Who 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] matkor: sorry, I don't have time at the moment. please send a merge request to the bzr-gtk mailing list [12:29] Should I mark somehow that I am killing given bug (https://bugs.launchpad.net/bzr-gtk/+bug/218406) during commit ? [12:29] Launchpad bug 218406 in bzr-gtk "olive-gtk.desktop lists incorrect categories" [Undecided,New] [12:30] matkor: --fixes [12:30] matkor: -- fixes [12:30] meh, sorry - latency [12:31] matkor: "bzr commit --fixes lp:218406" to be exact [12:32] ok thanks [12:41] james_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] Launchpad bug 218406 in bzr-gtk "olive-gtk.desktop lists incorrect categories" [Undecided,New] [12:42] matkor: no, it's not that smart yet. [12:57] jelmer: hi there? [12:57] hi sidnei [12:58] jelmer: trying to get bzr-svn going on osx, using python-svn from macports [12:58] jelmer: is that 'metze' patch the only one required? [12:59] sidnei: yes, but you may want the other one as well since it fixes some memory leaks [13:00] jelmer: odd, after applying the patch it is still complaining that the version isn't good enough [13:01] jelmer: this is subversion 1.4.6 [13:01] sidnei: one of the common problems is that SWIG has to be forced to rerun [13:01] jelmer: ah. that might be it then [13:05] How are release files ( *.tgz ) generated ? Is it done from bzr ? [13:05] bzr export ? [13:08] bzr export can do that yes [13:11] hi lifeless - hope you had a good trip [13:12] mixed as these things are [13:12] I'm sneezing constantly at the moment :( [13:12] gour: thanks for the doc feedback. Please raise bugs in LP for things you'd like improved and tag them as 'documentation'. [13:12] lifeless: :-( [13:13] travel sucks - seeing other places in neat though [13:13] s/in/is/ [13:26] Interesting snippet on git not quite satisfying the kernel devs: http://kerneltrap.org/mailarchive/linux-kernel/2008/5/14/1815584 [13:27] Any ideas on this? [13:27] bzr: ERROR: Must end write group before releasing write lock on KnitPackRepository [13:27] Got that while pulling. [13:28] fbond: that sounds like a bzr bug [13:28] fbond: which bzr version? [13:29] spiv: I would guess a network error or something triggering that [13:39] spiv: sorry, one sec; took a phone call and I have to fire up my laptop to get the version. [13:44] lifeless: any tips for diagnosing the trigger? I'm about to go to bed. [13:44] (for fbond's issue) [13:45] well, I would guess exception Ai s being raised and not being caught, triggering unllock() [13:45] the backtrace in ~/.bzr.log will confirm/deny that the lock decorator is triggering this [13:46] I *think* it logs the original exception in that case too [13:46] lifeless: oh, so it's similar to the TooManyConcurrentRequests error? [13:47] yes [13:47] I know in the TooManyConcurrentRequests case, the original error is just completely discarded :( [13:47] something somewhere failing to cleanup properly; and the usual cause for that is hard to reproduce locall things e.g. network [13:47] * spiv nods [13:48] Someone (possibly me) should write tests for the improved lock decorators I have in the branch on https://bugs.edge.launchpad.net/bzr/+bug/125784 [13:48] Launchpad bug 125784 in bzr "TooManyConcurrentRequests when using smart server over ssh" [High,Confirmed] [13:48] spiv: bzr 1.3.1 [13:49] pulling from same via bzr+ssh [13:49] ISTR to poolie was going to do that at some point, but I guess it never happened. [13:50] spiv: Can I do something to generate a useful log file? [13:50] Unfortunately this cold/flu I'm recovering from is wiping me out, so I definitely need to go to bed. [13:50] spiv: I hope I haven't een incubating on the plane [13:50] spiv: Okay, feel better. [13:51] fbond: "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:52] I'll be back later with a log file. [13:55] james_w: where does the master branch of bzr-builddeb live these days? [13:55] jelmer: it's on launchpad at the moment, as I was having problems with alioth a while back, let me grab the location [13:56] https://code.launchpad.net/~james-w/bzr-builddeb/trunk [13:57] thanks [14:07] igc: thank you for review. i'll do it [14:40] jelmer: hi, are you still around? [14:41] james_w, yep [14:41] jelmer: cool, can I ask a favour? [14:41] james_w: depending on what it is, sure :-) [14:41] I'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] https://code.edge.launchpad.net/~jelmer/bzr-builddeb/trunk [14:42] can you either change the ownership to ~bzr-builddeb-hackers, or delete it if it's not possible. [14:42] Ah, it's a mirrored branch, that should not be needed. [14:43] Looks like I can only change the ownership to teams I'm in [14:43] you could join :-) [14:43] https://code.edge.launchpad.net/~jelmer/bzr-builddeb/jelmer <- that could be marked merged [14:43] just attempted to do so :-) Still needs approval [14:44] thanks [14:45] I'll merge your patch once I've cleaned up a bit, sorry I didn't get to it before. [14:47] I've changed the ownership of the mirrorred branch [14:47] james_w: thanks [14:48] the patch you sent is pretty large, did you use an old parent branch when creating it? [14:48] ah, ouch - yes, it's using the wrong submit branch [14:48] I'll resend [14:48] is https://code.edge.launchpad.net/~jelmer/bzr-builddeb/452130 the same code? [14:49] I can just merge from there if it is. [14:49] that's the old one, which will cause conflicts when merging [14:51] james_w, sent [14:51] thanks [15:02] igc: where can i tag bug report as documentation? [15:03] there is bzr-book, but i'm not sure it's the right one [15:04] gour: with an actual tag [15:04] "Edit Description/Tags" in the top left box. [15:04] gour: as james_w says [15:04] hi igc [15:04] hi james_w [15:04] this comes AFTER submitting bug? [15:05] yes [15:05] ok [15:06] the tag 'documentation' hasn't yet been used by Bazaar before ? [15:07] should i create a new one? [15:07] no [15:07] :-/ [15:07] * gour is confused [15:07] if you look at the current tags [15:07] gour: "doc" is what we use apparently. [15:08] you can see that there is a tag doc [15:08] lifeless: somehow i do not see list of tags [15:08] on the left hand side there is probably a collapsed area [15:08] it isn't...ok, i tagged as 'doc' [15:09] they're shown on https://bugs.launchpad.net/bzr/ [15:09] interesting tags on this bug : https://bugs.edge.launchpad.net/bzr/+bug/209046 [15:09] Launchpad bug 209046 in bzr "Crash when comitting with non-English description" [Undecided,New] [15:09] please don't fix, I'm going to show the lp ui guys [15:09] done, https://bugs.launchpad.net/bzr/+bug/230734 [15:09] Launchpad bug 230734 in bzr "make some terms in documentation more clear" [Undecided,New] [15:10] btw, who is keeping the track about the numbers of bzr users? [15:12] james_w: it would be nice that the list is at hand when filling the bug report [15:13] gour: yeah, at least when adding tags. [15:15] indeed [15:20] gour: I think we have a bug open about tag suggestion [15:23] hmm, bzrlib.config is a mess.. What's the difference between get_value(), get_option() and get_user_option() ? [15:23] or maybe I'm missing the big picture here somewhere [15:39] woo [15:39] I have verieonedfiles with annotate() [15:39] and all that shitt [15:39] w00t [15:40] woo [15:40] now to add it to repository and deprecate KnitVersionedFile [15:40] jelmer: I'm in prague [15:40] lifeless, ahh [15:40] would 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] james_w: I thought that that was what happened already? [15:41] heh [15:41] james_w: are ou here for fosscamp? [15:42] lifeless: no, just UDS, I arrive on Sunday. [15:59] go lifeless go [16:00] (sounds better than go speed-racer go) [16:00] must be time for sleep [16:00] igc: You're in .eu as well then I guess ? :-) [16:00] night all [16:00] nope - here in Brisbane [16:00] apparently not :-) g'night Ian [16:01] night [16:01] night [16:18] is there a way to prune all but the last month of history from a branch? [16:23] statik: short answer, no. [16:23] medium answer, it's something that we would want to support somewhat at some point. [16:23] james_w: i like short answers :) thanks, guess i'll need to wait for history horizons then [16:24] long answer, I think you can do it now, but it would be a bit dirty. [16:24] statik: yep, that would be the best solution. [16:28] thanks jelmer, all merged up. I made +svn work as well. I'm working towards releasing a new package today. [16:37] james_w: cool, thanks! [16:38] jelmer: did you see that bzr-dbus is causing deprecation warnings with 1.5? [16:39] james_w: yeah [16:39] james_w: I was hoping upstream would merge the fix for that first though [16:39] then again, merging it first shouldn't cause any problems.. [16:40] ah, 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:41] hmm, svn-1.5 is expected in 1st week of June [16:42] ah wow, that will be interesting. [16:42] The glacial rate of svn development depresses me [16:42] Then again, it's quicker than svk's current rate of development [16:42] nice news for bzr-svn [16:43] +1 gour [16:45] is that the one where they added merge tracking? [16:45] dato: nice catch, I'll fix that in a moment, thanks. [16:50] rockstar, yes [16:53] sorry [16:53] radix, yes [16:53] thanks jelmer [16:54] interesting [17:06] hi. 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] I cannot find out where it is failing.. any hints? [17:12] ricardokirkner: have you looked in ~/.bzr.log ? [17:12] "-Dhttp -Dhpss -Dtransport" as options to bzr will print more information there about what it is doing. [17:13] Is there something that helps me push to several locations without always entering the location again? [17:13] james_w, that should appear in my log? or are those options I should use when calling bzr? [17:13] dennda: there is a "bookmarks" plugin that allows you to shorted the URLS [17:13] dennda: or you want to push to several locations at the same time? [17:14] james_w: both sounds interesting [17:14] james_w: but I think bookmarks is what I was asking for [17:14] ricardokirkner: they are global options to bzr, so "bzr -Dhttp -Dhpss -Dtransport commit" [17:14] what's the name of the plugin? [17:14] I'll try that... [17:14] dennda: good, because I don't know of a way to push to multiple locations :-) [17:14] dennda: bzr-bookmarks. [17:15] dennda: https://edge.launchpad.net/bzr-bookmarks/ [17:16] hm.. is there any documentation on how to use it? [17:18] What's the best transport for a central server with flexible permission options (i.e. write access for different groups for different branches)? [17:18] I'm currently playing with bzr+ssh, but wonder if some other might be faster/more flexible [17:18] Probably sftp or bzr+ssh [17:19] Presumably sftp wouldn't take advantage of the smart server? [17:20] pickscrape: Nope. It's probably the quickest for initial checkouts though [17:21] james_w, using bzr+http I get NoRepositoryFound, but when using http alone I get IncompatibleRepositories: Repository KnitPackRepository(...) is not compatible with repository KnitPackRepository(...) [17:22] dennda: I don't know, sorry. [17:22] ricardokirkner: is there anything useful in the log file? [17:23] thanks james_w [17:24] ricardokirkner: Are you trying to branch into a repository? [17:25] james_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] the repo on the server is in rich-root-pack format (because it was migrated from svn) [17:26] ricardokirkner, but what repository are you trying to copy into locally? [17:26] that should be a rich-root-pack repository as well [17:27] well, I didn't explicitely create a repo locally, but just did a checkout, and the checkout format is rich-root-pack [17:27] actually, in the log file I get for both locations [17:30] aparently, the last thing tried was a Branch.unlock operation [17:31] but just before the traceback I get a result 'ok' response [17:31] Is there any expectation that the smart server will become a useful standalone server in the centralised sense (e.g. akin to svnserve)? [17:32] james_w, if you want I can paste the log [17:33] ricardokirkner: that would probably help [17:33] pickscrape: what do you need that it doesn't do? === kiko is now known as kiko-fud [17:35] e.g. user authentication, init.d scripts to start it up (could be a distro thing) [17:36] Just thinking that it might have less of an overhead than going through ssh and starting up bzr every time. [17:36] well it's started on demand [17:36] authentication has been discussed, but there are no immediate plans for it. [17:37] I understand that what I'm after is very much for a centralised workflow. [17:37] there'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:39] Understood. [17:40] dato/james_w: any chance you can upload bzr-email ? It hasn't had any uploads with DM-Upload-Allowed yet [17:40] james_w, http://paste.ubuntu.com/12258/ [17:41] jelmer: you're uploads that have the wrong size for the orig.tar.gz, are they caused by builddeb as well? [17:41] your uploads, sorry. [17:41] jelmer: I wish I could, but I ain't no DD. [17:41] james_w: Yes, those are also caused by the timestamp in the tarball being incorrect [17:42] ah, it changes the size, ok. [17:42] I was just thinking of writing the patch to bzr to allow me to fix that. [17:44] james_w: A fix for that bug would be really nice === BasicPRO is now known as BasicOSX [17:49] ricardokirkner: can you provide the output of "bzr info" in the branch and "bzr info sftp://path/on/server/" please? [17:57] james_w, http://paste.ubuntu.com/12263/ [17:58] sorry.. that entry has a typo [17:59] no, my mistake, its correct [18:06] ricardokirkner: so, it looks like it's done the commit, and then fails when fetching the revisions back to the local repository. [18:06] does it fail if you bind to a bzr+ssh:// URL to the same branch? [18:09] james_w, bzr+ssh: works fine [18:11] sounds 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? === kiko-fud is now known as kiko [18:14] james_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 error [18:16] ricardokirkner: sounds like a bug to me [18:17] mhh.. ok, thank you very much for your help.... i will have to look for another option then [18:17] until I manage to get spare time to hunt the bug [18:19] james_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:21] ricardokirkner: are you happy to give out ssh accounts? === lamalex_2 is now known as lamalex [18:56] james_w, well, I know that possibility, what I didn't want to do that === thekorn_ is now known as thekorn [19:11] ricardokirkner: 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] demod, I was trying that too, but it wasn't working either ... probably because of a configuration issue too [19:11] ;) [19:13] ricardokirkner: there is a webdav plugin as well. [19:14] james_w: i thought that one isn't working anymore since bzr 1.0 or so [19:14] yes, but it states that it doesn't work with bzr > 1.0 (although I haven't tried it to confirm this) [19:14] james_w: Did you summon me by my webdav name ? [19:15] vila: do you have it on highlight, or are you just tuned to it? [19:15] The webdav plugin lacks list_dir, it's on my TODO list, but I can give delays... [19:15] ah yeah, I remember now. [19:15] james_w: just passing around :) [19:16] ricardokirkner: 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] vila: how is your kitchen? [19:16] james_w, I'll try to file a bug now, thank you [19:17] hehe, 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 paint [19:17] james_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 issue [19:17] wallpaper? [19:17] paneling? [19:17] tiles? [19:17] tiles [19:17] food? [19:18] radix: :) Not wallpaper, may be tiles, it generally comes in 10x10 to 30x30 centimeters, can be white or colored [19:18] ricardokirkner: yeah, you're investigations seem to indicate that the http remote implementation is messing up the calculation of compatible formats. [19:18] james_w: lol [19:19] vila: http://www.atelierkk.nl/images/la%20fontaine/la-fontain-bruin.jpg like those? ,) [19:19] james_w, thank you for formulating the problem so nicely :-), now I can file the bug :-p [19:19] demod: yup ! :) [19:19] vila: images.google.com be praised ,) [19:20] demod: hoooo, cheater ;-) [19:20] vila: you don't want any drawing from me; neither with gimp or otherwise ,) [19:21] demod: Ok, I'll try to remember that :) How about pictures for bzr data model ? [19:22] james_w: 1.6. is coming this month? [19:22] gour: ah, no, some days slipped by without me noticing [19:22] vila: give me some handdrawn template and i might consider it ,) [19:22] make it "within the month". [19:22] james_w: :-) [19:23] demod: hehe. Not me, ask hard-core bzr devs ;-) [19:25] vila: I'd rather not, someone might actually take the offer and i'm supposed to get some assignments done ,) [19:29] demod: too bad, I'd like to do it my self, but lack the time, I thought I found a valiant volunteer ;) [19:30] sorry ,) === cprov is now known as cprov-out [19:43] * gour is reading bzr manual [19:44] this sounds interesting: '...it can be really hard to "unlearn" the please-let-me-avoid-merging-at-any-cost habit.' [19:53] does bzr extmerge works with emacs' ediff? [19:54] Not that I can see at the moment [19:56] if 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] is there no check that foo is the repository you did the initial checkout from? [20:00] b0ef: i get an error message when trying to bzr merge them (bzr 1.5rc1) [20:00] gour: what do you mean by 'bzr extmerge with emacs' ? [20:01] I presumed he was referring to the extmerge plugin. [20:01] you can use M-x shell-command-on-region RET bzr merge --preview [20:01] demod: you tried this? [20:02] or M-x shell-command-on-region RET bzr diff [20:02] b0ef: yes [20:02] extmerge is for dealing with conflicts [20:02] also, opening files with conflicts triggers the smerge mode [20:02] vila: right, i think about extmerge plugin [20:02] demod: so this is a clear bug that it doesn't check that it's the same repository, then? [20:03] and there is the excellent DVC emacs package [20:03] i still did not try DVC in emacs...so far used darcssum.el [20:03] gour: synchronicity :) [20:03] b0ef: "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 ancestors [20:03] yeah, another good point to use bzr [20:03] gour: try it ! [20:03] vila: will do for sure ;) [20:03] b0ef: well, a tiny one ,) [20:04] I run dvc-status and dvc-diff hourly if not minutely [20:04] demod: well, if you keep changing foo and keep updating your initial checkout you will have a shitload of "pending merges" in your checkout directory [20:04] this must be a bug [20:04] vila: still reading user-guide, 5th chapter [20:04] hey guys... am in the right place to ask for some bzr help? [20:04] gour: DVC has a user guide ? Updated and not mentioning tla ? [20:05] or xtla (can't remember who DVC is the son of ;) [20:05] vila: no, bzr's user-guide. but there is, afaik, DVC manual as well [20:05] kdawkins: couldn't be in a better place :-) [20:05] right on... [20:05] gour: ha, ok [20:05] b0ef: hm, i actually don't have a clue how/if pending merges are handled, you might have a point there [20:06] i am new to bzr... svn user, struggling with bzr's distributed model [20:06] my colleague has a branch, let's call it jonny-fixing-x [20:06] kdawkins: you mean, enjoying distributed model ;) [20:06] to review his code, i do bzr branch ....url/jonny-fixing-x [20:06] gour: hah yeah [20:07] and i get a new dir jonny-fixing-x in my filesystem [20:07] so far so good. [20:07] i find a problem with it [20:07] and fix it [20:07] how do i commit it back to the server for him to review? [20:07] kdawkins: keep asking your question, but I'll just mention http://bazaar-vcs.org/BzrForSVNUsers in case you haven't found it yet [20:08] kdawkins: there are a few options, you could ask him to pull from you to review it. [20:09] you 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] he's not online though, and i want to keep working on his code [20:10] ideally, he'd merge it into trunk since it's been reviewed and i'd branch off that and keep going, no? [20:10] what is usual lingo used in bzr for 'trunk', i.e. how to name it? [20:10] can you merge it to trunk, or does he have to review it first? [20:11] he has to review, i think [20:11] so i can't merge because there's a shitload of changes on his branch [20:11] can i create my own branch from his? [20:11] gour: "trunk" is the most common one, sometimes people say "HEAD" to mean the tip of a particular branch, trunk if not specified. [20:11] and work on that? [20:11] that's what you did with "branch ...url/jonny-fixing-x" at the start. [20:12] you get a separate branch, and you can work and commit however you like on that without affecting him at all. [20:12] ok [20:12] that's very unclear from the docs. [20:12] it says "to get a named branch, do bzr branch foo" [20:13] i took that to mean "to get jonny's branch" [20:13] not "to make my own branch from foo" [20:13] fair enough [20:13] ok, so i can hack away all i want [20:13] yeah, it's the latter, if you can suggest a better way of explaining it we would be happy to fix it. [20:13] james_w: is the 'trunk' (or main branch) used in real repos as well (as it is common in svn)? [20:13] i think the "get a branch" bit is confusing... maybe "to make a new branch ..." instead [20:14] "get your own copy of the branch"? [20:14] "make a new branch based on..."? [20:14] but then that sounds like it's not a new branch [20:14] * gour submitted today a bug (launchpad) to clarify some terminology as well [20:14] yeah the latter [20:14] I always liked the "clone" alias... ,) [20:14] "get your own branch of the branch" [20:15] that is perfect [20:15] gour: I'm not sure I understand your question, could you explain it please? [20:15] kdawkins: which one? [20:15] "make a new branch based on..." [20:16] thx a ton for the help! [20:16] great, I'll add it to gours bug, it's easier to roll these doc changes up. [20:16] kdawkins: thanks you, it's always good to improve the documentation. If you have any more questions please ask. [20:16] ohhhh i will :) [20:17] james_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 it [20:18] ah, "trunk" is common yes [20:18] bzr is bzr.dev [20:18] so several projects copy that. [20:19] thanks [20:28] ah, just missed him, his patch is submitted. [20:34] * [20:36] bzr send help says that merge directive provides: An _optional_ patch that is a preview of the changes requested [20:36] what does it mean 'optional' ? [20:38] I think it means it is possible to exclude it, which threw me a bit too. [20:38] hmm, having patch is nice if one has to send to non-bzr user... [20:38] --no-patch excludes the patch [20:39] For me, 'optional' usually means you don't get it by default. [20:40] and what provides --no-bundle then? [20:40] I'm not sure what you mean [20:41] ahh, --no-bundle means one has to retrieve separately [20:41] By default you get both (bear in mind I'm new to this too) :) [20:41] i wonder how one get _patch_ only if required to send to non-bzr party? [20:41] --no-bundle [20:42] The patch is great even if the recipient is using bzr though, especially if he's running Thunderbird with the Colored Diffs plugin. [20:42] ok. will try it tomorrow..now i discovered there is no Gnus listed as mail client :-/ [20:44] * gour finished readng 6th ch. of user-guide...now best practices [20:44] No idea about anything Emacs-related I'm afraid... [20:45] probably some devs use emacs/gnus [20:45] otoh, i wonder why bzr is not more widely adopted.. [20:46] Total speculation, but I believe performance held it up in the early days. [20:46] i find it is superb...very nicely crafted [20:46] Again, I'm new here, so there could be any number of other reasons [20:47] For me it's like choosing Postgres over MySQL. [20:47] what's the use of e.g git with such complex model...one has to think more about the tool than the work to be done [20:47] Design properly first, then optimise. [20:47] right [20:48] premature optimization is root of... [20:48] :-) [20:48] And now we see benchmarks showing Postgres to scale much better than MySQL. [20:49] I also like the regular release schedule [20:49] Though the 'harmony' of the PPA archive is currently a bit worrysome. I'm hoping that will improve though soon. [20:50] huh, i was really not aware (until few days ago) that bzr releases so regularly [20:50] Yeah, about once a month I think. [20:51] * gour uses archlinux and soon will move to nixos [21:21] bzr-svn segfaults in push [21:22] I'm using bzr 1.3.1, bzr-svn 0.4.9 from PPA... [21:22] Any ideas? [21:22] fbond, please file a bug report with a gdb backtrace [21:22] jelmer: Okay, will do. [21:30] jelmer: I'm installing python-subversion-dbgsym, libsvn1-dbgsym. That should be all, right? [21:30] yes, I think so [21:32] gour: no need for a Gnus mail client, just add 'mail_client = emacsclient' in ~/.bazaar/bazaar.conf and add (server-start) to your ~/.gnus [21:34] https://bugs.launchpad.net/bzr-svn/+bug/230853 [21:34] Launchpad bug 230853 in bzr-svn "segfault while push" [Undecided,New] [21:36] fbond, what version bzr/bzr-svn ? [21:36] I'm using bzr 1.3.1, bzr-svn 0.4.9 from PPA... [21:37] ah, right. Any chance you can try with 0.4.10 ? [21:37] Will that work with 1.3.1? [21:37] does bazaar suport keywords like svn's $Id$ ? [21:37] no, only >= 1.4 [21:38] jelmer: Okay, I guess I can upgrade to 1.5rc1 [21:38] That is in the PPA. [21:40] cslk: igc has a related work in progress [21:42] I 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:44] Anyone up for trying to help me? [21:47] Python? [21:47] Yeah, it was a situation that came up while we were working on something for Python. [21:48] Basically what happened is I branched off our trunk locally to work on something. [21:48] People then said they wanted to chip in, so I pushed my branch up to my users space on code.python.org. [21:48] I 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:49] It was not clear to me exactly how to handle pulling changes people pushed to my public branch and from the trunk. [21:49] Someone 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:50] So, 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:51] bzr commit --local [21:51] jelmer: same thing with 0.4.10 [21:51] hmm [21:51] brettcannon: bzr unbind? [21:51] if you've already binded [21:51] clsk: Well, I want to know what to do in the future (the branch is dead at this point). [21:52] brettcannon: use "bzr merge" to integrate the changes locally and then push them back out? [21:52] what do you mean by dead? [21:52] james_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:53] brettcannon: bzr merge URL [21:53] clsk: 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:54] james_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] it currently only remembers one merge location [21:54] fbond, I've reassigned it to python-subversion [21:54] you can use a "bookmarks" plugin to shorten the URLs, but you still have to provide one. [21:55] james_w: Damn, I was afraid of that. [21:55] brettcannon: you can have "bzr merge" work with one remembered URL. [21:55] if 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] brettcannon: 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] I just use environment variables that specify the root of various repositories, personally [21:56] jelmer: Okay. Now what? Is there anything I can do to get my changes to the svn repository? [21:56] radix: 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:57] brettcannon: right. I'd set PYTHONBZR to "http://code.python.org/python/users" or something [21:57] fbond, I'm not sure. It's pretty hard to debug for me if I can't reproduce :-/ [21:57] and this appears to be pretty deep inside of the svn code [21:57] fbond: I can give some suggestions for debugging [21:58] radix: Possibly, although it's still easier for me to remember where I keep my local branch. [21:58] jelmer: Ack. I recently upgraded bzr-svn & bzr on the client, plus I also upgraded svn on the server. [21:58] Never had this problem before. [21:58] fbond: you may want to try over svn+ssh:// [21:59] jelmer: Okay, will do. [22:00] Thanks for the help guys! I will update the bzr guide for Python developers with the info. [22:03] jelmer: 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:04] jelmer: I didn't get the segfault. [22:04] fbond: ok, odd... [22:04] I now have an AssertionError on a higher-numbered revision. [22:04] I'll open a new bug [22:05] https://bugs.launchpad.net/bzr-svn/+bug/230863 [22:05] Launchpad bug 230863 in bzr-svn "AssertionError on push -r x" [Undecided,New] [22:07] And 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:10] fbond, You need to clear out your svn-cache [22:10] fbond, How did you push, using 0.4.10 ? [22:10] jelmer: yes. [22:10] Hi all!.... while I pushing up some files in a LP repo, I recived this error -> http://paste.ubuntu.com/12304/ [22:10] It gets me out ad locks repo... :/ [22:10] jelmer: Oh, this might be important: [22:10] I recently did a dist-upgrade on the server. [22:11] Ran into a funny issue with svn, had to dump and load all my repos to get them back in order. [22:11] fbond: you'd have to clear out your cache to get "bzr missing" to work again I suspect [22:11] l3on, start by unlocking it: bzr break-lock bzr+ssh://l3on@bazaar.launchpad.net/~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo [22:11] jelmer: How do I clear out the cache? [22:11] l3on, you might have to do that a few times to get it unlocked [22:11] fbond: rm -rf ~/.bazaar/svn-cache [22:12] Is my svn repo now in a bad state? [22:12] (I have a backup) [22:12] l3on, and it seems you've hit bug #125784 [22:12] Launchpad bug 125784 in bzr "TooManyConcurrentRequests when using smart server over ssh" [High,Confirmed] https://launchpad.net/bugs/125784 [22:12] oh damn ! [22:12] fbond: no [22:12] Oh, bzr missing looks good now. [22:12] Should I continue pushing? [22:13] Yep, push is working now. [22:13] jelmer: Thanks for the help. [22:13] beuno: and now ? how can I do ? [22:13] Not sure what was going on. [22:13] l3on, it might be worth trying to push with sftp instead [22:14] hi beuno [22:14] hey james_w! you in prague already? [22:14] no, I go on Sunday. No Fosscamp fun for me. [22:14] jelmer: Should I close both of those bugs as invalid, or let them stand? [22:14] beuno: do you mean instead of ssh ? [22:14] l3on, yeap, instead of bzr+ssh [22:15] fbond: Please leave them open, even while they are not reproducible they are still bugs. [22:15] ok, I'll contact repo admin to request this solution [22:15] tnx [22:15] jelmer: Will do. Thanks very much! [22:16] james_w, well, I guess you can't be everywhere :) [22:18] beuno: just another question: Launchpad is able to make repo in sftp way ? [22:19] l3on, yeap, you can use either anytime [22:19] you don't need special settings from the branch admin, just use sftp [22:20] just a bzr push sftp://l3on@bazaar.launchpad.net/~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo ? [22:20] l3on, yeap [22:20] ok I'm try [22:20] it doesn't make a difference how you push/pull === dpm_ is now known as dpm [22:20] (well, it does, but performance-wise, which probably isn't your concern right now) [22:21] l3on@SubMission:~/wiki-repo $ bzr push sftp://l3on@bazaar.launchpad.net/~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo [22:21] bzr: 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 paramiko [22:21] l3on, seems you need paramiko installed [22:21] l3on, sudo aptitude install python-paramiko [22:21] yep found [22:22] l3on@SubMission:~/wiki-repo $ bzr push sftp://l3on@bazaar.launchpad.net/~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo [22:22] \ 0/0 Read from remote host bazaar.launchpad.net: Connection reset by peer [22:22] bzr: ERROR: [Errno 32] Broken pipe [22:23] great! [22:23] l3on, sounds like a conectivity problem to me [22:24] ok, I'll try it later [22:26] Pushed up to revision 8. finally works ! [22:26] l3on, :) [22:27] damn it, 2 ours to get a push -.- === keithy_ is now known as keithy === mwhudson__ is now known as mwhudson [23:36] hello all [23:37] hey poolie [23:44] hi poolie [23:57] morning [23:57] mornin' igc [23:57] hello igc