apache / apache/infrastructure-asfyaml

Add support for `restrict_update` to Rulesets convenience rules

Open
#96 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
16
Forks
23
Avg merge
6h 51m
Merged PRs (30d)
4

Description

It would be useful to add a `restrict_update` key to the convenience syntax for Rulesets to govern the presence or absence of the `update` rule.

This rule is not very useful for branches, but it should probably default to `true` for tags, making them effectively immutable.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Rulesets convenience syntax and its schema or validation tests; the issue does not name a file or test. Add the restrict_update option, preserve sensible branch behavior, and make tags default to true so the resulting ruleset governs the update rule as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, python, yaml
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.