Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: update documentation for git ls-remote and minor other fixes #33

Merged
merged 4 commits into from
Feb 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,27 @@ resource_types:
type: registry-image
source:
repository: mkorpershoek/repo-resource
tag: v1.0.0

resources:
- name: aosp
type: repo
check_every: 2h # default of 1min seems too frequent
source:
url: https://android.googlesource.com/platform/manifest
branch: master
branch: main
name: default.xml
depth: 1 # use shallow clone for faster syncing
jobs: 4 # run with -j4
check_jobs: 6 # do 6 git ls-remote operations in parallel (check only)
```

## Behavior

### `check`: Check for new versions in each project under a manifest

Repo init and repo sync are called for a given manifest.
After that, `--revision-as-HEAD` is called to capture the HEADs of each each project.
Repo init and `git ls-remote` are called for a given manifest.
After that we update the input manifest with the revisions retrieved from `git ls-remote`.
The whole list of projects is returned as a "manifest version".

### `in`: Syncs the repository, for a given manifest version
Expand Down
Loading