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

version graph

Package: apt; Maintainer for apt is APT Development Team <[email protected]>; Source for apt is src:apt (PTS, buildd, popcon).

Reported by: Miroslav Suchý <[email protected]>

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.

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


Report forwarded to [email protected], APT Development Team <[email protected]>:
Bug#677871; Package apt. (Sun, 17 Jun 2012 12:22:04 GMT) (full text, mbox, link).


Acknowledgement sent to Miroslav Suchý <[email protected]>:
New Bug report received and forwarded. Copy sent to APT Development Team <[email protected]>.

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, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Miroslav Suchý <[email protected]>
To: [email protected]
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 <[email protected]>. Last modified: Sun Sep 22 07:26:06 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.