[Pkg-ruby-extras-maintainers] Fate of the sources file

Paul van Tilburg paulvt at debian.org
Mon Sep 11 13:50:11 UTC 2006


On Mon, Sep 11, 2006 at 03:01:09PM +0200, Paul van Tilburg wrote:
> Since the watch-file supports multiple URLs (does pkg-ruby-get-sources?)

About this. I does not support it at the moment. I have been trying to
add it, but because of the simple flat structure of the dehs HTML
output, I don't think it's possible.  For example:

<dehs>
  <package>hobix</package>
  <debian-uversion>0.4+svn20060909</debian-uversion>
  <debian-mangled-uversion>0.4+svn20060909</debian-mangled-uversion>
  <upstream-version>0.3</upstream-version>
  <upstream-url>http://rubyforge.org/frs/download.php/1651/hobix-0.3.tar.gz</upstream-url>
  <status>Debian version newer than remote site</status>
  <package>hobix</package>
  <debian-uversion>0.4+svn20060909</debian-uversion>
  <debian-mangled-uversion>0.4+svn20060909</debian-mangled-uversion>
  <upstream-version>0.4+svn20060909</upstream-version>
  <upstream-url>http://pkg-ruby-extras.alioth.debian.org/upstream-cache/hobix_0.4+svn20060909.orig.tar.gz</upstream-url>
  <status>up to date</status>

First of all, the </dehs> tag is missing. Secondly, the results are not
grouped in another element.. so even if you're looking for
'/dehs/upstream-version' with a value of 0.4+svn20060909, getting the
URL via '../upstream-url' will still give you an arbitrary one
(depending on the order of lines in debian/watch).

I have noted also that via uscan you can not find/download arbitrary
source tarballs as to build for example a tag. That's probably why there
was a second strategy to derive the URIs from the watch-file instead of
using uscan only.

I am kind of looking for suggestions to improve the situation.  Summarising:
- It needs to be able to download old sources
- It needs to be able to download current sources
- It needs to do this with the watch-file alone given the two types that
  are available:
  <url>           with (.*) in the url
  <url> <pattern> with (.*) in the pattern

Paul

-- 
Student @ Eindhoven                         | email: paulvt at debian.org
University of Technology, The Netherlands   | JID: paul at luon.net
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20060911/32a75586/attachment.pgp


More information about the pkg-ruby-extras-maintainers mailing list