Skip to content

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

License

Notifications You must be signed in to change notification settings

EditionOpenAccess/git_deps_py

master
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?
Code

Latest commit

 

Git stats

Files

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

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 release
    
  3. install into your PATH via pip

     $ pip install --user .
    

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages