Follow-up Comment #1, bug #15364 (project freeciv):

The following would be a valid watch file for gna.org downloads (replace the
whole content of the old watch file):


version=3

# stable releases
http://download.gna.org/freeciv/stable/ freeciv-(.*)\.tar\.gz

# beta releases and release candidates
#opts=uversionmangle=s/-/~/;tr/A-Z/a-z/ \
#  http://download.gna.org/freeciv/beta/ freeciv-(.*)\.tar\.gz


The part for beta and RCs (commented) does some magic to the version number
so that
 * release candidates are sorted after beta releases
 * beta and release candidates are sorted before stable releases
when comparing version numbers the Debian way:
2.1.X < 2.2.0~betaX < 2.2.0~rcX < 2.2.0 < 2.3.X

Instead of .tar.gz also .tar.bz2 should work for newer versions of Debian and
derived distributions.


Andreas

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?15364>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to