apt-zeroconf team mailing list archive
-
apt-zeroconf team
-
Mailing list archive
-
Message #00003
Updates on AZC
Hello...
Thought I would give a brief progress report on my efforts as rev 18...
* apt.py was rewritten in to reflect current use of pyinotify
according to samples found on their website.
* use of pyinotify was adjusted in apt.py to now load from either
form known pyinotify.EventsCodes.MOVE_IN or pyinotify.MOVE_IN.
* http.py was heavily factored to provide better division of code and
to drop some dependencies from it base. More dependecies are loaded
from the method that needs them.
* implemented page templates for pages AZC serves so static content
on those pages are not embeded in the code. Any dynamic content need
is added to the page using string.Templates.
* proxy and redirect code has been placed in their own methods for
better reuse between do_POST and do_Get. There is now a simple
method that sets the new url and returns a boolean whether path
contains a proxy or redirect.
* Rewrote _request method to drop dependency on httplib in favor of
using urllib2 methods. Created __proxy_response to combine response
methods for do_Post and fetch_file.
I think that is most of the updates made in a nutshell. I encourage your
contributions to AZC. I think we are now close to our first dev package.
Before this... code needs to reflect the installed locations for pages
and conf files which it does not currently. Any opinions on pages
location: var or etc or... Pages are currently just html fragments with
the exception being list.html which has to remain text.
Then after... decide how to deal with verifying file comes from the same
repository. Automation and customization code still needs to be written.
The customization will probably require a GUI. String translations need
also be tackled.
--
jeremy austin-bardo <ausimage@xxxxxxxxxx>
Ubuntu Communty Member
Attachment:
signature.asc
Description: This is a digitally signed message part
Follow ups