DescriptionUpdate prebuilt.py to handle private google storage uploads.
Remove boto configuration, anyone using this script should either have ~/.boto set
or they should be starting it with BOTO_CONFIG=....
Add in support for acl xml files, If we pass an ACL xml file we first upload the file to
google storage with the canned acl of private then apply the ACL.
Automatically derive the binhost_url for private Google Storage uploads and warn
if people set --private and --binhost-base-url.
Update unittests to pass with the new private assumptions.
BUG=NA
TEST=Ran on a canary build chroot to make sure we upload and set URLs properly
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=ab1bed3
Patch Set 1 #
Total comments: 5
Patch Set 2 : Remove unnecessary parens #Patch Set 3 : Add more error handling around the ACL file/canned ACLs #
Total comments: 6
Patch Set 4 : Add in a comma, align quotes, and make this fail as if the upload failed instead of just exiting #Patch Set 5 : 'update comment for acl check' #Patch Set 6 : Modify approach to automatically derive the xml acl file #Patch Set 7 : Fix >80 chars #Patch Set 8 : Add print >> sys.stderr for error message #Messages
Total messages: 11 (0 generated)
|