Skip to content

Allow HOME override, print banner to STDERR - #86

Closed
mr-c wants to merge 2 commits into
indigo-dc:masterfrom
mr-c:allow_HOME_override
Closed

mr-c wants to merge 2 commits into
indigo-dc:masterfrom
mr-c:allow_HOME_override

Conversation

@mr-c

@mr-c mr-c commented Oct 12, 2017 •

Copy link
Copy Markdown
Contributor

This enables running all but two of the CWL conformance tests without having docker installed (and without our usual --no-container hack): common-workflow-language/cwltool#542

@indigobot

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

1 similar comment
@indigobot

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@jorge-lip

Copy link
Copy Markdown
Collaborator

Allow overriding of HOME via --env is added to the devel branch, will be available in next release.
Print banner wouldn't it be better to use --quiet or -q like:

udocker -q run container

@mr-c

mr-c commented Oct 25, 2017

Copy link
Copy Markdown
Contributor Author

@jorge-lip Thanks for merging my fix for the overriding of HOME.

As for the banner: I don't mind if it is there, but the CWL reference runner is trying to use udocker as a drop-in replacement for docker, so it would be best if docker's behavior was matched in this regard.

Otherwise we would add more special code just for udocker. Either way I don't think it is a good idea to mix diagnostic messages with output from the container in the same output stream — that's the whole point of STDERR :-)

@jorge-lip

Copy link
Copy Markdown
Collaborator

You are right!. In devel, all messages are now sent to stderr .

@mr-c

mr-c commented Oct 25, 2017

Copy link
Copy Markdown
Contributor Author

@jorge-lip Thanks!

@mr-c mr-c closed this Oct 25, 2017
@mr-c
mr-c deleted the allow_HOME_override branch October 25, 2017 12:25
@mr-c mr-c mentioned this pull request Nov 13, 2017
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.

3 participants