[00:00] morning [00:01] goooooooood morning igc [00:01] igc: you in australia or something? [00:03] Pilky: yes, Brisbane [00:04] morning beuno! [00:04] jelmer: ping [00:08] thumper, pong [00:09] jelmer: lp:~jelmer/python/trunk is this still wanted? [00:09] jelmer: it is having problems scanning [00:26] jelmer: around? [00:28] thumper: no, should be ok to remove [00:28] LaserJock, hi [00:28] jelmer: it's me again :-) [00:28] jelmer: I'm trying to get bzr-svn going on Fedora 9 [00:28] jelmer: do you want to delete it or shall I? [00:30] jelmer: when I try to use bzr-svn it gives me "Installed Subversion version does not have updated Python bindings." [00:30] thumper: I don't think I can, can I? [00:30] jelmer: you should be able to [00:31] I looked in the bzr-svn README about the issue, but I'd like to avoid having to build my own Subversion 1.5 if I can [00:32] jelmer: I wondered if you'd had other people wondering about bzr-svn on Fedora. Surely somebody must use it [00:33] LaserJock: you do really need to have subversion 1.5 or 1.4 with the patch, there's no way around that [00:33] afaik everybody who has used bzr-svn on fedora has done the patching [00:34] jelmer: ok, do you know where the patch is? [00:34] LaserJock, yes, it's linked from the bzr-svn wiki page [00:34] doh [00:36] thumper: hmm, it's mirrorred so it'll just be recreated next time I run my register branches command :-/ [00:37] thumper: I'll see if I can create a new branch from python svn and upload that [00:37] jelmer: ok [00:39] jelmer: lp:~jelmer/bzr-gtk/AUTHORS?? [00:39] thumper: yeah, error in my script that did the registration :-/ [00:39] jelmer: are you going to clean up those branches? [00:40] jelmer: https://code.edge.launchpad.net/~jelmer/ shows lots of mirror failures [00:50] thumper: are the failures a problem? The web ui doesn't make deleting them very easy [00:51] jelmer: no not really a problem, it just looks messy :) [01:23] moin [01:27] how do i remove a stale bzr lock? [01:28] "bzr break-lock URL" [01:28] awesome, thanks! [01:28] spiv, maybe we should add that to the message that says the repo is locked? [01:29] beuno: yeah. I think there's even a bug about that :/ [01:29] * beuno goes look [01:36] found it, bug #139202 [01:36] Launchpad bug 139202 in bzr ""Could not acquire lock" error doesn't tell you how to fix it" [Medium,Triaged] https://launchpad.net/bugs/139202 [01:39] * beuno diggs into the code [01:40] heh, i thought from the summary that that was probably an mpt bug [01:41] does it take a while for launchpad to recognise a push to it on the site? [01:41] Pilky: it can take a minute or two [01:41] ah there we go [01:50] jelmer: woot! I finally built new Fedora 9 subversion rpms and bzr-svn now loads [01:51] LaserJock, nice [01:51] would you perhaps be interested in putting them up somewhere and linking to them from the wiki? [01:51] I was just thinking of that [01:51] it'd be a shame for me to horde them all to myself ;-) [02:14] jelmer: alright, all done, have a look at http://bazaar-vcs.org/BzrForeignBranches/Subversion#fedora-9-i386 and see if it looks ok [02:17] jam, did you work out what was wrong with your ssh keys? [02:17] unfortunately right now I can only make i386 rpms [02:56] Hi Folks. I have a repo (via init-repo) with no files in it, and I'd like to create a new repo style branch (NOT in init-repo) that also has no files in it. [02:56] Sort of like I had "branched" from the original, then "pushed" elsewhere. Possible? [02:57] I don't see a --no-tree option on a lot of these things. [02:58] yeah, i think that must be possible but not necessarily from the command line [02:58] Ah. [02:58] Hm. [02:58] probably easy-ish to do it in a plugin [02:58] how badly do you want it? :) [02:59] I just have a bash script. Running it against the output of a cvsps conversion to arrange the repo how I want it. [02:59] So it's not really worth it. [02:59] I can just "branch" to a staging area, then from there, "push" it to the "source-of-truth" area. [03:00] Hm. Can I do a push from a repo with just a .bzr in it and end up in the same place? [03:01] I think that works, actually. [03:01] Yep! [03:03] yes [03:03] Faster, too. [03:03] you can also do a regular branch, then 'bzr remove-tree' i think it is [03:04] though this is obviously a bit of a waste of effort :) [03:04] Yes. I'm glad I didn't see that earlier. [03:05] My experiment here is to see if we can organize project repos by releases. [03:05] Sort of ruins the shared-branch repo thing, but ah well. [03:16] another way: mkdir foo ; bzr init foo ; bzr reconfigure --branch foo ; bzr push ~/repo/blah foo [03:18] Cool. [03:19] The push method (just have bash cd in and push) worked, but, alas, the branches are not consistently named. Still, it mostly worked and was slow only on the project with 8000 revisions. [03:55] * igc lunch [04:23] spiv, i'm reading your patch [05:00] poolie, lifeless, are you guys coming to DebConf after all? [05:09] beuno: i am not, i think robert may be [05:11] poolie, ah, ok. Because I just saw you guys didn't send a talk for bzr [05:11] man, using bzr on launchpad on an old-ish os x/ppc laptop hurts a bit [05:42] * igc pick up kids [06:48] beuno: poolie: I'm not as far as I know; we had discussed my going to talk but that was all [06:49] lifeless, well, you can still organize one or two BoFs [06:50] are you registered? [06:51] no [06:53] au, I suppose you don't need to get sponsored anyway [06:54] well, if you do decide to come, let me know and I'll do as much as I can to help out [06:55] unless canonical actively wants me to go, I doubt I will at this point [06:57] well, poolie, ball's in your court now :) [07:00] any loggerhead users? [07:00] i am a loggerhead developer, for my sins [07:01] can I serve non-public branches? [07:01] i think i need more context [07:01] before i can answer that question [07:02] my first problem is noone can see whats in my repo [07:03] secondly I have two private clients [07:03] i don't understand the first problem at all [07:03] 'see'? [07:04] for the second, i'd run loggerhead behind apache and do authorization type stuff in apache [07:04] so they need to see what in my repo, but not what is in eachothers reps [07:05] iam thinking tubogers is too much hassle [07:05] i love my isp! [07:06] keithy: it's getting late here, so if you mail the bazaar list i can try to help there [07:06] or you can try to get life out of someone else here :) [07:06] keithy, I'll give it a try [07:07] you want to setup loggerhead, which gives access to different branches depending on the user? === jml` is now known as jml [07:09] beuno: yes thats about it [07:09] last time I tried I gave up at turbogears [07:10] keithy, I can't think of a straight forward way of doing that, unless you run multiple loggerhead instances in different ports, and do some magic from apache [07:10] man [07:11] why are bzr branches so invisible [07:11] keithy, invisible in what sense? [07:11] well on mac os x all you see is an empty directory [07:12] keithy, that's because it's a hidden directory [07:12] .bzr [07:12] right... [07:12] ls -a should show it to you [07:12] so how is anyone able to know what branches you have to push to? [07:12] keithy, either where you branched from, or you specify it once, and bzr remembers it [07:18] arg I dont want to have to install XCode on my server [07:18] keithy: I would run three loggerhead instances: [07:18] so how do I install turbogears? [07:19] keithy: 1) with your branches that are public, 2) with client A's branches, 3) with client B's branches [07:21] why cant I install turbogears without having to put 2Gb worth of XCode on my server [07:23] is there a simple way to find all revisions that change a particular file from python, or do I have to look through all revisions and filter them? [07:33] that's it for me [07:33] g'night all [07:38] arg even fink wants xcode [07:40] igc, thanks for the reviews! [07:45] poolie: np [08:03] igc: see https://bugs.launchpad.net/bzr-fastimport/+bug/232177 [08:03] Launchpad bug 232177 in bzr-fastimport "Better darcs support needed" [Undecided,New] [08:03] lifeless, so... the bzr process is still running on add universe, RSS is 6.7 GiB, and strace tells me it does brk occasionally, but nothing much else [08:03] liw, hi [08:04] poolie, greetings and salutations! [08:05] gour: thanks for putting that issue in and collecting your progress [08:05] * igc dinner [08:05] liw, if you're wanting to see where it's spending its time try pressing C-\ but be aware there is some chance this may make it crash [08:05] poolie, I'm going to wait for lifeless to come and do that :) [08:05] :) [08:06] although I may have to find \ for him on this keyboard [08:24] mneptok: ping, can you have a look at bug #229076 and enlighten us ? [08:24] Launchpad bug 229076 in bzr "'Connection reset by peer' error when branching repository" [Undecided,Fix released] https://launchpad.net/bugs/229076 [08:38] vila: enlighten you in what regard? [08:39] what is the setup of www.gnome.org, what is the server that close the connection when the header is 'User-agent' instead of 'User-Agent' ? [08:42] AFAIK, "User-agent" is non-RFC for HTTP1.1 [08:42] http://www.faqs.org/rfcs/rfc1945.html [08:42] http://www.faqs.org/rfcs/rfc2068.html [08:43] i agree it's a bit strict, but is is understandable, IMO [08:43] https://bugs.edge.launchpad.net/bzr/+bug/229076/comments/13 [08:43] Launchpad bug 229076 in bzr "'Connection reset by peer' error when branching repository" [Undecided,Fix released] [08:43] it's a bit clear that header names are case-insensitive :) [08:44] taken straight from rfc2616 [08:44] anyway, the bug has been fixed, what I'd like to know is what is the server that triggered it since that the first time we encounter such strictness [08:44] well "strictness" [08:46] the reply from www.gnome.org, port 80, includes: Server: Apache/2.2.3 (Red Hat) [08:47] lifeless, update: bzr is now continuing past the place it was stuck, I didn't do anything except kill the interactive python process I had open (the one on which you counted files/tips/whatever it was) [08:47] liw: yes, but apache2 itself has always been perfectly happy with that [08:47] vila, indeed [08:48] vila, could be a (transparent) proxy somewhere, perhaps [08:50] liw: hence the question :) My 8-ball doesn't reveal that transparent one :) Which by the way could at least politely answer with 400 or any 5xx :) [08:50] that's why I'd like to contact it to report the problem even if we fixed it on our side [08:51] yeah [08:52] vila: it looks like the case sensitivity is a deliberate change to the GNOME infrastructure [08:52] vila: it was put in place after DDoS attacks [08:52] it's not an optimal fix, but it works. [08:53] mneptok: rfc2616 - any captilisation is valid for field names [08:54] liw: interesting [08:54] lifeless: OK I'LL READ THAT AFTER I HAVE SOME COFFEE. THANKS FOR POINTING ME AT IT. [08:54] >:) [08:54] lifeless, now doing pool/universe/p/portsentry [08:54] Ok i SeE iF i CaN hElP yOu [08:54] :) [08:54] lifeless, I guess bzr was stuck into swapping mode for a while, but eventually got past that [08:55] lifeless, typical bzr processes are right now in the 20-30 megabyte range (for RSS) [08:55] * vila find the coffee idea too tempting to resist [08:55] liw: how long is it taking for each package? [08:55] liw: and what is the repo size up to ? [08:55] lifeless, a couple of seconds for most small packaes [08:55] poolie: got a few? [08:56] liw: (just du -sH .bzr/repository/packs) [08:56] lifeless, 17 GiB total in the directory, with 16 GiB in one big pack file [08:57] liw: I think it was paused doing a full pack :P [08:57] that's absolutely no history, right? [08:57] yeah [08:57] can you time doing a branch from one of those packages to a standalone branch ? [08:57] liw: ^ [08:59] lifeless, sure [08:59] aalib: real 0m2.370s [08:59] user 0m1.332s [08:59] sys 0m0.128s [09:00] (now I'm busy for a while) [09:02] liw: awesome [09:02] lifeless: the liw experiment is for all universe packages in hardy ? Sources ? [09:02] vila: unpacked sources, yes [09:04] awesome, 17GiB is cheap for that IMHO, is that an hint that one of my dream will come true ? Having all sources available in sync with my install ? [09:04] vila, it's still running [09:05] liw: ok, you will report here isn't it ? [09:05] vila, yup [09:05] great [09:07] lifeless: bzr-email is failing tests, I have a patch, should I send it to you or push to lp ? [09:10] send to the list with Merge/bzr-email [09:12] bzr-email/MERGE isn't it? [09:20] sounds plausible [09:24] james_w, lifeless: grr, so not only did I forget the /bzr-email and re-send it, but now I read that ;-/ [09:25] : [09:26] what's the difference between Branch.pull & Branch.clone? I'm guessing that the latter preserves format and the former doesn't? [09:26] also, clone needs a bzrdir it seems -- is this right? [09:27] pull mirrores between existing branches [09:27] clone makes a new branch [09:27] vila: what is should_send returning ?!1 [09:28] lifeless: I guess I meant in the case where a branch has just been created. [09:28] the email itself [09:28] eg.g bzr init; bzr pull [09:28] vila: then i don't think the fix is appropriate; for starts the method is wrongly named [09:29] lifeless: hey man, I fix the tests as they are because I'm tired of adding --no-plugins to selftest :) [09:30] vila: well, this is what review is for no? To identify slippery-slope events :) [09:30] LOL [09:31] lifeless: ok, you won. My daughters also found my weak point when I'm angry about them: make me laugh. [09:31] :) [09:32] seriously though, it sounds like something has creeped here, and that the method has come to have a different purpose - thats fine, but it should be trivial to give it a better name and then the test and code won't be confusing [09:33] def should_send(self): [09:33] return self.to() and self.from_address() [09:35] so it can return None or to() [09:35] + return bool(self.to() and self.from_address()) [09:35] 'return self.to() is not None and self.from_address() is not None' would be wrong, because '' is wrong for an email address [09:35] yes, thats good [09:35] that would avoid changing the tests [09:36] and about the name ? should_send seems to capture "check that we have enough info before sending" [09:36] I think the name is ok given the details we've just looke at [09:36] if it had been returning the email body as I thought you meant it would have been an issue [09:37] lifeless: Is there a way to pull stacked branches such that I only pull the stacked bit, and not the whole thing. [09:37] jml: I think you want init --stacked=url && pull in command line terms [09:37] jml: in library terms, doing branch.bzrdir.clone(target) should DTRT I think [09:38] lifeless: and pull as well? or just clone the bzrdir? [09:38] just clone [09:39] subsequent pulls will preserve the stacking bit and add data not accessible as one would expect [10:02] if one uses 'restricted' subscription policy on launchpad, what is restricted to other lp members? [10:03] /to/for [10:07] gour: is this a restricted team? [10:08] poolie: ping [10:08] pong [10:08] poolie: i'm reading lp feature high. document, team managament section --> subscription policies [10:09] gour: restricted means that you hasve to invite people [10:09] poolie: and i'm interested if i create a project, how it can be managed...in the beginning we want a smaller number of devs to discuss and commit [10:10] lifeless: that's clear. but what will be seen by non-invited people? code, bugs, blueprints?... [10:10] gour: it des not affect visibility of the team, just how to get into it [10:11] lifeless: hmm, so everything is visible except commit rights? [10:12] gour: everything is visible, full stop. [10:13] lifeless: everyone can commit his stuff in main trunk? strange... [10:13] gour: no [10:14] gour: *membership* and *visibility* are differewnt [10:14] gour: membership grants commit rights [10:14] gour: everything is visible [10:14] lifeless: ahh, ok. that makes sense [10:17] I am trying to setup loggerhead [10:17] its complainging about no module sqllite [10:17] no mention of anything in the eadme's etc [10:17] readmes* [10:17] It hought squeak was bad at dependencies [10:18] I am beginning to feel there is some python initiation ritual I havent been through [10:18] or are you guys just used to things not working? [10:21] turbogears is rather painful; I believe the loggerhead devs such as mwhudson would like to use a different toolchain to ease the pain [10:21] seaside? [10:21] in this case I can help; there are sql alchemy optional modules or something under the hood there [10:22] so I need sql lite? [10:22] no mention of this in the docs [10:24] so not what do I do? [10:24] so now what do I do? [10:25] install pysqlite2 [10:25] how? [10:26] how do you normally install libraries on your OS? [10:26] download dmg and double click on an installer! [10:26] how else [10:26] so far I have needed c compilers [10:26] and all sorts [10:27] fink, darwinports? I don't use os x, sorru. [10:27] and they require xcode and xcode is 1G install [10:30] keithy: by a different toolchain I mean cleaner and more self containined python libraries [10:31] keithy: I suggest that you file a bug on loggerhead; I too have had trouble installing it [10:31] is python2.5's included 'sqlite3' module the same as 'sqlite'? [10:31] like seaside! ;p; [10:31] lol [10:31] it looks pretty dbapi2-y [10:31] bob2: it's sqlite [10:31] ah so it is loaded! [10:32] I winder where it si [10:32] I wonder where it is [10:37] would someone please to upload bzr-svn 0.4.10 to the bzr ppa? [10:38] lifeless, 39619 seconds total run time (real time), 21 G total pack directory size, 16 G for the biggest pack file, then 1.7, 1.6, 1.2, 0.39, and then pretty smal ones [10:38] so do I need to install sqllite3 separately? [10:41] so fink doesnt work [10:43] keithy: I'm sorry I can't be more help right now, I'm in a week long sprint of meetings [10:43] np [10:43] keithy: if you can put a bug/question against loggerhead in launchpad I think its likely you can attract mwhudon's attention in his workday which is GMT+12 or so [10:44] the dependency on sqllite is already in the bugs list [10:47] well I am talking about docs on how to get it going largely [10:47] -> going for a while [10:47] k cya [10:47] lifeless: is there a way to use the test machinery to create a branch with a specific branch format? [10:50] format= [10:50] lifeless: it's unclear whether that's a bzrdir format, a repo format or a branch format. [10:51] lifeless: I'm guessing there's something about the interrelation between formats that I don't get. [10:53] sqlite3 is included in pythin, why does loggerhead want sqlite [10:55] jml: format='dirstate' [10:55] bah, I have been sucked back into IRC. let me outta here! [10:58] lifeless: feel free to talk to me IRL. [11:03] lifeless, http://files.liw.fi/temp/output.log -- I forgot to capture theoutput of the universe run, but that's the one for the main run [11:13] after all that! loggerhead renders my hierarchical branches structure as flat! [11:19] I am dissappointed [11:21] Do you just add stuff to the top of NEWS when pathcing? [11:22] And does a small extra option for a command count as a feature or an improvement :-) [11:41] hi [11:41] "This transport does not update the working tree" means that there is another transport that support it ? [11:42] only file:// [11:42] or ssh if you have the update-after-push plugin installed (which just does 'ssh remotehost bzr co /path' [11:46] lifeless: ping [12:00] vila:I have noticed yours recent commit to bzr-gtk. Could you please merge https://code.launchpad.net/~matkor/bzr-gtk/trunk-matkor ? [12:01] One-line chages but close two bugs (I think). TIA, regards [12:04] matkor: better ping bzr-gtk@lists.canonical.com, it looks like I didn't really respect the process by pushing that way [12:05] if someone wants to migrate repos from darcs, no matter whether darcs-1 or darcs-2 format, and no matter how old are they, tailor is the only player which does the job atm - pull latest tailor and latest darcs. both darcs-to-git and darcs2git fails with either darcs-2 repo format or older date-format in darcs [12:05] matkor: wow, looks like your patch doesn't even appear on http://bundlebuggy.vernstok.nl/bzr-gtk/ [12:06] matkor: what you should do is send it to bzr-gtk@lists.canonical.com with [MERGE] in the subject or nobody will be informed of its existence, I'm not a core bzr-gtk dev, just an occasional contributor [12:07] ...or new tailor-0.9.33 [12:07] vila: should I subscribe or can I just send e-mail out of ist ? [12:09] matkor: I don't know for sure, look at https://lists.canonical.com/mailman/listinfo/bzr-gtk [12:11] ok tnx [12:19] igc: i updated 'darcs support' bug with latest info... [12:29] Is it OK to send bundle intendent to merge having target_branch: file:///home/users/matkor/src/bzr-gtk/trunk/ ? Which is checkout of http://bazaar.launchpad.net/%7Ebzr-gtk/bzr-gtk/trunk/ ? [12:35] matkor: taget_branch yes, that's how bzr calculated it, bonus points if public_branch is set though, look at bzr help send [12:42] vila: I got confused with: bzr send ./ http://bazaar.launchpad.net/%7Ebzr-gtk/bzr-gtk/trunk/ -r -3.. giving me: bzr: ERROR: No mail-to address specified. [12:43] matkor: add --mail-to bzr-gtk@lists.canonical.com [12:44] matkor: or use -o my.patch [12:45] matkor: but your public_branch is wrong, you should use *your* branch here, it's where the bundle can be merged from [12:46] errr, wait [12:47] bob2: any possiblity to get it on bzr:// transport ? [12:48] bzr send [12:48] matkor: ^ [12:49] visik7: not supported as yet, as far as I know [12:50] visik7: the idea is that you have working tree where you can.. work. So you need at least a shell access there, and then you can just do bzr co or bzr update [12:52] yes I'm in the process of misusing bzr as a deploy tool :) [12:53] 'couse I work with some pigs&dogs that puts their hands on the server so I need to track them [12:53] ghetto workarounds include push-after-update and bzr co from cron [12:55] ok, I have finished writing a storage plugin for my wiki that uses bzr repository to keep the pages and history. Would anyone want to take a look at it and maybe suggest doing some things differently? [12:55] TheSheep: based on some web framework ? [12:56] visik7: no, just wsgi [12:56] the code for the plugin is here (sorry that it's Mercurial) http://sheep.art.pl/devel/dandelion/file/tip/dandelion/plugin/bzrstore.py [12:56] :) [12:56] ahahah [12:56] funny [12:58] I had trouble for example with getting the list of all files that were changed in a revision [12:58] TheSheep: from the bzrlib or from the command line tool ? [12:59] visik7: from bzrlib [12:59] maybe whatching in the command line tool you got how it does [12:59] no ? [12:59] in the end I did [entry.name for path, entry in entries if [13:00] entry.revision == rev_id] [13:00] :) [13:00] repository.get_revision_delta or something like that [13:00] bzr: ERROR: Please specify smtp_server. No server at default localhost - how can I do it ? [13:00] bzr send does not mention any option for that ... [13:00] TheSheep: working_tree.commit(message="imported existing pages", author="wiki") [13:00] er, maybe you meant committer there? [13:00] and unicode(revision.message, "utf-8") [13:01] the decoding there is wrong, it's already unicode [13:01] luks: ah, I thought it stores bytes, cool [13:01] no, most things in bzrlib are unicode [13:01] matkor: -o foo.patch, then send it using your mail client [13:01] luks: isn't delta just another tree? [13:02] TheSheep: delta is the list of files that changed in a revision [13:02] great [13:03] I'm sure some parts of this code can cause nightmares for anyone familiar with bzrlib :) [13:03] not bzrlib relased, but you have some locking problems in try/finally there [13:04] it should be lock(); try: ... finally: unlock() [13:04] you have try: lock(); ... finally: unlock(), which might call unlock even if lock failed [13:04] ah, right, so that it doesn't try to unlock when the lock fails [13:04] thanks [13:04] bob2: Thats last option, seems $HOME/.bazaar is place where I should specify smtp server ... [13:05] matkor: yes, ~/.bazaar/bazaar.conf - it presumably defaults to localhost [13:07] ok .. it went ... I doubt it gets through to bzr-gtk@lists.canonical.com with strange from adress ... [13:08] usually you want 'bzr send' to just launch an external mail client [13:08] How often http://bundlebuggy.vernstok.nl/bzr-gtk/ is updated ? [13:09] matkor: you need to set mail_client in bazaar.conf for that, smtp_server is adifferent beast [13:10] matkor: presumably http://bundlebuggy.vernstok.nl/bzr-gtk/ get the mails from bzr-gtk list so if you don't see your mail here neither does it [13:11] vila: I do not see even my subscribe confirmation mail .. but I am postgreyed so might have delays .. [13:12] matkor: just be patient then, may be an admin need to validate your subscription, [13:27] i'm new with bzr, but somehow feel strange that bzr status reports nothing when there is no change. what do you think about something like darcs' "No changes!" ? [13:30] gour: I dunno, I think you'll find you just adjust to the lack of output. [13:31] Odd_Bloke: i consider that providing some output is nice HIG [13:31] It does provide output, a newline followed by a prompt. [13:32] well, i'm serious [13:32] Me too, I don't want our UI cluttered up for no reason. [13:33] Just create a file and never add it. Then you'll always have output :) [13:34] Regardless, if you think something about bzr should be different, submitting a patch to the ML is a much better way of getting it discussed than IRC (especially as most of the core devs are probably in bed ATM). :) [13:34] pickscrape: i'm not interested for *any* output, but info that nothing changed [13:35] will do [13:42] hmm. let's say I cherry pick r3..6 from some branch, and later I just "bzr merge" from it, what would happen? [13:43] and if that branch has a change I don't want to incorporate ever, that means I need to always cherry-pick? [13:44] or you can merge it and revert the particular change [13:44] oh, you can do that? how can you revert a past committed change? [13:44] if that change in a single commit? [13:44] is [13:45] yeah, but for example 10 revisions earlier [13:45] yeah, so merge, commit the merge, and then `bzr merge -r X..before:X .` and commit the reverted change [13:46] bzr merge -r150..22 ? [13:47] oh -r 150..149 [13:47] that uncommits revision 150? [13:47] -r 150..149 [13:47] or -r 150..before:150 [13:48] that will revert the change from revision 150 [13:48] ok, thanks :) === spiv_ is now known as spiv [14:04] hi all [14:05] I'm playing with bzr and tailor lately: it was able to migrate the whole darcs history to bzr without a glitch! :-) [14:05] hi lelit [14:05] now I'm trying the other way around, and notice that bzr is *very* slow in collecting the "missing" changesets [14:05] hi jelmer [14:05] how's going? [14:06] pretty well, thanks :-) [14:06] lelit: Collecting missing changesets in what regard, "bzr missing" ? [14:07] I have a local bzr.dev clone, and when I do (tailor backend does, that is) "cd /tmp/p; bzr init; bzr missing SomeSourceRepo" [14:09] see http://progetti.arstecnica.it/tailor/browser/vcpx/repository/bzr.py#L168 [14:10] that missing_revisions() takes something more than 1h here, with 100% cpu [14:11] there was talk about reimplementing it using a somewhat smarter algorithm earlier [14:11] jam, ping [14:11] after than, in another couple of hours the migration completes [14:11] jelmer: ah, ok, it's a known problem then, not something wrong with that code [14:12] lelit: I think bzr itself only uses that particular function for the "bzr missing" command, not for anything else [14:14] do you think there's a better way of knowing the list of csets that a "bzr pull" would fetch? [14:14] bzr.dev makes missing much faster [14:15] lifeless: ? [14:17] john landed a patch to improve missing yesterday [14:18] * lelit goes to update [14:22] * lelit restarts the test [14:22] thank you [14:26] lelit: good luck ;) [14:43] Hi, I'm looking for a complete tutorial explaining how to manage a decentralized workflow with gatekeeper [14:43] jelmer: pong [14:43] there is no much details on the current documentation [14:44] jelmer, lelit: I did land a patch yesterday that made missing better, and another that made the function missing used even better [14:44] jam: sorry, was wondering about your missing improvements but lifeless already replied [14:46] jam: thankyou, I'll write here the result. It's still using 100% cpu, since 25 mins ago now... [14:47] lelit: using the latest bzr.dev? [14:47] I would really like to understand your circumstance [14:47] here, things run on bzr.dev in <10s [14:48] tailor is doing (look at the trac URL for the function) a missing() from an empty new repo, pulling from a local bzr.dev clone [14:49] I just want the *list* of patches, "darcs pull --dry-run" in darcs parlance [14:50] I *must* be doing it wrongly... [14:50] jam, and yes, updated and reinstalled current bzr.dev [14:50] lelit: is it possible that the repository is not locked ? [14:51] lelit: are you writing your own plugin for it? [14:51] lifeless: 'find_unmerged' would be locking the branches [14:51] I'm not sure what function he is using [14:51] jam, see http://progetti.arstecnica.it/tailor/browser/vcpx/repository/bzr.py#L168 [14:51] it's just my tailor business :) [14:52] a Branch.missing_revisions [14:52] I don't know if that is ever used [14:52] it certainly doesn't scale well [14:52] andprobably doesn't take a lock [14:52] what you'd suggest? [14:53] lelit: ATM, bzrlib.missing.find_unmerged(this_branch, other_branch, 'local'/'remote'/'all') [14:53] ok, thanks alot, I'll try that way [14:54] The only place that uses Branch.missing_revisions() is one function in the test suite [14:55] lifeless: what do you think, should I just nuke the function, or should I move the 'find_unmerged' functionality over into it? [14:55] I think it *used* to be used as part of pull/push/etc to figure out if branches had diverged [14:55] Now, I think we use get_graph.().heads() [14:56] later, ciao [14:56] jam: bzr-svn uses it [14:56] so, that's *three* places :) [14:56] jelmer: well, it's a Bad(tm) function [14:57] Our *three* users are... wait, I'll come in again. [14:57] we could improve it [14:57] just not sure if it is worthwhile [14:57] jelmer: what do you use it for? [14:58] jam: actually, never mind me [14:58] jam: I added a custom implementation for bzr-svn later on [14:58] Hi all [14:59] jam: it's being used from Branch.pull() [14:59] jelmer: you mean SVNBranch.pull(), right? [14:59] jam: yep [15:00] jelmer: I am under the impression that bzr-svn is slower and slower as time passes, and possibly that it's doind more and more connections to the SVN repo [15:00] Lo-lan-do, what version are you using? [15:00] Is that known and/or addressed? [15:00] jelmer: well, there is example code in Branch.update_revisions() which shows you how to do it with a Graph instead of missing_revisions [15:00] though we could arguably do something similar in missing_revisions === yacc__ is now known as yacc [15:01] 0.4.10 + bzr 1.5, I guess [15:01] Lo-lan-do: in that case, it's not a known issue [15:01] jam: thanks, I'll see if I can steal that [15:01] I just did a bzr commit on a svn-bound branch for gforge, and it took 4 minutes and 40 seconds, and 276 sockets opened to the repo [15:02] Howdy, I've hosed my gui bazaar stuff. Started after creating ~/.bazaar/plugins, and branching lp:bzr-gtk and qbzr there [15:02] jelmer: any chance you could be around for a skype call tomorrow around 1900 UTC time ? [15:02] we are thinking about talking about bzr-svn in my next "This Week in Bazaar" post [15:02] and it would be nice to have your input [15:03] jam: yep, sounds good [15:03] jelmer: great [15:03] Lo-lan-do, ouch, that's wrong - please file a bug [15:03] now olive crashes [15:04] gumpa: did you branch "lp:bzr-gtk ~/.bazaar/plugins/gtk" ? [15:04] just to make sure it was named correctly [15:04] I've removed and installed bzr-gtk, removed the plugins dir, still ng [15:06] lifeless: how is UDS going, btw [15:08] I had changed bzr-gtk to bzr_gtk, just changed bzr_gtk to ~/.bazaar/plugins/gtk still crashes [15:09] gumpa: what's the error you're getting? [15:09] jam/lifeless: Somewhat related to Branch.missing_revisions(), any chance you can reply to https://lists.ubuntu.com/archives/bazaar/2008q2/041834.html ? [15:10] just did apt-get remove bzr-gtk --purge, now 'bzr qdiff' says 'Not running bzrlib.plugins.gtk, things may break' [15:11] and lots of 'Two plugins defined the same command:' [15:12] gumpa, qdiff is not part of bzr-gtk [15:12] bzr gdiff is [15:12] typo s/gdiff/qdiff [15:13] same messages with gstatus [15:15] Previously this command was registered from [15:15] after Two plugins defined the same command: ... [15:16] gumpa: remove the bzr_gtk directory in ~/.bazaar/plugins [15:17] Fixed. You make it look so easy. thanks [15:18] jam: good [15:18] can I apt-get install bzr-gtk to get Olive now? [15:23] gumpa, Olive is part of bzr-gtk [15:24] how do I start it? [15:24] gumpa, So you should already have it if you installed bzr-gtk into ~/.bazaar/plugins/gtk [15:24] start the olive-gtk binary from that directory [15:24] Hi. I have a file that I need to use in two code tree (two separate projects). How would I share that file among the two projects, if they're both managed with bzr? [15:25] jelmer great, thanks, see you [15:31] xif: Those separate project are not self-branches ? [15:32] matkor: nope, they're completely separate projects. [15:33] to further explain: these projects are web applications. [15:33] the file they're sharing is a Javascript library. [15:34] Hrm... Any reason why bzr doesn't ignore directories called "CVS" by default? [15:36] LeoNerd: Heh, I've wondered that myself. [15:36] LeoNerd: Because the speed of add varies inversely (and significantly) with the number of ignore rules. [15:36] fullermd: Ahh... OK. [15:36] bzr init; bzr add . ; bzr commit; What!? CVS/? [15:36] So the default set is pared down as much as possible. [15:36] Besides... bzr ignore CVS isn't exactly difficult [15:36] It's just something I hadn't thought about and just presumed would work [15:37] LeoNerd: at one point we ignored lots of things by default [15:37] but it turned out to slow things down [15:37] when you had to check every file against 100+ possible ignores [15:37] Right [15:37] so we turned it down a bit [15:37] Wouldn't the better solution be to fix the performance of ignore? ;) [15:38] NfNitLoop: It isn't ignore [15:38] it is stuff like 'add' having to compare against a large list [15:38] we already use tricks to make it faster [15:38] but if you are adding 20,000 files [15:38] the overhead of each one makes a difference [15:38] aaah. Yeah. [15:38] OK, nobody has an answer? [15:39] doesn't BZR have something like svn:externals? [15:40] Not that I know of, but I'm not a bzr developer. :) [15:40] IIRC, you can check out a project within the directory of another. [15:40] OK, that might be a solution... [15:40] but there's nothing to tie revision X of baseProject to revision Y of innerProject. [15:45] hm, this kind of sucks :/ [15:49] jam: do you remember if we fixed the problem where commit did not notify the dirstate of the sha1 of files read in during commit ? [15:49] jam: sabdfl is still seeing status on large trees as 70-80% slower than hg's. [15:53] lifeless: afaik we never fixed that [15:54] OK, looks like this has been thought of before: http://bazaar-vcs.org/NestedTreeSupport [15:55] xif, LarstiQ is working on that, but it might take a while to land [15:55] a Nested Tree "by reference" is basically svn:externals. [15:55] jam: what's that "This Week in Bazaar" post thing ? 8-) [15:55] vila: jam-bazaar.blogspot.com [15:55] beuno: good to know, that's a useful feature :) [15:55] http://jam-bazaar.blogspot.com [15:55] vila: I'm just doing a weekly blog post with statik [15:56] if you have ideas of something to talk about let me know [15:56] it is a "spend 45 minutes every week to get some publicity" [15:56] ok, reading it. [15:56] so, quick topics, nothing terribly fancy [15:56] just that we do a lot of work that doesn't get noticed because we forget to communicate ti [15:56] it [15:57] ooh, the 'my' plugin I wanted to code for ages exists and is called 'bookmarks' :) [15:58] ooooh 'removable' ! [16:00] hi, i am totally new to bzr - if i merge my changes, can i control if the full history of my changes gets merged or just the most recent revision? [16:02] jam: might have something for you next week [16:02] htd: you can control what changes are marged [16:03] Pilky: what is that? [16:03] first release of a OS X GUI client for Bazaar [16:04] matkor: sounds great, thanks for the info [16:04] sounds interesting [16:05] gonna be pretty basic to begin with (add, init, init-repo, commit, status) but should still be pretty helpful [16:05] beuno: what happened to your plugin_management plugin? I just did a pull and upstream has vanished. === awilkins is now known as dr_barnowl === dr_barnowl is now known as awilkins [16:13] I am getting a traceback and hang on "Please wait, loading ancestral graph" when I click the 'Log' button in Olive, current lp:bzr-gtk [16:13] Pilky: have you tried QBzr on Mac? [16:13] just wondering if your time might be better spent expanding something that already works there [16:14] pastebin? [16:14] jam, possibly, I just don't think that there's going to be a huge adoption of a GUI client on the Mac if it's not native [16:15] Pilky: perhaps, though there won't be huge adoption if it is underdeveloped, either :) [16:15] One of my colleagues spotted BazaarX the other day [16:15] Which is apparently a bzr client for cocoa. [16:15] jelmer: I responded [16:16] heh, but an application is only underdeveloped for a certain amount of time ;) [16:16] pickscrape: that would be the app I'm working on [16:16] Ah [16:16] jam: earlier you mean, or just now? [16:16] jelmer: just now [16:16] jam: Thanks :-) [16:16] We only started coding it yesterday but we've got pretty far [16:16] Yes, it caused a small flurry of excitement amongst the Crayon Monkeys who aren't too keen on the idea of using the command line :) [16:17] Unfortunately I have no idea how to compile it, so I can't advise them :( [16:17] compile BazaarX? [16:19] at the moment there's not much to compile, just some unit tests for the bit that talks to bzr, but we'll be providing disk images with the app on for each release [16:19] Cool. Yeah, I realise it's young. I just get frustrated by the whole apple thing. At least with windows I can easily run it under vistualbox. [16:20] virtualbox. [16:20] I'd rather people diverted all their attention to Olive, frankly, and shamelessly stole as many ideas from TortoiseSVN as possible. [16:21] Is vistualbox a euphemism for "The OS before Windows 7" ? [16:21] ;-) [16:22] That would be Windows ME II ;) [16:22] jelmer: do you use the 'stop_revision' parameter of missing_revisions? [16:22] I'm just trying to understand it [16:22] I *think* it is a revno [16:22] I was going to clean up the function [16:23] jam: in my implementation it is a revid [16:23] Pilky: either way, my colleagues are very much looking forward to your work on that, and it is appreciated. [16:23] but now I'm thinking about just deprecating it because it is crufty [16:23] jelmer: well I see: [16:23] if stop_revision > other_len: [16:23] jelmer: so I'm pretty sure it *has* to be a revno [16:23] jam: It may've changed since I created my implementation though [16:23] at least for the base implementation [16:23] pickscrape: nice to know that others are interested as well :) [16:23] jam: Mine is called lhs_missing_revisions() these days [16:23] jelmer: update_revisions() takes a revision id [16:23] I think missing_revisions is just badly broken [16:24] and nobody noticed [16:25] jam: looks like it [16:27] jelmer: ok, deprecation and future nuking it is [16:34] can somebody help me an error message? [16:34] I'm trying to use bzr switch, and it says: [16:34] bzr: ERROR: Cannot switch a branch, only a checkout. [16:35] steelpotato: did you use bzr checkout to get the files? [16:35] I guess not :) No, I think I used branch.. so that makes sense, but I still want to switch it [16:35] the url I'm switching to is a branch of the url I originally branched from [16:36] so you're wanting to change the default URL to merge/push/pull? [16:36] Then first bind to your initial URL, and switch after that [16:37] Pilky: well, yes, but mostly I want to change to the new files, since they contain some changes [16:37] steelpotato: then maybe you just want to pull or merge [16:37] steelpotato: bzr pull http://new_url ? [16:37] or maybe [16:37] steelpotato: try bzr pull URL [16:37] bzr pull --remember --overwrite http://new_url [16:37] that would change the files [16:37] and add --remember to that if you want to set that as the default [16:37] but what if I wanted to switch back? [16:37] to the previous files? [16:38] yeah [16:38] steelpotato: or... maybe you just want to branch again? :) [16:38] this is an experimental change i'd like to review [16:38] just bzr revert -1 [16:38] pickscrape, I moved it: https://code.edge.launchpad.net/~beuno/bzr/automatic_plugins [16:38] it has almost-working-install now :) [16:38] steelpotato: alternatively "bzr merge http://new_url" [16:38] steelpotato: ok, so someone made a branch and you want to review the changes it has? [16:38] if you just want to review it [16:38] Let me explain my background a little bit... :) I'm used to using git, where I could branch all over the place [16:38] and switch between them at wil [16:38] I'm trying to duplicate that without needing to create new checkouts [16:39] because the folders are flex projects and the IDE doesn't like duplicate projects [16:39] Yeah, I suggest merging it and then viewing the diff. [16:39] And you can branch as much as you want. branch branch branch. [16:39] steelpotato: create a repository, branch things into it, checkout from it and then switch that checkout amongst the branches [16:39] bob2: right, that's what I am trying to do, but since I used bzr branch instead of bzr checkkout originally, switch isn't working [16:40] I could just check it out again [16:40] steelpotato: just wondering why you don't just branch from the repository with the new files? [16:40] Pilky: I'm not sure I understand [16:41] steelpotato: right, so 'bzr init-repo ~/somewhere', 'bzr branch . ~/somewhere/trunk', 'bzr bind ~/somewhere/trunk', 'bzr reconfigure --checkout' [16:41] Pilky: you mean get a new folder with the branch? [16:41] yeah [16:41] I'm assuming the files you want are in some central location [16:41] Pilky: they are, but I can't create multiple copies locally [16:41] why not? [16:42] Pilky: because the IDE gets mad at me for having two projects claiming to be the same one [16:42] odd, which IDE? [16:42] Flex Builder [16:42] Eclipse [16:42] ah [16:42] I just use it for compiling and linking :) [16:42] I can see how that would be an issue [16:43] steelpotato: IMO merge is the easiest thing you could do right now. [16:43] bob2: I totally don't understand those commands, but I could give them a shot... Why would I need to use the bind command to get that to work? [16:43] steelpotato: If you merge it, it'll change your working copy but not the branch; you can view the differences and then revert them. [16:43] radix: would my local commit history be any different than the branch's? [16:44] radix: would it show a new commit or something, or would that match the branch I'm merging from ont he server? [16:44] steelpotato: No. merging doesn't affect your branch (i.e., it doesn't add any revisions). You have to commit the merge if you want to save it. [16:44] beuno: thanks. And bzr pull --remember Just Worked too :) [16:44] bob2: or is it the reconfigure --checkout thing [16:44] steelpotato: and if you don't want to save it, you can "bzr revert" and the merge goes away. [16:44] pickscrape, sorry about moving it :) [16:44] steelpotato: well, the idea is that a checkout doesn't actually include a branch, it just points at one. those commands put the branch elsewhere, then attach the existing branch dir to that other place. you're right, the reconfigure is redundant. [16:44] Not a problem [16:45] bob2: alright... i'm going to try to switch my working copy to be a "checkout" instead of a "branch" [16:46] steelpotato: or, like someone else said, you can just bind to the remote branches directly [16:47] bob2: ? Is that what they said? :D [16:48] well, I don't like the merging idea (it would work, but I want something more flexible) [16:49] you mean bzr bind the_new_branch? [16:49] that makes it send all commits to the server, right? [16:49] bzr bind sftp://whatever [16:49] yes [16:49] would the bind command get me those new files? [16:49] then I could unbind, or somethign? [16:50] Because I don't want my commits sent to the server automatically [16:50] steelpotato: fyi, a "checkout" is a bound branch, and means that commits automatically get sent to whatever branch you "checked out" [16:50] ohhh [16:50] steelpotato: then you don't want to reconfigure to a checkout. [16:50] radix: but I DO want to do the switch [16:50] so I could bind, switch, then unbind, right? [16:50] I think I'm totally missing the point here [16:51] indeed [16:51] switch assumes you have your work stored elsewhere [16:51] oh, or you could bind to a branch on your own machine? I guess that's what beuno's suggesting [16:51] Maybe I should read more about the design decisions of bzr [16:51] if you just want a new basis, just pull --oveerwrite [16:51] merging sounds like a much simpler way to review changes than all of this stuff :) [16:51] lifeless: yeah, that would work like I'm expecting switch do, right? Would it changed my "stored location" [16:52] radix: yeah, but I might want to work on it, then switch back to something else, etc [16:52] steelpotato: have you read through the user guide? might be worth identifying what workflow best fits your situation and reading the relevant section [16:52] radix: I'm looking for something that willl support the workflow I'm used to [16:52] Pilky: thanks [16:53] steelpotato: what I would do: create repository, branch everyone else's stuff there, make your 'trunk' or 'reviewed' or whatever branch, co it, then use switch to move between all the others [16:53] bzr is incredibly flexible to various workflows. I'm using it for solo stuff, distributed stuff that's centralised on launchpad and the friend that is working on the launchpad project is hoping to switch over from subversion while using it similar to subversion [16:54] bob2: so, basically what I'm doing now, except I'm bound to the branch I'm working on? [16:54] bob2: we have a repo on the server, it has some branches there [16:55] bob2: somebody branched locally, then pushed their changes up to a new folder up there [16:55] bob2: we're planning on distributing lots of experimental changes there until it is reveiwed, when it will be merged into the trunk [16:55] I'm thinking this will work .. [16:56] Pilky: yeah, I like it so far... [16:56] thanks everybody [16:56] I'll fool around with it more [16:56] steelpotato: the user guide is still very cool to gain an understanding of all the different workflows that are easy with bzr, because you can then compose a customer wokflow that right for you [16:59] Hi there, someone can guide me a bit on a problem trying to install bzr-eclipse? [17:00] Psy|ecimTech, I can try, and, if not, I'll try and drag the developer in here [17:00] Thanks [17:00] I'm on XP SP3, I have the bazaar executable intalled and the xml plugin on the plugin directory [17:01] I'm now configuring bazaar's plugin on eclipse, but the preference dialog keep telling me that there is no bzr-xmloutput plugin [17:01] on bazaar plugins path I have [17:02] bazaar\plugins & bazaar\plugins\bzr-smloutput [17:02] Psy|ecimTech, could you fire up a console in windows, and run: bzr plugins [17:02] oh I see [17:03] seems that there is a problem with the folder name [17:03] bazaar recomends rename it to bzr_xmluoutput [17:03] lets see.. [17:04] Solved! [17:05] thanks very much [17:05] Psy|ecimTech, :) [17:16] jelmer: i'm looking at bug #232196 and wondered if you could spare 5 to see if i'm hot or cold.. [17:16] Launchpad bug 232196 in bzr-svn ""The file id FOO is not present in the tree" on svn-import or branch" [Undecided,New] https://launchpad.net/bugs/232196 [17:22] jelmer: i actually just realised i'm coooold :-(.. *goes back to digging* [17:27] Is it posible to mark bug as duplicate of another ? [17:27] https://bugs.launchpad.net/bzr-gtk/+bug/232551 [17:27] Launchpad bug 232551 in bzr-gtk "Olive hangs when 'Log' is clicked" [Undecided,New] [17:30] matkor, sure, on the left hand side, you have "Mark as duplicate" [17:30] ahh [17:31] thanks bueno [17:32] matkor, np [17:49] Jc2k, hi [17:59] jelmer: lo [18:00] i thought the branch commit history was weird, but it looks similar to branches that do work [18:01] so im no closer to finding out whay these branches are screwy/different to normal [18:01] it's probably just a corner case bug [18:01] * jelmer tries to branch the eog url [18:14] is there something similar to git-send-email in bzr? [18:14] bzr send doesn't seem to be the answer [18:15] It's the usual one. What's it lack? [18:15] jelmer: changing trains. be back in a bit.. [18:17] I was expecting the ability to break commits into several emails [18:17] not a single email with all the merge [18:17] 1/3, 2/3, 3/3 kind of thing [18:23] grahal: You may want to see the thread at [18:24] The topic seems to come up every few months; that's the last time through it (it generally quickly goes a bit meta) [18:24] grahal: you could also do send -r -4..-3; send -r -3..-2; send -r -2..-1 [18:25] I see, thanks for the info [18:25] will have a look [18:32] Jc2k, it's svn revnum 3335 that is the culprit [19:05] tchau [19:28] Jc2k, ping [19:31] jelmer: pong [19:46] Jc2k, I think I have a fix [19:49] jelmer: awesome :D [19:50] I am attempting to setup loggerhead still [19:50] the directions for ProxPass in apache dont setup the static files [19:53] jelmer, lifeless: for whatever reason, bzr.dev took even longer in that .missing() [20:06] jelmer: got a diff so i can take it for a spin? [20:31] I am struggling to get the static content served by appache [20:31] for loggerhead [20:31] has anyone got some conf I could look at [20:32] keithy: expert is mwhudson_ [20:33] [20:35] Jc2k: yeah, I'll commit to bzr-svn's 0.4 branch in a few minutes [20:35] I was trying to add a test case to reproduce this [20:35] but I haven't been able to do so yet [20:37] cool [20:39] jelmer: Sorry about the duplicate bugs, by the way [20:39] mwhudson_ hello: : [20:40] Jc2k, pushed [20:40] awesome [20:49] *patches and kicks off some imports* [20:52] jelmer: happily your patch is what i was thinking, but i just couldn't figure out a test case to go with it [20:52] Jc2k: Yeah, me neither :-( [20:52] SVN seems to stop you creating that kind of a state these days? [20:53] well, I must admit I haven't reproduced the full state, just the bits I thought mattered [20:53] well, same here [20:54] *shrugs* [21:09] hi all, ive found the documentation on using the ssh+bzr:// protocol a little spotty, is there a way you can specify the username and password so that several dirs can be pushed with a shell script [21:10] NemesisD: You can do the username with ~/.ssh/config, and use keys to avoid the password problem [21:13] hmm [21:22] Lo-lan-do, ok im following the guide on bazaar's site but its a bit confusing, i did an ssh keygen [21:22] and its telling me to copy the contents to my local authorized_keys file, do i just copy the big huge key or am i copying the DEK-Info part and th Proc-Type part? [21:25] Actually, you need to copy it to the remote authorized_keys file. [21:25] The ssh-copy-id command does it for you. [21:27] hmm, i just did cp id_bzr.pub authorized_keys on the remote system then i scp'ed the authorized_keys to my local .ssh directory [21:27] NemesisD, and make sure the permissions for that file are set to 600 [21:28] i entered a passphrase when it asked when i did the keygen, should i not have done that? [21:29] NemesisD, then, you will be asked for a passphrase every time [21:29] if you don't want to use a passphrase, re-generate it without one [21:30] Or use ssh-agent, which will cache it in memory. [21:31] hmm, im a bit confused, i think i would like to be prompted for a password when i ssh in manually to do stuff but i want my script that uses bzr+ssh:// to not be prompted, but i suppose that doesn't make much sense [21:37] i tried resetting the password to blank and its still prompting [21:45] crap, ive somehow done the process in reverse, now the remote can ssh into me with no pass but not vice versa [21:46] BB is down, The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. [21:46] abentley, ^ [21:48] fix'd [21:49] beuno: Should be up in a minute. [21:50] abentley, cool, thanks. Didn't know if you where aware :) [21:50] No, I wasn't. Thanks. [21:51] Every now and then it hangs badly enough a kill -9 is needed, and the auto-restart doesn't do that. [21:52] abentley, always sqlite's fault? [21:52] (loggerhead seems to do the same, so it makes me wonder) [21:53] No, an interaction between sqlite's and turbogears. [21:54] ugh, ok so rather than doing a bzr push with ssh, would it be equivalent to, on the local machine, do bzr checkout foo/ temp/, scp temp/ to the remote machine then delete the local copy of temp? [21:54] abentley, I haven't looked into it, but, would adding a postgre backend be too complicated? I think you already use alchemy, right? [21:55] No, adding the backend isn't complicated. I just don't see an easy way of migrating the data. [21:57] abentley, well, I want to use BB for a few projects, so, if you're willing to point me in the right direction now and then, I can try and add postgre/mysql support, and a migration script [21:57] (and, of course, to improve BB's uptime for bzr :p) [21:57] I'd love it if you did that. [21:58] cool, I've just finished work, so I'll plunge into the code now and start snooping [21:58] is there anyway I can get my hands on the current bzr sqlite DB to run tests? I don't know if there's any sensitive data on it like passwords and such [21:59] have we a loggerhead expert in the house? [21:59] I have a heirarchical arrangement of brances [21:59] There are passwords. I can get you a copy, but I'll have to scrub the passwords first. [21:59] and some duplicate names [22:00] loggerhead flattens them [22:00] abentley, no hurry, but if you could, it would probably speed things up for me :) [22:00] and the duplicates are pointint to the same repo [22:01] keithy, mwhudson_ seems to be still away. He's in New Zeland, so don't expect him to be up for a couple more hours [22:02] beuno: Actually, he's awake and active on the private irc server. [22:03] ah, well, he must be busy then (I assumed because he has the _ in the nick) [22:07] mwhudson_: hello [22:07] do any of the other web frontends support a heirarchy of repos? [22:09] I cant see the "download tarball" option [22:09] keithy, loggerhead currently doesn't have that option [22:10] some work might be done on loggerhead in the following months, so expect improvements :) [22:10] sigh [22:10] so nothing works [22:11] that may be a bit over the top, but feel free/encouraged to file bugs toward loggerhead as feature requests [22:11] http://bzr.warwick.st/ [22:12] the published urls for the repositories are wrong [22:12] thats on the front page! [22:13] keithy, please file bugs with as much detail as you can so it can get fixed [22:17] keithy: what's wrong with the urls? [22:18] I access my repo via [22:18] bzr push ssh://bzr.warwick.st/squeak/3.10/LPF/pr_tools [22:19] the url listed for pr_tools is [22:19] bzr push ssh://bzr.warwick.st/squeak/pr_tools [22:19] there are two LPF branches [22:19] bzr push ssh://bzr.warwick.st/squeak/3.10/LPF [22:19] bzr push ssh://bzr.warwick.st/squeak/3.9.1/LPF [22:19] they show up as the same repo [22:20] again with the wrong url [22:21] I spent 6 hours or more trying to get the apache config to work [22:22] I set up a virtual host instead [22:22] so that working now [22:22] loggerhead displays the public_location url for each branch i think [22:22] sorry I dont know what that means [22:23] a branch should not know where it is in the hierarchy [22:23] keithy: well, i don't really understand your description of your problem [22:23] keithy: so i guess we're about even [22:23] I have a heirarchical repo [22:23] bzr push ssh://bzr.warwick.st/squeak/3.7 [22:24] bzr push ssh://bzr.warwick.st/squeak/3.8 [22:24] bzr push ssh://bzr.warwick.st/squeak/3.8 [22:24] bzr push ssh://bzr.warwick.st/squeak/3.9 [22:24] bzr push ssh://bzr.warwick.st/squeak/3.10 [22:24] etc [22:24] ok [22:24] bzr push ssh://bzr.warwick.st/squeak/3.10/LPF [22:24] bzr push ssh://bzr.warwick.st/squeak/3.9/LPF [22:24] oh, i think i see [22:24] bzr push ssh://bzr.warwick.st/squeak/3.9/LPF/pr_tools [22:24] each level is a specialization of the one above [22:25] http://bzr.warwick.st ignores the hierarchy [22:25] so i guess one thing to say is that the urls loggerhead is using in the web browser and the paths you push to using ssh don't inherently have anything to do with each other [22:26] keithy: can you pastebin your loggerhead.conf file? [22:26] url? === samurai_ is now known as samurai [22:27] http://pastebin.ubuntu.com/ === mwhudson_ is now known as mwhudson [22:27] http://pastebin.ubuntu.com/13727/ [22:28] the repo heirarchy is fairly invisible since .bzr is a hidden directory, so my public users have no idea what is in the repo [22:28] so something should tell them what bzr command to use to access the repo [22:30] abentley, meeting all dependencies for BB in hardy is turning out to be quite a challenge [22:30] ah dammit i don [22:30] 't have the loggerhead source on this machine yet [22:31] (my hd in my other laptop died yesterday) [22:31] ouch [22:32] beuno: What's the problem? [22:33] abentley, BB asks for a newer (or older) version of almost all the dependencies [22:33] pkg_resources.VersionConflict: (PasteScript 1.6.2 (/usr/lib/python2.5/site-packages/PasteScript-1.6.2-py2.5.egg), Requirement.parse('PasteScript>=0.9.7,<1.6')) [22:33] finding newer egg's for the other ones was fairly easy, finding *older* versions is turning out to be much harder [22:34] I find you have to hand-hack the URLs for PyPI. [22:34] RuleDispatch above revision 3201 was a tough one too [22:34] But I honestly was unaware of any issue. That PasteScript is not a dependency I deliberately put there. [22:34] Neither the RuleDispatch. [22:35] pkg_resources.VersionConflict: (RuleDispatch 0.5a0.dev-r2115 (/usr/lib/python2.5/site-packages/RuleDispatch-0.5a0.dev_r2115-py2.5-linux-i686.egg), Requirement.parse('RuleDispatch>=0.5a0.dev-r2303')) [22:35] This is all sounding suspiciously like *TurboGears* requirements, not BB's. [22:35] hrm [22:36] Have you installed Hardy's TG? [22:36] they are... [22:36] yes [22:37] keithy: so basically the problem is that loggerhead only really seems to expect branches to be directly in the repo [22:37] repo/ [22:37] repo/branch1 [22:37] something like that [22:37] repo/branch2 [22:37] keithy: you can sort of fudge around this by not using auto_publish_folder i expect [22:38] and it finds branches at a deeper level, but "moves" them to the top level [22:38] or by using it for each part of your repo or something [22:39] k [22:39] abentley, I've got /usr/lib/python2.5/site-packages/TurboGears-1.0.4.3-py2.5.egg/turbogears/ [22:39] i think you could say that the auto_publish_folders feature wasn't amazingly well thought out [22:39] So what are you doing that's triggering the demand for PasteScript. [22:40] abentley, starting BB. Although, traceback *is* from TurboGears [22:40] You don't have an old TG install do you? [22:40] in addition to the Hardy one? [22:41] abentley, let me check, but the traceback is coming from the path above [22:41] beuno: Please pastebin the traceback. [22:42] abentley, http://paste.ubuntu.com/13732/ [22:42] beuno: It doesn't look like you're starting BB. [22:43] abentley, I was running setup for BB there, but it's the same error [22:43] in fact, I get the same error while importing turbogears in ipython [22:44] so it's definetly not a BB problem... :/ [22:45] i think i'd look for out of date crap on $PYTHONPATH [22:45] beuno: Yeah, I've just double-checked and BB only specifies versions of TG, Elixir, SQLAlchemy and bzr. [22:46] mwhudson, I'm starting to suspect it has something to do with when I installed loggerhead :) [22:46] :p [22:46] eh, i wouldn't recommend actually _installing_ loggerhead [22:46] cleaning things up, installing them all over again [22:47] hi everyone [22:47] mwhudson, setup.py outdated? [22:47] are there features in bzr helping out in tracking refactoring ? [22:48] beuno: i haven't looked at setup.py once since i started maintaining loggerhead [22:48] mwhudson, aaah, good to know [22:49] (makes a lot of sense now) [22:49] beuno: perhaps i should have made it more obviously broken [22:49] oh actually i have looked at it [22:49] but only to get sdist to work [22:50] ok, yes, it was the loggerhead which b0rked everything [22:50] which reminds me, i should see if bzr 1.5 breaks loggerhead like i expected it to [22:50] oddly enough, for python2.5, if I run BB with python2.4, it works fine [22:51] mwhudson, I [22:52] I'd recommend breaking setup.py in a very obvious way :) [22:52] if things go well, I might end up packaging, so I guess I'll have to fix it eventually, but, for now... [22:55] and wa-hey, no python 2.4 on this machine yet eithr [22:55] oh er, or tg [22:57] is there a command similar to git log -p in bzr. which shows me a log but includes the diffs? [23:04] abentley, ok, cleaning up everything and doing clean installs worked. Thanks, and sorry for the noise [23:10] johan: that's a request already in launchpad [23:10] pickscrape: okay, that's good enough for me [23:15] beuno: No problem. [23:34] abentley, is there a specific problem you see in going from sqlite to postgre? I'm running a few quick tests now against MySQL, and I don't see many problems in the horizon [23:35] No, I don't know of any specific problems. [23:35] I just have all this data and no simple way to convert it. [23:35] abentley, that's good news, I thought I was missing something [23:36] I'll try and hack together a script that does it, and, when you send me the data, I'll run tests against it [23:36] I guess you should try exercising all the hardcoded queries, since that's most likely to differ. [23:37] once I get all the data over, I'll look into testing those [23:46] beuno: The other thing to try would be getting the test suite running under PG. [23:48] abentley, sure, sounds sane. I'm going to start with mysql, because it's what I know best, and will spend the less amount of time with trivial problems, but jumping to pg after that should be very easy