[Bug 798293] Re: uscan should support parsing s3 bucket listings
Scott Moser
smoser at canonical.com
Thu Jun 16 15:52:57 UTC 2011
** Tags removed: running-unity unity-2d
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to devscripts in Ubuntu.
https://bugs.launchpad.net/bugs/798293
Title:
uscan should support parsing s3 bucket listings
Status in “devscripts” package in Ubuntu:
New
Bug description:
Binary package hint: devscripts
A few (admittedly very few) upstreams host their files on S3.
By default, S3 does not do apache like file listings, but instead gives file listing in XML format.
ec2-api-tools:
Homepage: http://aws.amazon.com/developertools/351
S3 listing: http://s3.amazonaws.com/ec2-downloads/
ec2-ami-tools: http://aws.amazon.com/developertools/368
Homepage: http://aws.amazon.com/developertools/368
S3 listing: http://s3.amazonaws.com/ec2-downloads/
rdscli (bug 797387):
Homepage: http://aws.amazon.com/developertools/2928
S3 listing: http://s3.amazonaws.com/rds-downloads/
I suggest that uscan could be made to understand the well defined
output of an S3 bucket listing. Below is an example. I've added
carriage returns, the content usually is only 2 lines (xml header and
content).
<?xml version="1.0" encoding="UTF-8"?>
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>ec2-downloads</Name><Prefix></Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated>
<Contents><Key>2006-06-26.ec2.wsdl</Key><LastModified>2006-10-23T12:22:30.000Z</LastModified><ETag>"d4fa76ef26b78d3905e009de9db8bf7d"</ETag><Size>28344</Size><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>2006-10-01.ec2.wsdl</Key><LastModified>2006-12-11T15:16:07.000Z</LastModified><ETag>"c10f3f9a199906e09eb3140b1f694e78"</ETag><Size>38244</Size><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>2007-01-03.ec2.wsdl</Key><LastModified>2007-02-10T14:57:28.000Z</LastModified><ETag>"3315c7afe5a27444fddf8e0f21d20d1c"</ETag><Size>39314</Size><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>2007-01-19.ec2.wsdl</Key><LastModified>2007-03-22T16:29:10.000Z</LastModified><ETag>"01d64aeb8a01b41f80e8bc6627daa313"</ETag><Size>40501</Size><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>2007-03-01.ec2.wsdl</Key><LastModified>2007-07-06T05:25:50.000Z</LastModified><ETag>"a716de16be05c734b687f0612134d655"</ETag><Size>43408</Size><StorageClass>STANDARD</StorageClass></Contents>
</ListBucketResult>
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: devscripts 2.11.0ubuntu1
ProcVersionSignature: Ubuntu 3.0-0.1-generic 3.0.0-rc2
Uname: Linux 3.0-0-generic x86_64
Architecture: amd64
Date: Thu Jun 16 11:09:58 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, no user)
LANG=en_US.utf8
LC_MESSAGES=en_US.utf8
SHELL=/bin/bash
SourcePackage: devscripts
UpgradeStatus: Upgraded to oneiric on 2010-11-15 (212 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/798293/+subscriptions
More information about the foundations-bugs
mailing list