[maemo-developers] Autobuilder: building svn tags from garage
From: Ed Bartosh bartosh at gmail.comDate: Wed Aug 26 22:21:56 EEST 2009
- Previous message: Autobuilder: building svn tags from garage
- Next message: Autobuilder: building svn tags from garage
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2009/8/26 Niels Breet <niels at maemo.org>: > On Wed, August 26, 2009 20:33, Ed Bartosh wrote: >> 2009/8/26 Marius Vollmer <marius.vollmer at nokia.com>: >> >>> ext Ed Bartosh <bartosh at gmail.com> 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 user at 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
- Previous message: Autobuilder: building svn tags from garage
- Next message: Autobuilder: building svn tags from garage
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]