Skip to content

mguzelevich/repot

Repository files navigation

RepoT GoDoc Build Status

Multiply repositories processing tools

Instalation

actual version installation:

$ go get github.com/mguzelevich/repot/cmd/repot

build

$ make build-fast
$ ./.build/repot

Usage

repot
├── --debug
├── --dry-run
├── -j, --jobs
│
├── -r, --root - root/target directory (default: ./)
│
├── repos
│   ├── -m, --manifest - manifest file (default: manifest.csv OR stdin)
│   ├── -f, --filter - process only selected repositories
│   │
│   ├── clone - clone multiply repositories
│   │   ├── 
│   │   └── ...
│   ├── check - check manifest (TODO!)
│   │   ├── 
│   │   └── ...
│   ├── check-diff - compare manifest & target directory
│   │   ├── 
│   │   └── ...
│   └── ...
│
├── git
│   ├── -f, --filter - process only selected repositories (TODO!)
│   │
│   ├── status
│   │   ├── 
│   │   └── ...
│   ├── ...
│   │   ├── 
│   │   └── ...
│   └── ...
└── ...

Manifest structure

$ cat manifest.csv

# repository,path,name
git@github.com:mguzelevich/repot.git,/src/github.com/mguzelevich,repot
git@github.com:mguzelevich/gitt.git,/src/github.com/mguzelevich,gitt

Examples

$ repot

$ cat manifest.csv | repot --progress --jobs 10 repos clone
$ cat manifest.csv | grep repo | repot --debug --jobs 2 repos clone

$ cat manifest.csv | head -n 10 | repot --jobs 10 --root /tmp/dst repos clone
$ cat manifest.csv | head -n 10 | repot --jobs 10 --root /tmp/dst repos check-diff

$ repot --jobs 10 git status
$ repot --jobs 10 git pull
$ repot git checkout -b BRANCH

Links

About

Multiply repositories processing tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •