-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from jacebrowning/release/v0.5
Release v0.5
- Loading branch information
Showing
31 changed files
with
772 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,8 @@ env | |
|
||
# Generated documentation | ||
docs/gen | ||
apidocs | ||
/apidocs | ||
/site | ||
/*.html | ||
*.rst | ||
docs/*.png | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[pep257] | ||
|
||
# D10*: docstring missing (checked by PyLint) | ||
# D202: No blank lines allowed *after* function docstring (personal preference) | ||
add-ignore = D102,D103,D105,D202 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# remove this placeholder after adding files | ||
*.png |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../CHANGES.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../CONTRIBUTING.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../LICENSE.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Git Dependency Manager | ||
|
||
Git Dependency Manager (GDM) is a language-agnostic "dependency manager" using Git. It aims to serve as a submodules replacement and provides advanced options for managing versions of nested Git repositories. | ||
|
||
[![Build Status](https://travis-ci.org/jacebrowning/gdm.svg?branch=develop)](https://travis-ci.org/jacebrowning/gdm) | ||
[![Coverage Status](http://img.shields.io/coveralls/jacebrowning/gdm/master.svg)](https://coveralls.io/r/jacebrowning/gdm) | ||
[![Scrutinizer Code Quality](http://img.shields.io/scrutinizer/g/jacebrowning/gdm.svg)](https://scrutinizer-ci.com/g/jacebrowning/gdm/?branch=master) | ||
[![PyPI Version](http://img.shields.io/pypi/v/GDM.svg)](https://pypi.python.org/pypi/GDM) | ||
[![PyPI Downloads](http://img.shields.io/pypi/dm/GDM.svg)](https://pypi.python.org/pypi/GDM) | ||
|
||
## Requirements | ||
|
||
* Python 3.3+ | ||
* Latest version of Git (with [stored credentials](http://stackoverflow.com/questions/7773181)) | ||
* OSX/Linux (with a decent shell for Git) | ||
|
||
## Installation | ||
|
||
GDM can be installed with pip: | ||
|
||
```sh | ||
$ pip3 install gdm | ||
``` | ||
|
||
or directly from the source code: | ||
|
||
```sh | ||
$ git clone https://github.com/jacebrowning/gdm.git | ||
$ cd gdm | ||
$ python3 setup.py install | ||
``` | ||
|
||
## Setup | ||
|
||
Create a GDM configuration file (`gdm.yml` or `.gdm.yml`) in the root of your working tree: | ||
|
||
```yaml | ||
location: .gdm | ||
sources: | ||
- repo: https://github.com/kstenerud/iOS-Universal-Framework | ||
dir: framework | ||
rev: Mk5-end-of-life | ||
- repo: https://github.com/jonreid/XcodeCoverage | ||
dir: coverage | ||
rev: master | ||
link: Tools/XcodeCoverage | ||
``` | ||
Ignore GDM's dependency storage location: | ||
```sh | ||
$ echo .gdm >> .gitignore | ||
``` | ||
|
||
Basic Usage | ||
----------- | ||
|
||
Get all dependencies: | ||
|
||
```sh | ||
$ gdm install | ||
``` | ||
|
||
which will essentially: | ||
|
||
1. create a working tree at _root_/`location`/`dir` | ||
2. fetch from `repo` and checkout the specified `rev` | ||
3. symbolically link each `location`/`dir` from _root_/`link` (if specified) | ||
4. repeat for all nested working trees containing a configuration file | ||
|
||
where `rev` can be: | ||
|
||
* all or part of a commit SHA: `123def` | ||
* a tag: `v1.0` | ||
* a branch: `master` | ||
* a `rev-parse` date: `'develop@{2015-06-18 10:30:59}'` |
Oops, something went wrong.