-
Notifications
You must be signed in to change notification settings - Fork 192
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
Give better suggestion when modules.json file is out-of-date. #1741
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
d445eeb
Give better suggestion when modules.json file is out-of-date.
mashehu 0e3560a
Merge branch 'dev' of https://github.com/nf-core/tools into better-fi…
mashehu 1f1ff4f
change message in new commands
mashehu f7dbfe4
[automated] Fix linting with Prettier
nf-core-bot a7a7b29
recreate modules.json instead of complaining
mashehu d600c8f
remove `has_module_file` method, as all commands relying on a module.…
mashehu e90c406
Merge branch 'dev' of https://github.com/nf-core/tools into better-fi…
mashehu 7227f77
Merge branch 'better-fix-suggestion' of https://github.com/mashehu/to…
mashehu dc2408c
add `has_modules_file()` back in for lint and remove command
mashehu 6dd5b8b
Improve error handling, assign `modules_json` variable already in `.c…
mashehu fc7693e
add test for module.json with incorrect format
mashehu 4db1ed2
Merge branch 'dev' of https://github.com/nf-core/tools into better-fi…
mashehu ca39fb9
fix test for incorrect mod_json
mashehu 6d3717a
fix isort
mashehu 47d551b
updated changelog
mashehu 5c05171
rename `has_git_url_and_base_path` to `has_correct_format` and includ…
mashehu 3c07afb
Merge branch 'dev' of https://github.com/nf-core/tools into better-fi…
mashehu 3f209ab
rename to has_git_url_and_modules (in expectation of removal of base_…
mashehu 6ca8836
fix isort error
mashehu c743e84
Apply suggestions from code review
mashehu 04c79d4
Merge branch 'dev' of https://github.com/nf-core/tools into better-fi…
b1f4501
fix isort
e2f50c4
update ubuntu version for docs GHA
863c390
update changelog
db147b4
fix typo
c9ea870
Merge branch 'dev' into better-fix-suggestion
mashehu ef9474e
Merge branch 'dev' of https://github.com/nf-core/tools into better-fi…
mashehu b042c18
Merge branch 'better-fix-suggestion' of https://github.com/mashehu/to…
mashehu 364e240
update changelog
mashehu 4d608ae
add link to PR
fabianegli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I'm following why you removed this line, and added it as standalone calls (:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we discussed this on slack: all commands that used this function use
check_up_to_date
anyway, except for linting. So I kept it there.