Bug#550564: apt: APT::Acquire::Translation not listed in the manpage

2009-11-04 Thread Sven Hoexter
On Mon, Oct 19, 2009 at 10:27:03PM +0200, David Kalnischkies wrote:

Hi David,
sorry for the huge delay.

 Synopsis:
 This option can be used to define which languagecode apt will
 try to download for the Translations.
 The default value is environment which let apt at runtime choose a
 languagecode from LC_MESSAGES, for me here with
 LC_MESSAGES=de_DE.UTF-8
 it will use de - and will try to download Translation-de from the archives.
 Your false setting forces apt to try to download Translation-false --
 which doesn't exist, so it has maybe the desired effect, but true will
 also not work (or not in a way someone could expect)...

Practicaly I've set it to none for which in turn there is a check in
apt-pkg/indexfile.cc. So at least I didn't just dream about the possibility
to disable the translation download. ;)


 This should be documented, yes, but the APT team intend to deprecate
 this configuration-option in favor of a new and more general setting
 to support also multiply Translation downloads which seems to be needed
 to get the ball rolling in the Removing long desc from Package files [0]
 again - but as this change is an abi-break (best would be also an api-break)
 the APT team wants to collect a few of these breakers before breaking
 unstable for a few days... reasonable, doesn't it?

Ok.

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]



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



Bug#550564: apt: APT::Acquire::Translation not listed in the manpage

2009-10-19 Thread David Kalnischkies
tags 550564 - patch
thanks

Hello Sven,

first of all: Thanks for your bugreport  the patch!

 I've attached a minimal patch that would add it to the
 list. Though I'm unsure if it's ok to add it as Acquire::Translation
 because so far there seems to be no sub group for APT::Acquire.
Unfortunately this option is not a boolean (true/false, yes/no, whatever)
option, so your patch is wrong on this and therefore i removed the patch
tag - but again thanks for trying: patches helping alot in bug triaging. :)
And APT has unfortunately a lot of un(der)documented features...

Synopsis:
This option can be used to define which languagecode apt will
try to download for the Translations.
The default value is environment which let apt at runtime choose a
languagecode from LC_MESSAGES, for me here with
LC_MESSAGES=de_DE.UTF-8
it will use de - and will try to download Translation-de from the archives.
Your false setting forces apt to try to download Translation-false --
which doesn't exist, so it has maybe the desired effect, but true will
also not work (or not in a way someone could expect)...

This should be documented, yes, but the APT team intend to deprecate
this configuration-option in favor of a new and more general setting
to support also multiply Translation downloads which seems to be needed
to get the ball rolling in the Removing long desc from Package files [0]
again - but as this change is an abi-break (best would be also an api-break)
the APT team wants to collect a few of these breakers before breaking
unstable for a few days... reasonable, doesn't it?

( As this feature hasn't a associated bugreport currently i will let this
bug open for now and treat it as the associated bugreport. )


Best regards / Mit freundlichen Grüßen,

David DonKult Kalnischkies


[0] Start: http://lists.debian.org/deity/2009/08/msg00073.html
My summary and currently last message in the thread:
http://lists.debian.org/deity/2009/08/msg00112.html



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



Bug#550564: apt: APT::Acquire::Translation not listed in the manpage

2009-10-11 Thread Sven
Package: apt
Version: 0.7.24
Severity: minor
Tags: patch


Hi,
I couldn't find APT::Acquire::Translation to be documented in the
manpage.
I've attached a minimal patch that would add it to the
list. Though I'm unsure if it's ok to add it as Acquire::Translation
because so far there seems to be no sub group for APT::Acquire.

Sven
=== modified file 'doc/apt.conf.5.xml'
--- doc/apt.conf.5.xml  2009-09-25 07:49:45 +
+++ doc/apt.conf.5.xml  2009-10-11 07:26:09 +
@@ -132,7 +132,12 @@
  parsing package lists. The internal default is the architecture apt was 
  compiled for./para/listitem
  /varlistentry
- 
+
+ varlistentrytermAcquire::Translation/term
+   listitemparaDownload translated package descriptions; default is 
set to true.
+   /para/listitem
+ /varlistentry
+
  varlistentrytermDefault-Release/term
 listitemparaDefault release to install packages from if more than 
one
 version available. Contains release name, codename or release version. 
Examples: 'stable', 'testing', 'unstable', 'lenny', 'squeeze', '4.0', '5.0*'. 
See also apt-preferences;./para/listitem