[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] Replace the last uses of the old public-udd-mirror name in favour of udd-mirror

Mattia Rizzolo gitlab at salsa.debian.org
Sun Jan 24 12:31:01 GMT 2021



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
928aadd5 by Mattia Rizzolo at 2021-01-24T13:30:49+01:00
Replace the last uses of the old public-udd-mirror name in favour of udd-mirror

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


2 changed files:

- bin/rblib/bugs.py
- bin/reproducible_create_meta_pkg_sets.sh


Changes:

=====================================
bin/rblib/bugs.py
=====================================
@@ -21,9 +21,9 @@ class Udd:
     def _conn(self):
         if self._conn_udd is not None:
             return self._conn_udd
-        username = "public-udd-mirror"
-        password = "public-udd-mirror"
-        host = "public-udd-mirror.xvm.mit.edu"
+        username = "udd-mirror"
+        password = "udd-mirror"
+        host = "udd-mirror.debian.net"
         port = 5432
         db = "udd"
         try:


=====================================
bin/reproducible_create_meta_pkg_sets.sh
=====================================
@@ -205,20 +205,12 @@ update_pkg_set_specific() {
 		popcon_top1337-installed-sources)
 			# popcon top 1337 installed sources
 			SQL_QUERY="SELECT popcon_src.source FROM popcon_src ORDER BY popcon_src.insts DESC LIMIT 1337;"
-			PGPASSWORD=public-udd-mirror \
-				psql -U public-udd-mirror \
-				-h public-udd-mirror.xvm.mit.edu -p 5432 \
-				-t \
-				udd -c"${SQL_QUERY}" > $TMPFILE
+			psql "postgresql://udd-mirror:udd-mirror@udd-mirror.debian.net/udd" -c "${SQL_QUERY}" > $TMPFILE
 			;;
 		key_packages)
 			# key packages (same for all suites)
 			SQL_QUERY="SELECT source FROM key_packages;"
-			PGPASSWORD=public-udd-mirror \
-				psql -U public-udd-mirror \
-				-h public-udd-mirror.xvm.mit.edu -p 5432 \
-				-t \
-				udd -c"${SQL_QUERY}" > $TMPFILE
+			psql "postgresql://udd-mirror:udd-mirror@udd-mirror.debian.net/udd" -c "${SQL_QUERY}" > $TMPFILE
 			;;
 		installed_on_debian.org)
 			# installed on one or more .debian.org machines



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/928aadd56e301067197e628b3334cf5dfbe36987

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/928aadd56e301067197e628b3334cf5dfbe36987
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/qa-jenkins-scm/attachments/20210124/88cd91a2/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list