#git #repo #tool #fetch #path #projects #google

app glrepo

A multi GIT project fetch tool inspired by google repo tool

2 releases

0.4.1 Feb 12, 2022
0.4.0 Feb 12, 2022

#102 in #repo

MIT license

36KB
822 lines

GlRepo

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 one is not needed
    auto_sync: true
  stm32newboard-rs:
    fetch_url: git@git.gitlab.com/mike7b4/batchecker
    # stored locally under src/stm32newboard-rs sinve 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 ryn sync
    auto_sync: false

Features

  • sync
  • list project local --path|--fetch-url|--reference|
  • run a shell command for-each project.
  • Show changed projects
  • create project

known issues

Dependencies

~14–25MB
~407K SLoC