git-commitflow 1.1.3__tar.gz → 1.1.5__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.3 → git_commitflow-1.1.5}/PKG-INFO +2 -3
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/README.md +1 -2
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/git_commitflow/__init__.py +1 -1
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/git_commitflow/cache_file.py +1 -1
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/git_commitflow/git_commitflow.py +34 -34
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/git_commitflow/helpers.py +1 -1
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/git_commitflow/readline_manager.py +1 -1
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/git_commitflow.egg-info/PKG-INFO +2 -3
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/setup.py +2 -2
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/LICENSE +0 -0
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/git_commitflow.egg-info/SOURCES.txt +0 -0
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/git_commitflow.egg-info/dependency_links.txt +0 -0
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/git_commitflow.egg-info/entry_points.txt +0 -0
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/git_commitflow.egg-info/requires.txt +0 -0
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/git_commitflow.egg-info/top_level.txt +0 -0
- {git_commitflow-1.1.3 → git_commitflow-1.1.5}/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.5
|
|
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
|
|
@@ -121,7 +120,7 @@ With these aliases, you can conveniently use the commands `git ci` to commit cha
|
|
|
121
120
|
|
|
122
121
|
## License
|
|
123
122
|
|
|
124
|
-
Copyright (c) 2020-
|
|
123
|
+
Copyright (c) 2020-2026 [James Cherti](https://www.jamescherti.com)
|
|
125
124
|
|
|
126
125
|
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
|
127
126
|
|
|
@@ -68,7 +68,6 @@ Readline manager.
|
|
|
68
68
|
options:
|
|
69
69
|
-h, --help show this help message and exit
|
|
70
70
|
-p, --push Git push after a successful commit
|
|
71
|
-
-r, --recursive Apply git-commitflow to all submodules
|
|
72
71
|
```
|
|
73
72
|
|
|
74
73
|
## Customizations
|
|
@@ -87,7 +86,7 @@ With these aliases, you can conveniently use the commands `git ci` to commit cha
|
|
|
87
86
|
|
|
88
87
|
## License
|
|
89
88
|
|
|
90
|
-
Copyright (c) 2020-
|
|
89
|
+
Copyright (c) 2020-2026 [James Cherti](https://www.jamescherti.com)
|
|
91
90
|
|
|
92
91
|
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
|
93
92
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env python
|
|
2
2
|
#
|
|
3
|
-
# Copyright (c) 2020-
|
|
3
|
+
# Copyright (c) 2020-2026 James Cherti
|
|
4
4
|
# URL: https://github.com/jamescherti/git-commitflow
|
|
5
5
|
#
|
|
6
6
|
# This program is free software: you can redistribute it and/or modify it under
|
|
@@ -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."""
|
|
@@ -364,7 +365,6 @@ class GitCommitFlow:
|
|
|
364
365
|
|
|
365
366
|
subprocess.check_call(["git", "status"])
|
|
366
367
|
print(f"Git repo: {Fore.YELLOW}{self.git_repo_dir}{Fore.RESET}")
|
|
367
|
-
print()
|
|
368
368
|
|
|
369
369
|
git_name = self.git_config_get("user.name", "Unknown")
|
|
370
370
|
git_email = self.git_config_get("user.email", "unknown@domain.ext")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: git-commitflow
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.5
|
|
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
|
|
@@ -121,7 +120,7 @@ With these aliases, you can conveniently use the commands `git ci` to commit cha
|
|
|
121
120
|
|
|
122
121
|
## License
|
|
123
122
|
|
|
124
|
-
Copyright (c) 2020-
|
|
123
|
+
Copyright (c) 2020-2026 [James Cherti](https://www.jamescherti.com)
|
|
125
124
|
|
|
126
125
|
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
|
127
126
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env python
|
|
2
2
|
#
|
|
3
|
-
# Copyright (c) 2020-
|
|
3
|
+
# Copyright (c) 2020-2026 James Cherti
|
|
4
4
|
# URL: https://github.com/jamescherti/git-commitflow
|
|
5
5
|
#
|
|
6
6
|
# This program is free software: you can redistribute it and/or modify it under
|
|
@@ -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.5",
|
|
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
|