Skip to content

Allow fixed install dir scheme#1546

Merged
boegel merged 9 commits intoeasybuilders:developfrom
ocaisa:staticInstalldir
Jan 14, 2016
Merged

Allow fixed install dir scheme#1546
boegel merged 9 commits intoeasybuilders:developfrom
ocaisa:staticInstalldir

Conversation

@ocaisa
Copy link
Copy Markdown
Member

@ocaisa ocaisa commented Jan 14, 2016

This is fix for #1535 that defaults to keeping things as they are but adds the flexibility to use a fixed install scheme which would make it trivial to switch/trial other MNS

@hpcugentbot
Copy link
Copy Markdown

Automatic reply from Jenkins: Can I test this?

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.

move this down, also mention the subdir itself in the log message? Also, ec is a dictionary, this will be a big/unreadable log message?

Both remarks fixed with this:

self.log.debug("Using fixed naming software installation subdir: %s (ec: %s)", subdir, ec)

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.

move those outside the if/else? doesn't hurt to always print the subdir?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Just thought the repetition was annoying

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 makes more sense to me:

if build_option('fixed_installdir_naming_scheme'):
    self.log.debug("Using fixed naming for software installation subdir")
    subdir = os.path.join(ec['name'], det_full_ec_version(ec))
else:
    subdir = self.mns.det_install_subdir(self.check_ec_type(ec))
self.log.debug("Determined software installation subdir: %s (ec: %s)", subdir, ec)

@boegel
Copy link
Copy Markdown
Member

boegel commented Jan 14, 2016

Jenkins: ok to test

add unit test for --fixed-installdir-naming-scheme
@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2492/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel boegel added this to the v2.6.0 milestone Jan 14, 2016
@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2493/console for more details.

Please fix the reported issues by pushing additional commits to the branch corresponding with this pull request; contact @boegel if you're not sure what to do.

@ocaisa
Copy link
Copy Markdown
Member Author

ocaisa commented Jan 14, 2016

Download timed out

@boegel
Copy link
Copy Markdown
Member

boegel commented Jan 14, 2016

Jenkins: test this please

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2494/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel
Copy link
Copy Markdown
Member

boegel commented Jan 14, 2016

Going in, thanks @ocaisa!

boegel added a commit that referenced this pull request Jan 14, 2016
@boegel boegel merged commit b8be742 into easybuilders:develop Jan 14, 2016
@ocaisa ocaisa deleted the staticInstalldir branch January 14, 2016 15:20
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