Skip to content

Proposal: Experimental Rulechecks#5213

Merged
tonistiigi merged 2 commits intomoby:masterfrom
daghack:experimental-rule-checks
Aug 13, 2024
Merged

Proposal: Experimental Rulechecks#5213
tonistiigi merged 2 commits intomoby:masterfrom
daghack:experimental-rule-checks

Conversation

@daghack
Copy link
Copy Markdown
Collaborator

@daghack daghack commented Aug 5, 2024

resolves #5176

Implements the feature and updates the CopyIgnoredFile rule check to be experimental through the new proposal.

@daghack daghack self-assigned this Aug 5, 2024
@daghack daghack marked this pull request as draft August 5, 2024 06:38
@daghack daghack marked this pull request as ready for review August 5, 2024 15:14
Comment thread frontend/dockerfile/linter/ruleset.go
@crazy-max crazy-max added this to the v0.16.0 milestone Aug 6, 2024
Comment thread frontend/dockerfile/linter/generate.go Outdated
@daghack daghack force-pushed the experimental-rule-checks branch 2 times, most recently from c00dd4a to 587b081 Compare August 8, 2024 16:09
@dvdksn
Copy link
Copy Markdown
Collaborator

dvdksn commented Aug 8, 2024

I also think we should add something to the _index.md listing page to indicate which checks are experimental

<tr>
<td><a href="./{{ .PageName }}/">{{ .Name }}</a></td>
<td>{{ .Description }}</td>
</tr>

Comment thread frontend/dockerfile/linter/generate.go
@daghack daghack force-pushed the experimental-rule-checks branch from 587b081 to babcd06 Compare August 8, 2024 17:41
Copy link
Copy Markdown
Collaborator

@dvdksn dvdksn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@daghack daghack requested a review from crazy-max August 9, 2024 16:12
Comment thread frontend/dockerfile/linter/generate.go
@daghack daghack force-pushed the experimental-rule-checks branch from babcd06 to a62980e Compare August 12, 2024 03:54
@daghack daghack requested a review from dvdksn August 12, 2024 15:18
Copy link
Copy Markdown
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, but we should still make sure we can remove the experimental opt-in from the CopyIgnoredFile rule with the next release.

@tonistiigi tonistiigi merged commit 36f076d into moby:master Aug 13, 2024
@daghack daghack deleted the experimental-rule-checks branch August 14, 2024 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: Add experimental ruleset in lint rule check directive.

4 participants