Unable to connect to a repository at URL 'https://github.com/CFMIP/COSPv2.0/tags/v2.1.4cesm/src'

JennyB

Jenny Boe
New Member
When trying to clone release-cesm2.1.3 there is an error due to '/CFMIP/COSPv2.0/tags/v2.1.4cesm/src' path not found and the ./manage_externals/checkout_externals fails

Can you please help?
 

mlevy

Michael Levy
CSEG and Liaisons
Staff member
I think the issue is that older versions of CESM rely on subversion to checkout code from github.com, and github has stopped offering this interface. You need to use cesm2.1.5 (which should provide identical output to 2.1.3)
 

peter_pfleiderer

Peter
New Member
Thanks for the quick reply!
with cesm2.1.5 I now get this error:

./manage_externals/checkout_externals
Processing externals description file : Externals.cfg (PATH/CESM)
Processing externals description file : Externals_CAM.cfg (PATH/CESM/components/cam)
ERROR:root:SVN access to github.com is no longer supported

ERROR: SVN access to github.com is no longer supported
 

mlevy

Michael Levy
CSEG and Liaisons
Staff member
Are you sure you have a clean checkout of cesm2.1.5? The two purposes of that tag were (1) to support the new NCAR computer, and (2) stop using subversion to connect to repositories on github. If I do the following:

Code:
$ git clone -b cesm2.1.5 https://github.com/ESCOMP/CESM.git cesm2.1.5
$ cd cesm2.1.5
$ ./manage_externals/checkout_externals -v

then manage_externals completes successfully.
 

peter_pfleiderer

Peter
New Member
It worked, thanks a lot!

(I'm still confused with branches and repos in CESM. Somehow doing
git checkout release-cesm2.1.5
Is not the same as clone from new?)
 

mlevy

Michael Levy
CSEG and Liaisons
Staff member
This looks like it might be an issue with manage_externals. This is from a temp directory where I already tried to checkout CESM2.1.4 but failed due to the aforementioned issue with subversion and github:

Code:
$ git checkout release-cesm2.1.5
Previous HEAD position was 4003996 Fix release number
HEAD is now at 7a6c5b0 Update for cesm2.1.5-rc.01
$ ./manage_externals/checkout_externals -v
Processing externals description file : Externals.cfg (${temp_dir}/cesm2.1.5)
Processing externals description file : Externals_CAM.cfg (${temp_dir}/cesm2.1.5/components/cam)
ERROR:root:SVN access to github.com is no longer supported

ERROR: SVN access to github.com is no longer supported

I suspect this is what you were seeing as well, and the issue is that ${temp_dir}/cesm2.1.5/components/cam/ needed to be updated from the CESM2.1.4 tag to the CESM2.1.5 tag before Externals_CAM.cfg was processed. I'm not sure why manage_externals did not do that... but I'm glad the clean checkout worked for you!
 

xiaoxiaokuishu

Ru Xu
Member
This looks like it might be an issue with manage_externals. This is from a temp directory where I already tried to checkout CESM2.1.4 but failed due to the aforementioned issue with subversion and github:

Code:
$ git checkout release-cesm2.1.5
Previous HEAD position was 4003996 Fix release number
HEAD is now at 7a6c5b0 Update for cesm2.1.5-rc.01
$ ./manage_externals/checkout_externals -v
Processing externals description file : Externals.cfg (${temp_dir}/cesm2.1.5)
Processing externals description file : Externals_CAM.cfg (${temp_dir}/cesm2.1.5/components/cam)
ERROR:root:SVN access to github.com is no longer supported

ERROR: SVN access to github.com is no longer supported

I suspect this is what you were seeing as well, and the issue is that ${temp_dir}/cesm2.1.5/components/cam/ needed to be updated from the CESM2.1.4 tag to the CESM2.1.5 tag before Externals_CAM.cfg was processed. I'm not sure why manage_externals did not do that... but I'm glad the clean checkout worked for you!
Hi, mlevy,

I have the same svn problems when
git clone -b release-cesm2.2.1 GitHub - ESCOMP/CESM: The Community Earth System Model CESM2.2.1
./manage_externals/checkout_externals, but it works well 2 months ago.... i do not know what happens.
1711641784020.png

 
Back
Top