Repoman is a package to be used in Magefiles so that independent repositories can be grouped together and kept in sync.
The config.yml
allows repositories to be specified as:
- Projects, repositories in the current directory.
- Groups, subdirectories that group together repositories by a common theme. Groups can be further split using
.
as a directory separator.
Repoman has special support for Go projects. If a project is marked with go: true
in the configuration, it checkout the repository in your $GOPATH
and automatically symlink from the configurations directory structure.
Repoman now also has support for building docker images on a per-repository basis. Just set the docker:
property on each repo to name of the image, and call the DockerBuild
command from your Magefile.
Checkout the examples directory in this repository to see a quick example on how to use it.