FailBitcan I use launchpadlib to grab a commit message from a specified revno of a bazaar branch?05:14
shadeslayerout 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
shadeslayeror is it a cron job?12:01
shadeslayerwgrant: cjwatson ^^ ideas?12:02
shadeslayerwgrant: cjwatson ah ah, nvm12:30
FailBitAnyone get my question from yesterday?12:44
cjwatsonFailBit: 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
cjwatsonshadeslayer: 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:12
shadeslayercjwatson: it's just that I was using the rsync/scp backend13:14
shadeslayerand that does fancy chmod stuff at the end13:14
shadeslayerand inotincoming had already triggered reprepro and reprepro had already deleted the files, so chmod failed13:15
shadeslayerhurray for things being too fast13:15
shadeslayeranyway, lunch :)13:15
cjwatsonshadeslayer: 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
ubot5Launchpad bug 30415 in Launchpad itself "soyuz upload system pays attention to ftp sessions" [Low,Triaged]13:21
FailBithow do I get a information about a revno with bzrlib13:41
FailBitbzr log --line -c <revno> <branch>13:44
shadeslayercjwatson: mmm fun13:44
shadeslayeranyway, I'm writing my own solution with ruby inotify now13:44
shadeslayerbecause for some reason sftp + inotincoming doesn't work13:45
FailBitwhat's "GhostRevisionsHaveNoRevno" ?15:29
FailBit$ bzr log --line -r 13337 lp:inkscape/experimental15:32
FailBitbzr: ERROR: Server sent an unexpected error: ('error', 'GhostRevisionsHaveNoRevno'…15:32
FailBitwhat does it mean?15:32
FailBitplease, I'm so impatient…15:40
=== Spads_ is now known as Spads
wgrantFailBit: That's bug #1049124. What exactly are you trying to do?21:17
ubot5bug 1049124 in Bazaar "bzr log -rxxx crashes out with 'ghost' in branch, but not in trunk" [Medium,Confirmed] https://launchpad.net/bugs/104912421:17
FailBitwgrant: I was able to use nosmart+branchurl to get my bot to work21:18
wgrantIt 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
wgrantRight, that works too.21:18
wgrantThe smartserver revision_id_to_revno method doesn't know to look at the stacked-on repository.21:19
FailBitThe only problem is that bzr is slow =/21:19
FailBit10 seconds after the request, usually it finds it21:19
wgrantWell, at least you can perform remote operations at all :)21:19
wgrantWith eg. git you have to clone the repository locally to get the log.21:20
FailBit/msg InkBot !bug 1234521:21
FailBit/msg InkBot !revno 1234521:21
ubot5bug 12345 in isdnutils (Ubuntu) "isdn does not work, fritz avm (pnp?)" [Medium,Fix released] https://launchpad.net/bugs/1234521:21
wgrantSure. If you want quick, regular access, just keep a copy of the branch locally.21:21
FailBit!revno takes another (optional) argument21:22
ubot5FailBit: I am only a bot, please don't think I'm intelligent :)21:22
FailBit/msg InkBot !revno 1234,lp:lib2geom21:22
FailBitYou can't have every branch always up to date locally unless you are the server :P21:23
FailBittaotie or something like that.21:23
wgrantThat's the one.21:23
wgrantThe 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:24
FailBitwgrant: the launchpad automailer is kinda odd — for example, comments in merge proposals have a mail sent instantly, while branch revision emails take a few minutes21:46

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