Bug#1074038: /usr/bin/who-uploads: who-uploads fetches accepted information from packages.qa.debian.org/$pefix/$package.html which does not get updates after lifts.debian.org upgrade

Holger Levsen <[email protected]>
Newsgroups gmane.linux.debian.devel.quality-assurance
Message-ID <Z2v9egetLiKtzVpo__32910.4811347619$1735130726$gmane$org@layer-acht.org>
On Mon, Dec 23, 2024 at 09:44:45PM +0100, gregor herrmann wrote:
> Here's a patch to use tracker.d.o

thanks!
 
> (Admittedly the date parsing is not very elegant.)

yes, probably but...

>  	if [ "$WANT_DATE" = "yes" ]; then
> -	    DATE=$(echo "$HTML_TEXT" |  sed -ne 's%<li><em>Date</em>: \(.*\)</li>%\1%p')
> +	    DATE=$(echo "$HTML_TEXT" | xargs | perl -ne 'print $1 if m%<li><b>Date</b>: (.+) </li>%;')
>  	fi

how much harm can be done? I'd tend to accept this, what do others think?


-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

Wir können aus der Erde keinen Himmel machen, aber jeder von uns kann etwas
tun, dass sie nicht zur Hölle wird.
(Fritz Bauer, hessischer Generalstaatsanwalt)
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmdr/XoACgkQCRq4Vgaa
qhzrxxAAjE/ormsZOePu+MHieQMFRzqYaIl28OE5hb96dtpv/hwmWpgP4hUbYUZ5
jC6ys6Ps9ox0GT/Ov2g9n7lMaNuc70R3mD1+MIU/8p2zGd1dMd/8Kik0YSiZIgn1
ULq3Y8OWkDQZ6EdIYfwk1kybbQq2qBnD/xlLzwpDupWx9035Nxce0Bbo3+25ZwKX
zjBJCv05jUUG02jKluD3+4rLwB940U+7b7kO9vbY5jUwmaQNU8KvW9HmPflNXCfj
eJZlqPm9iMrEJe0vfBoyWwArBDBGNYOeiCeSjL4alsPTUGjdvgp4QXgotUBaaGr0
i6/FMTgpA/sEBKttI3cCO2+FpsbzDaRrzrH4YIMvDeueP0fNieFdf1Q3KcDoNGok
bBd4SHIbXlTqcpO5JiW14oYJRBgwjHNWVEw2i6ukDSy+juCWJycHdbbn1No+aDtV
sEmPU0JxfJEljn8KVZDcMDFOhkBrxcPRTAtKdAVebmKJfYULbdEB+RryypeZJc11
fEq74n/U8freSs55clxlWWd/wWp3cjibzEZHYDk/vSeTtl7hkeTvJtjtUk7ABKqJ
7Nk8Uz1aKm43kf7aMAng4vBQNMwNyMkvAMNxpad6BZnxKvu41FRMDvkuehIBvf/h
kBzo21KrQ6lxZwNjm6NX2QTU2q6POe/cIu/+R/xfdhnS0ARXD9U=
=17/3
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.