Skip to content

let --dry-run raise error if dependency could not be resolved via easyconfig or existing module#2699

Merged
ocaisa merged 2 commits intoeasybuilders:3.8.xfrom
boegel:fix_dry_run_raise_error
Dec 18, 2018
Merged

let --dry-run raise error if dependency could not be resolved via easyconfig or existing module#2699
ocaisa merged 2 commits intoeasybuilders:3.8.xfrom
boegel:fix_dry_run_raise_error

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Dec 18, 2018

Without this, --dry-run doesn't fail anymore when a particular dependency can not be resolved anymore (due to the changes made in #2690).

Instead, it always reports this if neither an easyconfig or an existing module is found:

* [ ] (no easyconfig file found) (module: HTSlib/1.9-intel-2018b)

With this change, it now reports a clear error again:

ERROR: Missing dependencies: HTSlib/1.9-intel-2018b (no easyconfig file or existing module found)

@boegel boegel added the bug fix label Dec 18, 2018
@boegel boegel added this to the 3.8.0 milestone Dec 18, 2018
Copy link
Copy Markdown
Member

@ocaisa ocaisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, waiting for Travis

@ocaisa ocaisa merged commit db22d13 into easybuilders:3.8.x Dec 18, 2018
@boegel boegel deleted the fix_dry_run_raise_error branch December 18, 2018 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants