It seems some Debian versions of apt-cacher-ng return error
code 406 instead of 404:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762969
This is my case in Jessie, for example.
This patch considers both codes as "valid".
Add username and password settings to the APT Proxy plugin so that
users who are behind an authenticating proxy can still use bootstrap-vz
without having to jump through hoops. If either the username or password
are not set, then no authentication is used.
Check if the specified APT proxy server can be reached, informing the
user if this can't be done. That will help them to debug the errors that
will be raised by `apt-get` because of the misleading proxy
configuration.
This closes#95.
Three of the last developed plugins remained on the old `plugins/`
folder. This probably happened because they didn't existed when the
`documentation` branch were created, so they weren't moved when it was
rebased against `master`.
2014-04-03 19:08:04 -03:00
Renamed from plugins/apt_proxy/tasks.py (Browse further)