[pkg-bioc] Re: Correct uscan/watch pattern for CRAN packages

Dirk Eddelbuettel edd@debian.org
Wed, 15 Jun 2005 19:48:03 -0500


Rafael,

On 15 June 2005 at 11:19, Rafael Laboissiere wrote:
| I noticed that the patterns in the debian/watch files for the r-cran-*
| packages is not correct.  For instance, nlme has:
[...]
| The pattern must be changed to the following:
| 
|     http://cran.r-project.org/src/contrib/nlme_([\d\.]*)-(\d+).tar.gz
| 
| The parenthesized RE are joined with periods and this gives the expected
| behavior:

Thank you -- you are *The Man* !! I cannot tell how long this has been
bugging me at my QA page 
  http://qa.debian.org/developer.php?login=edd&comaint=yes&reset=yes
where half the CRAN entries where wrong...

One minor nit:  the end is improved as \.tar.gz with an escaped dot.

| I did not checked carefully, but it seems that cran2deb does not create a
| debian/watch file automatically.  If I have some time in the near future, i
| will try to implement this.

Good idea, yes.  May also help with the mirroring which we may be able to
outsource to uscan. We probably still need a layer to remove old versions ...

Dirk

-- 
Statistics: The (futile) attempt to offer certainty about uncertainty.
         -- Roger Koenker, 'Dictionary of Received Ideas of Statistics'