Skip to content

stephan-cr/repo-sync

Repository files navigation

Repo-sync

Keep repositories in sync with upstream.

How to install

pip install git+https://github.com/stephan-cr/repo-sync

Supported Version Control Systems

VCS repo-type
Git git
Mercurial hg
Subversion svn

Configuration File Structure

A JSON configuration file in $XDG_CONFIG_HOME/sync-repos.conf is required and is structured as follows:

[
    {
        "repo-type": "git",
        "dir": "/home/xxx"
    },
    {
        "repo-type": "hg",
        "dir": "/home/yyy"
    }
]

XDG is used to locate configuration files. If $XDG_CONFIG_HOME is not set, it defaults to $HOME/.config.

Hint: the directory specification may contain the environment variable $HOME.

About

Keep repositories in sync with upstream.

Topics

Resources

License

Stars

Watchers

Forks

Languages