On Sun, 28 Mar 2010 15:59:43 +0200 Sandro Tosi <[email protected]> wrote:
> > So that I don't lose track of this issue again, this is the bug report
> > detailing the reasons why reportbug should redirect bugs against any
> > package with a version string ending in em[0-9] to the
> > buildd.emdebian.org pseudo-package:
>
> Could you please provide a more robust regexp (if possible) to match
> Emdebian packages? it's seems quite fragile at first sight. or do you
> mean that each and every package in emdebian has a "<upstream
> version>-<debian revision>{+}em<number>" version format?
Yes, it is each and every package with a uniform suffix - it's added
automatically.
Non-native packages:
<upstream-version>-<debian-revision>em<0-9>
Native packages:
<debian-version>em<0-9>
(no '+')
e.g.
apt: 0.7.25.3em1
cron: 3.0pl1-107em1
lxde: 0.5.0-3em1
bind: 1:9.7.0.dfsg.P1-1em1
The pattern persists even with binNMU versions and other suffixes -
Emdebian is always the last to process a Debian package, so adding the
em1 suffix is uniform and entirely predictable. Whatever string we
receive as the complete Debian version has em1 appended for Emdebian
Grip. Epochs are handled as normal.
When cross-building (Emdebian Crush), there are occasions where em2, em3
etc. are needed but no package has yet gone passed em6.
You can see how any particular package, currently supported in Emdebian
Grip, is handled by searching at:
http://www.emdebian.org/grip/search.php
or viewing the pool direct:
http://www.emdebian.org/grip/pool/
'em[0-9]' occurring anywhere in the version string OTHER THAN the
absolute end of the string is nothing to do with Emdebian.
My knowledge of python regexps is almost nil but the pattern we use is
consistent, so a trivial regexp is reliable in perl and I wouldn't
expect python to have problems.
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/
pgpSqe4YkjCbQ.pgp
Description: PGP signature
_______________________________________________ Reportbug-maint mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/reportbug-maint
