gitonic 0.16.0__tar.gz → 0.17.0__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.16.0 → gitonic-0.17.0}/CHANGELOG.md +8 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/MANIFEST.in +3 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/PKG-INFO +67 -5
- {gitonic-0.16.0 → gitonic-0.17.0}/README.md +51 -3
- gitonic-0.17.0/git-alt.svg +1 -0
- gitonic-0.17.0/git-black.svg +1 -0
- gitonic-0.17.0/git-red.svg +1 -0
- gitonic-0.17.0/git-white.svg +1 -0
- gitonic-0.17.0/gitonic/const.py +1 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/gitutil.py +1 -1
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/gui.py +3 -1
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic.egg-info/PKG-INFO +67 -5
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic.egg-info/SOURCES.txt +4 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/pyproject.toml +3 -0
- gitonic-0.16.0/gitonic/const.py +0 -1
- {gitonic-0.16.0 → gitonic-0.17.0}/BACKLOG.md +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/LICENSE.md +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/__init__.py +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/__main__.py +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/file.py +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/icons.py +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/main.py +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/pyjsoncfg.py +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/singleinstance.py +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/sysutil.py +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/task.py +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/tile/__init__.py +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/tile/core.py +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic/tile/tkcmd.py +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic.egg-info/dependency_links.txt +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic.egg-info/entry_points.txt +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic.egg-info/requires.txt +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/gitonic.egg-info/top_level.txt +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/setup.cfg +0 -0
- {gitonic-0.16.0 → gitonic-0.17.0}/setup.py +0 -0
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
# Changelog
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
## version v0.17.0 - 20250715
|
|
6
|
+
- added `$NAME` to context-menu variables for `os.path.basename` placeholder
|
|
7
|
+
- added official logos from [git-scm](https://git-scm.com/downloads/logos)
|
|
8
|
+
- added `basic-ctx` sample in README
|
|
9
|
+
- partial fix rename/ moved files
|
|
10
|
+
-
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## version v0.16.0 - 20250219
|
|
6
14
|
|
|
7
15
|
- support for multiple repo workspaces
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: gitonic
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.17.0
|
|
4
4
|
Summary: manage a multi git workspace
|
|
5
5
|
Home-page: https://github.com/kr-g/gitonic
|
|
6
6
|
Author: k. goger
|
|
@@ -42,11 +42,17 @@ Requires-Dist: pycodestyle; extra == "default"
|
|
|
42
42
|
Requires-Dist: flake8; extra == "default"
|
|
43
43
|
Requires-Dist: autopep8; extra == "default"
|
|
44
44
|
Requires-Dist: meld; extra == "default"
|
|
45
|
+
Dynamic: author
|
|
46
|
+
Dynamic: author-email
|
|
47
|
+
Dynamic: home-page
|
|
48
|
+
Dynamic: license-file
|
|
49
|
+
Dynamic: requires-dist
|
|
50
|
+
Dynamic: requires-python
|
|
45
51
|
|
|
46
52
|
[](https://www.python.org/dev/peps/pep-0008/)
|
|
47
53
|
|
|
48
54
|
|
|
49
|
-
you are reading VERSION = v0.
|
|
55
|
+
you are reading VERSION = v0.17.0
|
|
50
56
|
|
|
51
57
|
|
|
52
58
|
# gitonic
|
|
@@ -223,6 +229,19 @@ files with extension `.pyx` change the setting to
|
|
|
223
229
|
}
|
|
224
230
|
}
|
|
225
231
|
|
|
232
|
+
or in case autopep8 is installed in a venv, e.g.
|
|
233
|
+
|
|
234
|
+
{
|
|
235
|
+
".py,.pyx": {
|
|
236
|
+
"cmd": "~/gitonic/.venv/bin/autopep8",
|
|
237
|
+
"para": [
|
|
238
|
+
"-i",
|
|
239
|
+
"%file"
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
|
|
226
245
|
|
|
227
246
|
### black
|
|
228
247
|
|
|
@@ -331,9 +350,11 @@ the general structure is:
|
|
|
331
350
|
}
|
|
332
351
|
|
|
333
352
|
|
|
334
|
-
here the variables `$GIT`, `$PATH`, `$
|
|
335
|
-
by the corrosponding path before execution.
|
|
353
|
+
here the variables `$GIT`, `$FILE`, `$PATH`, `$NAME`, or `$PYTHON`
|
|
354
|
+
are replaced by the corrosponding path before execution.
|
|
336
355
|
where `$PYTHON` expands to `sys.executable` from `gitonic` runtime.
|
|
356
|
+
and `$NAME` is a placeholder for `os.path.basedir`,
|
|
357
|
+
and `$PATH` for `os.path.dirname`
|
|
337
358
|
|
|
338
359
|
the `expr` key contains a single file pattern, or a list of
|
|
339
360
|
file patterns - when to enable the context menu.
|
|
@@ -379,6 +400,36 @@ for running on linux with xfce.
|
|
|
379
400
|
]
|
|
380
401
|
]
|
|
381
402
|
},
|
|
403
|
+
"basic-ctx": {
|
|
404
|
+
"expr": "*",
|
|
405
|
+
"menu": [
|
|
406
|
+
[
|
|
407
|
+
"less $NAME at $PATH",
|
|
408
|
+
[
|
|
409
|
+
"xfce4-terminal",
|
|
410
|
+
"-x",
|
|
411
|
+
"less",
|
|
412
|
+
"$FILE"
|
|
413
|
+
]
|
|
414
|
+
],
|
|
415
|
+
[
|
|
416
|
+
"edit $NAME at $PATH",
|
|
417
|
+
[
|
|
418
|
+
"xed",
|
|
419
|
+
"$FILE"
|
|
420
|
+
]
|
|
421
|
+
],
|
|
422
|
+
[
|
|
423
|
+
"vi $NAME at $PATH",
|
|
424
|
+
[
|
|
425
|
+
"xfce4-terminal",
|
|
426
|
+
"-x",
|
|
427
|
+
"vi",
|
|
428
|
+
"$FILE"
|
|
429
|
+
]
|
|
430
|
+
]
|
|
431
|
+
]
|
|
432
|
+
},
|
|
382
433
|
"spyder-ctx": {
|
|
383
434
|
"expr": "*.py",
|
|
384
435
|
"menu": [
|
|
@@ -468,6 +519,7 @@ for running on linux with xfce.
|
|
|
468
519
|
remark:
|
|
469
520
|
the sample config file provides support for opening
|
|
470
521
|
- terminal, in this case `xfce4-terminal`, can be replaced by e.g. `xterm` - depending on your distribution
|
|
522
|
+
- open file with `less`, `xed`, or `vi` - might be different with your distribution (see line above)
|
|
471
523
|
- `.gitignore` file for selected repo with [`xed`](https://en.wikipedia.org/wiki/Xed)
|
|
472
524
|
- [`spyder-ide.org`](https://spyder-ide.org/), for files matching `*.py`
|
|
473
525
|
- [`geany`](https://www.geany.org/), for files matching `*.c`, `*.cpp`, `*.h`
|
|
@@ -643,12 +695,22 @@ in `config.json`, or delete the config file to fall back to the defaults
|
|
|
643
695
|
gitonic is released under the following
|
|
644
696
|
[`LICENSE`](https://github.com/kr-g/gitonic/blob/main/LICENSE.md)
|
|
645
697
|
|
|
698
|
+
git logos from [git-scm](https://git-scm.com/downloads/logos)
|
|
699
|
+
|
|
646
700
|
|
|
647
701
|
|
|
648
702
|
|
|
649
703
|
# Changelog
|
|
650
704
|
|
|
651
705
|
|
|
706
|
+
## version v0.17.0 - 20250715
|
|
707
|
+
- added `$NAME` to context-menu variables for `os.path.basename` placeholder
|
|
708
|
+
- added official logos from [git-scm](https://git-scm.com/downloads/logos)
|
|
709
|
+
- added `basic-ctx` sample in README
|
|
710
|
+
- partial fix rename/ moved files
|
|
711
|
+
-
|
|
712
|
+
|
|
713
|
+
|
|
652
714
|
## version v0.16.0 - 20250219
|
|
653
715
|
|
|
654
716
|
- support for multiple repo workspaces
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[](https://www.python.org/dev/peps/pep-0008/)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
you are reading VERSION = v0.
|
|
4
|
+
you are reading VERSION = v0.17.0
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
# gitonic
|
|
@@ -178,6 +178,19 @@ files with extension `.pyx` change the setting to
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
+
or in case autopep8 is installed in a venv, e.g.
|
|
182
|
+
|
|
183
|
+
{
|
|
184
|
+
".py,.pyx": {
|
|
185
|
+
"cmd": "~/gitonic/.venv/bin/autopep8",
|
|
186
|
+
"para": [
|
|
187
|
+
"-i",
|
|
188
|
+
"%file"
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
|
|
181
194
|
|
|
182
195
|
### black
|
|
183
196
|
|
|
@@ -286,9 +299,11 @@ the general structure is:
|
|
|
286
299
|
}
|
|
287
300
|
|
|
288
301
|
|
|
289
|
-
here the variables `$GIT`, `$PATH`, `$
|
|
290
|
-
by the corrosponding path before execution.
|
|
302
|
+
here the variables `$GIT`, `$FILE`, `$PATH`, `$NAME`, or `$PYTHON`
|
|
303
|
+
are replaced by the corrosponding path before execution.
|
|
291
304
|
where `$PYTHON` expands to `sys.executable` from `gitonic` runtime.
|
|
305
|
+
and `$NAME` is a placeholder for `os.path.basedir`,
|
|
306
|
+
and `$PATH` for `os.path.dirname`
|
|
292
307
|
|
|
293
308
|
the `expr` key contains a single file pattern, or a list of
|
|
294
309
|
file patterns - when to enable the context menu.
|
|
@@ -334,6 +349,36 @@ for running on linux with xfce.
|
|
|
334
349
|
]
|
|
335
350
|
]
|
|
336
351
|
},
|
|
352
|
+
"basic-ctx": {
|
|
353
|
+
"expr": "*",
|
|
354
|
+
"menu": [
|
|
355
|
+
[
|
|
356
|
+
"less $NAME at $PATH",
|
|
357
|
+
[
|
|
358
|
+
"xfce4-terminal",
|
|
359
|
+
"-x",
|
|
360
|
+
"less",
|
|
361
|
+
"$FILE"
|
|
362
|
+
]
|
|
363
|
+
],
|
|
364
|
+
[
|
|
365
|
+
"edit $NAME at $PATH",
|
|
366
|
+
[
|
|
367
|
+
"xed",
|
|
368
|
+
"$FILE"
|
|
369
|
+
]
|
|
370
|
+
],
|
|
371
|
+
[
|
|
372
|
+
"vi $NAME at $PATH",
|
|
373
|
+
[
|
|
374
|
+
"xfce4-terminal",
|
|
375
|
+
"-x",
|
|
376
|
+
"vi",
|
|
377
|
+
"$FILE"
|
|
378
|
+
]
|
|
379
|
+
]
|
|
380
|
+
]
|
|
381
|
+
},
|
|
337
382
|
"spyder-ctx": {
|
|
338
383
|
"expr": "*.py",
|
|
339
384
|
"menu": [
|
|
@@ -423,6 +468,7 @@ for running on linux with xfce.
|
|
|
423
468
|
remark:
|
|
424
469
|
the sample config file provides support for opening
|
|
425
470
|
- terminal, in this case `xfce4-terminal`, can be replaced by e.g. `xterm` - depending on your distribution
|
|
471
|
+
- open file with `less`, `xed`, or `vi` - might be different with your distribution (see line above)
|
|
426
472
|
- `.gitignore` file for selected repo with [`xed`](https://en.wikipedia.org/wiki/Xed)
|
|
427
473
|
- [`spyder-ide.org`](https://spyder-ide.org/), for files matching `*.py`
|
|
428
474
|
- [`geany`](https://www.geany.org/), for files matching `*.c`, `*.cpp`, `*.h`
|
|
@@ -598,4 +644,6 @@ in `config.json`, or delete the config file to fall back to the defaults
|
|
|
598
644
|
gitonic is released under the following
|
|
599
645
|
[`LICENSE`](https://github.com/kr-g/gitonic/blob/main/LICENSE.md)
|
|
600
646
|
|
|
647
|
+
git logos from [git-scm](https://git-scm.com/downloads/logos)
|
|
648
|
+
|
|
601
649
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M439.6 236.1L244 40.5a28.9 28.9 0 0 0 -40.8 0l-40.7 40.6 51.5 51.5c27.1-9.1 52.7 16.8 43.4 43.7l49.7 49.7c34.2-11.8 61.2 31 35.5 56.7-26.5 26.5-70.2-2.9-56-37.3L240.2 199v121.9c25.3 12.5 22.3 41.9 9.1 55a34.3 34.3 0 0 1 -48.6 0c-17.6-17.6-11.1-46.9 11.3-56v-123c-20.8-8.5-24.6-30.7-18.6-45L142.6 101 8.5 235.1a28.9 28.9 0 0 0 0 40.8l195.6 195.6a28.9 28.9 0 0 0 40.8 0l194.7-194.7a28.9 28.9 0 0 0 0-40.8z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="92pt" height="92pt" viewBox="0 0 92 92"><defs><clipPath id="a"><path d="M0 .113h91.887V92H0Zm0 0"/></clipPath></defs><g clip-path="url(#a)"><path style="stroke:none;fill-rule:nonzero;fill:#100f0d;fill-opacity:1" d="M90.156 41.965 50.036 1.848a5.913 5.913 0 0 0-8.368 0l-8.332 8.332 10.566 10.566a7.03 7.03 0 0 1 7.23 1.684 7.043 7.043 0 0 1 1.673 7.277l10.183 10.184a7.026 7.026 0 0 1 7.278 1.672 7.04 7.04 0 0 1 0 9.957 7.045 7.045 0 0 1-9.961 0 7.038 7.038 0 0 1-1.532-7.66l-9.5-9.497V59.36a7.04 7.04 0 0 1 1.86 11.29 7.04 7.04 0 0 1-9.957 0 7.04 7.04 0 0 1 0-9.958 7.034 7.034 0 0 1 2.308-1.539V33.926a7.001 7.001 0 0 1-2.308-1.535 7.049 7.049 0 0 1-1.516-7.7L29.242 14.273 1.734 41.777a5.918 5.918 0 0 0 0 8.371L41.855 90.27a5.92 5.92 0 0 0 8.368 0l39.933-39.934a5.925 5.925 0 0 0 0-8.371"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="92pt" height="92pt" viewBox="0 0 92 92"><defs><clipPath id="a"><path d="M0 .113h91.887V92H0Zm0 0"/></clipPath></defs><g clip-path="url(#a)"><path style="stroke:none;fill-rule:nonzero;fill:#f03c2e;fill-opacity:1" d="M90.156 41.965 50.036 1.848a5.918 5.918 0 0 0-8.372 0l-8.328 8.332 10.566 10.566a7.03 7.03 0 0 1 7.23 1.684 7.034 7.034 0 0 1 1.669 7.277l10.187 10.184a7.028 7.028 0 0 1 7.278 1.672 7.04 7.04 0 0 1 0 9.957 7.05 7.05 0 0 1-9.965 0 7.044 7.044 0 0 1-1.528-7.66l-9.5-9.497V59.36a7.04 7.04 0 0 1 1.86 11.29 7.04 7.04 0 0 1-9.957 0 7.04 7.04 0 0 1 0-9.958 7.06 7.06 0 0 1 2.304-1.539V33.926a7.049 7.049 0 0 1-3.82-9.234L29.242 14.272 1.73 41.777a5.925 5.925 0 0 0 0 8.371L41.852 90.27a5.925 5.925 0 0 0 8.37 0l39.934-39.934a5.925 5.925 0 0 0 0-8.371"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="92pt" height="92pt" viewBox="0 0 92 92"><defs><clipPath id="a"><path d="M0 .113h91.887V92H0Zm0 0"/></clipPath></defs><g clip-path="url(#a)"><path style="stroke:none;fill-rule:nonzero;fill:#100f0d;fill-opacity:1" d="M90.156 41.965 50.036 1.848a5.913 5.913 0 0 0-8.368 0l-8.332 8.332 10.566 10.566a7.03 7.03 0 0 1 7.23 1.684 7.043 7.043 0 0 1 1.673 7.277l10.183 10.184a7.026 7.026 0 0 1 7.278 1.672 7.04 7.04 0 0 1 0 9.957 7.045 7.045 0 0 1-9.961 0 7.038 7.038 0 0 1-1.532-7.66l-9.5-9.497V59.36a7.04 7.04 0 0 1 1.86 11.29 7.04 7.04 0 0 1-9.957 0 7.04 7.04 0 0 1 0-9.958 7.034 7.034 0 0 1 2.308-1.539V33.926a7.001 7.001 0 0 1-2.308-1.535 7.049 7.049 0 0 1-1.516-7.7L29.242 14.273 1.734 41.777a5.918 5.918 0 0 0 0 8.371L41.855 90.27a5.92 5.92 0 0 0 8.368 0l39.933-39.934a5.925 5.925 0 0 0 0-8.371"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VERSION = "v0.17.0"
|
|
@@ -187,7 +187,7 @@ class GitStatus(object):
|
|
|
187
187
|
|
|
188
188
|
if self.staged == "R":
|
|
189
189
|
oldname, newname = file.split("->", maxsplit=1)
|
|
190
|
-
file = newname
|
|
190
|
+
file = newname.strip()
|
|
191
191
|
|
|
192
192
|
if file and file.startswith("\""):
|
|
193
193
|
assert file.endswith("\""), "quoted string expected. " + str(file)
|
|
@@ -1057,7 +1057,9 @@ def load_and_set_context_settings(ctxmenu, gnam_dir, fnam_dir, fnam):
|
|
|
1057
1057
|
dgb_pr("json parsing error")
|
|
1058
1058
|
return
|
|
1059
1059
|
|
|
1060
|
-
|
|
1060
|
+
file_short = FileStat(fnam).basename()
|
|
1061
|
+
|
|
1062
|
+
env = {"$GIT": gnam_dir, "$PATH": fnam_dir, "$NAME" : file_short,
|
|
1061
1063
|
"$FILE": fnam, "$PYTHON": sys.executable}
|
|
1062
1064
|
dgb_pr("env: " + str(env))
|
|
1063
1065
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: gitonic
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.17.0
|
|
4
4
|
Summary: manage a multi git workspace
|
|
5
5
|
Home-page: https://github.com/kr-g/gitonic
|
|
6
6
|
Author: k. goger
|
|
@@ -42,11 +42,17 @@ Requires-Dist: pycodestyle; extra == "default"
|
|
|
42
42
|
Requires-Dist: flake8; extra == "default"
|
|
43
43
|
Requires-Dist: autopep8; extra == "default"
|
|
44
44
|
Requires-Dist: meld; extra == "default"
|
|
45
|
+
Dynamic: author
|
|
46
|
+
Dynamic: author-email
|
|
47
|
+
Dynamic: home-page
|
|
48
|
+
Dynamic: license-file
|
|
49
|
+
Dynamic: requires-dist
|
|
50
|
+
Dynamic: requires-python
|
|
45
51
|
|
|
46
52
|
[](https://www.python.org/dev/peps/pep-0008/)
|
|
47
53
|
|
|
48
54
|
|
|
49
|
-
you are reading VERSION = v0.
|
|
55
|
+
you are reading VERSION = v0.17.0
|
|
50
56
|
|
|
51
57
|
|
|
52
58
|
# gitonic
|
|
@@ -223,6 +229,19 @@ files with extension `.pyx` change the setting to
|
|
|
223
229
|
}
|
|
224
230
|
}
|
|
225
231
|
|
|
232
|
+
or in case autopep8 is installed in a venv, e.g.
|
|
233
|
+
|
|
234
|
+
{
|
|
235
|
+
".py,.pyx": {
|
|
236
|
+
"cmd": "~/gitonic/.venv/bin/autopep8",
|
|
237
|
+
"para": [
|
|
238
|
+
"-i",
|
|
239
|
+
"%file"
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
|
|
226
245
|
|
|
227
246
|
### black
|
|
228
247
|
|
|
@@ -331,9 +350,11 @@ the general structure is:
|
|
|
331
350
|
}
|
|
332
351
|
|
|
333
352
|
|
|
334
|
-
here the variables `$GIT`, `$PATH`, `$
|
|
335
|
-
by the corrosponding path before execution.
|
|
353
|
+
here the variables `$GIT`, `$FILE`, `$PATH`, `$NAME`, or `$PYTHON`
|
|
354
|
+
are replaced by the corrosponding path before execution.
|
|
336
355
|
where `$PYTHON` expands to `sys.executable` from `gitonic` runtime.
|
|
356
|
+
and `$NAME` is a placeholder for `os.path.basedir`,
|
|
357
|
+
and `$PATH` for `os.path.dirname`
|
|
337
358
|
|
|
338
359
|
the `expr` key contains a single file pattern, or a list of
|
|
339
360
|
file patterns - when to enable the context menu.
|
|
@@ -379,6 +400,36 @@ for running on linux with xfce.
|
|
|
379
400
|
]
|
|
380
401
|
]
|
|
381
402
|
},
|
|
403
|
+
"basic-ctx": {
|
|
404
|
+
"expr": "*",
|
|
405
|
+
"menu": [
|
|
406
|
+
[
|
|
407
|
+
"less $NAME at $PATH",
|
|
408
|
+
[
|
|
409
|
+
"xfce4-terminal",
|
|
410
|
+
"-x",
|
|
411
|
+
"less",
|
|
412
|
+
"$FILE"
|
|
413
|
+
]
|
|
414
|
+
],
|
|
415
|
+
[
|
|
416
|
+
"edit $NAME at $PATH",
|
|
417
|
+
[
|
|
418
|
+
"xed",
|
|
419
|
+
"$FILE"
|
|
420
|
+
]
|
|
421
|
+
],
|
|
422
|
+
[
|
|
423
|
+
"vi $NAME at $PATH",
|
|
424
|
+
[
|
|
425
|
+
"xfce4-terminal",
|
|
426
|
+
"-x",
|
|
427
|
+
"vi",
|
|
428
|
+
"$FILE"
|
|
429
|
+
]
|
|
430
|
+
]
|
|
431
|
+
]
|
|
432
|
+
},
|
|
382
433
|
"spyder-ctx": {
|
|
383
434
|
"expr": "*.py",
|
|
384
435
|
"menu": [
|
|
@@ -468,6 +519,7 @@ for running on linux with xfce.
|
|
|
468
519
|
remark:
|
|
469
520
|
the sample config file provides support for opening
|
|
470
521
|
- terminal, in this case `xfce4-terminal`, can be replaced by e.g. `xterm` - depending on your distribution
|
|
522
|
+
- open file with `less`, `xed`, or `vi` - might be different with your distribution (see line above)
|
|
471
523
|
- `.gitignore` file for selected repo with [`xed`](https://en.wikipedia.org/wiki/Xed)
|
|
472
524
|
- [`spyder-ide.org`](https://spyder-ide.org/), for files matching `*.py`
|
|
473
525
|
- [`geany`](https://www.geany.org/), for files matching `*.c`, `*.cpp`, `*.h`
|
|
@@ -643,12 +695,22 @@ in `config.json`, or delete the config file to fall back to the defaults
|
|
|
643
695
|
gitonic is released under the following
|
|
644
696
|
[`LICENSE`](https://github.com/kr-g/gitonic/blob/main/LICENSE.md)
|
|
645
697
|
|
|
698
|
+
git logos from [git-scm](https://git-scm.com/downloads/logos)
|
|
699
|
+
|
|
646
700
|
|
|
647
701
|
|
|
648
702
|
|
|
649
703
|
# Changelog
|
|
650
704
|
|
|
651
705
|
|
|
706
|
+
## version v0.17.0 - 20250715
|
|
707
|
+
- added `$NAME` to context-menu variables for `os.path.basename` placeholder
|
|
708
|
+
- added official logos from [git-scm](https://git-scm.com/downloads/logos)
|
|
709
|
+
- added `basic-ctx` sample in README
|
|
710
|
+
- partial fix rename/ moved files
|
|
711
|
+
-
|
|
712
|
+
|
|
713
|
+
|
|
652
714
|
## version v0.16.0 - 20250219
|
|
653
715
|
|
|
654
716
|
- support for multiple repo workspaces
|
gitonic-0.16.0/gitonic/const.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
VERSION = "v0.16.0"
|
|
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
|