[arch-dev-public] [devtools] [PATCH] commitpkg: upload signature if found

Dan McGee dpmcgee at gmail.com
Fri Apr 1 15:51:14 EDT 2011

On Fri, Apr 1, 2011 at 2:50 PM, Pierre Schmitz <pierre at archlinux.de> wrote:
> On Fri, 1 Apr 2011 21:34:47 +0200, Rémy Oudompheng wrote:
>> On 2011/4/1 Dan McGee <dpmcgee at gmail.com> wrote:
>>> WTF- so now we've gone back to the original two-upload? What are we doing here?
>>> rsync -e ssh $rsyncopts --partial "${pkgfile}" "${sigfile}"
>>> "$server:staging/$repo/"
>>> will work just fine.
>> If you specify the empty string as a rsync argument, it will take it
>> as the current directory. So you have to drop the quotes, and I don't
>> really feel like dropping the quotes here.
>> Also using multiple arguments will break the pretty printing which is
>> caused by the "echo -n Uploading..." above. But pretty printing is a
>> bad reason. I don't have a better idea right now.
> If we are optimizing we should try to use one rsync call to upload all
> packages at once. If pretty printing is a show stopper here just remove
> it.

Doing this now...

More information about the arch-dev-public mailing list