-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the garden wiki!
Here's what I did to create this repo and it's constituent externals:
First, add manage_externals as a subtree:
- git clone https://github.com/llpcarson/garden
- cd garden/
- git subtree add --squash --prefix manage_externals https://github.com/ESMCI/manage_externals master
- git push origin master
Now, add a manage_externals config file, pointing to two constituent repositories, lettuce and tomato.
Externals.cfg
The config file can point to any repository, any branch or tag or hash, and put the contents in any subdirectory path.
Run manage_externals:
- ./manage_externals/checkout_externals
The default config file is Externals.cfg, but any config file can be specified on the command line.
For example, the default config file could list only the public/open repositories, and a different config file could include the private repositories(for which users would need specific access to clone the restricted repository)
Run manage_externals for a community configuration:
- rm -rf lettuce tomato
- ./manage_externals/checkout_externals -e Externals_community.cfg