skilleter-thingy 0.2.11__tar.gz → 0.2.13__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.
Potentially problematic release.
This version of skilleter-thingy might be problematic. Click here for more details.
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/PKG-INFO +1 -1
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/pyproject.toml +1 -1
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/gitprompt.py +9 -3
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/git.py +5 -2
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy.egg-info/PKG-INFO +1 -1
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/LICENSE +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/README.md +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/setup.cfg +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/__init__.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/addpath.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/console_colours.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/docker_purge.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/ffind.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/ggit.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/ggrep.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/git_br.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/git_ca.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/git_cleanup.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/git_co.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/git_common.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/git_hold.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/git_mr.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/git_parent.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/git_retag.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/git_review.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/git_update.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/git_wt.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/gitcmp_helper.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/gl.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/linecount.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/multigit.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/py_audit.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/readable.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/remdir.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/rmdupe.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/rpylint.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/strreplace.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/tfm.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/tfparse.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/__init__.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/colour.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/dc_curses.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/dc_defaults.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/dc_util.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/dircolors.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/docker.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/files.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/gitlab.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/path.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/popup.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/process.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/run.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/tfm_pane.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/tidy.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/venv_template.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/trimpath.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/venv_create.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/xchmod.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/yamlcheck.py +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy.egg-info/SOURCES.txt +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy.egg-info/dependency_links.txt +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy.egg-info/entry_points.txt +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy.egg-info/requires.txt +0 -0
- {skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: skilleter_thingy
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.13
|
|
4
4
|
Summary: A collection of useful utilities, mainly aimed at making Git more friendly
|
|
5
5
|
Author-email: John Skilleter <john@skilleter.org.uk>
|
|
6
6
|
Project-URL: Home, https://skilleter.org.uk
|
|
@@ -100,6 +100,9 @@ def colour_prompt(gitstate: dict):
|
|
|
100
100
|
else:
|
|
101
101
|
output.append('[REVERSE][GREEN]')
|
|
102
102
|
|
|
103
|
+
if output:
|
|
104
|
+
output.append(' ')
|
|
105
|
+
|
|
103
106
|
return output
|
|
104
107
|
|
|
105
108
|
################################################################################
|
|
@@ -191,8 +194,6 @@ def git_status(colour_output: str, prompt_output: str):
|
|
|
191
194
|
""" Catalogue the current state of the working tree then call the function
|
|
192
195
|
to either output a suitable colour or the prompt text or both """
|
|
193
196
|
|
|
194
|
-
output = []
|
|
195
|
-
|
|
196
197
|
# Get the working tree, just return if there's an error
|
|
197
198
|
|
|
198
199
|
try:
|
|
@@ -241,12 +242,17 @@ def git_status(colour_output: str, prompt_output: str):
|
|
|
241
242
|
|
|
242
243
|
# Set the output colour or output the prompt prefix
|
|
243
244
|
|
|
245
|
+
output = []
|
|
246
|
+
|
|
244
247
|
if colour_output:
|
|
245
248
|
output += colour_prompt(gitstate)
|
|
246
249
|
|
|
247
250
|
if prompt_output or not colour_output:
|
|
248
251
|
output.append(prompt_prefix(gitstate))
|
|
249
252
|
|
|
253
|
+
if output:
|
|
254
|
+
output.append(' ')
|
|
255
|
+
|
|
250
256
|
return ''.join(output)
|
|
251
257
|
|
|
252
258
|
################################################################################
|
|
@@ -263,7 +269,7 @@ def main():
|
|
|
263
269
|
output = git_status(args.colour, args.prompt)
|
|
264
270
|
|
|
265
271
|
if output:
|
|
266
|
-
colour.write(
|
|
272
|
+
colour.write(output, newline=False)
|
|
267
273
|
|
|
268
274
|
################################################################################
|
|
269
275
|
|
|
@@ -595,13 +595,16 @@ def commit_info(commit_1=None, commit_2=None, paths=None, diff_stats=False, path
|
|
|
595
595
|
lines_del = 0 if p.group(2) == '-' else int(p.group(2))
|
|
596
596
|
|
|
597
597
|
# Check for rename and get both old and new names
|
|
598
|
+
# The replace of '//' with '/' is to cope with the case where a file is moved
|
|
599
|
+
# to a parent or subdirectory where the git output will be 'PARENT/{SUBDIR => }/NAME'
|
|
600
|
+
# and the new name would otherwise be 'PARENT//NAME'
|
|
598
601
|
|
|
599
602
|
if ' => ' in p.group(3):
|
|
600
603
|
q = _DIFF_OUTPUT_RENAME_RE.fullmatch(p.group(3))
|
|
601
604
|
|
|
602
605
|
if q:
|
|
603
|
-
old_filename = q.group(1) + q.group(2) + q.group(4)
|
|
604
|
-
new_filename = q.group(1) + q.group(3) + q.group(4)
|
|
606
|
+
old_filename = (q.group(1) + q.group(2) + q.group(4)).replace('//', '/')
|
|
607
|
+
new_filename = (q.group(1) + q.group(3) + q.group(4)).replace('//', '/')
|
|
605
608
|
else:
|
|
606
609
|
old_filename, new_filename = p.group(3).split(' => ')
|
|
607
610
|
else:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: skilleter_thingy
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.13
|
|
4
4
|
Summary: A collection of useful utilities, mainly aimed at making Git more friendly
|
|
5
5
|
Author-email: John Skilleter <john@skilleter.org.uk>
|
|
6
6
|
Project-URL: Home, https://skilleter.org.uk
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy/thingy/venv_template.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{skilleter_thingy-0.2.11 → skilleter_thingy-0.2.13}/skilleter_thingy.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|