Skip to content

do not change instance name#216

Merged
vsoch merged 4 commits intosingularityhub:masterfrom
EricDeveaud:master
Dec 12, 2023
Merged

do not change instance name#216
vsoch merged 4 commits intosingularityhub:masterfrom
EricDeveaud:master

Conversation

@EricDeveaud
Copy link
Copy Markdown
Contributor

singularity-cli change provided instance name when it contains a dash to name with underscore.

dash is legit in instance name (see: authorizedChars regexp in https://github.com/sylabs/singularity/blob/main/internal/pkg/instance/instance_linux.go#L69)

so do not change the name and delegate instance name validation to singularity.

regards

Eric

@vsoch
Copy link
Copy Markdown
Member

vsoch commented Dec 12, 2023

This looks good! Could you please bump the version in version.py and add a corresponding note to the CHANGELOG.md?

@vsoch
Copy link
Copy Markdown
Member

vsoch commented Dec 12, 2023

Formatting failed - you will want to create a local python environment, install development requirements, and run pre-commit.

pip install -r .github/dev-requirements.txt
pre-commit run --all-files

@EricDeveaud
Copy link
Copy Markdown
Contributor Author

OK will try that

@EricDeveaud
Copy link
Copy Markdown
Contributor Author

LMK if it's OK now.

Eric

@vsoch vsoch merged commit c207c3e into singularityhub:master Dec 12, 2023
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.

2 participants