Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Installation

From Git

  1. clone the git repository

     $ git clone https://github.molgen.mpg.de/EditionOpenAccess/git_deps_py.git
    
  2. checkout the right version

     $ cd git_deps_py
     $ git checkout 0.1
    
  3. install into your PATH via pip

     $ pip install --user .
    

About

manage dependencies between git repositories (poor mans "git submodules")

Resources

License

Releases

No releases published

Languages

You can’t perform that action at this time.