Package: org-mode
Version: 6.09a-1
Severity: normal
Tags: patch

With the current watch file 'uscan' is unable to download new version due
to malformed URL like http://orgmode.org/index.html/org-6.10.tar.gz:

-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   http://orgmode.org org-(.*)\.tar\.gz
Use of uninitialized value $2 in split at /usr/bin/uscan line 1405, <WATCH> 
line 4.
-- Found the following matching hrefs:
     org-6.10.tar.gz
Newest version on remote site is 6.10, local version is 6.09a
 => Newer version available from
    http://orgmode.org/index.html/org-6.10.tar.gz
-- Downloading updated package org-6.10.tar.gz
uscan warning: In directory ., downloading
  http://orgmode.org/index.html/org-6.10.tar.gz failed: 404 Not Found
-- Scan finished

With the suggested patch 'uscan' downloaded successfully:

-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   opts=downloadurlmangle=s/index\.html// http://orgmode.org/org-(.*)\.tar\.gz 
debian uupdate
-- Found the following matching hrefs:
     org-6.10.tar.gz
Newest version on remote site is 6.10, local version is 6.09a
 => Newer version available from
    http://orgmode.org//org-6.10.tar.gz
-- Downloading updated package org-6.10.tar.gz
-- Successfully downloaded updated package org-6.10.tar.gz
    and symlinked org-mode_6.10.orig.tar.gz to it
-- Executing user specified script
     uupdate --no-symlink --upstream-version 6.10 org-6.10.tar.gzNew Release 
will be 6.10-1.
-- Untarring the new sourcecode archive ../org-mode_6.10.orig.tar.gz
Success!  The diffs from version 6.09a-1 worked fine.
Remember: Your current directory is the OLD sourcearchive!
Do a "cd ../org-mode-6.10" to see the new package
-- Scan finished


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental'), (500, 
'feisty')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-openvz-686 (SMP w/2 CPU cores)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages org-mode depends on:
ii  emacs-snapshot              1:20081018-1 The GNU Emacs editor (development 

org-mode recommends no packages.

Versions of packages org-mode suggests:
ii  remember-el                   1.9-1      remember text within Emacs

-- debconf-show failed
diff --git a/debian/watch b/debian/watch
index b0b882b..d2741f6 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
 # format version number, currently 3; this line is compulsory!
 version=3
 
-http://orgmode.org org-(.*)\.tar\.gz
+opts=downloadurlmangle=s/index\.html// \
+http://orgmode.org/org-(.*)\.tar\.gz debian uupdate

Reply via email to