Skip to content

update EasyBuild bootstrap script to download distribute tarball from http://easybuilders.github.io/easybuild/files#2256

Merged
damianam merged 5 commits intoeasybuilders:developfrom
boegel:easybuilders_bootstrap
Jul 6, 2017
Merged

update EasyBuild bootstrap script to download distribute tarball from http://easybuilders.github.io/easybuild/files#2256
damianam merged 5 commits intoeasybuilders:developfrom
boegel:easybuilders_bootstrap

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Jul 5, 2017

The download of the distribute tarball is going to break when https://github.com/hpcugent/easybuild is transferred to https://github.com/easybuilders/easybuild later today.

This can be fixed by including distribute-0.6.49-patched1.tar.gz in hpcugent/hpcugent.github.com#3 (which I'll probably do), but the bootstrap script should be updated accordingly.

@boegel boegel added this to the 3.3.1 milestone Jul 5, 2017
@boegel
Copy link
Copy Markdown
Member Author

boegel commented Jul 5, 2017

(close/open to trigger Travis)

@boegel boegel closed this Jul 5, 2017
@boegel boegel reopened this Jul 5, 2017
@boegel
Copy link
Copy Markdown
Member Author

boegel commented Jul 5, 2017

@easybuilders/easybuild-framework-maintainers please review?

Comment thread .travis.yml Outdated
- EB_BOOTSTRAP_MD5SUM=$(md5sum $TRAVIS_BUILD_DIR/easybuild/scripts/bootstrap_eb.py | cut -f1 -d' ')
- EB_BOOTSTRAP_FOUND="$EB_BOOTSTRAP_VERSION $EB_BOOTSTRAP_MD5SUM"
- EB_BOOTSTRAP_EXPECTED="20170503.01 fdf8ca02b6600c4ce0b6a02b88f1f40a"
- EB_BOOTSTRAP_EXPECTED="20170705.01 90d2dd008be027c35c1d194cbf5b1d44"
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.

Can this hash be sha256? If so, I'd say this is the perfect moment for it.

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.

Sure. I don't think it matters much, this is just a mechanism just help with not forgetting to bump the version of the bootstrap script (as opposed to actually verifying a checksum), but it doesn't hurt either. Done in d28755d.

@damianam
Copy link
Copy Markdown
Member

damianam commented Jul 5, 2017

lgtm

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Jul 5, 2017

broken tests are fixed in #2258, let's get that one merged first...

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Jul 5, 2017

@easybuilders/easybuild-framework-maintainers Good to go!

Comment thread .travis.yml Outdated
# version and MD5 are hardcoded below to avoid forgetting to update the version in the script along with contents
- EB_BOOTSTRAP_VERSION=$(grep '^EB_BOOTSTRAP_VERSION' $TRAVIS_BUILD_DIR/easybuild/scripts/bootstrap_eb.py | sed 's/[^0-9.]//g')
- EB_BOOTSTRAP_MD5SUM=$(md5sum $TRAVIS_BUILD_DIR/easybuild/scripts/bootstrap_eb.py | cut -f1 -d' ')
- EB_BOOTSTRAP_MD5SUM=$(sha256sum $TRAVIS_BUILD_DIR/easybuild/scripts/bootstrap_eb.py | cut -f1 -d' ')
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.

Ehmmmm, is it just me or having a sha256 hash in a variable called SOMETHING_SOMETHING_MD5SUM is a bad idea?

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.

It's just you...

I mean: fixed in 83b4180 ;)

@damianam
Copy link
Copy Markdown
Member

damianam commented Jul 6, 2017

lgtm. In it goes!

@damianam damianam merged commit f355af6 into easybuilders:develop Jul 6, 2017
@boegel boegel deleted the easybuilders_bootstrap branch July 6, 2017 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.

2 participants