[med-svn] [Git][med-team/community/helper-scripts][master] Strip +ds[0-9]* from version

Andreas Tille gitlab at salsa.debian.org
Tue Jul 2 14:46:13 BST 2019



Andreas Tille pushed to branch master at Debian Med / community / helper-scripts


Commits:
7293e5ea by Andreas Tille at 2019-07-02T13:45:54Z
Strip +ds[0-9]* from version

- - - - -


1 changed file:

- seek_outdated_med-packages


Changes:

=====================================
seek_outdated_med-packages
=====================================
@@ -17,7 +17,7 @@ SELECT source  AS "source                       ", version, upstream_version,
        array_to_string(array_sort(uploaders),',') AS "uploaders                      ",
         changed_by_name AS "Last uploader       ", date AS "Last uploaded" FROM (
   SELECT distinct u.source,
-         regexp_replace(regexp_replace(regexp_replace(u.version, '^[0-9]:', ''), '-[.0-9]+$', ''), '\+dfsg[0-9]*', '') AS version,
+         regexp_replace(regexp_replace(regexp_replace(regexp_replace(u.version, '^[0-9]:', ''), '-[.0-9]+$', ''), '\+ds[0-9]*', ''), '\+dfsg[0-9]*', '') AS version,
          upstream_version, status, up.uploaders, uh.changed_by_name, uh.date
     FROM upstream u 
     JOIN (SELECT source, package, release, maintainer_email, regexp_replace(version, '\+b[0-9]+$', '') AS version FROM packages)  p ON p.source=u.source -- make sure binNMU version will be stripped



View it on GitLab: https://salsa.debian.org/med-team/community/helper-scripts/commit/7293e5eade9927ffb67d3d639b5f7587358e1d23

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/helper-scripts/commit/7293e5eade9927ffb67d3d639b5f7587358e1d23
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190702/3e57de53/attachment-0001.html>


More information about the debian-med-commit mailing list