gitonic 0.18.1__tar.gz → 0.18.3__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.1 → gitonic-0.18.3}/BACKLOG.md +2 -2
- {gitonic-0.18.1 → gitonic-0.18.3}/CHANGELOG.md +16 -4
- {gitonic-0.18.1 → gitonic-0.18.3}/PKG-INFO +44 -11
- {gitonic-0.18.1 → gitonic-0.18.3}/README.md +23 -3
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/const.py +1 -1
- gitonic-0.18.3/gitonic/core/githubver.py +39 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/giton.py +8 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/gitonapp.py +1 -1
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/gitonic.py +25 -4
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/tkuiapp.py +5 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/tkuicore.py +3 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic.egg-info/PKG-INFO +44 -11
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic.egg-info/SOURCES.txt +1 -1
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic.egg-info/requires.txt +1 -0
- gitonic-0.18.1/gitonic/core/ncur.py +0 -24
- {gitonic-0.18.1 → gitonic-0.18.3}/LICENSE.md +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/MANIFEST.in +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/git-alt.svg +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/git-black.svg +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/git-red.svg +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/git-white.svg +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/__init__.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/__main__.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/__init__.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/conf.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/configs.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/dataflow.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/file.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/gitcmd.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/gitobj.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/gitutil.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/logs.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/proc.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/runr.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/sysutil.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/core/task.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/gtcd.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/gtcommon.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/gtls.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/__init__.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/icons.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/material_fonts/LICENSE +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/material_fonts/MaterialSymbolsOutlined_5BFILL_GRAD_opsz_wght_5D.codepoints +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/material_fonts/MaterialSymbolsOutlined_5BFILL_GRAD_opsz_wght_5D.ttf +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/material_fonts/MaterialSymbolsRounded_5BFILL_GRAD_opsz_wght_5D.codepoints +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/material_fonts/MaterialSymbolsRounded_5BFILL_GRAD_opsz_wght_5D.ttf +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/material_fonts.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/otherdeps/LICENSE-gitonic +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/otherdeps/LICENSE-tktootip +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/singleinstance.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/tkuiview.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic/tkui/tkuiwidg.py +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic.egg-info/dependency_links.txt +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic.egg-info/entry_points.txt +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/gitonic.egg-info/top_level.txt +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/pyproject.toml +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/setup.cfg +0 -0
- {gitonic-0.18.1 → gitonic-0.18.3}/setup.py +0 -0
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
- settings tabs
|
|
29
29
|
- check for installed git
|
|
30
30
|
- ~~git exe configuration in settings~~
|
|
31
|
-
- check for latest version of gitonic
|
|
31
|
+
- ~~check for latest version of gitonic~~
|
|
32
32
|
-
|
|
33
33
|
- ~~config file for last known config~~
|
|
34
34
|
- ~~diff-tool blocks main screen (see next)~~
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
- less sensitive (disappears to quickly)
|
|
72
72
|
- multiple row feature
|
|
73
73
|
- splash screen
|
|
74
|
-
- new version notification
|
|
74
|
+
- ~~new version notification ~~
|
|
75
75
|
-
|
|
76
76
|
|
|
77
77
|
|
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## version v0.19.0 - ????????
|
|
6
|
+
-
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## version v0.18.3 - 20251113
|
|
10
|
+
- fix python version in setup
|
|
11
|
+
-
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## version v0.18.2 - 20251113
|
|
15
|
+
- check for latest version of gitonic
|
|
16
|
+
- fix #9 for renamed file handling
|
|
6
17
|
-
|
|
7
18
|
|
|
8
19
|
|
|
@@ -11,12 +22,13 @@
|
|
|
11
22
|
-
|
|
12
23
|
|
|
13
24
|
|
|
14
|
-
## version v0.18.0 - 20251109
|
|
25
|
+
## version v0.18.0 - 20251109 - not available on pypi
|
|
15
26
|
- redesign multi tasking / tk eventloop
|
|
16
27
|
- user interface is now non-blocking
|
|
17
28
|
- multi tasking tested with python 3.12
|
|
18
29
|
- **not yet tested** with python 3.13 / 3.14
|
|
19
|
-
- `gitonic` is released for python3.12 (fixed version)
|
|
30
|
+
- `gitonic` is released for **python3.12 (fixed version)**
|
|
31
|
+
- open issue [free threading](https://github.com/kr-g/gitonic/issues/8)
|
|
20
32
|
- current implementation uses threads to fork `git` processes in the background
|
|
21
33
|
- the main tk eventloop receives the thread results and process this in callbacks
|
|
22
34
|
- read here for detailed information [`tk eventloop`](https://tkdocs.com/tutorial/eventloop.html))
|
|
@@ -31,9 +43,9 @@
|
|
|
31
43
|
- filter log for each repo
|
|
32
44
|
- codebase refactored
|
|
33
45
|
- new commandline tools (UNDER CONTSRUCTION - not yet final - dont expect anything!!! - this might be dropped in the future)
|
|
34
|
-
- `gtcd.py`
|
|
46
|
+
- `gtcd.py` alias `gtcd`
|
|
35
47
|
- opens a new terminal for a git repo quickly
|
|
36
|
-
- `gtls.py`
|
|
48
|
+
- `gtls.py` alias `gtls`
|
|
37
49
|
- list all changes for all tracked git repo
|
|
38
50
|
-
|
|
39
51
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitonic
|
|
3
|
-
Version: 0.18.
|
|
3
|
+
Version: 0.18.3
|
|
4
4
|
Summary: manage a multi git workspace
|
|
5
5
|
Home-page: https://github.com/kr-g/gitonic
|
|
6
6
|
Author: k. goger
|
|
@@ -15,11 +15,12 @@ Classifier: Topic :: Utilities
|
|
|
15
15
|
Classifier: Topic :: Desktop Environment
|
|
16
16
|
Classifier: Topic :: Software Development :: Version Control :: Git
|
|
17
17
|
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Requires-Python: >=3.12
|
|
18
|
+
Requires-Python: >=3.12
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE.md
|
|
21
21
|
Requires-Dist: pillow
|
|
22
22
|
Requires-Dist: tkinter-tooltip
|
|
23
|
+
Requires-Dist: semver
|
|
23
24
|
Provides-Extra: pep08
|
|
24
25
|
Requires-Dist: pycodestyle; extra == "pep08"
|
|
25
26
|
Requires-Dist: flake8; extra == "pep08"
|
|
@@ -51,9 +52,10 @@ Dynamic: requires-python
|
|
|
51
52
|
[](https://www.python.org/dev/peps/pep-0008/)
|
|
52
53
|
|
|
53
54
|
|
|
54
|
-
you are reading VERSION = v0.18.
|
|
55
|
+
you are reading VERSION = v0.18.3
|
|
56
|
+
|
|
57
|
+
version v0.18.0 will come with some bigger changes.
|
|
55
58
|
|
|
56
|
-
version v0.18.1 will come with some bigger changes.
|
|
57
59
|
|
|
58
60
|
read latest news here:
|
|
59
61
|
|
|
@@ -517,6 +519,22 @@ for running on linux with xfce.
|
|
|
517
519
|
],
|
|
518
520
|
"workdir": "$GIT",
|
|
519
521
|
"changes-all": [
|
|
522
|
+
{
|
|
523
|
+
"name": "git push $_GIT",
|
|
524
|
+
"para": [
|
|
525
|
+
"git",
|
|
526
|
+
"push"
|
|
527
|
+
],
|
|
528
|
+
"logexpert" : true
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "git pull $_GIT",
|
|
532
|
+
"para": [
|
|
533
|
+
"git",
|
|
534
|
+
"pull"
|
|
535
|
+
],
|
|
536
|
+
"logexpert" : true
|
|
537
|
+
},
|
|
520
538
|
{
|
|
521
539
|
"name": "gitk $_GIT",
|
|
522
540
|
"para": [
|
|
@@ -609,11 +627,14 @@ to run gitonic use the script from the virtual environment directly
|
|
|
609
627
|
~/gitonic/bin/gitonic
|
|
610
628
|
|
|
611
629
|
|
|
612
|
-
it is recommented to create
|
|
630
|
+
it is recommented to create some alias in `.bash_aliases`.
|
|
613
631
|
add the following line at the end of `.bash_aliases`
|
|
614
632
|
|
|
615
633
|
alias gitonic=~/gitonic/bin/gitonic
|
|
616
634
|
|
|
635
|
+
alias gtcd=~/gitonic/bin/gtcd
|
|
636
|
+
alias gtls=~/gitonic/bin/gtls
|
|
637
|
+
|
|
617
638
|
|
|
618
639
|
## other installation dependencies
|
|
619
640
|
|
|
@@ -745,6 +766,17 @@ thank you !!!
|
|
|
745
766
|
|
|
746
767
|
|
|
747
768
|
## version v0.19.0 - ????????
|
|
769
|
+
-
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
## version v0.18.3 - 20251113
|
|
773
|
+
- fix python version in setup
|
|
774
|
+
-
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
## version v0.18.2 - 20251113
|
|
778
|
+
- check for latest version of gitonic
|
|
779
|
+
- fix #9 for renamed file handling
|
|
748
780
|
-
|
|
749
781
|
|
|
750
782
|
|
|
@@ -753,12 +785,13 @@ thank you !!!
|
|
|
753
785
|
-
|
|
754
786
|
|
|
755
787
|
|
|
756
|
-
## version v0.18.0 - 20251109
|
|
788
|
+
## version v0.18.0 - 20251109 - not available on pypi
|
|
757
789
|
- redesign multi tasking / tk eventloop
|
|
758
790
|
- user interface is now non-blocking
|
|
759
791
|
- multi tasking tested with python 3.12
|
|
760
792
|
- **not yet tested** with python 3.13 / 3.14
|
|
761
|
-
- `gitonic` is released for python3.12 (fixed version)
|
|
793
|
+
- `gitonic` is released for **python3.12 (fixed version)**
|
|
794
|
+
- open issue [free threading](https://github.com/kr-g/gitonic/issues/8)
|
|
762
795
|
- current implementation uses threads to fork `git` processes in the background
|
|
763
796
|
- the main tk eventloop receives the thread results and process this in callbacks
|
|
764
797
|
- read here for detailed information [`tk eventloop`](https://tkdocs.com/tutorial/eventloop.html))
|
|
@@ -773,9 +806,9 @@ thank you !!!
|
|
|
773
806
|
- filter log for each repo
|
|
774
807
|
- codebase refactored
|
|
775
808
|
- new commandline tools (UNDER CONTSRUCTION - not yet final - dont expect anything!!! - this might be dropped in the future)
|
|
776
|
-
- `gtcd.py`
|
|
809
|
+
- `gtcd.py` alias `gtcd`
|
|
777
810
|
- opens a new terminal for a git repo quickly
|
|
778
|
-
- `gtls.py`
|
|
811
|
+
- `gtls.py` alias `gtls`
|
|
779
812
|
- list all changes for all tracked git repo
|
|
780
813
|
-
|
|
781
814
|
|
|
@@ -975,7 +1008,7 @@ thank you !!!
|
|
|
975
1008
|
- settings tabs
|
|
976
1009
|
- check for installed git
|
|
977
1010
|
- ~~git exe configuration in settings~~
|
|
978
|
-
- check for latest version of gitonic
|
|
1011
|
+
- ~~check for latest version of gitonic~~
|
|
979
1012
|
-
|
|
980
1013
|
- ~~config file for last known config~~
|
|
981
1014
|
- ~~diff-tool blocks main screen (see next)~~
|
|
@@ -1018,7 +1051,7 @@ thank you !!!
|
|
|
1018
1051
|
- less sensitive (disappears to quickly)
|
|
1019
1052
|
- multiple row feature
|
|
1020
1053
|
- splash screen
|
|
1021
|
-
- new version notification
|
|
1054
|
+
- ~~new version notification ~~
|
|
1022
1055
|
-
|
|
1023
1056
|
|
|
1024
1057
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
[](https://www.python.org/dev/peps/pep-0008/)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
you are reading VERSION = v0.18.
|
|
4
|
+
you are reading VERSION = v0.18.3
|
|
5
|
+
|
|
6
|
+
version v0.18.0 will come with some bigger changes.
|
|
5
7
|
|
|
6
|
-
version v0.18.1 will come with some bigger changes.
|
|
7
8
|
|
|
8
9
|
read latest news here:
|
|
9
10
|
|
|
@@ -467,6 +468,22 @@ for running on linux with xfce.
|
|
|
467
468
|
],
|
|
468
469
|
"workdir": "$GIT",
|
|
469
470
|
"changes-all": [
|
|
471
|
+
{
|
|
472
|
+
"name": "git push $_GIT",
|
|
473
|
+
"para": [
|
|
474
|
+
"git",
|
|
475
|
+
"push"
|
|
476
|
+
],
|
|
477
|
+
"logexpert" : true
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "git pull $_GIT",
|
|
481
|
+
"para": [
|
|
482
|
+
"git",
|
|
483
|
+
"pull"
|
|
484
|
+
],
|
|
485
|
+
"logexpert" : true
|
|
486
|
+
},
|
|
470
487
|
{
|
|
471
488
|
"name": "gitk $_GIT",
|
|
472
489
|
"para": [
|
|
@@ -559,11 +576,14 @@ to run gitonic use the script from the virtual environment directly
|
|
|
559
576
|
~/gitonic/bin/gitonic
|
|
560
577
|
|
|
561
578
|
|
|
562
|
-
it is recommented to create
|
|
579
|
+
it is recommented to create some alias in `.bash_aliases`.
|
|
563
580
|
add the following line at the end of `.bash_aliases`
|
|
564
581
|
|
|
565
582
|
alias gitonic=~/gitonic/bin/gitonic
|
|
566
583
|
|
|
584
|
+
alias gtcd=~/gitonic/bin/gtcd
|
|
585
|
+
alias gtls=~/gitonic/bin/gtls
|
|
586
|
+
|
|
567
587
|
|
|
568
588
|
## other installation dependencies
|
|
569
589
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
from const import VERSION
|
|
2
|
+
|
|
3
|
+
import semver
|
|
4
|
+
from urllib3 import request
|
|
5
|
+
|
|
6
|
+
URL = "https://api.github.com/repos/kr-g/gitonic/tags"
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def mkver(x):
|
|
10
|
+
return x[1:]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def check_github_new_version():
|
|
14
|
+
|
|
15
|
+
try:
|
|
16
|
+
res = request("GET", URL)
|
|
17
|
+
except Exception as ex:
|
|
18
|
+
return None, ex
|
|
19
|
+
|
|
20
|
+
verslist_published = list(map(lambda x: mkver(x['name']), res.json()))
|
|
21
|
+
|
|
22
|
+
verlist_published = list(
|
|
23
|
+
map(lambda x: semver.Version.parse(x), verslist_published))
|
|
24
|
+
|
|
25
|
+
latest_published = max(verlist_published)
|
|
26
|
+
|
|
27
|
+
version_current = semver.Version.parse(mkver(VERSION))
|
|
28
|
+
|
|
29
|
+
if version_current < latest_published:
|
|
30
|
+
return latest_published, None
|
|
31
|
+
|
|
32
|
+
return None, None
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
if __name__ == "__main__":
|
|
36
|
+
latest_published, ex = check_github_new_version()
|
|
37
|
+
if latest_published:
|
|
38
|
+
print(f"you are using gitonic {
|
|
39
|
+
VERSION}. there is a new version available {latest_published}")
|
|
@@ -319,6 +319,12 @@ class GitonicCmdIt(object):
|
|
|
319
319
|
print("empty list")
|
|
320
320
|
return
|
|
321
321
|
|
|
322
|
+
# remove renamed files
|
|
323
|
+
files = list(filter(lambda x: x.staged != "R", files))
|
|
324
|
+
|
|
325
|
+
# status -> fnam
|
|
326
|
+
files = list(map(lambda x: x.file, files))
|
|
327
|
+
|
|
322
328
|
cmd = git_add(repo.path, files, stopcb=self._stop_callb)
|
|
323
329
|
yield cmd
|
|
324
330
|
|
|
@@ -330,6 +336,8 @@ class GitonicCmdIt(object):
|
|
|
330
336
|
|
|
331
337
|
print("***undo add", files)
|
|
332
338
|
|
|
339
|
+
files = list(filter(lambda x: x.staged != "R", files))
|
|
340
|
+
|
|
333
341
|
files_m = list(filter(lambda x: x.staged != "A", files))
|
|
334
342
|
files_m = list(map(lambda x: x.file, files_m))
|
|
335
343
|
|
|
@@ -413,7 +413,7 @@ class StageFileCmd(GitCmd):
|
|
|
413
413
|
repofiles = list(
|
|
414
414
|
filter(lambda x: x.repo.path == repo.path, self.selfiles))
|
|
415
415
|
|
|
416
|
-
repofiles = list(map(lambda x: x.file
|
|
416
|
+
repofiles = list(map(lambda x: x.file, repofiles))
|
|
417
417
|
|
|
418
418
|
if len(repofiles) == 0:
|
|
419
419
|
yield FuncTask().set_name("nop").set_func()
|
|
@@ -5,6 +5,9 @@ import os
|
|
|
5
5
|
import fnmatch
|
|
6
6
|
import queue
|
|
7
7
|
|
|
8
|
+
#
|
|
9
|
+
from core.githubver import check_github_new_version
|
|
10
|
+
|
|
8
11
|
#
|
|
9
12
|
|
|
10
13
|
from core.logs import LogOutHandler
|
|
@@ -19,10 +22,10 @@ from core.sysutil import get_terminal_size, open_file_explorer
|
|
|
19
22
|
|
|
20
23
|
#
|
|
21
24
|
|
|
22
|
-
from tkui.tkuicore import tk_show_error
|
|
25
|
+
from tkui.tkuicore import tk_show_error, tk_show_warning
|
|
23
26
|
from tkui.singleinstance import switch2instance, tk_bg_bring_to_front, cleanup_single_instance
|
|
24
27
|
|
|
25
|
-
from tkui.tkuiapp import ui_app, root, tk_add_bg_callb, tk_get_root
|
|
28
|
+
from tkui.tkuiapp import ui_app, root, tk_add_bg_callb, tk_get_root, VERSION_INFO
|
|
26
29
|
from tkui.tkuiwidg import TNContextMenu
|
|
27
30
|
|
|
28
31
|
from core.gitonapp import (GitonicApp, FetchCmd, PullCmd, CommitCmd,
|
|
@@ -1027,10 +1030,12 @@ def load_and_set_context_settings(sect, ctxmenu, gnam_dir, fnam_dir, fnam):
|
|
|
1027
1030
|
#
|
|
1028
1031
|
#
|
|
1029
1032
|
app = None
|
|
1033
|
+
new_version = None
|
|
1030
1034
|
|
|
1031
1035
|
|
|
1032
1036
|
def main_func():
|
|
1033
1037
|
global app
|
|
1038
|
+
global new_version
|
|
1034
1039
|
|
|
1035
1040
|
if switch2instance(PATH):
|
|
1036
1041
|
logex.info("allready running. switch to instance")
|
|
@@ -1039,6 +1044,16 @@ def main_func():
|
|
|
1039
1044
|
tk_get_root().add_quit_handler(cleanup_single_instance)
|
|
1040
1045
|
|
|
1041
1046
|
app = GitonicApp()
|
|
1047
|
+
|
|
1048
|
+
new_version, ex_version = check_github_new_version()
|
|
1049
|
+
|
|
1050
|
+
if ex_version:
|
|
1051
|
+
print(f"!!!!!!! new version available {new_version}")
|
|
1052
|
+
tk_show_error("version information","could not connect to update site.\n\nERR: check your internet connection.")
|
|
1053
|
+
|
|
1054
|
+
if new_version:
|
|
1055
|
+
print(f"!!!!!!! new version available {new_version}")
|
|
1056
|
+
tk_show_warning("version information",f"there is a new version\nof gitonic availabe\n\n{new_version}")
|
|
1042
1057
|
|
|
1043
1058
|
# cmd = RefreshCmd(app).setup().complete()
|
|
1044
1059
|
# app.sort_refs()
|
|
@@ -1181,8 +1196,14 @@ def main_func():
|
|
|
1181
1196
|
tk_bg_bring_to_front(tk_get_root())
|
|
1182
1197
|
|
|
1183
1198
|
#
|
|
1184
|
-
|
|
1185
|
-
|
|
1199
|
+
titstr = VERSION
|
|
1200
|
+
if new_version:
|
|
1201
|
+
titstr += f" ===> !!! NEW VERSION AVAILABLE {new_version} !!!"
|
|
1202
|
+
VERSION_INFO.set_val( f"NEW VERSION AVAILABLE: {new_version}" )
|
|
1203
|
+
if ex_version:
|
|
1204
|
+
VERSION_INFO.set_val( "version: could not connect to update site." )
|
|
1205
|
+
|
|
1206
|
+
ui_app.set_title(titstr)
|
|
1186
1207
|
|
|
1187
1208
|
# update first time
|
|
1188
1209
|
root.after(153, refresh_tracked_from_workspace)
|
|
@@ -286,6 +286,11 @@ filler = TNLabel(
|
|
|
286
286
|
footer, text=f"env: Python {sysver[0]}.{sysver[1]}.{sysver[2]}", image="info", compound=tk.LEFT)
|
|
287
287
|
filler.pack(side=tk.LEFT, expand=True, fill=tk.X, padx=15)
|
|
288
288
|
|
|
289
|
+
|
|
290
|
+
VERSION_INFO = TNLabel(
|
|
291
|
+
footer, text="version: latest", image="info", compound=tk.LEFT)
|
|
292
|
+
VERSION_INFO.pack(side=tk.LEFT, expand=True, fill=tk.X, padx=15)
|
|
293
|
+
|
|
289
294
|
#
|
|
290
295
|
|
|
291
296
|
root.resizable(True, True)
|
|
@@ -30,6 +30,9 @@ def tk_get_icon(name, height=HEIGHT, image_size=(HEIGHT+3, HEIGHT+3), bg="lightg
|
|
|
30
30
|
def tk_show_error(title, message):
|
|
31
31
|
tk_messagebox.showerror(title, message)
|
|
32
32
|
|
|
33
|
+
def tk_show_warning(title, message):
|
|
34
|
+
tk_messagebox.showwarning(title, message)
|
|
35
|
+
|
|
33
36
|
#
|
|
34
37
|
|
|
35
38
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitonic
|
|
3
|
-
Version: 0.18.
|
|
3
|
+
Version: 0.18.3
|
|
4
4
|
Summary: manage a multi git workspace
|
|
5
5
|
Home-page: https://github.com/kr-g/gitonic
|
|
6
6
|
Author: k. goger
|
|
@@ -15,11 +15,12 @@ Classifier: Topic :: Utilities
|
|
|
15
15
|
Classifier: Topic :: Desktop Environment
|
|
16
16
|
Classifier: Topic :: Software Development :: Version Control :: Git
|
|
17
17
|
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Requires-Python: >=3.12
|
|
18
|
+
Requires-Python: >=3.12
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE.md
|
|
21
21
|
Requires-Dist: pillow
|
|
22
22
|
Requires-Dist: tkinter-tooltip
|
|
23
|
+
Requires-Dist: semver
|
|
23
24
|
Provides-Extra: pep08
|
|
24
25
|
Requires-Dist: pycodestyle; extra == "pep08"
|
|
25
26
|
Requires-Dist: flake8; extra == "pep08"
|
|
@@ -51,9 +52,10 @@ Dynamic: requires-python
|
|
|
51
52
|
[](https://www.python.org/dev/peps/pep-0008/)
|
|
52
53
|
|
|
53
54
|
|
|
54
|
-
you are reading VERSION = v0.18.
|
|
55
|
+
you are reading VERSION = v0.18.3
|
|
56
|
+
|
|
57
|
+
version v0.18.0 will come with some bigger changes.
|
|
55
58
|
|
|
56
|
-
version v0.18.1 will come with some bigger changes.
|
|
57
59
|
|
|
58
60
|
read latest news here:
|
|
59
61
|
|
|
@@ -517,6 +519,22 @@ for running on linux with xfce.
|
|
|
517
519
|
],
|
|
518
520
|
"workdir": "$GIT",
|
|
519
521
|
"changes-all": [
|
|
522
|
+
{
|
|
523
|
+
"name": "git push $_GIT",
|
|
524
|
+
"para": [
|
|
525
|
+
"git",
|
|
526
|
+
"push"
|
|
527
|
+
],
|
|
528
|
+
"logexpert" : true
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "git pull $_GIT",
|
|
532
|
+
"para": [
|
|
533
|
+
"git",
|
|
534
|
+
"pull"
|
|
535
|
+
],
|
|
536
|
+
"logexpert" : true
|
|
537
|
+
},
|
|
520
538
|
{
|
|
521
539
|
"name": "gitk $_GIT",
|
|
522
540
|
"para": [
|
|
@@ -609,11 +627,14 @@ to run gitonic use the script from the virtual environment directly
|
|
|
609
627
|
~/gitonic/bin/gitonic
|
|
610
628
|
|
|
611
629
|
|
|
612
|
-
it is recommented to create
|
|
630
|
+
it is recommented to create some alias in `.bash_aliases`.
|
|
613
631
|
add the following line at the end of `.bash_aliases`
|
|
614
632
|
|
|
615
633
|
alias gitonic=~/gitonic/bin/gitonic
|
|
616
634
|
|
|
635
|
+
alias gtcd=~/gitonic/bin/gtcd
|
|
636
|
+
alias gtls=~/gitonic/bin/gtls
|
|
637
|
+
|
|
617
638
|
|
|
618
639
|
## other installation dependencies
|
|
619
640
|
|
|
@@ -745,6 +766,17 @@ thank you !!!
|
|
|
745
766
|
|
|
746
767
|
|
|
747
768
|
## version v0.19.0 - ????????
|
|
769
|
+
-
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
## version v0.18.3 - 20251113
|
|
773
|
+
- fix python version in setup
|
|
774
|
+
-
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
## version v0.18.2 - 20251113
|
|
778
|
+
- check for latest version of gitonic
|
|
779
|
+
- fix #9 for renamed file handling
|
|
748
780
|
-
|
|
749
781
|
|
|
750
782
|
|
|
@@ -753,12 +785,13 @@ thank you !!!
|
|
|
753
785
|
-
|
|
754
786
|
|
|
755
787
|
|
|
756
|
-
## version v0.18.0 - 20251109
|
|
788
|
+
## version v0.18.0 - 20251109 - not available on pypi
|
|
757
789
|
- redesign multi tasking / tk eventloop
|
|
758
790
|
- user interface is now non-blocking
|
|
759
791
|
- multi tasking tested with python 3.12
|
|
760
792
|
- **not yet tested** with python 3.13 / 3.14
|
|
761
|
-
- `gitonic` is released for python3.12 (fixed version)
|
|
793
|
+
- `gitonic` is released for **python3.12 (fixed version)**
|
|
794
|
+
- open issue [free threading](https://github.com/kr-g/gitonic/issues/8)
|
|
762
795
|
- current implementation uses threads to fork `git` processes in the background
|
|
763
796
|
- the main tk eventloop receives the thread results and process this in callbacks
|
|
764
797
|
- read here for detailed information [`tk eventloop`](https://tkdocs.com/tutorial/eventloop.html))
|
|
@@ -773,9 +806,9 @@ thank you !!!
|
|
|
773
806
|
- filter log for each repo
|
|
774
807
|
- codebase refactored
|
|
775
808
|
- new commandline tools (UNDER CONTSRUCTION - not yet final - dont expect anything!!! - this might be dropped in the future)
|
|
776
|
-
- `gtcd.py`
|
|
809
|
+
- `gtcd.py` alias `gtcd`
|
|
777
810
|
- opens a new terminal for a git repo quickly
|
|
778
|
-
- `gtls.py`
|
|
811
|
+
- `gtls.py` alias `gtls`
|
|
779
812
|
- list all changes for all tracked git repo
|
|
780
813
|
-
|
|
781
814
|
|
|
@@ -975,7 +1008,7 @@ thank you !!!
|
|
|
975
1008
|
- settings tabs
|
|
976
1009
|
- check for installed git
|
|
977
1010
|
- ~~git exe configuration in settings~~
|
|
978
|
-
- check for latest version of gitonic
|
|
1011
|
+
- ~~check for latest version of gitonic~~
|
|
979
1012
|
-
|
|
980
1013
|
- ~~config file for last known config~~
|
|
981
1014
|
- ~~diff-tool blocks main screen (see next)~~
|
|
@@ -1018,7 +1051,7 @@ thank you !!!
|
|
|
1018
1051
|
- less sensitive (disappears to quickly)
|
|
1019
1052
|
- multiple row feature
|
|
1020
1053
|
- splash screen
|
|
1021
|
-
- new version notification
|
|
1054
|
+
- ~~new version notification ~~
|
|
1022
1055
|
-
|
|
1023
1056
|
|
|
1024
1057
|
|
|
@@ -29,12 +29,12 @@ gitonic/core/const.py
|
|
|
29
29
|
gitonic/core/dataflow.py
|
|
30
30
|
gitonic/core/file.py
|
|
31
31
|
gitonic/core/gitcmd.py
|
|
32
|
+
gitonic/core/githubver.py
|
|
32
33
|
gitonic/core/gitobj.py
|
|
33
34
|
gitonic/core/giton.py
|
|
34
35
|
gitonic/core/gitonapp.py
|
|
35
36
|
gitonic/core/gitutil.py
|
|
36
37
|
gitonic/core/logs.py
|
|
37
|
-
gitonic/core/ncur.py
|
|
38
38
|
gitonic/core/proc.py
|
|
39
39
|
gitonic/core/runr.py
|
|
40
40
|
gitonic/core/sysutil.py
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
|
|
3
|
-
import curses
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def main(stdscr):
|
|
7
|
-
while True:
|
|
8
|
-
|
|
9
|
-
key = stdscr.getch()
|
|
10
|
-
|
|
11
|
-
if key == ord('q'):
|
|
12
|
-
break # quit app
|
|
13
|
-
|
|
14
|
-
elif key == curses.KEY_UP:
|
|
15
|
-
stdscr.addstr(0, 0, "UP ") # print feedback
|
|
16
|
-
|
|
17
|
-
elif key == curses.KEY_DOWN:
|
|
18
|
-
stdscr.addstr(1, 0, "DOWN")
|
|
19
|
-
|
|
20
|
-
stdscr.refresh()
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
if __name__ == "__main__":
|
|
24
|
-
curses.wrapper(main)
|
|
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
|