uscan should support parsing s3 bucket listings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devscripts (Debian) |
Fix Released
|
Unknown
|
|||
devscripts (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
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://
S3 listing: http://
ec2-ami-tools: http://
Homepage: http://
S3 listing: http://
rdscli (bug 797387):
Homepage: http://
S3 listing: http://
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://
<Contents>
</ListBucketResult>
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: devscripts 2.11.0ubuntu1
ProcVersionSign
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=
SHELL=/bin/bash
SourcePackage: devscripts
UpgradeStatus: Upgraded to oneiric on 2010-11-15 (212 days ago)
tags: | removed: running-unity unity-2d |
Changed in devscripts (Debian): | |
status: | Unknown → New |
Changed in devscripts (Ubuntu): | |
status: | New → Fix Committed |
Changed in devscripts (Ubuntu): | |
importance: | Undecided → Wishlist |
tags: | added: patch |
Changed in devscripts (Debian): | |
status: | New → Fix Released |
Just as an example of a package/watch file, you can check out:
lp:~awstools-dev/ubuntu/oneiric/rdscli/oneiric/
$ /home/smoser/ src/devscripts/ trunk/scripts/ uscan.pl --verbose s3.amazonaws. com/rds- downloads/ RDSCli- ([0-9].*).zip 1.0.001. zip 1.0.004. zip 1.0.005. zip 1.0.006. zip 1.1.004. zip 1.1.005. zip 1.2.006. zip 1.3.003. zip 1.4.006. zip
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
http://
-- Found the following matching hrefs:
RDSCli-
RDSCli-
RDSCli-
RDSCli-
RDSCli-
RDSCli-
RDSCli-
RDSCli-
RDSCli-
Newest version on remote site is 1.4.006, local version is 1.4.006
=> Package is up to date
-- Scan finished