Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8215

Tag filtering for skip_tag incorrectly expanded

    Details

    • Template:
      PUP Bug Template
    • Epic Link:
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      Tags specified via --skip_tags are no longer expanded by splitting on "::". This brings the behavior in line with how tags specified via --tags are handled. The behavior of --tags was fixed in PUP-4495.
      Show
      Tags specified via --skip_tags are no longer expanded by splitting on "::". This brings the behavior in line with how tags specified via --tags are handled. The behavior of --tags was fixed in PUP-4495 .
    • QA Risk Assessment:
      Needs Assessment

      Description

      --skip_tags foo::bar splits the tag on the namespace separator :: and expands to skip the set ['foo::bar', 'foo', 'bar']. Because resources are tagged with all parent tags, this means that every resource in the `foo` namespace is skipped when --skip_tags foo::bar is used. The same expansion issue was addressed for the --tags flag in PUP-4495, but it appears that the expansion logic for --tags and --skip_tags is separate.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jacob.helwig Jacob Helwig
                Reporter:
                kevin Kevin Henner
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support