You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2015/07/16 14:58:05 UTC

[jira] [Created] (COMDEV-153) scandist.py - Ignore further commits

Sebb created COMDEV-153:
---------------------------

             Summary: scandist.py - Ignore further commits
                 Key: COMDEV-153
                 URL: https://issues.apache.org/jira/browse/COMDEV-153
             Project: Community Development
          Issue Type: Improvement
          Components: Reporter Tool
            Reporter: Sebb


The code already ignores commits that only include deletions.

However, when removing a TLP, the htaccess file is updated, for example:
[some details omitted]

{ u'changed': { u'release/whirr/.htaccess': { u'flags': u'A  '},
                u'release/whirr/HEADER.html': { u'flags': u'D  '},
                u'release/whirr/KEYS': { u'flags': u'D  '},
                u'release/whirr/stable': { u'flags': u'D  '},
                u'release/whirr/whirr-0.8.2/': { u'flags': u'D  '}},
  u'log': u'remove whirr releases, add redirect to attic - INFRA-10015',

Some possible fixes:
(a) ignore changes to .htaccess files
(b) only count file names that look like releases, for example .zip, .asc etc.

Option (a) should be safe, though the list of files to be ignored may need to be extended.
Option (b) runs the risk of ignoring paths that should be included.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)