Uploaded image for project: 'Community Development'
  1. Community Development
  2. COMDEV-153

scandist.py - Ignore further commits

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Reporter Tool
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: