Differences between revisions 6 and 7
Revision 6 as of 2012-12-21 08:34:09
Size: 1631
Editor: PaulWise
Comment: link to the common mistakes section
Revision 7 as of 2012-12-21 08:35:35
Size: 1628
Editor: PaulWise
Comment: typos
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
Check the [[debian/watch#Common_mistakes|common mistakes]] section of the [[debian/watch] page. Check the [[debian/watch#Common_mistakes|common mistakes]] section of the [[debian/watch]] page.
Line 17: Line 17:
By example pqiv 0.12-1 :
 * The file named "watch" contains this :
By example pqiv 0.12-1:
 * The file named "watch" contains this:
Line 24: Line 24:
 * Then use uscan like this (see "man uscan"), and verify whether the status makes sense :  * Then use uscan like this (see "man uscan"), and verify whether the status makes sense:
Line 28: Line 28:
 * Then use uscan like this (see "man uscan"), and verify whether the link to the upstream file works :  * Then use uscan like this (see "man uscan"), and verify whether the link to the upstream file works:

How to help with fixing debian/watch files

  • Verify whether an updated watch file is already available on the PTS page of the package.

  • Write a good debian/watch file and test it with uscan.
  • Ask bartm or another DD from the qa team to add your debian/watch files in qa.debian.org:/srv/qa.debian.org/data/watch/watchfiles. The file names are package_eversion.watch with eversion = version without epoch but with Debian revision.

How to write a good debian/watch file

See "man uscan".

Check the common mistakes section of the debian/watch page.

How to test the debian/watch file

By example pqiv 0.12-1:

  • The file named "watch" contains this:

version=3
https://github.com/phillipberndt/pqiv/downloads .*/pqiv-(.*)\.tbz$
  • Strip epoch and debian revision from the version. So 1:3.39-1 would become 3.39. In this case 0.12-1 becomes 0.12.
  • Then use uscan like this (see "man uscan"), and verify whether the status makes sense:

uscan --watchfile=watch --package pqiv --upstream-version=0.12 --report-status
  • Then use uscan like this (see "man uscan"), and verify whether the link to the upstream file works:

uscan --watchfile=watch --package pqiv --upstream-version=0 --report-status

List of debian/watch files with temporary or permanent problems

Here is the list of debian/watch files with temporary or permanent problems : http://qa.debian.org/watch/uscan-errors.txt

More reports are found here.