Skip to content
Permalink
29ea396dd3
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
33 lines (21 sloc) 995 Bytes

git_deps_py

manage dependencies between git repositories (lightweight "git submodules")

Status

  • experimental

Features

  • Standardized way how to document and manage dependencies to other repositories
  • For each dependency an init script can be specified
  • Reasonable behaviour of indirect dependencies (e.g. avoid redundant downloads and init scripts)

Usage Example

consider example your git project with dependencies. Lets cd into it:

$ cd example
$ ls
> dependencies.conf

dependencies.conf specifies the dependencies. Open it in your favourite editor to see how it is constructed. Let's install the dependencies:

$ ../bin/git_deps_py

This will clone the git repositories specified in dependencies.conf into a folder (default: ./dependencies/). Also, for each dependency the specified versions (git hash) are "checked out" and the init script (if specified) is run. To see default settings and learn the command line arguments, run:

$ ../bin/git_deps_py --help