[R-pkg-team] Bug#976059: Migrate to udd-mirror.debian.net hostname

Asheesh Laroia asheesh at asheesh.org
Sun Nov 29 06:02:37 GMT 2020


Package: dh-r
Version: 20201117
X-Debbugs-CC: mattia at debian.org

Hi there!

I looked through Debian for mentions of the
public-udd-mirror.xvm.mit.edu hostname, which Mattias and I are
deprecating in favor of udd-mirror.debian.net. See also
https://lists.debian.org/debian-qa/2020/11/msg00011.html

I discovered it in dh-r via this search:
https://codesearch.debian.net/search?q=public-udd-mirror

For many years, both hostnames have worked. We now expect the old
hostname to stop working eventually.

I'm attaching a patch, which I have tested by manually running psql
with similar flags as how the script would run it:

$ psql postgresql://udd-mirror:udd-mirror@udd-mirror.debian.net/udd -t
udd -c "select version from new_packages where package =
'libnest2d-dev' ;"
 0.4-26-g4d6fb4d-1

This matches what I see at https://ftp-master.debian.org/new.html .

In the patch, I chose to use a postgresql:// URL to specify how to
access the mirror. In my opinion, this improves clarity
by avoiding the need for the PGPASSWORD environment variable.

There's some chance the patch is mangled; if so, I apologize. The
intent should be reasonably clear.

Best regards,

Asheesh.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dh-r.patch
Type: application/octet-stream
Size: 954 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20201129/9675f9c2/attachment-0001.obj>


More information about the R-pkg-team mailing list