[05:14] can I use launchpadlib to grab a commit message from a specified revno of a bazaar branch? [12:01] out of curiousity, how does launchpad deal with incoming uploads over ftp? Does it react when it detects new .changes files ( in which case, what happens if the .changes file is uploaded first, and the orig is uploaded at the end, and the processing might happen before the orig gets fully uploaded ) [12:01] or is it a cron job? [12:02] wgrant: cjwatson ^^ ideas? [12:30] wgrant: cjwatson ah ah, nvm [12:44] Anyone get my question from yesterday? [13:09] FailBit: Not directly. You can use launchpadlib to get the branch URL, but you'd then need to use bzr or bzrlib to get individual commit messages. launchpadlib doesn't wrap bzrlib. [13:09] Ok [13:12] shadeslayer: It's a cron job; but the FTP upload server is a custom one that moves the whole upload into place in one go at the end of the upload transaction. [13:14] roger [13:14] cjwatson: it's just that I was using the rsync/scp backend [13:14] and that does fancy chmod stuff at the end [13:15] and inotincoming had already triggered reprepro and reprepro had already deleted the files, so chmod failed [13:15] hurray for things being too fast [13:15] :P [13:15] anyway, lunch :) [13:21] shadeslayer: Right, the upload server has to be quite careful if it wants to avoid that class of problem. On the other hand it's a trade-off; it means that you can't resume an incomplete upload if it fails, and other similar problems (https://bugs.launchpad.net/launchpad/+bug/30415) [13:21] Launchpad bug 30415 in Launchpad itself "soyuz upload system pays attention to ftp sessions" [Low,Triaged] [13:41] oops. [13:41] how do I get a information about a revno with bzrlib [13:41] ? [13:44] bzr log --line -c [13:44] cjwatson: mmm fun [13:44] anyway, I'm writing my own solution with ruby inotify now [13:45] because for some reason sftp + inotincoming doesn't work [15:29] what's "GhostRevisionsHaveNoRevno" ? [15:32] $ bzr log --line -r 13337 lp:inkscape/experimental [15:32] bzr: ERROR: Server sent an unexpected error: ('error', 'GhostRevisionsHaveNoRevno'… [15:32] what does it mean? [15:40] please, I'm so impatient… === Spads_ is now known as Spads [21:05] anyone? [21:17] FailBit: That's bug #1049124. What exactly are you trying to do? [21:17] bug 1049124 in Bazaar "bzr log -rxxx crashes out with 'ghost' in branch, but not in trunk" [Medium,Confirmed] https://launchpad.net/bugs/1049124 [21:18] wgrant: I was able to use nosmart+branchurl to get my bot to work [21:18] It specifically affects asking a stacked branch for a revision that isn't in the branch itself, so it's often simple to work around. [21:18] Right, that works too. [21:19] The smartserver revision_id_to_revno method doesn't know to look at the stacked-on repository. [21:19] The only problem is that bzr is slow =/ [21:19] 10 seconds after the request, usually it finds it [21:19] Well, at least you can perform remote operations at all :) [21:20] With eg. git you have to clone the repository locally to get the log. [21:21] Compare [21:21] /msg InkBot !bug 12345 [21:21] /msg InkBot !revno 12345 [21:21] bug 12345 in isdnutils (Ubuntu) "isdn does not work, fritz avm (pnp?)" [Medium,Fix released] https://launchpad.net/bugs/12345 [21:21] Sure. If you want quick, regular access, just keep a copy of the branch locally. [21:22] !revno takes another (optional) argument [21:22] FailBit: I am only a bot, please don't think I'm intelligent :) [21:22] /msg InkBot !revno 1234,lp:lib2geom [21:23] You can't have every branch always up to date locally unless you are the server :P [21:23] taotie or something like that. [21:23] That's the one. [21:24] The current codehosting infrastructure doesn't let us provide direct access like that in an efficient manner. Upcoming changes should improve that, but it's all at least a year off. [21:46] wgrant: the launchpad automailer is kinda odd — for example, comments in merge proposals have a mail sent instantly, while branch revision emails take a few minutes