Skip to content
Open
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,6 @@ bare/
.idea/*
code/
_manifest/


smoke_tests/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ You can reset repos in which changes have been made such as new files or new com

```bash
# Reset all repos in sequence if they are dirty

subgit reset

# Reset one specified repo if it's dirty
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
extras_require={
"test": ["pytest", "pytest-mock", "mock", "tox", "tox-gh-actions"],
"dev": [
"invoke>=2.2.0",
"ruff>=0.0.285",
"ptpython",
],
Expand Down
21 changes: 19 additions & 2 deletions subgit/constants.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,27 @@
# -*- coding: utf-8 -*-

DEFAULT_REPO_DICT = {"repos": []}
DEFAULT_REPO_DICT = {
"repos": [
{
"name": "subgit",
"url": "[email protected]:dynamist/subgit.git",
"revision": {
"branch": "master",
},
}
]
}

REVISION_BRANCH = "branch"
REVISION_COMMIT = "commit"
REVISION_TAG = "tag"

WORKER_COUNT = 8

__all__ = [
"DEFAULT_REPO_DICT",
"WORKER_COUNT"
"REVISION_BRANCH",
"REVISION_COMMIT",
"REVISION_TAG",
"WORKER_COUNT",
]
Loading