[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Le 01/04/2016 06:43, Paul Wise a écrit :
> DSA would very much like to kill the existing codebase behind the
> db.d.o website in favour of a rewrite in django:
> 
> https://github.com/Debian/ud

There are no commit since two years, so I'm not sure it's still alive.



> The existing codebase is available here:
> 
> https://anonscm.debian.org/cgit/mirror/userdir-ldap-cgi.git/tree/machines.cgi

I tried to extract the useful code from the script. It depends on the
libnet-ldapapi-perl package and the configuration of the machine which
is running the LDAP.

The syntax is correct but I can't run it on the machine (I don't have
the access rights).

However, I wonder if this perl script is the best strategy:

- Perhaps providing the full data in JSON format by db.d.o would provide
an easy access for several Debian services/tools.
- Or providing a python script which could be reused by the django site
in the future?

Whatever the chosen solution, I can't try to it due to lack of access
rights. (I think it's normal I don't have it.)

-- 
Stéphane

Attachment: packagemachines.pl
Description: Perl program

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: