Re: have new packages listed on the debian landing page

Cédric Boutillier <[email protected]>
Newsgroups gmane.linux.debian.devel.www,gmane.linux.debian.devel.publicity
Message-ID <20170512110256.pxj4qnckalejrxb5@esfahan>
> First, how to get a listing/output to stdout from the 1st script ?  I
> just tried to run the script as it is after giving it executable
> rights and got the following -

> [$] ./get-new.sh

> ./get-new.sh: 1: ./get-new.sh: cannot open !DOCTYPE: No such file
> ./get-new.sh: 1: ./get-new.sh: html: not found
> ./get-new.sh: 3: ./get-new.sh: Syntax error: newline unexpected

> Look forward to know more.

You need to call the script with a date with a date as an argument with
format YYYYMMDD, e.g.:

	./get-new.sh 20170201

to get the new packages from Feb 1 of this year.

It assumes that you have a line in your /etc/apt/sources.list with the
'unstable' suite (not sid). It will also fail if one of the files
created by the script already exists in the current directory: 

	all both old new list Package

The result is in the 'list' file, which contains 1032 entries for the
previous invocation.

Cheers,

Cédric
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEnM1rMZ2/jkCrGr0aia+CtznNIXoFAlkVllYACgkQia+CtznN
IXqcwAgAjFSpn3OXJDrHpLmtbacHTl9z3bknY7Kj6qP/+EOYfFhAUgcisGD+xZ7Y
QYrml6IHUKG1M4CsD7jZ6WsVfjf2sdG3xEVupxoGikBClTKJrmkXwX7LMr5/5YUY
Bhe6tO/TtU9JIcSHHLW04e/PlfGrczk4/2hndrCBk9IP5I6fQ+2WaVDvExpnYAcN
IPAuY06GlhuY0zwjL+JtmjPSb4iSlswUb1Tpz6ICw0qIIRyclr2GDo1uCrs+gbIM
E88/b5+H/hweYnXP12YUrui4N+Y/agNLS+wcVs32L+vYtARhUPTY5Gw66QZ55Wez
wEKu1brUx9YnbdiBjMzK/BPL11JoNQ==
=fPhr
-----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.