This repository was archived by the owner on Jun 28, 2024. It is now read-only.
CI: Add TODO/FIXME checker#445
Merged
GabyCT merged 1 commit intokata-containers:masterfrom Jun 29, 2018
Merged
Conversation
grahamwhaley
approved these changes
Jun 26, 2018
.ci/static-checks.sh
Outdated
|
|
||
| # Tests to apply to all files. | ||
| # | ||
| # Currently just looks for TODO/FIXME comments that should be removed. |
Contributor
There was a problem hiding this comment.
s/removed/converted to or annotated with an Issue/ ?
Contributor
|
Battoning down the hatches eh? I can't dis-agree, but am bracing myself for the flurry of failed PRs that touch a file that already has an errant comment in it... |
3f50caf to
c80054f
Compare
Alert users to TODO/FIXME comments that tend never to get fixed by failing the CI *unless* those comments also refer to a github issue where the problem is being tracked. Fixes kata-containers#444. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
c80054f to
94ae588
Compare
Author
|
Well, yes. But we need to collectively agree this is a good idea so I'll step back and let folk ack/nack :) We're actually in pretty good shape. Calling just that new function on all the kata repos from a script that just adds in the name of the repo it's checking, we have the following: |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Alert users to TODO/FIXME comments that tend never to get fixed by
failing the CI unless those comments also refer to a github issue
where the problem is being tracked.
Fixes #444.
Signed-off-by: James O. D. Hunt james.o.hunt@intel.com