... | ... | @@ -11,22 +11,26 @@ Gerrit makes a lot easier to deal with hundreds of repositories in one place, an |
|
|
|
|
|
### Workflow: ###
|
|
|
|
|
|
This is divided into two parts, one for those working on the AOSP / CalyxOS code, and another for any other supporting repositories
|
|
|
* This is divided into two parts, one for those working on the AOSP / CalyxOS code, and another for any other supporting repositories
|
|
|
* The repositories are still to be cloned via GitLab just like before - use https://gitlab.com/CalyxOS/$projectname
|
|
|
|
|
|
#### CalyxOS: ####
|
|
|
* If you had the source code synced before October, you should download the files `old-new` and `repo.sh` from https://git.io/JUb6h to your checkout (where you ran repo init / sync) - and then run repo.sh
|
|
|
* If you had the source code synced before October, you should download the files 'old-new' and 'repo.sh' from https://git.io/JUb6h to your checkout (where you ran repo init / sync) - and then run repo.sh
|
|
|
* For new checkouts, it will work out of the box
|
|
|
* You can use the 'repo upload' tool to upload changes.
|
|
|
* You can use the 'repopick' tool, available after 'source envsetup.sh' - to quickly download changes from gerrit.
|
|
|
* You can use the `repo upload` tool to upload changes.
|
|
|
* You can use the `repopick` tool, available after `source envsetup.sh` - to quickly download changes from gerrit.
|
|
|
|
|
|
#### Calyx: ####
|
|
|
* We use a tool called 'git-review' for these repos, available from https://docs.openstack.org/infra/git-review/
|
|
|
* This is configured by a '.gitreview' file in the root of the repo, which has already been added to all the relevant repos
|
|
|
* Make your changes, and then simply run 'git review' to upload them to gerrit.
|
|
|
* Make your changes, and then simply run `git review` to upload them to gerrit.
|
|
|
|
|
|
### Common: ###
|
|
|
* Open Changes can be viewed on the main gerrit homepage - https://review.calyxos.org/
|
|
|
|
|
|
### Useful Links: ###
|
|
|
* https://gerrit-review.googlesource.com/Documentation/intro-gerrit-walkthrough-github.html
|
|
|
|
|
|
TODO:
|
|
|
* Change-Ids
|
|
|
* Code-Review +1/-1 +2/-2
|
... | ... | |