Difference between revisions of "Autobuild upload"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "<!-- ======================================================================= This wiki page was generated by the converting the --help output from this command using the pyhelp2w…")
 
 
Line 1: Line 1:
<!-- =======================================================================
{{Autobuild Cmd
This wiki page was generated by the converting the --help output from this
|command=  
command using the pyhelp2wiki command.
autobuild upload <br>   ''option'' [''value''] [''option'' [''value'']] ... <br>   ''archive''
 
|comments=
Rather than changing this page directly, or at least after having done so,
Upload a package archive to either Amazon S3 or a private service (requires credentials to be specified externally).
consider making the change to the command help itself (or suggest doing so
to the author).
======================================================================== -->
Usage:
      <nowiki>autobuild upload [-h] [--upload-to-s3] [--credentials CREDENTIALS] [-n]</nowiki>
                        <nowiki>[-q] [-v] [-d]</nowiki>
                        <nowiki>archive</nowiki>
 


Arguments:
Arguments:
* ''archive'': The archive to upload to install-packages.lindenlab.com or to S3, as indicated by the configuration file.
}}


:;<nowiki>archive</nowiki>
'''Command-Specific Options'''
::<nowiki>specify the archive to upload to install-packages.lindenlab.com or to S3, as indicated by config file </nowiki>
{| class=lltable border=1
|--
!width=180| Option
!width=70| Shortcut
!Value
!Description


Options:
|-
:{|border="0" cellpadding="5" style="border-collapse: collapse; border-style: none;"
| --upload-to-s3
|N/A
|None
|upload this archive to Amazon S3


|- style="vertical-align: top;"
|-  
|<nowiki>-h, --help</nowiki>
| --credentials ''credentials''
|<nowiki>show this help message and exit</nowiki>
|N/A
|None
| File containing S3 credentials. Currently this option is ignored and the default is hardcoded. The default is $HOME/.s3curl (or %USERPROFILE%/.s3curl on windows). See below for example.
|}


|- style="vertical-align: top;"
== Example ==
|<nowiki>--upload-to-s3</nowiki>
Example .s3curl credentials file contents:
|<nowiki>upload this archive to amazon S3</nowiki>


|- style="vertical-align: top;"
   %awsSecretAccessKeys = (
|<nowiki>--credentials&nbsp;CREDENTIALS</nowiki>
     lindenlab => {
| <nowiki>The file containing s3 credentials. Currently this option is ignored and the default is hardcoded. The default is $HOME/.s3curl (or %USERPROFILE%/.s3curl on windows). see below for details</nowiki>
       id => 'ABCDABCDABCDABCD',
 
       key => '01234567890abcdABCD/01234567890abcdABCD+',
|- style="vertical-align: top;"
     },
|<nowiki>-n, --dry-run</nowiki>
   }
|<nowiki>run tool in dry run mode if available</nowiki>
 
|- style="vertical-align: top;"
|<nowiki>-q, --quiet</nowiki>
|<nowiki>minimal output</nowiki>
 
|- style="vertical-align: top;"
|<nowiki>-v, --verbose</nowiki>
|<nowiki>verbose output</nowiki>
 
|- style="vertical-align: top;"
|<nowiki>-d, --debug</nowiki>
|<nowiki>debug output </nowiki>
 
|}
<nowiki>example .s3curl credentials file contents:</nowiki>
   <nowiki>%awsSecretAccessKeys = (</nowiki>
     <nowiki>lindenlab => {</nowiki>
       <nowiki>id => 'ABCDABCDABCDABCD',</nowiki>
       <nowiki>key => '01234567890abcdABCD/01234567890abcdABCD+',</nowiki>
     <nowiki>},</nowiki>
   <nowiki>}</nowiki>


[[Category:Autobuild]]
[[Category:Autobuild]]

Latest revision as of 17:01, 9 March 2011

autobuild upload
option [value] [option [value]] ...
archive

Upload a package archive to either Amazon S3 or a private service (requires credentials to be specified externally).

Arguments:

  • archive: The archive to upload to install-packages.lindenlab.com or to S3, as indicated by the configuration file.

Standard Options

Option Shortcut Value Description
--debug -d None Display debug output
--dry-run -n None Run tool in dry run mode if available
--help -h None Show help message
--quiet -q None Display minimal output
--verbose -v None Display verbose output

Command-Specific Options

Option Shortcut Value Description
--upload-to-s3 N/A None upload this archive to Amazon S3
--credentials credentials N/A None File containing S3 credentials. Currently this option is ignored and the default is hardcoded. The default is $HOME/.s3curl (or %USERPROFILE%/.s3curl on windows). See below for example.

Example

Example .s3curl credentials file contents:

 %awsSecretAccessKeys = (
   lindenlab => {
     id => 'ABCDABCDABCDABCD',
     key => '01234567890abcdABCD/01234567890abcdABCD+',
   },
 }