You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2020/07/26 16:02:28 UTC

[Bug 7843] New: mkupdates version testing

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7843

            Bug ID: 7843
           Summary: mkupdates version testing
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Masses
          Assignee: dev@spamassassin.apache.org
          Reporter: apache@hege.li
  Target Milestone: Undefined

It seems mkupdate-with-scores runs sa-update/lint tests for multiple versions,
currently 3.4.1 - 3.4.4. But it proceeds even if only one of them succeeds. It
would seem more appropriate to require all of them passing to publish rules.
Also trunk should be added for testing.

The current code can be found near the end of mkupdate-with-scores and is
pretty self explaining.

...
# test to make sure it works with sa-update --install
TESTED_VERSIONS=""

MAJOR_VERS=3
for (( MINOR_VERS=4; 1; MINOR_VERS++ )); do
  for (( UPDATE_VERS=1; 1; UPDATE_VERS++ )); do
...
# publish update
if [[ ! -z "$TESTED_VERSIONS" ]]; then
...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7843] mkupdates version testing

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7843

Henrik Krohns <ap...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Henrik Krohns <ap...@hege.li> ---
Was fixed in Revision 1900021 + later commits

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7843] mkupdates version testing

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7843

Henrik Krohns <ap...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apache@hege.li

--- Comment #1 from Henrik Krohns <ap...@hege.li> ---
Btw mkupdates/run_nightly that runs every day few hours after
mkupdate-with-scores, also does some lints but only for 3.4.4 it seems. It
however tries to reuse the rule tarball from mkupdate-with-scores if it exists
etc. Hopefully someone will have time to clear these and carefully validate
rule tarballs with several old and new versions before publishing.

-- 
You are receiving this mail because:
You are the assignee for the bug.