A multi GIT project fetch tool inspired by google repo tool.
The manifest is YAML instead of XML:
default_reference: main
projects_dir: src
projects:
batchecker:
fetch_url: git@git.gitlab.com/mike7b4/batchecker
# Not needed if default_reference is specified above.
reference: main
# stored locally under src/batchecker
path: batchecker
# default is true so this field is not needed
auto_sync: true
stm32newboard-rs:
fetch_url: git@git.gitlab.com/mike7b4/stm32newboard-rs
# stored locally under src/stm32newboard-rs since path is not specified
linux:
fetch_url: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
# If autosync is set to false the repo is not fetched when sync is run.
# if not explicit specified with as *glrepo sync linux*
auto_sync: false
- sync (optional [project] list)
- list project local --path|--fetch-url|--reference|
- run a shell command for-each project.
- Show changed projects
- create project