Skip to content

Commit

Permalink
Merge ca63e7b into 18b2e4d
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Dec 26, 2018
2 parents 18b2e4d + ca63e7b commit 0641a35
Show file tree
Hide file tree
Showing 47 changed files with 1,681 additions and 1,459 deletions.
7 changes: 3 additions & 4 deletions .appveyor.yml
Expand Up @@ -2,15 +2,13 @@ environment:
global:
RANDOM_SEED: 0
matrix:
- PYTHON_MAJOR: 3
PYTHON_MINOR: 5
- PYTHON_MAJOR: 3
PYTHON_MINOR: 6
- PYTHON_MAJOR: 3
PYTHON_MINOR: 7

cache:
- .venv -> Pipfile.lock
- .venv -> Makefile

install:
# Add Make and Python to the PATH
Expand All @@ -19,7 +17,8 @@ install:
- set PATH=C:\Python%PYTHON_MAJOR%%PYTHON_MINOR%;%PATH%
- set PATH=C:\Python%PYTHON_MAJOR%%PYTHON_MINOR%\Scripts;%PATH%
# Install system dependencies
- pip install pipenv
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
- set PATH=%USERPROFILE%\.poetry\bin;%PATH%
- make doctor
# Install project dependencies
- make install
Expand Down
9 changes: 9 additions & 0 deletions .coveragerc
Expand Up @@ -2,6 +2,15 @@

branch = true

data_file = .cache/coverage

omit =
.venv/*
*/tests/*
*/__main__.py

[report]

exclude_lines =
pragma: no cover
raise NotImplementedError
7 changes: 5 additions & 2 deletions .isort.cfg
Expand Up @@ -2,12 +2,15 @@

not_skip = __init__.py

multi_line_output = 5
multi_line_output = 3

known_standard_library = dataclasses,typing_extensions
known_third_party = click,log
known_first_party = demo
known_first_party = gitman

combine_as_imports = true
force_grid_wrap = false
include_trailing_comma = true

lines_after_imports = 2
line_length = 88
7 changes: 7 additions & 0 deletions .mypy.ini
@@ -0,0 +1,7 @@
[mypy]

ignore_missing_imports = true
no_implicit_optional = true
check_untyped_defs = true

cache_dir = .cache/mypy/
9 changes: 0 additions & 9 deletions .pycodestyle.ini

This file was deleted.

5 changes: 3 additions & 2 deletions .pylint.ini
Expand Up @@ -127,6 +127,7 @@ disable=
logging-not-lazy,
redefined-builtin,
too-many-public-methods,
bad-continuation,

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down Expand Up @@ -270,7 +271,7 @@ indent-after-paren=4
indent-string=' '

# Maximum number of characters on a single line.
max-line-length=79
max-line-length=88

# Maximum number of lines in a module
max-module-lines=1000
Expand Down Expand Up @@ -315,7 +316,7 @@ ignore-docstrings=yes
ignore-imports=no

# Minimum lines number of a similarity.
min-similarity-lines=4
min-similarity-lines=6


[SPELLING]
Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
@@ -1,6 +1,5 @@
language: python
python:
- 3.5
- 3.6
matrix:
include:
Expand All @@ -11,14 +10,15 @@ matrix:
cache:
pip: true
directories:
- .venv
- ${VIRTUAL_ENV}

env:
global:
- RANDOM_SEED=0

before_install:
- pip install pipenv
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
- source $HOME/.poetry/env
- make doctor

install:
Expand Down
12 changes: 6 additions & 6 deletions .verchew.ini
Expand Up @@ -6,22 +6,22 @@ version = GNU Make
[Python]

cli = python
version = Python 3.
version = Python 3

[pipenv]
[Poetry]

cli = pipenv
versions = 10. | 11.
cli = poetry
version = 0.12

[Git]

cli = git
version = 2.
version = 2

[Graphviz]

cli = dot
cli_version_arg = -V
version = 2.
version = 2
optional = true
message = This is only needed to generate UML diagrams for documentation.
71 changes: 35 additions & 36 deletions CHANGELOG.md
@@ -1,99 +1,98 @@
# Revision History

## 1.6 (unreleased)
# 1.6 (unreleased)

- Added `git svn` support. (@daniel-brosche)
- Added `$GITMAN_CACHE_DISABLE` to disable repository mirrors. (@daniel-brosche)
- **BREAKING**: Dropped support for Python 3.5.

## 1.5 (2018-09-08)
# 1.5 (2018-09-08)

- Added `--keep-location` option on `uninstall`. (@DavidWatkins)
- Added feature to enable sparse checkouts. See the docs for further information. (@xenji)
- **BREAKING**: Removed confusing `--lock` option on `update` command in favor of just using the `lock` command.
- **BREAKING**: Renamed `--no-lock` to `--skip-lock` on `update` command.
- **BREAKING**: Renamed `--no-dirty` to `--fail-if-dirty` on `list` command.

## 1.4 (2017-03-21)
# 1.4 (2017-03-21)

- Allow config files to exist in subdirectories of the main project.
- Added `$GITMAN_CACHE` to customize the repository cache location.

## 1.3 (2017-02-03)
# 1.3 (2017-02-03)

- Added `init` command to generate sample config files.
- Added support for post-install scripts on dependencies.
- Updated config format to support `null` for links.

## 1.2 (2017-01-08)
# 1.2 (2017-01-08)

- Added preliminary Windows support. (@StudioEtrange)

## 1.1 (2017-01-06)
# 1.1 (2017-01-06)

- Added coloring to the command-line output.
- Fixed issue where `<dirty>` could be saved as a locked revision.

## 1.0.2 (2016-07-28)
# 1.0.2 (2016-07-28)

- Moved documentation to http://gitman.readthedocs.io/.

## 1.0.1 (2016-05-31)
# 1.0.1 (2016-05-31)

- Replaced calls to `git remote add origin` with `git remote set-url origin`.

## 1.0 (2016-05-22)
# 1.0 (2016-05-22)

- Initial stable release.

## 0.11 (2016-05-10)
# 0.11 (2016-05-10)

- Removed dependency on `sh` to support Cygwin/MinGW/etc. on Windows.
- Dropped Python 3.4 support for `subprocess` and `*args` improvements.
- **BREAKING**: Renamed config file key `dir` to `name`.

## 0.10 (2016-04-14)
# 0.10 (2016-04-14)

- Added `show` command to display dependency and internal paths.

## 0.9 (2016-03-31)
# 0.9 (2016-03-31)

- Added `edit` command to launch the config file.
- Depth now defaults to 5 to prevent infinite recursion.
- Fixed handling of source lists containing different dependencies.

## 0.8.3 (2016-03-14)
# 0.8.3 (2016-03-14)

- Renamed to GitMan.

## 0.8.2 (2016-02-24)
# 0.8.2 (2016-02-24)

- Updated to YORM v0.6.

## 0.8.1 (2016-01-21)
# 0.8.1 (2016-01-21)

- Added an error message when attempting to lock invalid repositories.

## 0.8 (2016-01-13)
# 0.8 (2016-01-13)

- Switched to using repository mirrors to speed up cloning.
- Disabled automatic fetching on install.
- Added `--fetch` option on `install` to always fetch.
- Now displaying `git status` output when there are changes.

## 0.7 (2015-12-22)
# 0.7 (2015-12-22)

- Fixed `git remote rm` command. (@hdnivara)
- Now applying the `update` dependency filter to locking as well.
- Now only locking previous locked dependencies.
- Added `lock` command to manually save all dependency versions.
- Now requiring `--lock` option on `update` to explicitly lock dependencies.

## 0.6 (2015-11-13)
# 0.6 (2015-11-13)

- Added the ability to filter the dependency list on `install` and `update`.
- Added `--depth` option to limit dependency traversal on `install`, `update`, and `list`.

## 0.5 (2015-10-20)
# 0.5 (2015-10-20)

- Added Git plugin support via: `git deps`.
- Removed `--no-clean` option (now the default) on `install` and `update`.
Expand All @@ -103,71 +102,71 @@
- Disabled warnings when running `install` without locked sources.
- Added `--no-lock` option to disable version recording.

## 0.4.2 (2015-10-18)
# 0.4.2 (2015-10-18)

- Fixed crash when running with some sources missing.

## 0.4.1 (2015-09-24)
# 0.4.1 (2015-09-24)

- Switched to cloning for initial working tree creation.

## 0.4 (2015-09-18)
# 0.4 (2015-09-18)

- Replaced `install` command with `update`.
- Updated `install` command to use locked dependency versions.
- Now sorting sources after a successful `update`.
- Now requiring `--force` to `uninstall` with uncommitted changes.
- Updated `list` command to show full shell commands.

## 0.3.1 (2015-09-09)
# 0.3.1 (2015-09-09)

- Ensures files are not needlessly reloaded with newer versions of YORM.

## 0.3 (2015-06-26)
# 0.3 (2015-06-26)

- Added `--no-clean` option to disable removing untracked files.
- Added support for `rev-parse` dates as the dependency `rev`.

## 0.2.5 (2015-06-15)
# 0.2.5 (2015-06-15)

- Added `--quiet` option to hide warnings.

## 0.2.4 (2015-05-19)
# 0.2.4 (2015-05-19)

- Now hiding YORM logging bellow warnings.

## 0.2.3 (2015-05-17)
# 0.2.3 (2015-05-17)

- Upgraded to YORM v0.4.

## 0.2.2 (2015-05-04)
# 0.2.2 (2015-05-04)

- Specified YORM < v0.4.

## 0.2.1 (2015-03-12)
# 0.2.1 (2015-03-12)

- Added automatic remote branch tracking in dependencies.
- Now requiring `--force` when there are untracked files.

## 0.2 (2015-03-10)
# 0.2 (2015-03-10)

- Added `list` command to display current URLs/SHAs.

## 0.1.4 (2014-02-27)
# 0.1.4 (2014-02-27)

- Fixed an outdated index when checking for changes.

## 0.1.3 (2014-02-27)
# 0.1.3 (2014-02-27)

- Fixed extra whitespace when logging shell output.

## 0.1.2 (2014-02-27)
# 0.1.2 (2014-02-27)

- Added `--force` argument to:
- overwrite uncommitted changes
- create symbolic links in place of directories
- Added live shell command output with `-vv` argument.

## 0.1 (2014-02-24)
# 0.1 (2014-02-24)

- Initial release.

0 comments on commit 0641a35

Please sign in to comment.