[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How can I get my watch file macros working?



My debian/watch file is not matching anything, and I'm not sure why.

Here's the file:
version=4
https://dl.bintray.com/novik65/generic/ ru[tT]orrent@ANY_VERSION@@ARCHIVE_EXT

I would think this should match the website which has hrefs such as:
ruTorrent-3.7.zip
rutorrent-3.6.tar.gz

Unfortunately, it does not. Below is the output of uscan -vvd.
Assistance greatly appreciated:

uscan info: uscan (version 2.16.13) See uscan(1) for help
uscan info: Scan watch files in .
uscan debug: Found ./debian
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="rutorrent" version="3.7-1" (as seen in debian/changelog)
uscan info: package="rutorrent" version="3.7" (no epoch/revision)
uscan info: ./debian/changelog sets package="rutorrent" version="3.7"
uscan info: Process ./debian/watch (package=rutorrent version=3.7)
uscan debug: $options{'pgpmode'}=default, $options{'pgpsigurlmangle'}=undef
uscan info: Last orig.tar.* tarball version (from debian/changelog): 3.7
uscan info: Last orig.tar.* tarball version (dversionmangled): 3.7
uscan info: Requesting URL:
   https://dl.bintray.com/novik65/generic/
uscan debug: received content:
<html>
<head>
<script>
//1483974648596
function navi(e){
location.href = e.target.href.replace('/:','/'); e.preventDefault();
}
</script>
</head>
<body>
<pre><a onclick="navi(event)" href=":S2EngEditor.zip"
rel="nofollow">S2EngEditor.zip</a></pre>
<pre><a onclick="navi(event)" href=":S2SteamPatch.zip"
rel="nofollow">S2SteamPatch.zip</a></pre>
<pre><a onclick="navi(event)" href=":plugins-3.6.tar.gz"
rel="nofollow">plugins-3.6.tar.gz</a></pre>
<pre><a onclick="navi(event)" href=":plugins/" rel="nofollow">plugins/</a></pre>
<pre><a onclick="navi(event)" href=":ruTorrent-3.7.zip"
rel="nofollow">ruTorrent-3.7.zip</a></pre>
<pre><a onclick="navi(event)" href=":rutorrent-3.6.tar.gz"
rel="nofollow">rutorrent-3.6.tar.gz</a></pre>
</body>
</html>

[End of received content] by HTTP
uscan debug: processed content:
<html>
<head>
<script>
//1483974648596
function navi(e){
location.href="e.target.href.replace('/:','/');" e.preventDefault();
}
</script>
</head>
<body>
<pre><a onclick="navi(event)" href=":S2EngEditor.zip"
rel="nofollow">S2EngEditor.zip</a></pre>
<pre><a onclick="navi(event)" href=":S2SteamPatch.zip"
rel="nofollow">S2SteamPatch.zip</a></pre>
<pre><a onclick="navi(event)" href=":plugins-3.6.tar.gz"
rel="nofollow">plugins-3.6.tar.gz</a></pre>
<pre><a onclick="navi(event)" href=":plugins/" rel="nofollow">plugins/</a></pre>
<pre><a onclick="navi(event)" href=":ruTorrent-3.7.zip"
rel="nofollow">ruTorrent-3.7.zip</a></pre>
<pre><a onclick="navi(event)" href=":rutorrent-3.6.tar.gz"
rel="nofollow">rutorrent-3.6.tar.gz</a></pre>
</body>
</html>

[End of processed content] by fix bad HTML code
uscan info: Matching pattern:
   (?:(?:https://dl.bintray.com)?\/novik65\/generic\/)?ru[tT]orrent[-_]?(\d[\-+\.:\~\da-zA-Z]*)(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip)
uscan debug: Checking href :S2EngEditor.zip
uscan debug: Checking href :S2SteamPatch.zip
uscan debug: Checking href :plugins-3.6.tar.gz
uscan debug: Checking href :plugins/
uscan debug: Checking href :ruTorrent-3.7.zip
uscan debug: Checking href :rutorrent-3.6.tar.gz
uscan warn: In debian/watch no matching files for watch line
  https://dl.bintray.com/novik65/generic/
ru[tT]orrent[-_]?(\d[\-+\.:\~\da-zA-Z]*)(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip)
uscan info: Scan finished


Reply to: