/Shelter

This stupid thing designed to walk over directories pulling changes, it does job faster than everything else with libgit2

Primary LanguageC++OtherNOASSERTION

Shelter

Build Status Discord Twitter Follow

Simple stupid script to update code in number of directories

Wants/uses libgit2 if it's not Windows, which makes it fast, actually.

Config file example, should be stored at ${HOME}/.shelter.yml

- branch: master
  target: /some/directory/path
  vcs: git
  upstream: origin master
  task: pull
- branch: master
  target: /another/directory
  vcs: git
  upstream: origin master
  task: pull

If repository contains migma files (.migma.py or .migma.sh) in root directory they will be executed if repository was updated.

Work in progress

currently only git version control system is supported for good

template <> void Repo <VCS::Git> :: pull (
  const std::shared_ptr<GlobalOptions>& opts
) {
  ...
}