-
Notifications
You must be signed in to change notification settings - Fork 97
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
FIX add default header and entrypoint to docker and singularity files #623
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #623 +/- ##
==========================================
+ Coverage 88.00% 88.06% +0.05%
==========================================
Files 11 11
Lines 1034 1039 +5
==========================================
+ Hits 910 915 +5
Misses 124 124 ☔ View full report in Codecov by Sentry. |
.codespellrc
Outdated
@@ -0,0 +1,2 @@ | |||
[codespell] | |||
ignore-words-list = softwares,didi |
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.
to not breed config files here we absorbed config to codespell within pyproject.toml, and it has already
❯ grep -A4 codespell pyproject.toml
[tool.codespell]
# didi -- some name Dear to someone
ignore-words-list = "didi"
skip = ".git,*.pdf,*.svg,versioneer.py,neurodocker/_version.py"
and probably not in effect for you because you also need tomli
library -- otherwise codespell does not try to read from pyproject.toml
:-/
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.
as for softwares - let's better fix that changelog, I will send a quick PR
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.
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.
Ah that's the magic. OK removed the .codespellrc
@kaczmarj @yarikoptic should we merge? |
would it be too much to ask to add/extend some test to ensure we do not loose this again going forward? |
@yarikoptic I added a test but now a different test is failing for unrelated reasons (#628) |
indeed unrelated, updated there, let's proceed here! |
we should release some time soon! |
Thanks to the archeological work by @yarikoptic in #620 it was relatively easy to fix. The
_header.yaml
template was not added anywhere. BTW, I had to rename the template from_header
to_default
because_header
is in conflict withSingularityRenderer._header
. Some examples before/after below:Closes #620
BEFORE $ neurodocker generate docker --base-image ubuntu:20.04 --pkg-manager apt
AFTER $ neurodocker generate docker --base-image ubuntu:20.04 --pkg-manager apt
BEFORE $ neurodocker generate singularity --base-image ubuntu:20.04 --pkg-manager apt
AFTER $ neurodocker generate singularity --base-image ubuntu:20.04 --pkg-manager apt