On Mon, 2008-07-21 at 00:44 +0200, Sune Vuorela wrote: > I have been trying to do debsign -r host:path/to/dir/*.changes - and > this doesn't sign the dsc and do the associated magick (updating > checksums and size in changes file) > > It seems that it is the globbing messing stuff up, cause doing > debsign -r host:path/to/dir/foo.changes works as expected. > > I was told that debsign looks at a dsc file matching the changes name, > which I kind of find weird. Wouldn't it be more logical to look for any > dsc files referenced by the changes file and just do magic with that, no > matter what the names are?
As discussed on IRC with Sune, even just searching the changes file for any dsc and signing that won't help in the general case. The code flow in question is designed to support the signing of a single file (or set of files in the case of changes+dsc), which works fine for local files as the shell expands the glob for us. Although Sune said his glob only ever matches one changes file, I'm not happy assuming all debsign users are that sane :-) >From a quick look at the code, the "easiest" solution would seem to be something along the lines of making the scp calls just copy to "." rather than an explicit filename, and then "if the filename contains a glob, find all the matching files and call dosigning() for each". Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]