[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. 0.1.0-20-g2b90030

Ryan Niebur ryanryan52 at gmail.com
Sun Oct 18 18:13:49 UTC 2009


The following commit has been merged in the master branch:
commit d19fa8e66a344d5467f35ede548bdfec9123bd96
Author: Francesco Poli (t1000) <frx at firenze.linux.it>
Date:   Sat Sep 12 19:14:17 2009 +0200

    documented unattended upgrades (Closes: #459127)

diff --git a/debian/README.Debian b/debian/README.Debian
index bc371b5..a8f70b3 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -85,6 +85,45 @@ configuration.
     Acquire::http::Proxy::bugs.debian.org "DIRECT";
 
 
+Use of apt-listbugs in unattended installations/upgrades
+========================================================
+
+As previously mentioned, 'apt-listbugs' requires a console for user
+interaction. This could make coexistence with unattended package
+installations/upgrades (e.g.: see the 'cron-apt' package) a little harder.
+
+With its default configuration, 'apt-listbugs' will stop any
+automatic installation or upgrade, whenever the packages to be
+installed or upgraded are affected by RC bugs.
+
+If this is the desired behavior, no special action is needed: you may
+safely skip the rest of this section.
+
+On the other hand, if you want 'apt-listbugs' to merely show bugs,
+without stopping the installation/upgrade process, you can obtain this
+behavior, by editing /etc/apt/apt.conf.d/10apt-listbugs to add the yes
+option '-y': the following line
+
+    DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs apt || exit 10";};
+
+should become
+
+    DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs -y apt || exit 10";};
+
+Please note that this configuration could even be made conditional:
+
+    DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs $APT_LISTBUGS_OPTS apt || exit 10";};
+
+This way, 'apt-listbugs' will avoid stopping the installation/upgrade
+process *only* if an APT_LISTBUGS_OPTS environment variable is set to "-y".
+Otherwise, if APT_LISTBUGS_OPTS is unset (or set to a zero-length
+string), 'apt-listbugs' will behave as usual.
+
+However, such a conditional configuration is probably a bit risky,
+since *anything* could be included (even by mistake) in the
+APT_LISTBUGS_OPTS environment variable.
+
+
 Filing Bugs on apt-listbugs
 ===========================
 
@@ -132,5 +171,5 @@ http://bugs.debian.org/debbugs-source/mainline/Debbugs/Bugs.pm
 
 
  -- Junichi Uekawa <dancer at debian.org>, Wed,  1 Oct 2008 20:50:27 -0700
- -- Francesco Poli (t1000) <frx at firenze.linux.it>  Sat, 12 Sep 2009 17:47:37 +0200
+ -- Francesco Poli (t1000) <frx at firenze.linux.it>  Sat, 12 Sep 2009 18:51:15 +0200
 
diff --git a/debian/TODO b/debian/TODO
index 4127f51..cf6254e 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -14,7 +14,6 @@ Release goals for version 0.1.2
 Release goals for version 0.1.x
 -------------------------------
 * close #534668 - apt-listbugs freezes when using bind on some networks
-* close #459127 - apt-listbugs: Ignores --force-yes
 * close #484423 - manually ignored bugs should have a comment, too
 * close #432200 - apt-listbugs: support ruby 1.9
 * close #493632 - apt-listbugs: should try and be more informative on "invalid date" SOAP parsing error [Merged with: 499657] [Note: is there any relation with bug #524768 ?]
diff --git a/debian/changelog b/debian/changelog
index cd2dca7..628decf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,13 +4,15 @@ apt-listbugs (0.1.1) UNRELEASED; urgency=low
   * enhance BTS SOAP reply parsing: drop '\r' characters from bug subjects
   * bump Standards-Version to 3.8.3: no changes needed
   * updated README.Debian, by dropping or modifying obsolete parts
+  * documented coexistence with unattended installations/upgrades in
+    README.Debian (Closes: #459127)
 
   [ Ryan Niebur ]
   * updated italian translation, thanks Luca (Closes: #540344)
   * LC_ALL=C when running apt-cache, we parse the English output (Closes:
     #547128)
 
- -- Francesco Poli (t1000) <frx at firenze.linux.it>  Sat, 12 Sep 2009 18:08:39 +0200
+ -- Francesco Poli (t1000) <frx at firenze.linux.it>  Sat, 12 Sep 2009 19:01:29 +0200
 
 apt-listbugs (0.1.0) unstable; urgency=low
 

-- 
apt-listbugs development tree



More information about the Apt-listbugs-commits mailing list