Clone the project repos¶
CEDAR is composed of numerous git
repos. However, it is possible, it would be tedious to clone these repos one by one.
We have a utility script that does just that.
Clone the repos using cedarcli
¶
cedarcli git clone all
This will clone all the repos that are needed for the CEDAR development. One warning will be thrown since we already cloned the cedar-cli
repo manually.
Checkout develop
branch¶
cedarcli git checkout develop
This will check out the develop
branch for all the CEDAR repos.
Check the status of the repos¶
cedarcli check repos
Should render something similar:
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━┓
┃ Repo/File/Dir ┃ File Type ┃ Repo Type ┃ Recognized as ┃ Status ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━┩
│ cedar-admin-tool │ 🗂️ dir │ java │ CEDAR repo │ ✅ │
│ cedar-archetype-exporter │ 🗂️ dir │ java │ CEDAR repo │ ✅ │
│ cedar-archetype-instance-reader │ 🗂️ dir │ java │ CEDAR repo │ ✅ │
│ cedar-archetype-instance-writer │ 🗂️ dir │ java │ CEDAR repo │ ✅ │
│ cedar-artifact-library │ 🗂️ dir │ java │ CEDAR repo │ ✅ │
│ cedar-artifact-server │ 🗂️ dir │ java │ CEDAR repo │ ✅ │
│ cedar-artifact-viewer │ 🗂️ dir │ angular │ CEDAR repo │ ✅ │
...
│ cedar-util │ 🗂️ dir │ misc │ CEDAR repo │ ✅ │
│ cedar-valuerecommender-server │ 🗂️ dir │ java │ CEDAR repo │ ✅ │
│ cedar-worker-server │ 🗂️ dir │ java │ CEDAR repo │ ✅ │
└────────────────────────────────────────────┴───────────┴──────────────────┴───────────────┴────────┘
62 object/files recognized