Debian Bug report logs - #677871
RFE - allow PreInvoke scripts to modify sources.list

version graph

Package: apt; Maintainer for apt is APT Development Team <deity@lists.debian.org>; Source for apt is src:apt.

Reported by: Miroslav Suchý <miroslav@suchy.cz>

Date: Sun, 17 Jun 2012 12:21:53 UTC

Severity: normal

Tags: patch

Found in version apt/0.9.6

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#677871; Package apt. (Sun, 17 Jun 2012 12:22:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Miroslav Suchý <miroslav@suchy.cz>:
New Bug report received and forwarded. Copy sent to APT Development Team <deity@lists.debian.org>.

Your message specified a Severity: in the pseudo-header, but the severity value |wishlist was not recognised. The default severity normal is being used instead. The recognised values are: critical, grave, serious, important, normal, minor, wishlist, fixed.

(Sun, 17 Jun 2012 12:22:47 GMT) Full text and rfc822 format available.


Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Miroslav Suchý <miroslav@suchy.cz>
To: submit@bugs.debian.org
Subject: RFE - allow PreInvoke scripts to modify sources.list
Date: Sun, 17 Jun 2012 14:01:54 +0200
[Message part 1 (text/plain, inline)]
Package: apt
Version: 0.9.6
Severity:|wishlist
Tags: patch

One year ago Simon Lukasik send patch to apt mailing list which will allow plugins in PreInvoke to modify sources.list.

This week on BSP at Sazlburg I rebased (together with bzed) it to current code and tested it (with http and ftp methods. And apt-get, aptitude and synoptic frontends).

The motivation for this is apt-spacewalk which should be uploaded to Debian today.

This breaks little bit ABI. But that new method AcquireUpdate was created just month ago and nobody use it yet.
I consulted the move of RunScripts("APT::Update::Pre-Invoke") to ListUpdate() with DonKult and he said it is ok.

Attached is patch which modify the code and man page of apt.conf. As bonus it include documentation of other options,
which were presented in code in past, but not documented.

Mirek Suchy

|

[apt.patch (text/x-patch, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 18:03:31 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.