Skip to content

Move OS dependency check to systemtools.py#895

Merged
boegel merged 5 commits intoeasybuilders:developfrom
wpoely86:osdeps
Mar 28, 2014
Merged

Move OS dependency check to systemtools.py#895
boegel merged 5 commits intoeasybuilders:developfrom
wpoely86:osdeps

Conversation

@wpoely86
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this used to be a private method, so there's no need to deprecate it, just kick it out (it's consider internal API, it doesn't affect easyblocks)

@boegel
Copy link
Copy Markdown
Member

boegel commented Mar 27, 2014

@wpoely86: small remark, otherwise good to go in imho

@wpoely86
Copy link
Copy Markdown
Member Author

@boegel I've changed some things, please have another look

Comment thread easybuild/tools/systemtools.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

use

if cmd is not None:

@boegel
Copy link
Copy Markdown
Member

boegel commented Mar 27, 2014

@wpoely86: two more minor cleanup remarks, looks fine otherwise

@wpoely86
Copy link
Copy Markdown
Member Author

@boegel final version (I hope) with 'which' and limited 'locate'

Comment thread easybuild/tools/systemtools.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

last remark: clean this up to

cmd = 'locate --regexp "/%s$"' % dep

I'm not quite sure why the dict is being used here, I really see no reason...

@wpoely86
Copy link
Copy Markdown
Member Author

@boegel ready to go

@boegel
Copy link
Copy Markdown
Member

boegel commented Mar 28, 2014

Excellent, merging it in. Thanks @wpoely86!

boegel added a commit that referenced this pull request Mar 28, 2014
Move OS dependency check to systemtools.py
@boegel boegel merged commit dfb4130 into easybuilders:develop Mar 28, 2014
@wpoely86 wpoely86 deleted the osdeps branch March 28, 2014 08:33
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