[med-svn] [Git][med-team/community/helper-scripts][master] Sort uploaders to get identical strings for each query

Andreas Tille gitlab at salsa.debian.org
Wed Feb 6 12:10:20 GMT 2019


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


Commits:
4d9af54c by Andreas Tille at 2019-02-06T12:09:57Z
Sort uploaders to get identical strings for each query

- - - - -


1 changed file:

- seek_outdated_med-packages


Changes:

=====================================
seek_outdated_med-packages
=====================================
@@ -10,7 +10,7 @@ echo >> $OUTFILE
 export PGPASSWORD="public-udd-mirror"
 psql --port=5432 --host=public-udd-mirror.xvm.mit.edu --username=public-udd-mirror udd >> $OUTFILE <<EOT
 SELECT source  AS "source                       ", version, upstream_version, 
-       array_to_string(uploaders,',') AS "uploaders                      ",
+       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,



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

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/helper-scripts/commit/4d9af54c5bd9de1bbd1fd11cc49cdad292dcc536
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/20190206/24783ef3/attachment-0001.html>


More information about the debian-med-commit mailing list