The Scheduler source code is a multi-module maven project stored in a git repository, see: Code Organization
We use gitflow for our branching strategy. This means that you can see a clean history of our releases by examining the master branch.
You can browse the git repository and do a lot of git actions via the Bitbucket Server (Stash) web UI. If you want to work with the command line, refer to the examples below.
Clone the repository:
No Format |
---|
git clone https://open.catalyst.harvard.edu/stash/scm/hccrcscheduler/scheduler.git |
Build the entire project (Depending on users' configurations, it may be necessary to give Maven extra memory.
No Format |
---|
cd scheduler mvn clean install |
Find out what our tags are via command line:
No Format |
---|
git tags -l |
Check out a release tag of the code, e.g.:
No Format |
---|
git checkout tags/4.23.0 |
Or check out the HEAD of the development branch of the code:
No Format |
---|
git checkout develop |
Set up a development environment
Our code is IDE-agnostic and there are no IDE specific files committed. Most of us use IntelliJ IDEA but you can use whichever IDE you want, especially if it can easily import a Maven project.