Skip to content

Acceptance: protected_paths in the hooks' syntax, as the Consumer entry's are #740

Closed

Description

@don-petry

Why. #738 (#141) gives the Consumer entry's verify.protected_paths the hooks' syntax: each item is a $ref to hooks.schema.json#/$defs/path, and is read by the one matcher (kernel/derive.matches, tools/hooks/protected.py). schemas/acceptance.schema.json's protected_paths still accepts any string, so a pattern the matcher reads differently, or not at all, would pass its schema.

Done when

Found by the #141 lane. Applies decision 0020; no new decision.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions