git-commitflow 1.1.2__tar.gz → 1.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/PKG-INFO +1 -2
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/README.md +0 -1
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/git_commitflow/git_commitflow.py +34 -33
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/git_commitflow.egg-info/PKG-INFO +1 -2
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/setup.py +1 -1
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/LICENSE +0 -0
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/git_commitflow/__init__.py +0 -0
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/git_commitflow/cache_file.py +0 -0
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/git_commitflow/helpers.py +0 -0
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/git_commitflow/readline_manager.py +0 -0
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/git_commitflow.egg-info/SOURCES.txt +0 -0
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/git_commitflow.egg-info/dependency_links.txt +0 -0
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/git_commitflow.egg-info/entry_points.txt +0 -0
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/git_commitflow.egg-info/requires.txt +0 -0
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/git_commitflow.egg-info/top_level.txt +0 -0
- {git_commitflow-1.1.2 → git_commitflow-1.1.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: git-commitflow
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4
|
|
4
4
|
Summary: A git add/commit/push helper
|
|
5
5
|
Home-page: https://github.com/jamescherti/git-commitflow
|
|
6
6
|
Author: James Cherti
|
|
@@ -102,7 +102,6 @@ Readline manager.
|
|
|
102
102
|
options:
|
|
103
103
|
-h, --help show this help message and exit
|
|
104
104
|
-p, --push Git push after a successful commit
|
|
105
|
-
-r, --recursive Apply git-commitflow to all submodules
|
|
106
105
|
```
|
|
107
106
|
|
|
108
107
|
## Customizations
|
|
@@ -93,14 +93,14 @@ class GitCommitFlow:
|
|
|
93
93
|
"pushed multiple times. This minimizes redundant pushes.)"),
|
|
94
94
|
)
|
|
95
95
|
|
|
96
|
-
parser.add_argument(
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
)
|
|
96
|
+
# parser.add_argument(
|
|
97
|
+
# "-r",
|
|
98
|
+
# "--recursive",
|
|
99
|
+
# default=False,
|
|
100
|
+
# action="store_true",
|
|
101
|
+
# required=False,
|
|
102
|
+
# help="Apply git-commitflow to all submodules",
|
|
103
|
+
# )
|
|
104
104
|
|
|
105
105
|
return parser.parse_args()
|
|
106
106
|
|
|
@@ -114,7 +114,8 @@ class GitCommitFlow:
|
|
|
114
114
|
f"'{self.git_repo_dir}'.")
|
|
115
115
|
sys.exit(1)
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
# Buggy
|
|
118
|
+
# self.git_submodule_foreach()
|
|
118
119
|
|
|
119
120
|
if self._run("git status --porcelain"):
|
|
120
121
|
self.git_add()
|
|
@@ -132,29 +133,29 @@ class GitCommitFlow:
|
|
|
132
133
|
|
|
133
134
|
sys.exit(errno)
|
|
134
135
|
|
|
135
|
-
def git_submodule_foreach(self):
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
136
|
+
# def git_submodule_foreach(self):
|
|
137
|
+
# try:
|
|
138
|
+
# git_commit_wrapper_recursive = \
|
|
139
|
+
# int(os.environ.get("GIT_COMMIT_WRAPPER_RECURSIVE", "0"))
|
|
140
|
+
# except ValueError:
|
|
141
|
+
# git_commit_wrapper_recursive = 0
|
|
142
|
+
#
|
|
143
|
+
# if self.args.recursive or git_commit_wrapper_recursive:
|
|
144
|
+
# if not (self.git_repo_dir / ".gitmodules").is_file():
|
|
145
|
+
# return
|
|
146
|
+
#
|
|
147
|
+
# git_ci_script = Path(__file__).absolute()
|
|
148
|
+
# print(f"{Fore.LIGHTYELLOW_EX}[SUBMODULE FORREACH] "
|
|
149
|
+
# f"{self.git_repo_dir}{Fore.RESET}")
|
|
150
|
+
# cmd = ["git", "submodule", "--quiet", "foreach", "--recursive",
|
|
151
|
+
# str(git_ci_script)]
|
|
152
|
+
# if self.args.push:
|
|
153
|
+
# cmd += ["--push"]
|
|
154
|
+
# try:
|
|
155
|
+
# subprocess.check_call(cmd)
|
|
156
|
+
# except subprocess.CalledProcessError as proc_err:
|
|
157
|
+
# print(f"Error: {proc_err}", file=sys.stderr)
|
|
158
|
+
# sys.exit(1)
|
|
158
159
|
|
|
159
160
|
def git_ci(self) -> int:
|
|
160
161
|
"""Function that performs the git commit."""
|
|
@@ -382,7 +383,7 @@ class GitCommitFlow:
|
|
|
382
383
|
previous_message = \
|
|
383
384
|
"\n".join(
|
|
384
385
|
self._run("git --no-pager log -1 --pretty=%B")).rstrip()
|
|
385
|
-
print("Previous git message:
|
|
386
|
+
print("Previous git message:",
|
|
386
387
|
Fore.YELLOW + previous_message + Fore.RESET)
|
|
387
388
|
self.readline_manager.append_to_history(previous_message)
|
|
388
389
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: git-commitflow
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4
|
|
4
4
|
Summary: A git add/commit/push helper
|
|
5
5
|
Home-page: https://github.com/jamescherti/git-commitflow
|
|
6
6
|
Author: James Cherti
|
|
@@ -102,7 +102,6 @@ Readline manager.
|
|
|
102
102
|
options:
|
|
103
103
|
-h, --help show this help message and exit
|
|
104
104
|
-p, --push Git push after a successful commit
|
|
105
|
-
-r, --recursive Apply git-commitflow to all submodules
|
|
106
105
|
```
|
|
107
106
|
|
|
108
107
|
## Customizations
|
|
@@ -23,7 +23,7 @@ from setuptools import find_packages, setup
|
|
|
23
23
|
|
|
24
24
|
setup(
|
|
25
25
|
name="git-commitflow",
|
|
26
|
-
version="1.1.
|
|
26
|
+
version="1.1.4",
|
|
27
27
|
packages=find_packages(),
|
|
28
28
|
description="A git add/commit/push helper",
|
|
29
29
|
long_description=((Path(__file__).parent.resolve().joinpath("README.md"))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|