[Blends-commit] [Git][blends-team/med][master] Be sure that new UDD mirror access will be successfully

Andreas Tille gitlab at salsa.debian.org
Sun Nov 29 21:31:58 GMT 2020



Andreas Tille pushed to branch master at Debian Blends Team / med


Commits:
0bcb1edf by Andreas Tille at 2020-11-29T22:06:14+01:00
Be sure that new UDD mirror access will be successfully

- - - - -


1 changed file:

- covid-19_doc/bio_covid-19_dependencies_query


Changes:

=====================================
covid-19_doc/bio_covid-19_dependencies_query
=====================================
@@ -36,7 +36,9 @@ fi
 # Check UDD connection
 if ! psql $PORT $SERVICE -c "" 2>/dev/null ; then
     echo "No local UDD found, use public mirror."
-    SERVICE="postgresql://udd-mirror:udd-mirror@udd-mirror.debian.net/udd"
+    export PGPASSWORD="udd-mirror"
+    SERVICE="--host=udd-mirror.debian.net --port=5432 --username=udd-mirror udd"
+    #SERVICE="postgresql://udd-mirror:udd-mirror@udd-mirror.debian.net/udd"
 fi
 
 while getopts "hjm" o; do
@@ -46,7 +48,9 @@ while getopts "hjm" o; do
             exit 0
             ;;
         m)
-           SERVICE="postgresql://udd-mirror:udd-mirror@udd-mirror.debian.net/udd"
+           export PGPASSWORD="udd-mirror"
+           SERVICE="--host=udd-mirror.debian.net --port=5432 --username=udd-mirror udd"
+           #SERVICE="postgresql://udd-mirror:udd-mirror@udd-mirror.debian.net/udd"
            ;;
         *)
             usage



View it on GitLab: https://salsa.debian.org/blends-team/med/-/commit/0bcb1edffb56e4f7882829330a32f3cf0b9fa5f2

-- 
View it on GitLab: https://salsa.debian.org/blends-team/med/-/commit/0bcb1edffb56e4f7882829330a32f3cf0b9fa5f2
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/blends-commit/attachments/20201129/394b8666/attachment.html>


More information about the Blends-commit mailing list