Skip to content

Conversation

stomar
Copy link
Contributor

@stomar stomar commented Dec 30, 2018

It happens from time to time that SHA sums in release posts are truncated or line-wrapped. This PR adds a test (run by CI) that checks for their correct lengths.

It also fixes existing errors in older posts.

For Linter tests with 'bundle exec ruby test/test_linter.rb'.
Always set +exit_on_errors+ to false for Linter test runs,
even for test cases that should not cause errors, to avoid
stopping test runs and silencing (unexpected) error messages
during development.
Drop nonessential line breaks in markdown source of
some old release posts for easier parsing of SHA sums.
Check for wrong SHA sum lengths in release posts, an error that
happens from time to time (mainly truncated or wrapped SHA512).
Small format change to avoid Linter errors for some old release posts.
The previous format caused errors because of the seemingly missing
SHA sum (which is given in the following line of the definition list).
Removing the ':' after 'SHA256' makes the Linter ignore these sums.
@stomar stomar requested review from a team as code owners December 30, 2018 21:32
@stomar stomar self-assigned this Dec 30, 2018
@stomar stomar merged commit df8d016 into ruby:master Dec 30, 2018
@stomar stomar deleted the linter-check-sha-sums branch December 30, 2018 21:46
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.

1 participant