Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow upgrades by removing DL3017, DL3031, DL3039 and adjusting DL3035 #677

Merged
merged 6 commits into from Aug 4, 2021

Conversation

realHorst
Copy link
Contributor

What I did

Removed the rules DL3017, DL3031, DL3039.
Adjusted rule DL3035 to allow upgrades, but not dist-upgrades.

How I did it

Adjusted the rule DL3035 and its test.
Deleted the other rules and their tests.
Removed rules from Spec.hs and Process.hs.
Updated README, hadolint.cabal using hpack, and contrib/hadolint.json.

Why i did it

The rationale of not allowing container upgrades inside containers is outdated (#562) and changes are already made to adjust other rules (#592) following the same advice.

@lorenzo
Copy link
Member

lorenzo commented Aug 4, 2021

sorry for the late review and thank you so much for the contribution! I merged some things that caused a conflict. Would you mind fixing that?

@realHorst
Copy link
Contributor Author

realHorst commented Aug 4, 2021

Merged master and the format seems to have survived. Thanks for the review!

Now table format should be correct.. i used the github web-merger first, not very clear regarding line length.

@lorenzo lorenzo merged commit 1609960 into hadolint:master Aug 4, 2021
@lorenzo
Copy link
Member

lorenzo commented Aug 4, 2021

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants