Differences between revisions 10 and 11
Revision 10 as of 2008-12-28 15:29:38
Size: 6987
Editor: ?Wolfi
Comment:
Revision 11 as of 2009-03-16 03:33:24
Size: 7012
Editor: anonymous
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
 Query packages status :: The DEHS data of a package is available with other QA metrics on [http://packages.qa.debian.org], but it is also available on [http://dehs.alioth.debian.org].  Query packages status :: The DEHS data of a package is available with other QA metrics on [[http://packages.qa.debian.org]], but it is also available on [[http://dehs.alioth.debian.org]].
Line 17: Line 17:
 Maintainer report :: DEHS is also integrated on the ["qa.debian.org/DDPO"] page of each maintainer. On this view the latest upstream version is visible in a per package basis on the table.  Maintainer report :: DEHS is also integrated on the [[qa.debian.org/DDPO]] page of each maintainer. On this view the latest upstream version is visible in a per package basis on the table.
Line 19: Line 19:
 Notify Maintainer :: DEHS can send notifications of new upstream version to the 'summary' tag/keyword of the PTS when it finds a new upstream version. [[BR]] Anyone interested in receiving this kind of notifications please see the [http://www.debian.org/doc/manuals/developers-reference/ch-resources.en.html#s-pkg-tracking-system PTS' documentation] on how to subscribe.  Notify Maintainer :: DEHS can send notifications of new upstream version to the 'summary' tag/keyword of the PTS when it finds a new upstream version. <<BR>> Anyone interested in receiving this kind of notifications please see the [[http://www.debian.org/doc/manuals/developers-reference/ch-resources.en.html#s-pkg-tracking-system|PTS' documentation]] on how to subscribe.
Line 21: Line 21:
 DEHS statistics :: DEHS provides a [http://dehs.alioth.debian.org/stats.html statistics page] which show the overall "external status" of Debian over the time.  DEHS statistics :: DEHS provides a [[http://dehs.alioth.debian.org/stats.html|statistics page]] which show the overall "external status" of Debian over the time.
Line 27: Line 27:
Basically, DEHS is doing this almost every day on the whole [:DebianUnstable:Debian/Unstable] and [:DebianExperimental:Debian/Experimental] archives. (Actually, DEHS checks upstream about every four days, AND every time a new version of a given package is introduced in Debian). Basically, DEHS is doing this almost every day on the whole [[DebianUnstable|Debian/Unstable]] and [[DebianExperimental|Debian/Experimental]] archives. (Actually, DEHS checks upstream about every four days, AND every time a new version of a given package is introduced in Debian).
Line 76: Line 76:
 * DEHS service was announced by Stefano Fabri in April 2004 on [http://lists.debian.org/debian-qa/2004/04/msg00172.html debian-qa] and [http://lists.debian.org/debian-devel/2004/04/msg01921.html debian-devel].
 * DEHS source code is available on svn://svn.debian.org/dehs ([http://svn.debian.org/viewcvs/dehs/ browse]).
 * DEHS service was announced by Stefano Fabri in April 2004 on [[http://lists.debian.org/debian-qa/2004/04/msg00172.html|debian-qa]] and [[http://lists.debian.org/debian-devel/2004/04/msg01921.html|debian-devel]].
 * DEHS source code is available on svn://svn.debian.org/dehs ([[http://svn.debian.org/viewcvs/dehs/|browse]]).
Line 103: Line 103:
 * Package {{{debian/watch}}} file in [http://www.debian.org/doc/debian-policy/ch-source.html#s-debianwatch Debian Policy].
 * DebPkg:devscripts (especially [http://manpages.debian.net/man/1/uscan uscan manpage])
 * Debian [:qa.debian.org:Quality Assurance].
 * Mailing list : [http://lists.debian.org/debian-qa/ debian-qa] ([http://lists.alioth.debian.org/mailman/listinfo/dehs-devel dehs-devel@l.a.d.o] for development)
 * Package {{{debian/watch}}} file in [[http://www.debian.org/doc/debian-policy/ch-source.html#s-debianwatch|Debian Policy]].
 * DebPkg:devscripts (especially [[http://manpages.debian.net/man/1/uscan|uscan manpage]])
 * Debian [[qa.debian.org|Quality Assurance]].
 * Mailing list : [[http://lists.debian.org/debian-qa/|debian-qa]] ([[http://lists.alioth.debian.org/mailman/listinfo/dehs-devel|dehs-devel@l.a.d.o]] for development)

Debian External Health Status (DEHS)

Introduction

DEHS is a service that periodically checks packages for new upstream version. This service is part of Debian QA (Quality Assurance) project.

Query packages status

The DEHS data of a package is available with other QA metrics on http://packages.qa.debian.org, but it is also available on http://dehs.alioth.debian.org.

Maintainer report

DEHS is also integrated on the ?qa.debian.org/DDPO page of each maintainer. On this view the latest upstream version is visible in a per package basis on the table.

Notify Maintainer

DEHS can send notifications of new upstream version to the 'summary' tag/keyword of the PTS when it finds a new upstream version.
Anyone interested in receiving this kind of notifications please see the PTS' documentation on how to subscribe.

DEHS statistics

DEHS provides a statistics page which show the overall "external status" of Debian over the time.

How DEHS works

Debian packages optionally provides the location where upstream sources are released (this is known as debian/watch file). Using an appropriate tool (like uscan from devscripts), it's possible to automatically check the latest upstream version of a program.

Basically, DEHS is doing this almost every day on the whole Debian/Unstable and Debian/Experimental archives. (Actually, DEHS checks upstream about every four days, AND every time a new version of a given package is introduced in Debian).

DEHS, also has an intelligent mechanism to guess the location of a program, this is known as the Watch Wizard. It works by extracting the urls from the copyright file of packages without a watch file. Afterwards it makes several attempts to guess the file name and file extension which would be displayed on that url.

Things that everybody should know

Debian repackaging (a.k.a. trust what uscan says)

As of the time of writing (16/02/2008) DEHS additionally strips any 'dfsg', 'debian', and 'ds' it finds on the Debian upstream version. This is done because many watch files do not strip them by themselves so DEHS strips it for them.

Maintainers should not rely on this feature because it may be disabled at any point in the future. The right way is to use dversionmangle and strip any repackaging (or similar) parts from the Debian upstream version.

However, using uversionmangle to add the 'dfsg' part to the upstream version should not be considered as correct. This is based on the idea that downloading the upstream sources won't make it DFSG-free, so upstream's version is not DFSG-free but Debian's is. In other words: uversionmangle=s//+dfsg/ is not correct, dversionmangle=s/\+dfsg// is.

A complete example watch file how to use dversionmangle:

version=2
opts=dversionmangle=s/\.dfsg// \
https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-(.*)\.tar\.gz

Besides the above mentioned situation DEHS and uscan should report the same status for a package, if they don't it's probably a bug on DEHS and should be reported (see below on how to report bugs).

Extraction of watch files

DEHS gathers the watch files by downloading the .diff.gz file of a given package proceding by extracting the debian/watch file from it. This means that native and packages which contain the debian/watch file inside the .orig.tar.gz aren't processed by DEHS.

Note that this is not a bug, if the package provides a watch file it shouldn't be a Debian-native package.

Future features

Watch file injection

At the moment it is not possible to inject a watch file on DEHS database. But by request there might be some kind of implementation in the future.

Checking of Homepage and Vcs-browser
It is planned to make DEHS check the validity of the Homepage and Vcs-browser control fields.
Vcs-awareness
some people have rewritten DEHS' functionality so they are able to check for new upstream versions based on the watch and changelog files from their vcs. This functionality should be provided by DEHS (probably by gathering some data thanks to svnbuildstat.d.net)

Bugs, features, etc

Bugs and feature requests are filled against the qa.debian.org pseudo-package on the BTS.

Other misc information

  • DEHS service was announced by Stefano Fabri in April 2004 on debian-qa and debian-devel.

  • DEHS source code is available on svn://svn.debian.org/dehs (browse).

DEHS-aware services (a.k.a. coordinatio-pourposes listing)

Any service (or alike) which uses the data generated by DEHS should *really* be listed here. Please feel free to add an entry yourself.

  • PTS: no_upstream.txt, no_updated.txt
  • DDPO: dehs_qa_experimental.db, dehs_qa_unstable.db
  • DDPO-by-mail: ddpomail.txt
  • BAPASE: ddpomail.txt
  • Lucas' Munin: stats.txt

Note: when making changes to the output formats (and such) only special care will be take for the above listed services. So add your own service!

Public data

The next files are available for anyone to use. But, as clearly stated above, anyone/anything using the following resources should be listed above.

Important: if a file or resource is not listed here but is somehow available do not rely on its format. Rather contact the DEHS maintainers.

  • semicolon-separated files: no_upstream.txt, no_updated.txt, no_watch.txt, stats.txt
  • BDBs with the source package name being the entry key: dehs_qa_unstable.db, dehs_qa_experimental.db

See Also


CategoryPermalink