You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Stash setup

Ensure user has an account and password for Stash.  If no userid, go to www.ecmwf.int/login and register. I then need to add this new user to the repository if they are outside ECMWF

Then go to  -  https://software.ecmwf.int/stash/login.

If user has not yet set a password, or needs a password reset, they need to navigate to JIRA (go to software.ecmwf.int and click on Issues tab). They should be logged out to do this. Once on JIRA, click 'login' and then click on the "Can't access your account?" link which will send them an email describing how to reset the password. This is also easiest way to change the password.

Once password is set, make sure userid and password work ok and the user can login to stash and see the OpenIFS git repository.

Cloning

To clone the repository at the remote site (once above login is successful):

mkdir ecmwf
cd ecmwf
git clone https://software.ecmwf.int/stash/scm/oifs/openifs.git

This will prompt for username and password and create a directory 'openifs' in 'ecmwf'.

That's it!

Example email to users

Should you want to clone the git repository for OpenIFS, here's how:

1. If you don't have an account on the ECMWF website go to www.ecmwf.int/login and self register.

2. Once you have a userid, you need to set the password on the website (called 'stash') hosting 
the repositories. If you don't have one, or have forgotten, simplest way of doing this is to go
to the login page: https://software.ecmwf.int/stash/login and click on 'Can't access your account?'. This will forward an email to you with a web address
to reset (or create) the password. 3. Once the password is set, test it by logging in to the above link. You should see the OpenIFS
project listed. 4. To clone on your workstation is then easy: mkdir ecmwf cd ecmwf git clone https://software.ecmwf.int/stash/scm/oifs/openifs.git which will prompt for username & password. Then you'll get a complete clone of the repository.
You can then create branches and push them back to me if you want to!

git workflows discussion:  http://www.atlassian.com/git/workflows#!workflow-centralized

  • No labels