gitonic 0.18.5__tar.gz → 0.18.6__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.
- {gitonic-0.18.5 → gitonic-0.18.6}/CHANGELOG.md +4 -5
- {gitonic-0.18.5 → gitonic-0.18.6}/PKG-INFO +6 -7
- {gitonic-0.18.5 → gitonic-0.18.6}/README.md +1 -1
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/const.py +1 -1
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/githubver.py +20 -4
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/gitobj.py +35 -24
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic.egg-info/PKG-INFO +6 -7
- {gitonic-0.18.5 → gitonic-0.18.6}/setup.py +1 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/BACKLOG.md +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/LICENSE.md +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/MANIFEST.in +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/git-alt.svg +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/git-black.svg +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/git-red.svg +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/git-white.svg +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/__init__.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/__main__.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/__init__.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/conf.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/configs.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/dataflow.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/file.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/gitcmd.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/giton.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/gitonapp.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/gitutil.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/logs.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/proc.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/runr.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/sysutil.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/core/task.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/gitonic.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/gtcd.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/gtcommon.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/gtls.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/__init__.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/icons.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/material_fonts/LICENSE +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/material_fonts/MaterialSymbolsOutlined_5BFILL_GRAD_opsz_wght_5D.codepoints +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/material_fonts/MaterialSymbolsOutlined_5BFILL_GRAD_opsz_wght_5D.ttf +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/material_fonts/MaterialSymbolsRounded_5BFILL_GRAD_opsz_wght_5D.codepoints +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/material_fonts/MaterialSymbolsRounded_5BFILL_GRAD_opsz_wght_5D.ttf +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/material_fonts.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/otherdeps/LICENSE-gitonic +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/otherdeps/LICENSE-tktootip +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/singleinstance.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/tkuiapp.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/tkuicore.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/tkuiview.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic/tkui/tkuiwidg.py +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic.egg-info/SOURCES.txt +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic.egg-info/dependency_links.txt +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic.egg-info/entry_points.txt +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic.egg-info/requires.txt +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/gitonic.egg-info/top_level.txt +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/pyproject.toml +0 -0
- {gitonic-0.18.5 → gitonic-0.18.6}/setup.cfg +0 -0
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
-
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
## version v0.18.6 - ????????
|
|
10
|
+
-
|
|
11
|
+
|
|
12
|
+
|
|
9
13
|
## version v0.18.5 - 20251207
|
|
10
14
|
- fixes for windows platform (looking for contributors on windows platform !!!)
|
|
11
15
|
- gitcmd file quoting
|
|
@@ -16,11 +20,6 @@
|
|
|
16
20
|
-
|
|
17
21
|
|
|
18
22
|
|
|
19
|
-
## version v0.18.4 - 20251207
|
|
20
|
-
- skipped
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
23
|
## version v0.18.3 - 20251113
|
|
25
24
|
- fix python version in setup
|
|
26
25
|
-
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitonic
|
|
3
|
-
Version: 0.18.
|
|
3
|
+
Version: 0.18.6
|
|
4
4
|
Summary: manage a multi git workspace
|
|
5
5
|
Home-page: https://github.com/kr-g/gitonic
|
|
6
6
|
Author: k. goger
|
|
@@ -53,7 +53,7 @@ Dynamic: requires-python
|
|
|
53
53
|
[](https://www.python.org/dev/peps/pep-0008/)
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
you are reading VERSION = v0.18.
|
|
56
|
+
you are reading VERSION = v0.18.6
|
|
57
57
|
|
|
58
58
|
version v0.18.0 will come with some bigger changes.
|
|
59
59
|
|
|
@@ -782,6 +782,10 @@ thank you !!!
|
|
|
782
782
|
-
|
|
783
783
|
|
|
784
784
|
|
|
785
|
+
## version v0.18.6 - ????????
|
|
786
|
+
-
|
|
787
|
+
|
|
788
|
+
|
|
785
789
|
## version v0.18.5 - 20251207
|
|
786
790
|
- fixes for windows platform (looking for contributors on windows platform !!!)
|
|
787
791
|
- gitcmd file quoting
|
|
@@ -792,11 +796,6 @@ thank you !!!
|
|
|
792
796
|
-
|
|
793
797
|
|
|
794
798
|
|
|
795
|
-
## version v0.18.4 - 20251207
|
|
796
|
-
- skipped
|
|
797
|
-
-
|
|
798
|
-
|
|
799
|
-
|
|
800
799
|
## version v0.18.3 - 20251113
|
|
801
800
|
- fix python version in setup
|
|
802
801
|
-
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from const import VERSION
|
|
2
2
|
|
|
3
|
+
import sys
|
|
3
4
|
import semver
|
|
4
5
|
from urllib3 import request
|
|
5
6
|
|
|
@@ -17,23 +18,38 @@ def check_github_new_version():
|
|
|
17
18
|
except Exception as ex:
|
|
18
19
|
return None, ex
|
|
19
20
|
|
|
20
|
-
verslist_published = list(map(lambda x: mkver(x[
|
|
21
|
+
verslist_published = list(map(lambda x: mkver(x["name"]), res.json()))
|
|
21
22
|
|
|
22
23
|
verlist_published = list(
|
|
23
|
-
map(lambda x: semver.Version.parse(x), verslist_published)
|
|
24
|
+
map(lambda x: semver.Version.parse(x), verslist_published)
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
infover = list(
|
|
28
|
+
map(lambda x: [x.major, x.minor, x.patch], verlist_published)
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
print("pubished versions", infover, file=sys.stderr)
|
|
24
32
|
|
|
25
33
|
latest_published = max(verlist_published)
|
|
26
34
|
|
|
35
|
+
print("latest version", latest_published, file=sys.stderr)
|
|
36
|
+
|
|
27
37
|
version_current = semver.Version.parse(mkver(VERSION))
|
|
28
38
|
|
|
39
|
+
print("version_current version", version_current, file=sys.stderr)
|
|
40
|
+
|
|
29
41
|
if version_current < latest_published:
|
|
30
42
|
return latest_published, None
|
|
31
43
|
|
|
44
|
+
print("no new version available", file=sys.stderr)
|
|
45
|
+
|
|
32
46
|
return None, None
|
|
33
47
|
|
|
34
48
|
|
|
35
49
|
if __name__ == "__main__":
|
|
36
50
|
latest_published, ex = check_github_new_version()
|
|
37
51
|
if latest_published:
|
|
38
|
-
print(
|
|
39
|
-
|
|
52
|
+
print(
|
|
53
|
+
f"you are using gitonic {
|
|
54
|
+
VERSION}. there is a new version available {latest_published}"
|
|
55
|
+
)
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"""
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
(c) 2021-2025 K. Goger - https://github.com/kr-g
|
|
3
|
+
legal: https://github.com/kr-g/gitonic/blob/main/LICENSE.md
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
6
|
from const import GITIGNORE
|
|
7
7
|
from file import FileStat
|
|
8
|
+
|
|
8
9
|
# from .sysutil import platform_windows
|
|
9
10
|
|
|
10
11
|
#
|
|
@@ -27,7 +28,9 @@ class GitBranch(object):
|
|
|
27
28
|
return self
|
|
28
29
|
|
|
29
30
|
def __repr__(self):
|
|
30
|
-
return
|
|
31
|
+
return (
|
|
32
|
+
f"{self.__class__.__name__}('{self.current}', '{str(self.bnam)}' )"
|
|
33
|
+
)
|
|
31
34
|
|
|
32
35
|
|
|
33
36
|
class GitStatus(object):
|
|
@@ -41,25 +44,33 @@ class GitStatus(object):
|
|
|
41
44
|
|
|
42
45
|
self.mode = mode.upper() if mode else ""
|
|
43
46
|
self.staged = staged.upper() if staged else ""
|
|
47
|
+
|
|
48
|
+
if file:
|
|
49
|
+
if file.startswith('"') and file.endswith('"'):
|
|
50
|
+
file = file[1:-1]
|
|
51
|
+
elif file.startswith("'") and file.endswith("'"):
|
|
52
|
+
file = file[1:-1]
|
|
53
|
+
|
|
44
54
|
self.file = file
|
|
45
|
-
|
|
46
|
-
#
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
# ("
|
|
50
|
-
# ("
|
|
51
|
-
# ("
|
|
52
|
-
# ("
|
|
53
|
-
# ("
|
|
54
|
-
# ("
|
|
55
|
-
#
|
|
56
|
-
#
|
|
57
|
-
# self.
|
|
58
|
-
# self.
|
|
59
|
-
#
|
|
60
|
-
#
|
|
61
|
-
# self.
|
|
62
|
-
# self.
|
|
55
|
+
|
|
56
|
+
# self.state = {}
|
|
57
|
+
#
|
|
58
|
+
# for s, fc in [
|
|
59
|
+
# ("M", "modified"),
|
|
60
|
+
# ("A", "added"),
|
|
61
|
+
# ("D", "deleted"),
|
|
62
|
+
# ("R", "renamed"),
|
|
63
|
+
# ("C", "copied"),
|
|
64
|
+
# ("U", "updated_but_unmerged"),
|
|
65
|
+
# ("??", "not_in_git"),
|
|
66
|
+
# ]:
|
|
67
|
+
# comb = {f"is_{fc}": self.mode.find(s) >= 0}
|
|
68
|
+
# self.state.update(comb)
|
|
69
|
+
# self.__dict__.update(comb)
|
|
70
|
+
#
|
|
71
|
+
# comb = {f"is_staged_{fc}": self.staged.find(s) >= 0}
|
|
72
|
+
# self.state.update(comb)
|
|
73
|
+
# self.__dict__.update(comb)
|
|
63
74
|
|
|
64
75
|
return self
|
|
65
76
|
|
|
@@ -156,9 +167,9 @@ class GitWorkspace(object):
|
|
|
156
167
|
self.gits[path] = git
|
|
157
168
|
return self
|
|
158
169
|
|
|
159
|
-
# def refresh_status(self):
|
|
160
|
-
# for _, git in self.gits.items():
|
|
161
|
-
# git.refresh_status()
|
|
170
|
+
# def refresh_status(self):
|
|
171
|
+
# for _, git in self.gits.items():
|
|
172
|
+
# git.refresh_status()
|
|
162
173
|
|
|
163
174
|
def find(self, search_str):
|
|
164
175
|
return list(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitonic
|
|
3
|
-
Version: 0.18.
|
|
3
|
+
Version: 0.18.6
|
|
4
4
|
Summary: manage a multi git workspace
|
|
5
5
|
Home-page: https://github.com/kr-g/gitonic
|
|
6
6
|
Author: k. goger
|
|
@@ -53,7 +53,7 @@ Dynamic: requires-python
|
|
|
53
53
|
[](https://www.python.org/dev/peps/pep-0008/)
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
you are reading VERSION = v0.18.
|
|
56
|
+
you are reading VERSION = v0.18.6
|
|
57
57
|
|
|
58
58
|
version v0.18.0 will come with some bigger changes.
|
|
59
59
|
|
|
@@ -782,6 +782,10 @@ thank you !!!
|
|
|
782
782
|
-
|
|
783
783
|
|
|
784
784
|
|
|
785
|
+
## version v0.18.6 - ????????
|
|
786
|
+
-
|
|
787
|
+
|
|
788
|
+
|
|
785
789
|
## version v0.18.5 - 20251207
|
|
786
790
|
- fixes for windows platform (looking for contributors on windows platform !!!)
|
|
787
791
|
- gitcmd file quoting
|
|
@@ -792,11 +796,6 @@ thank you !!!
|
|
|
792
796
|
-
|
|
793
797
|
|
|
794
798
|
|
|
795
|
-
## version v0.18.4 - 20251207
|
|
796
|
-
- skipped
|
|
797
|
-
-
|
|
798
|
-
|
|
799
|
-
|
|
800
799
|
## version v0.18.3 - 20251113
|
|
801
800
|
- fix python version in setup
|
|
802
801
|
-
|
|
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
|