-
Notifications
You must be signed in to change notification settings - Fork 7
4. Custom Repos
lukemartinlogan edited this page Aug 30, 2023
·
3 revisions
There are cases where your organization may have packages used internally and do not want to have to wait to be integrated into the builtin repo.
Custom repos have the following structure:
my_org_name
└── my_org_name
└── orangefs
└── package.py
You can then register the repo as follows:
jarvis repo add /path/to/my_org_name
Whenever a new repo is added, it will be the first place jarvis searches for pkgs.
You can then add pkgs to the repo as follows:
jarvis repo create [name] [pkg_class]
pkg_class can be one of:
- service
- app
- interceptor
For example:
jarvis repo create hermes service
The repo will then look as follows:
my_org_name
└── my_org_name
├── hermes
│ └── package.py
└── orangefs
└── package.py
Jarvis searches repos in a certain order. To make a repo the first place that jarvis searches, run:
jarvis repo promote [repo_name]
Sometimes a repo needs to be removed entirely from consideration. To do this, run:
jarvis repo remove [repo_name]
This will not destroy the contents of the repo, it will simply unregister the repo from Jarvis.