Bug#815202: packages: machines and sponsors information is outdated

Stéphane Blondon <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <57140480.1070508__32204.2981083088$1460929892$gmane$org@gmail.com>

Le 05/04/2016 07:06, Paul Wise a écrit :
> On Tue, Apr 5, 2016 at 9:05 AM, Stéphane Blondon wrote:
> 
>> There are no commit since two years, so I'm not sure it's still alive.
> 
> Nevertheless, it is the way forward.


Perhaps I am wrong but
https://github.com/Debian/ud is the future for the ldap web interface
(db.debian.org), not for packages.debian.org, isn't it?



To merge the previous Perl patch to packages.debian.org:
- clone http://anonscm.debian.org/cgit/webwml/packages.git/ repository,
check out to the debian-master branch
- move the template static/about/sponsors.tmpl templates/html/
- create a new module lib/Packages/DoAboutSponsors.pm. The request to
the LDAP would be inserted inside.
- modify (at least) lib/Packages/Dispatcher.pm by:
 - including DoAboutSponsors.pm
 - modify do_dispatch to bind the url to the new module. (I didn't
understand it completely)

(I fail to write the patch so I wrote the previous paragraph in hope  it
could help someone else.)


>> - Or providing a python script which could be reused by the django site
>> in the future?
> 
> I agree that any future machines list in ud (one doesn't exist yet)
> should have some filtering options.

I can do a pull/request to github with a modified version of the
previous code if you want.


-- 
Stéphane
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXFASAAAoJEKK5G8bNTr3cZiwP/03bm0a358clwGPrs+Nv3ktr
F8ho8j04S3wWWHbBuxmAdtbirTpz1DtVEHL74qFv7ZBYv8iFth1BoXFC18m1GGT2
M7wJZezWrS43Zq7/r5Klw22V9AFSe4h0MMI2nuFWCwUUB9OZyfhDxLE94hDJAzHW
mIifFoziElN4i/s37BZ1Ew7tTFC8f/xGQ46iU2qaxV4c81rNqOywHjwC7Qsg2wNr
zuqZVAS+z9+FIU0c1+LcQp5CjyblrnbTLnMOCanWb6w/3Q06ucLBnEs++I+LvM0n
JfmJxetkPSe5hkI+t1OvcluKwfxzmwOCSsk3aRi7JXLlhvBITjxKEb9/kFBRZMZR
0cZVEImeO5i9bRCU+nr+4SaSglQO6lgwaq4aPkcYrB1H87Dqc5zQ23ONRQA0LIGh
rfXSTLiKsuyezv7BrFhFSvz0D6GrVromvx0AQO1rlE38Dvwj1a6y9UL8hh9q1UHR
QA4BNgRQyDlzxVwjeYQV2YZdVOxkFNas6hhducCRZE5CF++P2UUrLa1sIPzbW0n9
1FtkWct5pPHopBUQ8099+y7rnBZE1V2N7OC56WLF079zIVhLQqwrR419/WeXHT86
6SeqMuS7mq2MTHaw81MjPevl3ePL45vt8nVd9aiNuoeK+h/TOLOAT9Ql4uBg5xFu
nB+SBUp4HOzb5/VZpyRY
=LjmE
-----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.