[00:00] krisives, no, bzr only stores it on the top level [00:00] andresj, I don't know what you want to do :) [00:00] my instinct is that you could use bzr-upload [00:00] Or a symlink? [00:00] to deploy your cahnges without a .bzr dir [00:01] bzr-upload? that sounds like it would do its job tremendously well [00:01] i have a production server, which has the constraints i talked about [00:01] andresj, yes, bzr-upload pushed the changes that have been made since the last revision [00:01] To ignore a directory do I do `bzr ignore dir/` or `bzr ignore dir/*` ? [00:01] then i have a development server, which is hosted in my own machine, so it doesn't have sch constraints [00:01] uses sftp or ssh [00:01] does bzr-upload need a .bzr dir? [00:01] (on the "to" side) [00:02] not remotely [00:02] it just stores the last revid uploaded in a hidden file on the remote end [00:02] ##awesome! :D sounds like a good candidate [00:02] hum... does that file need to be in the "root" of the remote end's repo? [00:02] Will `bzr ignore` remove it from version control, or do I also have to `bzr remove --keep dir/` ? [00:02] andresj, https://edge.launchpad.net/bzr-upload [00:02] ok, i'll check it out :D [00:03] andresj, it places it on the root of wherever you tell it to upload [00:03] hum... [00:03] but that's much easier to change [00:03] oooh [00:03] I can tweak that for you, I'm one of the authors ;) [00:03] soudns like a good candidate for a one-word deploy command!! :D [00:03] andresj, that's exactly what motivated it :) [00:04] beuno: lol it would be amazing if you could do that :D [00:04] andresj, do what? specify where you want to store that file? [00:04] beuno: yes. [00:04] it's just a text file with the revid, has no information [00:05] but I can easily add a switch that changes it's location (I think) [00:05] let me play with it for a bit [00:05] well i can play around with it; wouldnt want to spend too much of your time :D [00:05] andresj, if it's a one-off you can just edit the plugin [00:06] you can even make it upload automatically every time you commit if you want to [00:06] line 106 of __init__.py specifies where it stores the revid [00:06] that would actually be awesome. [00:07] decision: trunk or ubuntu .dev [00:07] * .deb [00:07] I'd go with trunk [00:07] same thoughts here :P [00:07] http://bazaar.launchpad.net/~bzr-upload-devs/bzr-upload/trunk/annotate/head%3A/README [00:08] that should give you a nice overview [00:09] wow, thank you so much! :-) launchpad should have manual "add karma points" option ;P [00:10] I have IRC karma I add on to manually ;) [00:10] lol well that i completely missed—am i not informed enough about these concepts? :P [00:16] I bought beer for a hacker once. That should also get me Lauchpad karma points. [00:22] lol [00:28] i think it should have a 'thanks' button [00:28] it's nice there is one in answers, but it should be everywhere [00:28] That was shot down. [00:28] maybe it could have a beer bottle icon, but that may give offence to some people [00:28] Just recently. [00:28] wgrant: really? :/ [00:28] Yes. [00:28] * wgrant finds the bug. [00:29] Bug 394076 [00:29] Launchpad bug 394076 in launchpad-registry "[feature] Add facility to say Thanks to launchpad users" [Undecided,Invalid] https://launchpad.net/bugs/394076 [00:46] i think we should reopen it [00:46] i don't know if it will get done soon though [01:04] self.upload_full_tree(): NotImplementedError [01:05] aaaah [01:05] no support for symlinks, right? [01:07] is that the bzr-upload plugin? [01:08] yes [01:09] I replaced raise NotImplementedError with continue; maybe i'll implement symlink support later :P [02:01] are there bzr binaries available anywhere? [02:01] (for linux) [02:02] mobodo, you mean ubuntu *wink* [02:02] actually, let me check, I'm not sure [02:02] The Pyrex bits are just for speed, aren't they? [02:03] mobodo, i assume you have looked at this page: http://bazaar-vcs.org/Download [02:03] wgrant, mostly confident that's correct. [02:03] wgrant: today, the C extensions are all optional, but *strongly recommended* [02:03] ah, right, I can extract from a ppa [02:04] wgrant: behaviour isn't identical without them, in particular data compression is reduced without the extensions [02:04] lifeless: Oh. [02:04] I see. [02:05] wgrant: for the record, not all the extensions are pyrex either [02:05] I feel dumb, I can't even find the linux flavour of my web server :P [02:05] uname -a should do it, right? [02:08] CentOS... oh my... [02:09] fedora RPM's may be the go for you [02:10] I'll try that... I need to install locally, so rpm will be easier [02:14] hmm ... what's a repository format that isn't going to be deprecated for a long time? [02:15] but isn't bzr-svn's default format either now or soon? [02:15] 2a [02:15] you see, I'm trying to write a blackbox test like jelmer asks for here: https://code.launchpad.net/~naesten/bzr-svn/408560-format-flags/+merge/9606 [02:16] SamB: we deprecate rarely. whats bzr-svn's current default? [02:16] I'm adding support for specifying the format for an "svn-import" [02:16] hmm ... [02:17] rich-root-pack [02:17] it seems [02:18] I think it actually uses default-rich-root, so whatever that points to at a given point in time... [02:18] morning all [02:19] fullermd: ah [02:19] well, I want a format that will be around for a while but definately isn't that in the future ;-) [02:21] SamB: 1.9-rich-root then [02:22] hi igc [02:22] thanks [02:22] hi lifeless [02:22] igc: better? [02:22] hi samb [02:22] you were sick, I believe? [02:23] SamB: still recovering but orders of magnitude better [02:24] SamB: I had some surgery last Monday (stoma reversal) that was meant to be a few nights in hospital but ... [02:24] SamB: things didn't go so well [02:24] ah [02:25] SamB: nothing a few days in intensive care, several bags of blood and a second operation couldn't fix though [02:26] SamB: so I'm tired & ticked off with the world but I'll get over it [02:51] igc: hi, so faster commit is this || close [02:51] lifeless: that's exciting - well done [02:51] igc: if you grab bzr+ssh://bazaar.launchpad.net/~lifeless/bzr/iter-changes-partial-parents and merge bzr+ssh://bazaar.launchpad.net/~lifeless/bzr/commit-specific-files [02:51] lifeless: I'll take a look when I get a moment [02:52] the two combined make specific and full commits the same speed for launchpad [hot cache] [02:59] lifeless: that's too bad [02:59] because there is no || in python [03:02] hold up your thumb and index finger close together [03:02] * SamB ;-P [03:02] anyway ... [03:03] it seems that 1.9 and 1.14 aren't distinguishable by "bzr info"? [03:04] 1.14 is only a new working tree format [03:04] ah. [03:05] so no-working-tree => indistinguishable :-) [03:35] * igc food === cprov is now known as cprov-zzz [03:52] 'bzr branch lp:mup' gets the "Absent factory" error (bzr bug #408251) for me. Wonder if it's my lp plugin? [03:52] Launchpad bug 408251 in bzr "ErrorFromSmartServer: Error received from smart server: ('error', "Absent factory for ('**')")" [Undecided,New] https://launchpad.net/bugs/408251 [03:54] * spiv -> lunch [03:57] kfogel: I see that error too, it's not a bug in your client [03:58] spiv: dang [03:58] kfogel: at a glance it looks like the remote branch is faulty. [03:58] spiv: I really want to get lp:mup, too. Thing is, my branch is not the same as the original one in the bug. CAn that many branches on lp be buggy? [03:59] kfogel: probably with the "classic" bug, not a new problem [04:00] kfogel: yes, please read the description of https://bugs.edge.launchpad.net/bzr/+bug/354036 [04:00] Launchpad bug 354036 in bzr "ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad" [Undecided,Confirmed] [04:00] kfogel: certainly the workaround (bzr branch nosmart+lp:mup) will work for you. [04:00] spiv: thx [04:00] spiv: huh ... why does that look so much like the "bzr send is broken with chk" bug? [04:00] spiv: do we think those two are dups? [04:01] bug #40825 and bug #354036 [04:01] Launchpad bug 40825 in linux-source-2.6.15 "Xubuntu Live CD doesn't boot right on laptop" [Medium,Invalid] https://launchpad.net/bugs/40825 [04:01] kfogel: maybe, I don't know. [04:01] Launchpad bug 354036 in bzr "ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad" [Undecided,Confirmed] https://launchpad.net/bugs/354036 [04:01] heh [04:01] I meant bug #408251 [04:01] Launchpad bug 408251 in bzr "ErrorFromSmartServer: Error received from smart server: ('error', "Absent factory for ('**')")" [Undecided,New] https://launchpad.net/bugs/408251 [04:01] spiv: ok [04:01] The difficulty is that that error is not a very precise symptom. [04:01] And the cause tends to be somewhat distant. [04:02] how does that relate to bug 393349 ? [04:02] i.e. a client with a bug does a push that appears to work, some time later someone else does a pull or branch and gets that error. [04:02] Launchpad bug 393349 in bzr "Bundle (bzr send) broken with --2a format" [Critical,Triaged] https://launchpad.net/bugs/393349 [04:02] Basically that error just means "a record that bzr expected to be there wasn't there" [04:03] And that might be because bzr is looking for the wrong thing, or because it should be there but wasn't pushed, etc. [04:03] maybe somebody should change AbsentContentFactory to give better AttributeErrors? [04:03] SamB: it's a related class of problem [04:04] SamB: (not sending enough data) [04:04] I'm saying that it should say something about *what* content was absent [04:04] Hmm, that's better phrased as "it's related because it's the same class of problem" [04:04] not just look like someone forgot to implement a method ;-) [04:04] Well, it does, mostly, it gives the key. [04:04] (in current bzr) [04:04] See kfogel's bug comment, for instance. [04:05] spiv: ah, that's basically what I meant ;-) [04:05] but maybe it should also give a clearer indication that AbsentContentFactories aren't expected to have ... whatever attribute? [04:06] kfogel: so, the fixer script from 354036 does find some missing inventories on lp:mup [04:07] kfogel: so your problem is almost certainly that bug. Unfortunately due to the way codehosting works it's not enough to have an owner of the branch run the fix script :( [04:08] spiv: (sorry, in another conversation, will check backscroll and catch up soon) [04:10] kfogel: summary: it's a dupe, and I've marked the bug as such. [04:11] * spiv -> really lunch. [04:12] spiv: ah great, thanks [04:49] * kfogel is away: sleep [05:15] igc, not urgent, but would be curious about your comments on https://code.edge.launchpad.net/~mbp/bzr/408193-hardlink/+merge/9567 [05:16] poolie1: sure. I certainly won't get it today though sorry [05:36] * poolie1 reading https://code.edge.launchpad.net/~jameinel/bzr/1.18-bundle-and-stack-393349/+merge/9334 [07:13] hi all [07:14] * fullermd waves at vila. [07:46] hi vila [07:47] hey igc, glad to see you here :) [07:47] vila: yeah - it's good to be back in the land of the living :-) [07:47] igc: I'm grumpy too this morning if that's of any help :-D [07:47] vila: :-) [08:12] Grumpiness is healthy. It shows that your mind is working well enough that you're not saddled with optimism or other such disorders. [08:22] fullermd: a set of well-placed optimism helps tho [08:28] Pshaw. Optimists are the people who put water in a glass so they can DROWN you in it. [08:32] fullermd: if i didnt have some optimism i wouldn't brother with the opensource work i do [08:32] fullermd: also i figured how to drown you with a drop of water [08:33] lifeless: around? [08:34] Oh, that doesn't require optimism. Just the conviction that everybody else is incompetent, and if you want something done right, you'll have to do it yourself 8-} [08:34] fullermd: oh, lol [08:35] fullermd: i get that surprisingly often [08:35] Arrogance is an excellent substitute for optimism, altruism, and various other alternate sources of gumption. [08:35] perhaps someone else may also be able to help. I need to merge a bzr branch which has been imported from git with a bzr branch that was imported from svn. lifeless recommended I use "bzr fast-export" and "bzr fast-import" but I haven't got those commands [08:35] I'm running bzr 1.17 - is there a newer version I need? [08:35] mdke: They're part of the fast-import plugin. [08:36] doh [08:36] fullermd: thanks! [08:36] fullermd: i dont like arrogance tho, it enables higher falure rate [08:37] Only if you're incompetely, like Everybody Else, see. It totally doesn't apply to Me. [08:37] * bialix tired to unpack zipped branches to do some work with them [08:37] hmm, I still don't have the command, having installed bzr-fastimport (0.0.1~bzr112-0ubuntu1) [08:37] how hard would be to implement zip transport or zip+ decorator [08:37] ? [08:37] fullermd: humans tend to fail, and tend to liet to themself about it [08:37] any hints? [08:38] aha, it's bzr-fast-export [08:38] Lying to yourself is ineffective. There are always other people around to remind you that you're doing it. [08:38] That's where mass murder comes into the picture... [08:39] next questions. lifeless said to use the -r parameter for the export, but bzr-fast-export doesn't seem to have such an option [08:39] spiv: around? [08:40] fullermd: when you are better than most people around your current location, they kind of aint in that position [08:40] mdke: I've got it in mine. The release/package may be Really Old. [08:40] hmm [08:40] mdke: Mine says "0.8dev", just pulled as a branch. [08:40] meh, so far i need the internet to get equivalent and/or better peers [08:40] bialix: yeah [08:41] bialix: what can I break^Wdo for you today? :) [08:41] fullermd: ok, I'll look for a newer version, mine seems to be coming from Ubuntu rather than the bzr ppa [08:41] spiv: I feel the need to write plugin to work with zipped branches, any hints? [08:41] bialix: as in a .bzr directory in a zip file? [08:41] spiv: what is better: zip transport (subclass of Local) or zip+ decorator? [08:42] entire branch inside zip, yes [08:42] Hmm, I think a new transport. [08:42] fullermd: there is a newer version in Ubuntu Karmic, I'll try it there. Thanks again for your help [08:43] Otherwise what would get_transport('zip+file://....').clone('foo') mean? [08:43] Does that mean a new zip file, or would it mean a new file inside a zip? [08:43] spiv: I guess I want read-only transport [08:44] I think you need more like "zip:///path/inside/zip" [08:44] * bialix upgrade to ff 3.5.2, sorry if I'll disappear for a bit [08:44] Or possibly create a ZipServer along the lines of ChrootServer [08:45] (So URLs like zip-111111://... that are just in-process names for an already-open zip file) [08:45] * bialix back [08:46] spiv: escaped url? [08:46] 17:44 < spiv> Or possibly create a ZipServer along the lines of ChrootServer [08:46] 17:45 < spiv> (So URLs like zip-111111://... that are just in-process names for an already-open zip file) [08:46] I think that would be a better option. [08:47] I don't understand === Noldorin___ is now known as Noldorin [08:47] in my imagination I'd like to work from command line as: bzr pull zip://path/to/archive.zip/branch/inside/zip [08:47] Well, it depends a bit on exactly how you want it to work... you want to be able to do "bzr branch http://.../somefile.zip foo" [08:48] Hmm. [08:48] I think valid URL for branch inside zip could be zip://path/to/archive.zip/branch/inside/zip [08:48] so path/to/archive.zip is actually zip file [08:48] Ok, that works, but only for local paths obviously. [08:49] If you're fine with that restriction then go for it. [08:49] yep, that's why I've asked about zip+ decorator [08:49] (zipfile://... might be clearer?) [08:49] Or rather, it works with some hackery. [08:49] zipfile? maybe it is, but longer to type [08:50] You can't just look at the URL you propose and know what the path to the zip file is. [08:50] yes, I guess I need to introduce some restrictions [08:50] Which is why I proposed a scheme more like http [08:50] Where you have a netloc (host) and a path. [08:50] or use different URL scheme, as discussed with colocated branches [08:50] what is netloc? [08:51] jargon for the "host" part of "http://host/foo", roughly. [08:51] ok, I understand [08:51] but no, it will complicate of usage [08:51] So, zip://path%2Fto%2Farchive.zip/branch/inside/zip, for an ugly example. [08:52] it's really ugly [08:52] Yep. [08:52] and I can't use tab-completion then [08:52] I can try to find zip file recursively, trying to open path/to/archive.zip/branch/inside/zip, then path/to/archive.zip/branch/inside etc [08:53] I think there's a better way. [08:53] once I found zip file I'll use remainder as relpath inside zip === Noldorin___ is now known as Noldorin [08:53] what about read-only? [08:54] is it declared somehow or I just need not to implement write methods? [08:54] bialix: I think implementing a ZippedBzrDir would actually work better. [08:54] why? [08:55] bialix: then plan paths and URLs would Just Work, no new URL syntax in the UI necessary [08:55] ah, and I can reuse std probing? [08:55] hi Gary! [08:56] Hi [08:56] And you won't have this friction with probing in a transport, which in your proposal you'd either be redoing *lots* or doing a hack to share state between Transports, which are mostly stateless. [08:56] spiv: ZippedBzrDir will be enough? or I need ZippedBzrBranch as well? [08:56] Right. [08:57] Well, if I were to implement this, I'd make a ZippedBzrDir and then a ZipTransport/ZipServer [08:57] perhaps I need to look at bzr-svn/bzr-git to see how they implement foreign formats [08:57] I don't undertsand [08:57] what is ZipTransport/ZipServer? [08:57] The ZippedBzrDir would probe the transport it is given, and if it finds a zip file, [08:58] garyvdm: can you look at failing test? [08:58] then it would create a ZipServer object (which gives you a single place to open/close the zip file, and possibly do some caching), === Noldorin_ is now known as Noldorin [08:59] spiv: is there example of doing so? [08:59] (the ZipServer would be backed on to the real transport) [08:59] spiv: it sounds a lot like black bzr magic [08:59] bialix: The qbzr treemodel test - yes - it will be easy to fix. I'll do it tonight. [08:59] bialix: Sorry - I have been very busy with other things. [09:00] And then construct a ZipTransport from the ZipServer, and then pass *that* back into regular BzrDir.open_from_transport [09:00] garyvdm: we need to release qbzr in sync with bzr [09:00] spiv: oh [09:00] bialix: take a look at ChrootServer (and bzrlib.smart.server's serve_bzr function) [09:01] But the ZipTransport here wouldn't be something that could be directly constructed from a URL from a user (just like you can't just pass a chroot:/... URL on the command line). [09:02] bialix: if you look at ChrootServer it's a very simple class, and I imagine your ZipfileServer would be pretty simple too; basically just an object to hold an opened zipfile. [09:03] * bialix looks at ChrootServer and serve_bzr [09:03] (like how ChrootServer is basically just an object to remember what the backing transport is, regardless of any t.clone('..') etc done on the individual transport objects) [09:03] chroot_server = ChrootServer(transport) [09:03] chroot_server.setUp() [09:04] transport = get_transport(chroot_server.get_url()) [09:05] Right. [09:05] I'm not quite understand how it prevents of clone('..') [09:06] transport there will be an instance of ChrootTransport [09:06] mdke: hai [09:06] * igc dinner [09:06] so, should I subclass Chroot(Server|Transport) for Zipped*? [09:07] Which implements every method of Transport by first checking the path is safe (see ChrootTransport._safe_relpath), and then calling self.server.backing_transport. [09:10] I wouldn't subclass Chroot* for you. [09:10] just reimplement the logic? [09:10] Yeah. [09:10] last question: how can I force read-only? [09:10] I suppose if you subclassed just ChrootTransport you'd be able to reuse all the shim methods... but it's not a very good fit. [09:10] For that I'd just use the readonly+ decorator, I think :) [09:10] oh, I found [09:10] is_readonly method of transport should do [09:11] so, I have two ways for my plugin: do only zip:// transport, or going hard path and implement ZipBzrDir, Server, Transport [09:11] For the implementation of write methods like mkdir just raise TransportNotPossible("readonly transport"), just like ReadonlyTransportDecorator does. [09:12] Personally, I think the latter is actually the easy path :) [09:12] Because otherwise you're going to be fighting the design of bzrlib.transport rather than working with it. [09:12] TransportNotPossible: ok [09:13] (and return False from is_readonly, of course, as you've noticed) [09:14] maybe you're right about easy path, I need to experiment with Server a bit [09:15] spiv: thanks for the hints, I'll try to play with it [09:15] Another example of the Server/Transport pattern is MemoryServer/MemoryTransport. [09:17] ok === Noldorin_ is now known as Noldorin === Noldorin_ is now known as Noldorin [09:52] Hi - Any advice on how I should respond to this: http://paste.ubuntu.com/247031/ ? [09:55] is it worth responding to? [09:56] convincing somebody that version control is useful can be tough [09:56] luks - yes - I have to collaborate with this guy on a website... [09:57] In cases like this, I like to use swearing... [09:57] garyvdm: How does he plan to keep track of change? [09:57] At the moment, I'm commit his changes on his behalf. [09:57] jpds: He doesn't [09:58] garyvdm: I'm windows box person [09:59] does my words as former windows maintainer will help? [09:59] I think the problem here is VCS in generally, not bzr specificially [09:59] *general [09:59] bialix: The windows issue is easy to deal with. [10:00] It the "why vcs?" issue that is hard. [10:00] I don't understand what is windows issue here [10:00] *It's [10:00] bialix: FUD [10:00] call vcs as automatic backup [10:00] that's all [10:01] Ask him how *he* plans to deal with merging changes when you are both doing work simultaneously, and then point out how VCS would make that so much easier? [10:01] maxb: Yes [10:01] make him screw up something, so he needs an older version :P [10:02] Or just keep on overwriting his changes... [10:02] I've used that technique with some success. [10:02] Though usually, the response ends up being an endless stream of commits with no log messages, and/or the log message "This week's work" every Friday at 16:55. [10:02] And ask him how he would deal with discovering that a mysterious subtle bug was introduced some time ago, and explain about bisecting :-) [10:03] fullermd: better than nothing [10:03] one step at a time :) [10:03] maxb: That will just go straight over his head... [10:03] oh dear [10:03] Yeah, the response to that will be "Who cares where it came from? It's there now, so fix it." [10:04] fullermd: you talk about backup or overwriting changes? [10:04] bialix: Overwriting. [10:04] Or, you can keep checking it in for him. And billing him for the time you spend doing so. [10:18] This is what I'm sending him: http://paste.ubuntu.com/247060/ [10:23] there is always enough lights to one who want to see, and enough darkness to one who don't === Noldorin_ is now known as Noldorin [11:06] heh [11:06] http://crossonline.blogspot.com/2009/08/howto-version-control-using-bzr.html - comparing bzr to rcs === Noldorin_ is now known as Noldorin [11:12] anyone have any experience with bzr-keywords? Not sure how to get it working [11:14] Installing the plugin and enabling the filter got it working for me. [11:14] Shortcomings in filtering make it less than useful, though. [11:14] I guess you need to use 2a format to enable filtering? [11:15] 1.14 [11:15] (2a includes the new WT format too of course) [11:15] hmm [11:16] I setup some rules in ~/.bazaar/rules, but that didn't seem to do anything [11:16] and put a keyword in a test file [11:17] How are you checking that it does anything? [11:17] committing various changes to see if it updates the placeholder in the file with the revision info [11:17] That's one of the filter problems rearing its head. Commit will never update them (expand if they're collapsed, or update if they're already expanded) [11:18] If you make a new 'branch' of it, they'll be expanded there. [11:18] ah I see [11:18] With a branch igc has on LP, they'll be updated on 'pull' too. [11:18] Still not commit (or, I think, merge either) [11:18] yep you're right, branching expands the keyword fine [11:18] revert also won't touch 'em. [11:18] that's annoying [11:19] Well, that's why I say "yes it works" and "less than useful" in the same breath :) [11:19] I can see why :) [11:19] (and of course you can't test whether 'checkout' actually expands them either, since the default format doesn't include rules, and checkout still doesn't have a --format so you can tell it which WT format to use) [11:20] bah [11:20] is this a known issue or worth raising a ticket for on LP? [11:21] Well, there's bug 385879 [11:21] Launchpad bug 385879 in bzr "EOL filter only applied to files when first checked out" [High,In progress] https://launchpad.net/bugs/385879 [11:21] ah thanks [11:22] The title on that is slightly misleading, since it's really a filter bug, not an EOL (or keywords, for that matter) bug. [11:22] I'm guessinf the filter stuff is what's causing the expansion/collapsing problem though [11:49] is it correct that `bzr rm` without arguments does not throw error? [11:52] I'm pretty sure that goes through the tree and explicitly sets removed status for missing files. [11:53] ok [12:27] hello vila === Xavura is now known as Xavur[a] === Noldorin_ is now known as Noldorin === Xavur[a] is now known as Xavura [12:42] has anybody ever done a local/user install of bzr? [12:45] oh, nevermind, it's on the faq :) [12:45] hmmmpfr, except that I need gcc to compile and I don't have access to it.. [12:48] You don't *need* the gcc IIRC [12:49] it just makes things go faster if you can compile stuff [13:01] that's true [13:01] it is much better with it though [13:02] poolie1: just back from my lunch break ! [13:04] pqm seems to be jammed, i just asked on #is [13:16] hmm, appearantly renaming things is a quite pleasant operation on a memorytree, not so far for all the other things [13:18] jelmer: you got any example for stuff like recording rename+content_change in subvertpy, the svn api is still like a black box to me [13:18] ronny: Rename is a copy + delete, there is no separate operation for that [13:19] I'll see if I can update the example to do a simple content change [13:21] hmm, and i guess i'll have to invent something that records changes on one of my trees so i can do my own magic on each of the vcs's [13:26] ronny, updated example pushed [13:38] vxnick, fullermd: I really hope to take a look at the content filtering bugs this week or next [13:38] igc: excellent :) [13:38] that'd be much appreciated [13:44] xvnick, fullermd: I had planned to a week or so back but had some distractions (doc site upgrade) for a few days and then was off last week for medical reasons === mrevell is now known as mrevell-lunch [13:51] how can I add a user to a project on launchpad? [13:51] igc: understandable :) Will bzr-keywords then expand placeholders upon commit, etc, so we can see them in our local copy? [13:52] vxnick: ask me again when I'm awake :-) [13:52] np ;) [13:53] vxnick: seriously, if you put a bug report in explaining exactly what you expect, that's the best way for me to asynchronously respond [13:53] ... in a considered way [13:53] igc: fair enough, I'll stick a report, thanks [14:03] is it possible to list the content of a remote branch? [14:05] mobodo: bzr ls ? [14:29] I've branched from a main branch and made some changes. I've committed to my branch. How can I now merge back to the other one, whilst retaining my whoami info? === Edwin is now known as Guest81640 === Guest81640 is now known as EdwinGrubbs [14:40] merge does not change your whoami info [14:50] bialix, ah, it was because I did a selective merge for a particular revision [14:50] it's called cherrypick [14:51] that's the one [14:51] so I cherrypicked to a different branch, then merged from that [14:51] bzr has no good support for this [14:51] I'm using replay command from bzr-rewrite plugins (former bzr-rebase) [14:52] instead of cherrypick you can rebase/replay your revisions [14:52] this is ok for me - I've got one main working branch, but many of those changes aren't fit for the main trunk [14:52] I'll look that up [14:52] CaMason: do you aware of DAG concept? [14:52] nope [14:53] I'd recommend to read DaggyFixes document from monotone [14:53] great - will do [14:53] after I've started to practice this method my cherrypicks went much better [14:54] this is what I've just done, right? [14:54] I'm not sure what you done [14:54] ah it kinda is [14:55] no, cherrypick to other branch and then merge -- it's like replay works [14:55] that's what I did :) [14:55] DaggyFixes require you to branch not from the tip revision, but from the point where branches have diverged or earlier [14:56] http://www.monotone.ca/wiki/DaggyFixes/ [14:56] this is what I'm reading [14:56] good - I'm pleased with my ad-hoc decision [14:57] the recommended install method for bzr on RHEL is to use the EPEL repo ..but it installs bzr 1.3.1! [14:57] is there a repo with a more current version ? ...i mean whoa ..thats dusty [14:58] CaMason: as you like [14:58] this document looks very useful as-a-whole, bialix [14:59] yes, it is [15:10] Hi guys, I'm having problems cloning. The three repos I've tried just seize up midway. The current one I'm waiting on says "Copying inventory texts:Copied record 262/294" Is there some way to get more info about what is going wrong? [15:10] This happens with repos on lp like fastimport and elsewhere like the one at bugseverywhere.org . Perhaps this is a known problem with high latency connections(3G in my case) and there is some workaround. [15:11] vila: jml has suggested that you are interested in bugs like 'bzr status' on an OOD condition resulting in a corrupted branch that I can no longer run 'bzr status' on even after cleaning up some space :) [15:12] ah, which james_w informs me is probably 131111 [15:12] (bug #131111) [15:12] Launchpad bug 131111 in bzr "Dirstate breaks when updating disk with no free space" [High,Confirmed] https://launchpad.net/bugs/131111 [15:13] slangasek: I wonder why jml said that :-) But what means OOD ? [15:14] vila, mostly because I know you like hard problems & are awake :) [15:14] jml: haaa, I see :) [15:14] vila, OOD = out of disk [15:15] So, if enough space if available now, I'm pretty sure there is a dirty trick to trigger rebuilding the dirstate file, I just don't remember it right now :-/ [15:16] yeah, I just walked Steve through it [15:16] We should really have one official way to force rebuilding it, even as an hidden command [15:16] james_w: care to refresh my deficient memory ? [15:16] it's non-obvious though, as you can't even branch it due to the code to read from the working tree if it exists [15:16] mv .bzr/checkout /tmp [15:17] bzr branch . ../temp [15:17] mv ../temp/.bzr/checkout .bzr/ [15:17] ha yes ! Rebuild a decent dirstate file and then copy it back ! [15:17] james_w: thanks [15:17] np [15:27] vila: out of disk [15:27] right, laggy brain [15:27] slangasek: yeah, jml translated already, you're out of trouble no right ? [15:27] slangasek: yeah, jml translated already, you're out of trouble now right ? [15:27] yeah, the whole reason I was running 'bzr status' was to see whether I could throw it away to free up some more disk space ;) [15:28] so it's all done now, thanks [15:28] hmm, yeah, I hate those moments.... [15:31] "vila, mostly because I know you like hard problems" -- this remind me about one TV serial with Gregory as main character. but I know that vila is not Greg. (it was supposed to be a joke) [15:32] bialix: :-) Unfortunately I know no TV serial with Gregory as main character, any url ? [15:32] vila: hi btw, I'm sure your vacation was great [15:32] House M.D. [15:32] LOL, Dr House ! Oh yes, thanks for the comparison :-) [15:33] Now I can be grumpy for a good reason :) [15:33] :-) [15:33] I was grumpy about your push --strict, and you just in time going away, so you can't hear my scream [15:33] good afternoon vila, good to see you around again [15:34] jam: hello [15:34] hi bialix [15:34] jam: we discussed bundling image plugins for Qt into bzr.exe installer. now I have patch [15:35] bialix: yeah, I saw that. I was trying to grab a copy of your branch and test it, though I got side-tracked by about 50 other bug reports :) [15:35] np, though will be nice to have it merged before 1.18 is out [15:36] I'm almost done with my mail backlog and I saw the threads about push --strict, 1) I'm surprised you don't get the mails related to the merge proposals, 2) I thought (and still think) that adding a config variable is a small price for any power user (and power users should read NEWS :-P) [15:36] jam: good morning ! [15:36] jam: I'm not sure how it collides with recent zc.buildout work you and sidnei done [15:36] bialix: shouldn't conflict much. the zc.buildout stuff is just a wrapper around calling 'setup.py' [15:37] vila: well, i think such big change deserve big red flashing news! but there was not big [15:37] jam: I hope we can soon plug kerguelen into my buildbot master [15:37] bialix: I really thought power users rarely encounter the context of pushing with uncommitted changes, really [15:38] vila: I think you need to talk to sidnei_ about that [15:38] I thought it was "real close" [15:38] since he has one running himself [15:38] vila: http://buildbot.sidneidasilva.com/waterfall [15:38] vila: I disagree [15:38] I thought so too two weeks ago :-/ [15:38] though that is running a bit slow today [15:39] vila: anyway, I found good solution for qbzr now [15:39] bialix: I saw that and that's why I didn't answer to the thread [15:40] bialix: and, indeed, since there is an interaction, it's better to ask the user [15:40] yes [15:40] sidnei_: ping, already there ? [15:41] jam: is it possible to make mysql's file commit messages a bit more "official" [15:41] ? [15:41] vila, just woke up *yawn* [15:41] sidnei_: have a coffee and come back later then :-) [15:42] vila, more like lunch actuallly, slept too much, its 11:40 now :) [15:42] jam: maybe bzr can introduce new (hidden) command-line option for commit to have the way to provide custom revision data to commit? [15:42] sidnei_: do you have an ETA for creating a new buildbot slave that can be plugged in my master and the needed associated master modifications ? [15:42] vila, wouldn't we use kerguelen for that? [15:43] sidnei_: yes, a slave on kerguelen [15:43] sidnei_: that's where your slave for http://buildbot.sidneidasilva.com/waterfall is right now, yes ? [15:44] vila, yes [15:44] instead of switching the exisintg slave to the new master, I thought creating a new one will be eaiser [15:44] bialix: I think something like that would be ok. I think it would be difficult to figure out how to pass things in appropriately. [15:44] I think you want to inject enough data that just passing it on the command line would be insufficient [15:44] jam: bencode? [15:44] so you probably need a separate file [15:44] with a specific formatting [15:44] bencode would be ok [15:45] though I still think it is *terrible* for human consumption [15:45] json? [15:45] I think I would prefer a rio formatted file [15:45] we don't use json anywhere else in the code [15:45] so I would avoid that *for now* [15:45] ok [15:45] I don't used it either [15:46] I prefer json to bencode, but that isn't what we use *today*... [15:46] I mention bencode because it good candidate to put things in command-line [15:46] and I don't think we are going to convert everything over to it [15:46] bialix: sort of, but remember again that it would be awful if you wanted to type any of that [15:46] vila, different from real life, buildbot slaves can have many masters *wink* [15:46] I don't know how they compare re speed [15:46] also, per-file messages are likely to have "\n" in them [15:47] bialix: json has fast C parsers available for python, and they are even bundled in 2.7 or 3.X or something [15:47] ah, ok [15:47] simplejson is a nice python package [15:47] * bialix sticks with 2.5 for C-extensions and py2exe reasons [15:47] jam: I don't think json supports recording binary data, which is one thing bencode does. [15:48] sidnei_: huh ? I think the buildbot.tac defines the slave and contains the master adddress, no ? [15:48] abentley: I'm pretty sure you can, though you may have to escape it with base64 [15:48] certainly I've done raw dumps w/ py_memory_dump into json [15:48] vila, yes, but you can run multiple instances of buildbot.tac [15:48] jam: base64 is a way of recording binary data in formats that don't support binary data :-) [15:48] sidnei_: well, that's what I call a slave then :) [15:49] abentley: so I didn't use any specific hacks (that I can remember) in py_memory_dump [15:49] sidnei_: as opposed to the host running the slave I suppose [15:49] abentley: ah, I use the "Unicode escape sequence" to format the output [15:49] if (c <= 0x1f || c > 0x7e) { // use the unicode escape sequence [15:49] fprintf(out, "\\u00%02x", ((unsigned short)c & 0xFF)); [15:49] vila, what you mean by that? [15:50] abentley: so it seems to work for my purposes... :) [15:51] so yes, you need to escape binary data [15:51] one way or another [15:51] on the plus side, json natively supports unicode types, which bencode does not [15:52] sidnei_: by what ? [15:53] vila, "as opposed to the host running the slave I suppose" [15:53] sidnei_: I think the point is that if you have to run *another instance* that is *another slave* [15:53] even if it is on the same machine [15:53] * vila just loves jam :) [15:54] jam, correct. but of course i will be shutting my master down when we switch to vila's so we only need one [15:54] sidnei_: sure, my point was just to allows both slaves to exists during the transition [15:55] hmm, how does one "install" dulwich from lp? [15:55] Tak: bzr branch lp:dulwich dulwich; cd dulwich; python setup.py install ? [15:55] with maybe a 'sudo' in there as needed [15:56] cool, thanks [15:56] vila, sure. [15:56] * sidnei_ figures out lunch now === sidnei_ is now known as sidnei [15:57] bialix: what version of PyQt is your patch supposed to work with? [15:57] so far, it doesn't look like it is finding my imageformats [15:57] but I'm still investigating [15:58] jam: 4.4.3 [15:58] jam: you said you have upgraded to 4.4.3 [15:58] is there a difference between that and 4.4.0? (that you know of?) [15:58] On kerguelen I'm pretty sure it is 4.4.3 [15:58] I have 4.4.0 locally [15:58] easier to test locally [15:58] I'm not even getting a warning, though [15:58] in earlier versions of 4.4.x (artleast I saw it with 4.4.1) PyQt4 was installed in different folder === Noldorin_ is now known as Noldorin [15:59] jam: can you look into C:\Python25\PyQt4 ? [16:00] does it have plugins folder? [16:00] bialix: right, so I think that is what I'm seeing. I have both C:\Python25\Lib\site-packages\PyQt4 (which is where 'import PyQt4" comes from [16:00] *and* I have C:\Python25\PyQt4\ [16:00] which is where "plugins\imageformats" lives [16:00] ok, I can check both locations [16:00] but I can't test it [16:00] I'll look at kerguelen [16:00] because I have no older pywt [16:00] *pyqt [16:01] sidnei, vila: Are you connected to kerguelen right now? [16:01] I'm getting "cannot connect" errors [16:01] which is different from "cannot log in because there are too many users" [16:01] I believe I left a connection running because my network died overnight... [16:01] jam: not connected [16:01] jam, no, im trying to get lunch :) [16:02] sidnei: go eat then, and stop bothering me :) [16:02] (or stop being bothered by me?) [16:02] sidnei: go go go, and come back before I quit myself :) [16:02] bialix: so one question. Why are you setting "os.environ['PATH']" ? [16:03] so that py2exe can find the dlls during build time? [16:03] jam: I'm not [16:03] os.environ["PATH"] = path + os.pathsep + qt_dir [16:03] that is setting the path [16:03] jam: I think this code has written by Mark Hammond [16:04] and it supposed to workaround PyQt 4.4.1 issue with different install paths [16:04] oh [16:04] I think I remember the same (bad) layout of PyQt even in 4.4.2 [16:04] I've stuck with 4.3.1 because it was much simpler to deal with [16:05] now 4.4.3 is the best option IMO [16:05] jam: I'm in process to tweak the search code [16:05] bialix: you can wait, and I'll get it working here first, if you prefer [16:05] since I have an actual test case :) [16:06] I can wait or write some code [16:06] it will cost the same amount of time [16:06] just wait, I think I know what to do, and I can quickly know if it actually works [16:07] actually I'm already write [16:07] wrote [16:07] and now I can wait [16:09] jam: Mark has written that code, revno 3565.5.6, year ago [16:09] jam: I've made it optional, because newer PyQt (4.4.3) does use different install layout === phinze_ is now known as phinze [16:16] bialix: have you tested that it finds imageformats after building and installing? [16:17] (I want to make sure we are installing it where pyqt is going to be looking for it.) [16:17] jam: yes, I'm working with such configuration right now [16:17] pyqt looks in the same directory where exe resides either for plugins or qt.conf where path to plugins set [16:18] I've decided to avoid creating qt.conf [16:18] although with qt.conf we can put imageformats into lib/ [16:19] but I don't think it makes too big difference, really [16:19] if we start to bundle more additional pyqt stuff, then it will be better to put it into dedicated folder and create valid qt.conf [16:20] bialix: where does qt.conf need to reside? [16:20] in 'Bazaar/' or in ~user files? [16:20] in the same folder where bzr.exe is [16:20] in Bazaar/ [16:20] vila: so... from my home machine, I can log into kerguelen's control page, but I can't get to kerguelen itself [16:21] I can ping the ip address [16:21] but DNS isn't resolving the 'hosting24' domain [16:21] ... :( [16:21] jam: I have tweaked my code to be PyQt 4.4.0 compatible [16:21] bialix: so have I ... :) [16:21] I can commit and push it if you like [16:22] well, it should work now with both 4.4.0 and 4.4.3 [16:22] jam: err, does that mean that the setup is even worse than before ? [16:22] bialix: so I tweaked the discovery process, etc here: lp:///~jameinel/bzr/bzr.exe-qtimages [16:22] vila: well, I was able to connect to kerguelen *last night* [16:22] so I'm not sure what is going on this morning [16:23] * bialix pulls [16:23] jam: don't look at me, I didn't even try to connect there :-) I just said I wanted a slave there, I'm not sure that counts :-D [16:24] hmm... so it seems nslookup on kerguelen.hosting24.com.au works, it is a problem with nslookup hosting24.com.au that fails [16:24] and I seem to just not be able to connect to that IP address [16:24] I might reboot the machine [16:25] vila: can you try connecting? [16:25] Before I restart, I want to make sure it isn't a problem on my end [16:25] jam: gee, I can try, but I have to find the instructions back first [16:26] jam: +1 on your tweaks [16:26] vila: rdesktop kerguelen.hosting24.com.au [16:26] I believe [16:27] ERROR: recv: Connection reset by peer [16:27] I can ping it though [16:28] but not the domain [16:28] right, so it sounds the same as here [16:28] I'll just restart it... [16:28] hopefully everything comes back up correctly [16:34] with a commit for pending merges, what's the best type of comment? [16:35] CaMason: personally I like summary messages [16:35] of the basic shape of what was merged [16:35] sounds like a plan to me [16:35] I'll do that [16:39] if the host where my parent branch is stored changes how can i make bzr remember the new location? [16:39] etank: "bzr command --remember" usually [16:40] bzr push --remember [16:40] bzr pull --remember [16:40] etc [16:40] thanks jam === Noldorin_ is now known as Noldorin [16:53] I've used both, but are there any real differences between branches and checkouts? [16:53] I'm never quite sure which to use for various things [16:57] I'm having trouble setting up a bzr smart server through apache with fastcgi. I'm getting JailBreak errors and I'm not sure how to go about fixing it. (bzr 1.18dev, python 2.6.2) [17:05] bialix: submitted to pqm [17:06] darkadept: bug #348308 [17:06] Launchpad bug 348308 in bzr "Smart server jail breaks bzr+http with shared repos" [High,Triaged] https://launchpad.net/bugs/348308 [17:07] jam: thx a lot [17:07] vila: I can connect again, now that kerguelen has been restarted. [17:08] ubottu: thanks. the last comment on that bug has a little patch... i've tried it i'm not quite sure where to put it [17:08] Error: I am only a bot, please don't think I'm intelligent :) [17:09] jam: seems better here too (I get the login prompt) [17:09] darkadept: the comment says to add it to the "bzr-smart" scritp [17:09] script [17:09] jam: hmm i did but it didn't seem to do anything [17:10] I just appended it to the bottom of the script [17:10] darkadept: I don't really know. But I would make sure that you restart apache, etc to make sure any cached scripts have been reloaded [17:10] as a monkeypatch it probably just needs to be in the script [17:10] jam: hmm ok i'll try [17:13] hmm nope. well i guess i should wait until the bug is fixed. would installing a previous version of bzr fix it? === allenap` is now known as allenap === kiko__ is now known as kiko-phone === beuno is now known as beuno-lunch === deryck is now known as deryck[lunch] [17:53] hello [17:53] i'm having trouble getting bzr to push to a server with no CHMOD command [17:53] firstly, is it possible? [17:55] http://pastebin.ca/1518108 [17:55] that's my error log [17:56] Noldorin: I don't see any fundamental reason why you couldn't ... [17:56] SamB: bzr seems to be locking my repo as i push though [17:56] whenever i push [17:56] as you can see in the error message [18:00] what is bzr doing complaining about a lock it *created* while pushing? [18:00] hmm [18:01] I don't know -- what I mean is that it should be possible, by changing the code, to make it work [18:02] SamB: ah right fair enough [18:02] which surely is a better state of affairs than "can [18:02] 't possibly be made to work" [18:03] like, say, pushing to your cat or dog would be ;-) [18:03] though not quite as well as i had hoped... [18:03] heh [18:03] SamB: strange thing is that i think i succeeded earlier [18:03] on the same server [18:03] somehow [18:05] how much earlier ? [18:06] SamB: no longer than a week ago [18:06] 5/6 days maybe [18:10] same version of bzr, or a different one ? [18:11] same [18:13] Noldorin: I think bzr thinks it failed to create the lock, assumes that was because another lock was in place, and then tells you about the "other" lock. [18:13] abentley: that sounds like it might well be the cause [18:13] abentley: any workaround you might suggest? === Pilky_ is now known as Pilky [18:24] I can't find any specs that mention "site chmod"... === deryck[lunch] is now known as deryck [18:59] today I have encountered a criss-cross merge [18:59] it's an exciting milestone! [19:00] the default merge gives me 5 conflicts, lca gives me 1 conflict, weave gives me none [19:00] should I feel OK using weave? :) === EdwinGrubbs is now known as Edwin-lunch [19:05] dash: have you inspected the outcome? :) [19:11] LarstiQ: that sounds too hard. :) === beuno-lunch is now known as beuno === Edwin-lunch is now known as Edwin === Edwin is now known as Guest17201 === Guest17201 is now known as EdwinGrubbs [20:06] Do we know who packages bzr for backports.org (Debian) ? [20:07] Ah, looks like jelmer... :-) Context: I'm trying to get savannah.gnu.org to upgrade to 1.17, so we can switch Emacs over to Bazaar on the new 2a format. However, savannah (quite sensibly) only wants to run packaged bzr. [20:08] They explain this in an old ticket: https://savannah.gnu.org/support/index.php?106612#comment2 [20:08] kfogel: hi [20:08] LarstiQ: ^^ (see backscroll) You and jelmer help package bzr for backports.org? [20:08] hey jelmer [20:09] jelmer: I'm wondering if we can get bzr 1.17 backported for Debian. [20:09] I'm not ware of concerted backporting efforts [20:10] kfogel: Yeah, we should be able to get a new version on backports.org [20:10] kfogel: (fwiw I've only done the original packaging, not the backports to stable) [20:11] LarstiQ, jelmer: ah, I just saw your names listed at http://packages.debian.org/lenny-backports/bzr [20:11] jelmer, should I do anything more to make this happen, or are you now tugging on the marionette strings (or whatever the right metaphor is)? [20:13] * LarstiQ can help with packaging on Lenny [20:13] But I don't know how backport works upload wise [20:14] I'm in the keyring so should be able to upload [20:14] LarstiQ: Hmmm. How about I send an email to the group of packagers, including you and jelmer. I imagine that between everyone, all the necessary skills / accounts / whatever are there. [20:15] oh wait, maybe the two of you have everything needed between you? :-) [20:16] apparently :) [20:16] kfogel: would it be ok if I do that tomorrow? (wednesday is my day off) [20:20] bzr one liner challenge! "total SLOC @ a given revision" ;) [20:21] depends on the definition of S [20:23] phinze: bzr export -r rev | sloccount, or something like that [20:26] LarstiQ: NO. YOU MUST DO IT IMMEDIATELY, OR THIS WILL GO ON YOUR PERMANENT RECORD. YOU HAVE BEEN WARNED. [20:26] :-) [20:27] oh. ok. [20:27] * kfogel is glad we've got that cleared up [20:28] jelmer: I has a patch for you: lp:~naesten/bzr-svn/hackz [20:28] (it just adds a docstring) [20:33] kfogel, :-) [20:33] SamB, thanks [20:34] jelmer, LarstiQ: may I add a comment to https://savannah.gnu.org/support/index.php?106951 that you guys are working on this? [20:39] kfogel, yeah, np [20:41] jelmer: thanks. I'll wait to hear from LarstiQ too; don't want to put him out publicly for something without explicit confirmation. [20:41] SamB, It'd be useful if you could also document the parameters [20:41] jelmer: hmm. [20:41] SamB, that seems like it's actually the bit you can't get from the implementation so you'd be most interested in [20:42] SamB, The fact that a method called make_repository() creates a repository seems kindof obvious :_) [20:42] jelmer: well, yesterday I must have been dense [20:42] kfogel: I don't specifcally mind, but for me your energy would be more useful to check in on me tomorrow [20:42] jelmer: yes, but what *kind* is less obvious [20:42] * LarstiQ jots it down on his todo list [20:43] LarstiQ: these things are not mutually exclusive. I will check in with you tomorrow too. What time zone are you in? [20:43] jelmer: I see btw you released bzr-svn 0.6.4 [20:43] kfogel: In that case, excellent! CEST / UTC+2 [20:44] jelmer: so ... how does one document parameters that aren't named in the code? [20:44] LarstiQ: *nod* Okay, it will probably be your early or mid afternoon when I get online. [20:45] SamB: :param foo: [20:45] kfogel: cool. I have an appointment from 13.00 till 15.00, but other than that I should be online [20:46] jelmer: how is that going to mean something when there is no "foo" in the code? [20:46] LarstiQ: cool, thx [20:47] jelmer: any particular reason why you use just "(self, *args, **kwargs)" here? [20:48] SamB, yeah, it avoids updating the parameters here if subvertpy changes parameters [20:49] well, I don't think there are any documentation tools that will work with that ;-) [20:50] SamB: you sure? [20:50] SamB: seems to me sphinx could do a reasonable job [20:50] with some instruction on how to document it [20:52] LarstiQ: sphinx works on code ? [20:52] SamB: it was created to document Python [20:53] LarstiQ: it appears to have been created for the *manual*, not in-band API documentation [20:53] SamB: with autodoc, it is a consumer of the in-band docstrings === nevans1 is now known as nevans [20:53] SamB: I use it for library documentation at work, as well as a large user guide [20:54] jelmer: what do you use for bzr-svn API docs? [21:00] SamB, pydoctor [21:18] okay i wonder if there is a way out of this mess i find myself in... i've got parallel subdirs in both trunk and project branches, but i don't think they share a history [21:19] SamB, usually though, I just read the source code [21:20] i try to merge trunk -> project and i get output like this: http://gist.github.com/161511 [21:21] jelmer: any idea why running "pydoctor -c bzr-svn.cfg --make-html" under "~/hacking/bzr-svn/working" gives pydoctor the idea that all the modules to document are within "bzrlib.plugins.svn.working"? [21:22] SamB, yeah - it's not a proper python module [21:22] SamB: the source files are in . rather than in e.g. subvertpy/ [21:23] jelmer: so why the "working"? [21:23] SamB, it takes the name of the directory you specify [21:23] SamB, And bzr-svn.cfg specifies . [21:24] SamB, if you were documenting subvertpy you would specify the subvertpy directory and it would name it subvertpy [21:24] ...so while the actual diff from trunk is relatively small (add two files, modify three)... the merge wants me to remove the entire features dir and start over in my project branch [21:24] i guess my question is: is there any way out of this? [21:24] or will i have to continue doing a mv/cp dance to get merges with changes in the features subdir properly because i've broken their history [21:31] Is setting EDITOR=nano good enough to make commit messages edit with nano? [21:31] or do I have to do something elsE? [21:33] krisives: unless you also have VISUAL set [21:33] echo $VISUAL doesn't appear to have anything set [21:33] echo $EDITOR shows nano [21:34] Try setting BZR_EDITOR? [21:34] krisives: shouldn't be needed? [21:34] krisives: have you actually tried what happens if you have EDITOR set? [21:35] EDITOR=nano bzr commit works [21:35] So I must have failed to export or something [21:36] So even if I can echo $EDITOR and see nano, why couldn't bzr? [21:36] krisives: the lookup is BZR_EDITOR, editor in config, VISUAL, EDITOR, wordpad.exe, notepad.exe on windows, /usr/bin/editor, vi, pico, nano, joe [21:37] krisives: echo doesn't imply export afaik [21:37] I wish I could man export :D [21:37] krisives: man your shell [21:37] Kinda gotta find it in the bash man [21:38] * LarstiQ nods [21:38] * krisives giggles at the sound of that [21:38] ftw [21:38] ehm [21:38] * krisives gets in the trenches and "mans the shell" [21:38] / ftw [21:38] right [21:38] :) [21:38] anyway [21:38] Thanks for the (deserved) ridicule :D [21:38] krisives: my .zshrc sets VISUAL and EDITOR to vim as a standard measure [21:39] * LarstiQ blinks [21:39] did I ridicule? [21:39] hello [21:39] Not really, just that I should have better manned my shell [21:39] You are correct [21:39] has anyone has experience getting bzr to work with an ftp server that doesn't support chmod? [21:39] krisives: heya [21:39] Noldorin: they don't support chmod for real eh? [21:39] What did they say?! [21:40] krisives: yeah, so it seems :( [21:40] Drop them, get new host IMO [21:40] Unacceptable to not allow permissions [21:40] "CHMOD is a feature that applies to Linux hosting packages only." [21:40] from their email [21:40] ... [21:40] yeah, im tempted to [21:40] just signed up though :S [21:41] Noldorin: what ftpd is that? [21:41] Only way you're going to get bzr to work on that is to use bzr export afaik [21:41] does anyone have any ideas how to get around it, for a start? [21:41] LarstiQ: "ftpd"? [21:41] hmm [21:41] LarstiQ: he's using a host for ASP.NET [21:41] Noldorin: which ftp server [21:41] Noldorin: ftpd is what runs the FTP server [21:41] krisives: right [21:41] ah [21:41] LarstiQ: I suspect it's because it's a windows host on FAT32 or something else without a permission model :( [21:41] LarstiQ: i just know it's an ftp server running on windows 2003, hosted by storm internet [21:42] Noldorin: the d is short for 'daemon', unix terminology for detached long running processes [21:42] krisives: i can't set the standard unix permissions in the site manager :S [21:42] krisives: sure, but the ftpd could just fake the chmod [21:42] LarstiQ: good point [21:42] LarstiQ: yeah, i'm a windows guy mainly - though i am vaguely familiar with daemons [21:42] * krisives +1 to LarstiQ [21:43] http://pastebin.ca/1518338 - my error log [21:43] * LarstiQ heads home [21:43] bye [21:43] Bye LarstiQ [21:43] LarstiQ: ping me if you have any ideas please! :) [21:43] Thanks for your help :) [21:43] be back in half an hour / an hour :) [21:44] ok [21:44] hrmm [21:44] Noldorin: you could mount the FTP in Windows as a directory [21:44] short of hacking the source [21:44] i'm wondering what to do [21:44] krisives: interesting suggestion [21:44] If windows thinks it's a thing without permission support you might be able to get away with that [21:45] krisives: as far as i understand, permissions in bzr repos are non-essential [21:45] You could also use `bzr export` and manually upload, but that kinda defeats the purpose of bzr [21:45] yeah [21:45] Well, yeah, someone could patch the source to only use permissions if available [21:46] IMO that's a lot of work for something very rare [21:46] Your host should provide CHMOD really [21:46] yeah, it sucks [21:46] Not preaching, but this is why I use Linux for hosting and in general [21:47] I can get a linux host for dirt cheap that does everything I need, and they are willing to install a package for me, etc. [21:47] Windows hosting is slower, more expensive, and less likely to be feature rich without extra cost or much hastle, usually just short of pure dedicated [21:48] yeah [21:48] The source is Python, so theoritically you could patch the source [21:48] too bad i'm an exclusively .NET guy [21:48] yeah [21:48] If they are isolating the CHMOD into a class you could add a global switch to not do CHMODing [21:48] phinze, if there's no shared history it's correct the files aren't merged [21:49] Let me pull down the bzr code and check it over [21:49] krisives: ok cheers [21:49] jelmer: so what would be the best way forward... should i merge the trunk files over to project and then re-add the extra project files? [21:49] beuno, ping? [21:50] i'd have a hiccup in the project's history but that would get the trunk <-> project history synced [21:50] emmajane, hi! [21:50] beuno, I'm back from the holiday weekend. I missed you on Friday. [21:50] beuno, let me know if you still want to catch up? [21:50] phinze, basically you should resolve the conflict using either the original files or the files that were merged in [21:50] Off hand anyone know how large the bzr trunk is? [21:51] At 3Mb already :D [21:51] emmajane, I do. In an hbour? [21:51] (Teach me to fish if you will, where is the size of a trunk listed on LP?) [21:51] krisives: 3MB isn't too bad [21:51] beuno, sounds good. [21:51] oh, already [21:51] jelmer: alright let me fiddle -- i just want to get it to a point where every change in features coming from trunk is not a guaranteed conflict [21:51] you've only download subdirs? [21:51] We're at 9Mb now [21:52] beuno, I have a drupal documentation meeting in two hours. so we'll be able to stay focused when we catch up. ;) [21:52] phinze, in that case, you should resolve using the original files [21:52] phanatic, those files were moved away I think so you'd have to move them back [21:52] jelmer: sounds like a plan; i'll see what i can do [21:53] emmajane, does that mean yes or no? [21:53] beuno, do you think we can catch up in an hour? I think we can. :) [21:53] beuno, we'll have to stay focused though. ;) [21:54] krisives: i've emailed back my web host to see what they say.. [21:55] krisives: in particular regarding my success with a previous repo there [21:55] not sure how i managed to do it! [21:55] Is there some reason you have to use that host? If they aren't willing to compromise find a different host that will and give them your business [21:56] krisives: yeah i know. it's only that they're cheap, and provided (almost) all of the features i need [21:56] if anyone can point me to a great UK host for ASP.NET web spaces, with unlimited bandwidth, and databases, i would be happy to change :) [21:56] erm, for a decent price of course [21:56] emmajane, I can do earlier [21:57] in 30 [21:57] or 20 even! [21:57] woo! [21:57] Anyone in here familiar with the bzr source? [22:00] krisives, somewhat [22:00] emmajane, skype good for you? [22:01] jelmer: think sftp.py is the right place to add a switch for --no-chmod ? [22:01] beuno, yup. I'll log in. [22:01] krisives, I think I missed context - what are you trying to do exactly? [22:02] Noldorin has a Windows server that doesn't support CHMOD [22:02] Would be nice to have a --no-chmod flag [22:03] yeah [22:03] Says in the source it should actually only be doing it if FTP supports the CHMOD, have you tried using FTP instead of SFTP? [22:03] krisives, and your windows server is running a ssh+sftp server? [22:04] jelmer: not my server, it's his [22:04] jelmer: just interested in helping with a patch [22:04] jelmer: just plain ftp [22:04] Noldorin: have you tried using FTP and not SFTP ? [22:04] krisives: if it's plain ftp then sftp.py is unrelated [22:04] ^^ [22:05] Okay, we'll I am also looking at ftp/__init__.py [22:05] krisives, adding a flag wouldn't work though, you might be able to do a hack to look at an environment variable though [22:06] #453 in bzr/bzrlib/transport/ftp/__init__.py says: [22:06] "Only set permissions if the FTP server supports the 'SITE CHMOD' extension" [22:07] Also appears to catch the exception and doesn't end execution, but just warns [22:08] krisives: that's quite interesting [22:08] http://pastebin.com/m2ce7fef0 [22:09] hmm [22:09] You could try nerfing _setmode by just doing return in it [22:09] And see if it works then [22:10] It's sloppy but would at least help you figure out what's happening [22:11] krisives: yeah... i ought to try that [22:11] krisives: would i want to submit this as a bug report or feature request though? [22:11] for the next version [22:14] how's the "text" vs "binary" handling done in bzr? [22:17] Noldorin: yes, I think that's fair [22:17] LarstiQ: which one though? :) [22:18] mobodo: atm, heuristic check for nul byte in the first 1024kb iirc [22:18] alright, thanks [22:18] krisives: will probably get around to it at some point tomorrow. not too familiar with python, but i'll give it a go [22:18] thanks for the help [22:18] Noldorin: we treat them the same, http://bugs.launchpad.net/bzr :) [22:19] LarstiQ: ah of course. launchpad bugs for the win. [22:19] Noldorin: I think it's most likely their FTP server closing the connection after too many CHMODs [22:19] krisives: did we figure out the ftpd yet? [22:20] LarstiQ: that was a quick journey home btw ;) [22:20] That's Noldorin's thing [22:20] Noldorin: Do you have bzrlib/plugins/transport/ftp ? [22:20] Noldorin: bout half an hour? [22:21] krisives: i'm sure it's installed by default by the windows installer. [22:21] I don't use bzr on windows so I have no idea where it goes or whatever [22:21] krisives: i wouldn't even have FTP working at all anyway [22:21] yeah fair enough [22:21] though as i said, i *somehow* managed to get a bzr repo working before with that web host [22:21] though i probably clobbered it [22:21] Do you have SFTP access? [22:21] krisives: afraid not [22:22] Noldorin: krisives' suggestion of mounting it and then using bzr 'locally' might work btw [22:22] krisives: if you're willing, i can give you FTP access to my server if you want to mess around. [22:22] krisives: of course, you've been a good help already. wouldn't expect/request it [22:22] Go ahead and PM me access and I'll try my hack [22:22] LarstiQ: yeah probably, though i'm not fond of the indirectness [22:22] (Just adding a return to _setmode() ) [22:22] LarstiQ: i think you were quicker than 1/2 hour btw [22:23] It was about an hour actually on my logs [22:24] (01:43:19 PM) ***LarstiQ heads home [22:24] i got DCed, and i don't log, so i can't check :P [22:24] I guess it was about 45 mins [22:24] :O [22:24] seems i have a poor sense of time [22:25] Noldorin: it's not a permanent fix but might help you get going [22:25] yay :) I think I have my cgi pretty much working... I can now browse my bzr on the web [22:25] LarstiQ: this is true.. [22:25] If I `make` bzr I can test it locally inside that dir? [22:25] krisives: sure [22:25] mobodo: how did you set that up? [22:25] I am building bzr from source [22:25] krisives: i don't see why not [22:25] That's the question I'm asking [22:25] krisives: yes [22:26] LarstiQ: thx [22:26] :P [22:26] lol [22:26] Do I need to `make` again if I modify a .py ? [22:26] krisives: nope [22:26] Yippie :D [22:26] LarstiQ: my branch is hosted in my web server, got a php file calling bzr on the branch to list its content [22:26] krisives: only if you touch the C extensions [22:26] Noldorin: if you have the info I can test it [22:27] mobodo: ah :) [22:27] krisives: just setting up atm [22:27] mobodo: any reason you didn't want to use loggerhead? [22:27] LarstiQ: I can't run a server, this is on a web host [22:27] LarstiQ: I'm not allowed to run a daemon, let alone open ports [22:27] mobodo: ah [22:27] wonder if loggerhead could work in a cgi mode [22:28] Anyone know if the py scripts are compiled on Windows ? [22:28] LarstiQ: that would probably save me a lot of time :-/ [22:29] beuno: ^^? [22:29] krisives: yes/no [22:29] krisives: if you use the all-in-one installer they are py2exed [22:29] krisives: if you use the python based installer, it's just business as usual [22:29] LarstiQ: thx [22:30] I mean, say you are hosting your stuff on a university server, you're not going to install loggerhead on the server [22:31] mobodo: would you be able to install viewvc though? [22:31] * LarstiQ isn't sure what the target platform is [22:32] I've written myself http://bzr.oxygene.sk/bzrbrowse/trunk for this exact reason [22:32] LarstiQ: why do you ask? does it support bzr? [22:32] luks: well, I've just been doing pretty much the same thing :) [22:34] LarstiQ: thing is, with svn, you get web browsing for free [22:35] mobodo: iff you have apache with dav_svn [22:35] but you can't host a svn on a unversity server because they won't let you configure a repository and a web access [22:35] right [22:35] the whole point of bzr, to me, was sftp/http access without having a bzr server on the other end [22:35] right [22:36] If I can install loggerhead, I can install webdav [22:36] so what _can_ you do then? [22:36] like luks did and like I'm doing. Use bzr locally to query a .bzr and allow you to browse [22:37] http://bazaar.enseed.com/browse/ <- is the output of a php file [22:37] so you have python [22:37] I have php [22:37] oh, yes, I have python [22:37] most people do [22:37] if you have bzr you have python :) [22:37] most universities do [22:37] and I have a local install of bzr [22:37] mobodo: well, that is the biggest hurdle taken [22:38] mobodo: do you have mod_wsgi? [22:38] let me check [22:40] emmajane, http://bazaar-vcs.org/WhoUsesBzr [22:41] I don't think so [22:42] mobodo: mod_python? Or just plain cgi? [22:42] not sure if there are wsgi servers that run from standard cgi [22:42] I'm not sure - how could I find out? I listed the modules in /etc/httpd/modules, but that doesn't seem to list them all... [22:43] it's probably not listing the built-in modules [22:43] LarstiQ: from wsgiref.handlers import CGIHandler [22:43] but loggerhead is going to be slooow over cgi [22:44] luks: k [22:44] emmajane, is the bzr wiki working for you? it isn't for me [22:44] luks: ah well [22:45] beuno, define working...? [22:45] I can see pages in the wiki.... [22:45] beuno, and I can pull up an edit page. [22:46] ok, I don't see them at all :) [22:46] * emmajane pulls up http://bazaar-vcs.org/BazaarUploadForWebDev her favourite page. ;) [22:46] :) [22:46] ok, it works now [22:47] it just needed for me to make a fool out of myself [22:47] You just had to choose the right first page ;) [22:51] kfogel: from http://packages.debian.org/lenny-backports/bzr I `dget http://backports.org/debian/pool/main/b/bzr/bzr_1.16.1-1~bpo50+1.dsc` [22:52] kfogel: a debdiff then with 1.16 from testing shows Norbert Tretkowski did the backport [22:52] kfogel: I'll poke him tomorrow [22:52] (backport consists of adding a changelog entry and uploading. I can do that! :) [22:53] yay for debdiff [22:54] jelmer: Okay, another patch for you in lp:~naesten/bzr-svn/hackz [22:56] SamB, thanks [22:56] SamB, please follow the bzr coding conventions (e.g. indent 4 spaces where it makes sense to do so rather than at the same offset of the opening parentheses at the previous line) [22:56] jelmer: oh, sorry [22:56] SamB, There shouldn't be a reason to explicitly have those arguments when using *args, **kwargs [22:57] jelmer: well, you try rewriting the documentation for that case, then! [22:58] This code shouldn't break any more than the callers would if you change something ... [22:59] jelmer: and, er, should I put self on the first indented line, then? [22:59] SamB, I've fixed it and pushed [23:00] ah, nice [23:00] you took out the *args and **kwargs [23:01] jelmer: should I do a bzr-svn 0.6.4 announcement tomorrow? [23:01] jelmer: isn't there something in the bzr coding convention about using 80-character lines ? [23:02] SamB, yes, where do my changes exceed 80 characters? [23:02] LarstiQ, please do [23:02] jelmer: not your changes, just the existing code ;-) [23:03] jelmer: k, I will [23:03] LarstiQ, the main reason for this interim release was that there were some problems with the probing code where bzr-svn would interfere sometimes [23:03] LarstiQ, even if there wasn't any svn repo involved [23:03] jelmer: ah, I see [23:04] jelmer: I'll read the bugs involved and try to write up a summary [23:04] jelmer: oh, I recently noticed that if you accidentally try to pull from the launchpad webpage for a branch instead of the branch, bzr-svn seems to choke on the resulting 405 ... [23:05] SamB, which version of bzr-svn? [23:05] * LarstiQ heads to bed [23:05] well, the one I just pulled from you, for instance [23:05] I'm not sure if it actually is choking [23:06] SamB, please file a bug [23:06] okay [23:12] hi all [23:12] mdke: still here? [23:13] jelmer: https://bugs.launchpad.net/bzr-svn/+bug/409074 [23:13] Launchpad bug 409074 in bzr-svn "bzr-svn appears to choke bzr early when accidentally given a launchpad branch page URL" [Undecided,New] === kiko-phone is now known as kiko-afk [23:19] SamB, thanks [23:20] jelmer: nothings special about that branch, I just picked one from an open tab ... === abentley1 is now known as abentley [23:47] hey, I was wondering if bzr-svn svn-import and branch commands are supposed to be so slow? I can actually see every commit copied..