Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ not_skip = __init__.py
multi_line_output = 3

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

combine_as_imports = true
Expand Down
168 changes: 84 additions & 84 deletions gitman.yml
Original file line number Diff line number Diff line change
@@ -1,88 +1,88 @@
location: demo
sources:
- name: gitman_1
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: example-branch
link:
scripts:
- cat .noserc
- make foobar
- name: gitman_2
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: example-tag
link:
scripts:
-
- name: gitman_3
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: master@{2015-06-18 11:11:11}
link:
scripts:
- echo "Hello, World!"
- pwd
- name: gitman_4
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: example-branch-2
link:
scripts:
-
- name: gitman_1
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: example-branch
link:
scripts:
- cat .noserc
- make foobar
- name: gitman_2
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: example-tag
link:
scripts:
-
- name: gitman_3
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: master@{2015-06-18 11:11:11}
link:
scripts:
- echo "Hello, World!"
- pwd
- name: gitman_4
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: example-branch-2
link:
scripts:
-
sources_locked:
- name: gitman_1
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: 1de84ca1d315f81b035cd7b0ecf87ca2025cdacd
link:
scripts:
- cat .noserc
- make foobar
- name: gitman_2
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: 7bd138fe7359561a8c2ff9d195dff238794ccc04
link:
scripts:
-
- name: gitman_3
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: 2da24fca34af3748e3cab61db81a2ae8b35aec94
link:
scripts:
- echo "Hello, World!"
- pwd
- name: gitman_4
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: f50c1ac8bf27377625b0cc93ea27f8069c7b513a
link:
scripts:
-
- name: gitman_1
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: 1de84ca1d315f81b035cd7b0ecf87ca2025cdacd
link:
scripts:
- cat .noserc
- make foobar
- name: gitman_2
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: 7bd138fe7359561a8c2ff9d195dff238794ccc04
link:
scripts:
-
- name: gitman_3
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: 2da24fca34af3748e3cab61db81a2ae8b35aec94
link:
scripts:
- echo "Hello, World!"
- pwd
- name: gitman_4
type: git
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: f50c1ac8bf27377625b0cc93ea27f8069c7b513a
link:
scripts:
-
groups:
- name: group_a
members:
- gitman_1
- gitman_4
- name: group_b
members:
- gitman 2
- gitman_3
- name: group_a
members:
- gitman_1
- gitman_4
- name: group_b
members:
- gitman 2
- gitman_3
15 changes: 5 additions & 10 deletions gitman/settings.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
"""Program defaults."""

import logging
import os

import datafiles
import log


# Serialization settings
datafiles.settings.INDENT_YAML_BLOCKS = False

# Cache settings
CACHE = os.path.expanduser(os.getenv('GITMAN_CACHE', "~/.gitcache"))
Expand All @@ -18,8 +13,8 @@
LEVELED_LOGGING_FORMAT = "%(levelname)s: %(message)s"
VERBOSE_LOGGING_FORMAT = "[%(levelname)-8s] %(message)s"
VERBOSE2_LOGGING_FORMAT = "[%(levelname)-8s] (%(name)s @%(lineno)4d) %(message)s"
QUIET_LOGGING_LEVEL = log.ERROR
DEFAULT_LOGGING_LEVEL = log.WARNING
VERBOSE_LOGGING_LEVEL = log.INFO
VERBOSE2_LOGGING_LEVEL = log.DEBUG
QUIET_LOGGING_LEVEL = logging.ERROR
DEFAULT_LOGGING_LEVEL = logging.WARNING
VERBOSE_LOGGING_LEVEL = logging.INFO
VERBOSE2_LOGGING_LEVEL = logging.DEBUG
LOGGING_DATEFMT = "%Y-%m-%d %H:%M"
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]

name = "gitman"
version = "2.0b2"
version = "2.0b3"
description = "A language-agnostic dependency manager using Git."

license = "MIT"
Expand Down Expand Up @@ -42,7 +42,7 @@ classifiers = [

python = "^3.7"

datafiles = ">=0.9b4"
datafiles = ">=0.9b5"
minilog = "^1.5"

[tool.poetry.dev-dependencies]
Expand Down
Loading