Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update repository adresses in get_BGC.sh for ocean master branch #407

Open
sbrus89 opened this issue Dec 4, 2019 · 6 comments
Open

Update repository adresses in get_BGC.sh for ocean master branch #407

sbrus89 opened this issue Dec 4, 2019 · 6 comments
Assignees

Comments

@sbrus89
Copy link

sbrus89 commented Dec 4, 2019

Just a very minor fix. These are up to date in the develop branches, but they still refer to the ACME-Climate repo in the master branch. Thanks to our colleagues in A-1 for catching this!

@sbrus89
Copy link
Author

sbrus89 commented Dec 4, 2019

For reference, this is where the issue is...

From master:

## Available protocols for acquiring BGC source code
BGC_GIT_HTTP_ADDRESS=https://github.com/ACME-Climate/Ocean-BGC.git
BGC_GIT_SSH_ADDRESS=git@github.com:ACME-Climate/Ocean-BGC.git
BGC_SVN_ADDRESS=https://github.com/ACME-Climate/Ocean-BGC-src/tags
BGC_WEB_ADDRESS=https://github.com/ACME-Climate/Ocean-BGC-src/archive

From ocean/develop:

## Available protocols for acquiring BGC source code
BGC_GIT_HTTP_ADDRESS=https://github.com/E3SM-Project/Ocean-BGC.git
BGC_GIT_SSH_ADDRESS=git@github.com:E3SM-Project/Ocean-BGC.git
BGC_SVN_ADDRESS=https://github.com/E3SM-Project/Ocean-BGC-src/tags
BGC_WEB_ADDRESS=https://github.com/E3SM-Project/Ocean-BGC-src/archive

@xylar
Copy link
Collaborator

xylar commented Dec 4, 2019

This is presumably just a matter of waiting until ocean/develop gets merged into master, unless this is a more urgent problem?

I believe the old URL works even though it's not up-to-date.

@mark-petersen
Copy link
Contributor

The old ACME-Climate address forwards to the new E3SM-Project address. For example,
git clone git@github.com:ACME-Climate/Ocean-BGC.git
works, and
https://github.com/ACME-Climate/Ocean-BGC.git
forwards to E3SM-Project on a web browser. So there is no action to be taken. As @xylar
said, it will update on master for the next release, but there is no harm for now. @sbrus89, does that resolve the issue for you?

@sbrus89
Copy link
Author

sbrus89 commented Dec 4, 2019

I think the issue in this specific case may have been with the svn links. For example: https://github.com/E3SM-Project/Ocean-BGC-src/archive no longer exists.

This is definitely not urgent. I just thought I'd document it.

@maltrud
Copy link
Contributor

maltrud commented Dec 4, 2019

to follow up on what @sbrus89 noted, i think this is a case where a collaborator wanted to check out master and the build fails. should they be pointed to ocean/develop instead? in any case, it seems bad that master fails.

@mark-petersen
Copy link
Contributor

I see now. The problem is not the ACME-Climate versus E3SM-Project. That always forwards. The problem is that these lines in both branches:

From master:

## BGC Tag for build
#BGC_TAG=fa3d49a
BGC_TAG=9c31e70

From ocean/develop:

## BGC Tag for build
BGC_TAG=5588636

point to hashes, not tags. Therefore this line doesn't work:

wget ${BGC_WEB_ADDRESS}/${BGC_TAG}.zip &> /dev/null

See, this cvmix tag works. Click on it and it downloads:
https://github.com/CVMix/CVMix-src/archive/v0.95-beta.zip
But this corresponding bgc hash does not:
https://github.com/E3SM-Project/Ocean-BGC-src/archive/5588636.zip
Github makes downloadable zip files for tagged commits, but not just any commit.

The A-1 people must have noticed because their set-up led to that wget command, and our systems all use the git clone command. The same thing would happen on ocean/develop.

The solution is to make tags for 9c31e70 and 5588636 on the BGC repo, and change the BGC_TAG= line from a hash to these tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants