Comment 4 for bug 798293

Revision history for this message
Scott Moser (smoser) wrote : Bug#630756: [uscan] support parsing S3 bucket listings

Package: devscripts
Version: 2.10.69ubuntu2
Severity: wishlist
File: /usr/bin/uscan
Tags: patch

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.

uscan can be modified to allow watch files that reference these listings.

Attached is a suggested patch.
See also ubuntu bug 798293 (http://bugs.launchpad.net/bugs/798293).

There is very little chance for false positives, and the content that is
found in s3 bucket listings is well defined so it is not likely to stop
working. Before considering the content to be an S3 bucket listing, it
checks:
 a.) that the file begins with "<?xml"
 b.) that it contains the string
     'xmlns=http://s3.amazonaws.com/doc/2006-03-01/'

-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
DEBSIGN_KEYID=024BC6F0
DEBUILD_DPKG_BUILDPACKAGE_OPTS="--source-option=--abort-on-upstream-changes"

-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-server (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii dpkg-dev 1.16.0~ubuntu7 Debian package development tools
ii libc6 2.13-0ubuntu13 Embedded GNU C Library: Shared lib
ii perl 5.10.1-17ubuntu4.1 Larry Wall's Practical Extraction

Versions of packages devscripts recommends:
ii 3.1.12-1ubuntu2 Delayed job execution and batch pr
ii 8.1.2-0.20100314cvs-1 simple mail user agent
ii 2.3.1-1ubuntu1 easy to use distributed version co
ii 7.21.3-1ubuntu1 Get a file from an HTTP, HTTPS or
ii 2.14.5 Command-line tools to process Debi
ii 0.9.6.1ubuntu1 Debian package upload tool
ii 1.14.4-1ubuntu1 Gives a fake root environment
ii 4.0.1+build1+nobinonly-0ubuntu0.11.04.3 Safe and easy web browser from Moz
ii 1:1.7.4.1-3 fast, scalable, distributed revisi
ii 1.4.11-3ubuntu1 GNU privacy guard - a free PGP rep
ii 2.1500-1 Authen::SASL - SASL Authentication
ii 2.27-1 Perl module to parse and convert t
ii 2.005-2 Easy OO parsing of Debian control-
ii 0.2-4build3 Perl extension for retrieving term
ii 1.2000-1 collection of modules to manipulat
ii 1.56-1 module to manipulate and access UR
ii 5.837-1 simple and consistent interface to
ii 2.5.0~rc2ubuntu3 Debian package checker
ii 4.0-0ubuntu11 Linux Standard Base version report
ii 4.43-14ubuntu2 Compression method of 7z format in
ii 2.5.9-4 on-line manual pager
ii 1:5.8p1-1ubuntu3 secure shell (SSH) client, for sec
ii 2.6-3 Apply a diff file to an original
ii 0.3.1-2build1 Utilities to work with patches
ii 0.0.6ubuntu2 Utilities for sensible alternative
ii 4.5.20-2ubuntu2 A system call tracer
ii 1.6.12dfsg-4ubuntu2.1 Advanced version control system
ii 6.0-4ubuntu1 De-archiver for .zip files
ii 0.5.3-1 WWW browsable pager with excellent
ii 0.6.3-1 Compares two files word by word
ii 1.12-2.1ubuntu2 retrieves files from the web
ii 5.0.0-2 XZ-format compression utilities

Versions of packages devscripts suggests:
ii build-essential 11.5ubuntu1 Informational list of build-essent
pn cvs-buildpackage <none> (no description available)
ii debian-keyring [debian-maint 2010.12.29 GnuPG keys of Debian Developers
pn devscripts-el <none> (no description available)
pn equivs <none> (no description available)
pn gnuplot <none> (no description available)
pn libcrypt-ssleay-perl <none> (no description available)
ii libfile-desktopentry-perl 0.04-2 Perl module to handle freedesktop
pn libnet-smtp-ssl-perl <none> (no description available)
pn libsoap-lite-perl <none> (no description available)
pn libyaml-syck-perl <none> (no description available)
pn mutt <none> (no description available)
pn svn-buildpackage <none> (no description available)
ii ubuntu-dev-tools 0.122 useful tools for Ubuntu developers
ii w3m 0.5.3-1 WWW browsable pager with excellent

-- no debconf information