Skip to content

check that each glob pattern matches at least one file expand_glob_paths (important for --include-*)#1980

Merged
boegel merged 1 commit intoeasybuilders:developfrom
boegel:include_glob_check
Nov 8, 2016
Merged

check that each glob pattern matches at least one file expand_glob_paths (important for --include-*)#1980
boegel merged 1 commit intoeasybuilders:developfrom
boegel:include_glob_check

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Nov 8, 2016

I was bitten by --include-easyblocks silently not including specified easyblocks because I messed up the specified path a couple of times.

This change fixes that, by making expand_glob_paths, which is used (only) by the --include-* options, stricter to ensure at least one hit per specified glob pattern.

@boegel boegel added this to the v3.0 milestone Nov 8, 2016
@boegel
Copy link
Copy Markdown
Member Author

boegel commented Nov 8, 2016

@damianam I believe you were hit by this too?

@wpoely86 please review?

@damianam
Copy link
Copy Markdown
Member

damianam commented Nov 8, 2016

Mmmh, I think my issue was different. I included a generic easyblock as any other easyblock, and that wasn't enough, it needed to be in the generic subdir.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Nov 8, 2016

@damianam ah, ok, this is about #1964 then

I can see if I can mitigate that issue too, I agree that's pretty confusing as well, especially since EasyBuild should be able to distinguish between generic and software-specific easyblocks itself...

But I'll do that in a separate PR.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Nov 8, 2016

Thanks for the review @wpoely86!

@boegel boegel merged commit 9ec13ab into easybuilders:develop Nov 8, 2016
@boegel boegel deleted the include_glob_check branch November 8, 2016 09:34
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