• Bug#265368: cron-apt: mailon=changes doesn't generate RUN, ACTION, LINE

    From Marc Haber@1:229/2 to All on Fri Aug 13 00:00:14 2004
    From: [email protected]

    Package: cron-apt
    Version: 0.0.27
    Severity: normal

    Hi,

    when mailon=changes is used, no CRON-APT RUN line is generated. Only
    the diff is dumped verbatim. The header should be there.

    Greetings
    Marc

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable'), (500, 'testing')
    Architecture: i386 (i686)
    Kernel: Linux 2.4.27-rc3-zgserver
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages cron-apt depends on:
    ii apt 0.5.27 Advanced front-end for dpkg
    ii bash 3.0-4 The GNU Bourne Again SHell
    ii mailx 1:8.1.2-0.20040524cvs-1 A simple mail user agent

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Marc Haber@1:229/2 to Ola Lundqvist on Fri Aug 13 10:40:11 2004
    From: [email protected]

    On Fri, Aug 13, 2004 at 07:19:33AM +0200, Ola Lundqvist wrote:
    On Thu, Aug 12, 2004 at 11:33:23PM +0200, Marc Haber wrote:
    Package: cron-apt
    Version: 0.0.27
    Severity: normal

    Hi,

    when mailon=changes is used, no CRON-APT RUN line is generated. Only
    the diff is dumped verbatim. The header should be there.

    You need to specify better how you want this patch. May I assume that
    you want to make a diff on the entire mailfile?

    No, that's not a good idea, since the RUN line will always be
    different (it contains a time stamp). The original patch removes the
    RUN line from the file being diffed to avoid this, so the RUN line
    needs to be re-added when generating the mail that actually gets sent
    out.

    Greetings
    Marc

    -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Karlsruhe, Germany | lose things." Winona Ryder | Fon: *49 721 966 32 15 Nordisch by Nature | How to make an American Quilt | Fax: *49 721 966 31 29


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)