2009/8/26 Niels Breet <[email protected]>:
> On Wed, August 26, 2009 20:33, Ed Bartosh wrote:
>> 2009/8/26 Marius Vollmer <[email protected]>:
>>
>>> ext Ed Bartosh <[email protected]> writes:
>>>
>>
>> What do you think about using pre_upload_command and
>> post_upload_command features of dput? If we allow to create directory using
>> pre_upload_command, uploading multiple sources into it and put some flag
>> for triggering the build in post_upload_command would it solve the
>> problem?
>
> Don't these commands run locally on the uploader's machine as opposed to
> the server? Or am I reading the dput code wrong :)
>
> If they run on the server, I think we can work with that.

Well, even if they run locally nobody prevents us to use 'ssh
u...@host' prefix for them :)
If it's possible to allow mkdir and touch under the builder incoming
directories it would be enough.
It can be something like this:
[fremantle-extras-builder]
login = user
fqdn = garage.maemo.org
method = scp
hash = md5
allow_unsigned_uploads = 1
incoming = /var/www/extras-devel/incoming-builder/test-build/
pre_upload_command = ssh %(login)s...@%(fqdn)s mkdir %(incoming)/test-build/
post_upload_command = ssh %(login)s...@%(fqdn)s touch
(incoming)/test-build/uploaded


-- 
BR,
Ed
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to