The monotone repository at www.ada-france.org tracks the GPL versions
of XML/Ada from the public part of the upstream CVS repository.  The
revisions are stored into a branch named com.adacore.xmlada.

Three versioning schemes are involved.
* Commercial non GPL releases are numbered MAJOR.MINOR on Adacore
  website.
* Development builds between MAJOR.MINOR and NEXTMAJOR.NEXTMINOR
  releases are numbered NEXTMAJOR.NEXTMINORw (w as wavefront).
* GPL releases are generated from a CVS commit and numbered gpl-YEAR.
* Each Debian package is based on a GPL release, but numbered
  MAJOR.MINOR.YEAR in order to ease comparison with other versions.

When packaging a new version for Debian:

Download pristine archive and repackage it without generated files.
# (cd DIR && uscan --repack --compression xz)
Extract pristine archive.
# tar xf xmlada-gpl-YEAR-src.tar.gz
Create a monotone workspace.
# mtn checkout -r h:com.adacore.xmlada
For each revision, extract version and diff count with the tarball.
# (cd com.adacore.xmlada && sh ../DIR/debian/find_branchpoint.sh)
The commit minimizing the diff will give NEXTMAJOR.NEXTMINOR while
previous commits will give MAJOR.MINOR.
Rename the repackaged archive accordingly.
# mv libxmlada_YEAR.orig.tar.gz libxmlada_MAJOR.MINOR.YEAR.orig.tar.gz

If you forward your work to Debian, please increment the year in
archive_contents and set last_branchpoint in find_revision.sh.

 -- Nicolas Boulenguez <nicolas@debian.org>, Thu, 22 Oct 2015 14:45:49 +0200
