Package: apt-cacher-ng
Version: 0.7.13-1
Severity: wishlist

Thank you for very good tool for caching.  You have converted squid
believer :-)

This is somewhat related to http://bugs.debian.org/702379 but wishlist
request is different.

My main request:
Can you make all configurable files such as
/usr/lib/apt-cacher-ng/*_mirrors files for apt-cacher-ng overridable by
the same filename file under /etc/apt-cacher-ng.  So we do not need to
have configuration outside of /etc.

Long story:
Currently, we can edit files in /usr/lib/apt-cacher-ng/ or change
/etc/apt-cacher-ng/*.default symlink to change the behavior of
apt-cacher-ng server.  This makes it not so simple to override parts of
the configuration and overriding method is not uniform across files.

The empty backends_debian was cryptic for me until I read the meaning of
the backends_debian.default in README.Debian (these server config
are not much mentioned in "3.1 Server Configuration" in easier to read
HTML document.)

It would be nice if package is updated as follows:

0. /etc/apt-cacher-ng/README should be placed to explain as:

   The default configuration files of apt-cacher-ng is located under
   /usr/lib/apt-cacher-ng/acng.conf.d/.  They are concatenated in the 
   ASCII-order of their filenames to form the effective configuration.
   User can override the default configuration by creating the same
   filename exist under /etc/apt-cacher-ng/acng.conf.d/.  User can add
   the custom configuration by adding a new file under
   /etc/apt-cacher-ng/acng.conf.d/.  The same goes with other
   configuration files such as /usr/lib/*_mirrors.  For more, read
   /usr/share/apt-cacher-ng/html/index.html

1. In addition to above README, ship security.conf only under
   /etc/apt-cacher-ng/.  

2. Update "3.1 Server Configuration" by including many parts of
   README.Debian.

3. Update configuration reading routine to match README.
   /usr/lib/apt-cacher-ng/acng.conf.d/ should have multiple files
   for modular user configuration override.

Minor point #1:

"Proxy: ..." in acng.conf is explained only in the file.  It would be
nice if this is documented in main HTML.  Text may be more clear if it
states as follows:

  The specification of the upstream proxy which shall be used for 
  downloads to this proxy.  This allows to use another apt-cacher-ng
  server as the proxy server.

(I did not understand "Username and password are, and see manual for
limitations."  Where in manual are you talking?)

Minor point #2:

Putting some URL in /etc/apt-cacher-ng/backends_debian makes that URL
treated almost as a part of debian archive for cached *.deb files and
store files under /var/cache/apt-cacher-ng/debrep.  But when accessing
files such as dists/sid/main/binary-amd64/Packages, it reads from the
URL specified (not from the first URL in
/etc/apt-cacher-ng/backends_debian.default.  Somewhat inconsistent.

Minor point #3:

Can you update bug script to skip security.conf ?


-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-cacher-ng depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.50
ii  dpkg                   1.16.10
ii  libbz2-1.0             1.0.6-4
ii  libc6                  2.17-7
ii  libgcc1                1:4.8.1-5
ii  liblzma5               5.1.1alpha+20120614-2
ii  libstdc++6             4.8.1-5
ii  libwrap0               7.6.q-24
ii  zlib1g                 1:1.2.8.dfsg-1

Versions of packages apt-cacher-ng recommends:
ii  avahi-daemon  0.6.31-2
ii  ed            1.9-1
ii  perl          5.14.2-21

Versions of packages apt-cacher-ng suggests:
ii  curl      7.31.0-2
ii  doc-base  0.10.5
ii  libfuse2  2.9.2-4
ii  wget      1.14-2

-- Configuration Files:
/etc/apt-cacher-ng/backends_debian changed:
http://ftp.jp.debian.org/debian/
http://debian-mirror.sakura.ne.jp/debian/
http://ftp.jaist.ac.jp/debian/
http://ftp.us.debian.org/debian/

/etc/apt-cacher-ng/security.conf [Errno 13] Permission denied: 
u'/etc/apt-cacher-ng/security.conf'

-- debconf information:
  apt-cacher-ng/gentargetmode: No automated setup


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to