Comment 1 for bug 1539212

Revision history for this message
Robert Bruce Park (robru) wrote :

Considering that this will require a lot of schlepping around of files and environment variables, I feel like a shell script is best suited to this purpose.

It'd start by reading the files like this:

export OS_AUTH_URL=$(cat ~/os.auth.url)

And then iterate over commandline args and upload to swift like this:

swift upload $SILONAME $filename

($SILONAME is already defined by the train so you'd just get that for free)

And then you'd want to call that script after the diffs get generated, from here:

http://bazaar.launchpad.net/+branch/cupstream2distro/view/head:/cupstream2distro/packagemanager.py#L221

(bonus points if you can remove that pylint disable ;-)