Skip to content

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

License

Notifications You must be signed in to change notification settings

Miezhiko/Shelter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
) {
  ...
}

About

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

Topics

Resources

License

Stars

Watchers

Forks