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

(secure!) web front-end for apt / debconf



i'm looking to do a web (HTTP/AJAX) front-end for apt, including
presentation and answering of debconf package configuration questions.
 my primary programming language is python, and i'm glad to see
python-apt.

however, despite searching "apt-cache search python debconf" etc. and
despite the wikipedia page saying "there's a debconf python API"
en.wikipedia.org/wiki/Debconf_(software_package) i'm a leetle lost,
here.

further quick google searches show some accidental encountering of
"debconf.py".  google searches for "debconf.py" shows err.... a blank
svn repository:
http://anonscm.debian.org/viewvc/debconf/trunk/src/debconf/

that leads me to wonder if that's up-to-date, leading to running of
"apt-get source debconf".  that downloads debconf 1.5, and in the root
directory there's a very very short debconf.py program which looks
fairly meaningless.

i've run the example gtk installer (examples python-apt-doc) which
required some updates; the updates i was able to find by examining
/usr/share/pyshared/apt/progress/gtk2.py.

by looking at the apt/progress/gtk2.py i was able to ascertain that it
uses vte: vte would be no good for use on a web server [AJAX will be
required, and a special web server which serves only one
HTTP connection]

from _that_ file i was able to ascertain that there's a corresponding
text progress system, which could potentially help to be the basis of
an HTTP/AJAX-based alternative, but in the entire apt.progress code i
saw no evidence of a connection to debconf which would allow dpkg
questions to be answered.

so... what the heck is going on, and where do i start? :)

tia,

l.


Reply to: