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

[RFR2] templates://apt-cacher-ng/{apt-cacher-ng.templates}



Please find, for review, the debconf templates of apt-cacher-ng.
I have tried to amalgamate all the feedback into them, and listed other
suggestions below. Other than those, I hope everything makes sense and
the main changes are already in place.

If this round of reviews goes smoothly, I will issue the usual LCFC
and then move on to translations.

Eduard: am I right in thinking you intend to use just one debconf question,
or have I missed something there?

JBR:
>> And the changed templates file:
>>
>> __Choices: Set up once, Set up now and update later, No automated setup
>> _Default: Set up once
>> _Description: Configure apt-cacher-ng for request URL remapping?

> Christian points out this shouldn't be a question.  But
> 
>    _Description: Configuration of apt-cacher-ng for request URL remapping:
> 
> is getting unwieldy; maybe:
> 
>    _Description: Automatic request URL remapping for apt-cacher-ng:

Is the package name neccessary? (I'd like to hope the user knows what
s/he is installing.) For brevity I suggest:

	_Description: Automatic remapping of client requests:

> > Then the language gets a little jumbled. I suggest:
> >
> >    Apt-Cacher NG can download packages from repositories other than those
> >    requested by the clients. This enables quicker initial configuration
> >    of
> >    clients, and one place to change mirrors later.
> 
> Enables a place?  Hmm.  And how does having a proxy make initial
> configuration quicker than if all my machines just pointed APT
> directly at the default mirror?

You're right, this is mainly nonsense. Amended to:

 Apt-Cacher NG can download packages from repositories other than those
 requested by the clients. This allows it to cache content effectively,
 and makes it easy for an administrator to change repository later.




-- 
Jonathan Wiltshire

1024D: 0xDB800B52 / 4216 F01F DCA9 21AC F3D3  A903 CA6B EA3E DB80 0B52
4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51
Template: apt-cacher-ng/gentargetmode
Type: select
__Choices: Set up once, Set up now and update later, No automated setup
_Default: Set up once
_Description: Automatic remapping of client requests:
 Apt-Cacher NG can download packages from repositories other than those
 requested by the clients. This allows it to cache content effectively,
 and makes it easy for an administrator to change repository later.
 .
 This remapping of URLs can be configured now in an automated way based on the
 current state of /etc/apt/sources.list. Optionally, this process can be
 repeated on every package update (modifying the configuration files each
 time).
 .
 Selecting "No automated setup" will leave the existing configuration
 unchanged. It will need to be updated manually.

--- ../apt-cacher-ng.old/debian/apt-cacher-ng.templates	2009-05-27 20:37:13.000000000 +0100
+++ debian/apt-cacher-ng.templates	2009-10-12 22:34:37.000000000 +0100
@@ -1,20 +1,17 @@
-Template: apt-cacher-ng/modifytargets
-Type: boolean
-Default: true
-_Description: Configure apt-cacher-ng to transparently reroute requests to different mirrors?
- Apt-cacher-ng can silently and transparently reroute user requests to
- different mirror(s). To simplify required configuration this setup can create
- or modify lists of target hosts.
-
 Template: apt-cacher-ng/gentargetmode
 Type: select
-_Choices: Create once, Create now and update later, Disable target rerouting
-_Default: Create once
-_Description: Configuration mode of download sources:
- The lists of target mirrors (download sources) for popular distributions can
- be created based on information in the current sources.list file. Optionally,
- the lists can be updated to match sources.list on every later update of the
- apt-cacher-ng package.
+__Choices: Set up once, Set up now and update later, No automated setup
+_Default: Set up once
+_Description: Automatic remapping of client requests:
+ Apt-Cacher NG can download packages from repositories other than those
+ requested by the clients. This allows it to cache content effectively,
+ and makes it easy for an administrator to change repository later.
+ .
+ This remapping of URLs can be configured now in an automated way based on the
+ current state of /etc/apt/sources.list. Optionally, this process can be
+ repeated on every package update (modifying the configuration files each
+ time).
  .
- Alternatively, the target mirror rerouting can be disabled now by removing the
- current targets from existing lists.
+ Selecting "No automated setup" will leave the existing configuration
+ unchanged. It will need to be updated manually.
+
--- ../apt-cacher-ng.old/debian/control	2009-05-27 20:37:13.000000000 +0100
+++ debian/control	2009-10-12 22:17:58.000000000 +0100
@@ -9,20 +9,17 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
 Recommends: perl (>> 5.8), ed
-Description: Caching proxy for distribution of software packages
- Apt-Cacher NG is yet another implementation of a HTTP proxy for
- software packages, primarily targeted at Debian/Ubuntu packages but
- may also be used with others types.
+Description: caching proxy server for software repositories
+ Apt-Cacher NG is a caching proxy for downloading packages from Debian-style
+ software repositories (or possibly from other types).
  .
- It follows similar principles as others (Apt-Cacher, Apt-Proxy, 
- Approx) and serves the same purpose: a central machine presents the
- proxy for a local network and clients configure their APT setup
- to download through it. Apt-Cacher keeps a copy of all useful data
- that has been passed through it and when a similar request appears,
- the old copy of the data is delivered without redownloading it from
- the Debian mirrors.
+ The main principle is that a central machine hosts the proxy for a local
+ network, and clients configure their APT setup to download through it.
+ Apt-Cacher NG keeps a copy of all useful data that passes through it, and when
+ a similar request is made, the cached copy of the data is delivered without
+ being re-downloaded.
  .
- Apt-Cacher NG is more than a simple rewrite of Apt-Cacher. It was redesigned
- from scratch and is written in C++ with main focus on maximizing throughput
- with low requirements on system resources. 
-
+ Apt-Cacher NG has been designed from scratch as a replacement for
+ apt-cacher, but with a focus on maximizing throughput with low system
+ resource requirements. It can also be used as replacement for apt-proxy and
+ approx with no need to modify clients' sources.list files.
Source: apt-cacher-ng
Section: net
Priority: optional
Maintainer: Eduard Bloch <blade@debian.org>
Build-Depends: debhelper (>= 5), libbz2-dev, zlib1g-dev, libfuse-dev, pkg-config
Standards-Version: 3.8.1

Package: apt-cacher-ng
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
Recommends: perl (>> 5.8), ed
Description: caching proxy server for software repositories
 Apt-Cacher NG is a caching proxy for downloading packages from Debian-style
 software repositories (or possibly from other types).
 .
 The main principle is that a central machine hosts the proxy for a local
 network, and clients configure their APT setup to download through it.
 Apt-Cacher NG keeps a copy of all useful data that passes through it, and when
 a similar request is made, the cached copy of the data is delivered without
 being re-downloaded.
 .
 Apt-Cacher NG has been designed from scratch as a replacement for
 apt-cacher, but with a focus on maximizing throughput with low system
 resource requirements. It can also be used as replacement for apt-proxy and
 approx with no need to modify clients' sources.list files.

Attachment: signature.asc
Description: Digital signature


Reply to: