Your message dated Thu, 02 Aug 2007 16:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#435459: fixed in cron-apt 0.6.0
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cron-apt
Version: 0.4.14
Severity: wishlist
Tags: patch

The attached patch modifies config.d semantics so that variables set
in config.d are only honored for the corresponding action.d item while
returning to the default read in from the config file for the next
action.d item.

This feels much more natural, to me at least. 

--- cron-apt.orig       2007-07-31 23:02:57.000000000 +0200
+++ cron-apt    2007-07-31 23:09:48.000000000 +0200
@@ -459,6 +459,12 @@
 # Always run onexit before exit.
 
 for ACTION in $(run_parts "$ACTIONDIR") ; do
+        SAVE_SYSLOGON="$SYSLOGON"
+        SAVE_MAILON="$MAILON"
+        SAVE_DEBUG="$DEBUG"
+        SAVE_EXITON="$EXITON"
+        SAVE_DIFFIGNORE="$DIFFIGNORE"
+        SAVE_DIFFONCHANGES="$DIFFONCHANGES"
        ACTIONF=$(echo $ACTION | sed "s|$ACTIONDIR/||")
        if [ -f "$ACTIONCONFDIR/$ACTIONF" ] ; then
            . "$ACTIONCONFDIR/$ACTIONF"
@@ -606,6 +612,12 @@
            fi
            rm -f "$STATUS"
        fi
+        SYSLOGON="$SAVE_SYSLOGON"
+        MAILON="$SAVE_MAILON"
+        DEBUG="$SAVE_DEBUG"
+        EXITON="$SAVE_EXITON"
+        DIFFIGNORE="$SAVE_DIFFIGNORE"
+        DIFFONCHANGES="$SAVE_DIFFONCHANGES"
 done
 
 onexit


A different way to implement would mean having suffixes for the
variable name in config.d, either FOO_FROMHERE to replace FOO's value
for the rest of the cron-apt run, or FOO_HERE to only replace FOO's
value for thi action.d item.

Please indicate which way you'd prefer, and I'll send a modified
patch. I do think that the patch listed above is the easiest one.

Greetings
Marc


--- End Message ---
--- Begin Message ---
Source: cron-apt
Source-Version: 0.6.0

We believe that the bug you reported is fixed in the latest version of
cron-apt, which is due to be installed in the Debian FTP archive:

cron-apt_0.6.0.dsc
  to pool/main/c/cron-apt/cron-apt_0.6.0.dsc
cron-apt_0.6.0.tar.gz
  to pool/main/c/cron-apt/cron-apt_0.6.0.tar.gz
cron-apt_0.6.0_all.deb
  to pool/main/c/cron-apt/cron-apt_0.6.0_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ola Lundqvist <[EMAIL PROTECTED]> (supplier of updated cron-apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu,  2 Aug 2007 17:33:27 +0200
Source: cron-apt
Binary: cron-apt
Architecture: source all
Version: 0.6.0
Distribution: unstable
Urgency: low
Maintainer: Ola Lundqvist <[EMAIL PROTECTED]>
Changed-By: Ola Lundqvist <[EMAIL PROTECTED]>
Description: 
 cron-apt   - automatic update of packages using apt-get
Closes: 435459
Changes: 
 cron-apt (0.6.0) unstable; urgency=low
 .
   * Support for HERE variables in the action.d configuration files,
     closes: #435459. The ideas are from Marc Haber.
   * Moved out functions from cron-apt command so they can be tested
     separately.
   * First basic tests added.
   * Correction of revision history and also added some more people to
     the AUTHORS file and to the copyright statements.
Files: 
 752da43085f2c3d8a37310f1662efc7f 527 admin optional cron-apt_0.6.0.dsc
 f29ae900d875d48aa5f2fe135802ac0c 39820 admin optional cron-apt_0.6.0.tar.gz
 4220044e4f4554da4ee2193853f1d91a 24456 admin optional cron-apt_0.6.0_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGsfmhGKGxzw/lPdkRAulXAJ0V+L5KoFRsu6mV8FkzjAd0cyymfQCfe5iC
UNEQXz7zjEYho9oQb0QOig8=
=4t9e
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to