clawpack / apps

Repository of applications of Clawpack and related codes
Other
11 stars 40 forks source link

Access rights for multilayer-examples #84

Closed Dirivian closed 6 years ago

Dirivian commented 7 years ago

Cloning the apps repository using --recursive was not successful for multilayer examples. Also, the surge-examples folder cloned is empty.

Trying again with git submodule init did not resolve it either.

multi

mandli commented 7 years ago

It looks like an ssh-key problem rather than a permissions problem. Have you tried going into the offending directories and doing a git checkout master?

Dirivian commented 7 years ago

It displays that I am up-to-date with master.

However, there is still no multi-layer folder and surge-examples is still empty.

multi

mandli commented 7 years ago

Did you do git submodule init in the $CLAW/apps directory?

BTW, regardless of our success here I think the --recursive thing is wrong so we need to change that.

Dirivian commented 7 years ago

git submodule init did not work initially but a bit googling revealed that it could either be a folder permission problem or my ssh key was not set up correctly and submodules couldn't be cloned using HTTPS.

I added a new ssh key and git submodule init works perfectly now.

mandli commented 7 years ago

@Dirivian I kind of think we should document what the process that works is so that others do not have the same issues that you ran into. Would you mind doing a PR to the apps repository that explains what needs to be done to checkout the multilayer and storm surge submodules?

mandli commented 6 years ago

I am going to close this as we figured out a way around it and if someone has a similar issue we can refer to this.