Progress on gitlogui. Yes, exactly. A minimal UI for git log.

New:

- regex or simple search through the shown text
- commit graph (--graph option of git log) may be shown

Suggestions of features to add are welcome.😀

Same for a professional layout suggestion for the seemingly randomly tossed text entries and check boxes of the UI.

https://codeberg.org/harald/gitlogui

#gitlogui #git #git-log #gitk #tkinter #python

gitlogui

a minimal GUI for git log

Codeberg.org

I have a script called pyfix which runs mypy and ruff to

- have strong typing
- have a fixed and orderly import order
- have the file always formatted in the same way
- detect programming errors and redundancies.

Now I am working on gitlogui (https://codeberg.org/harald/gitlogui) the main script of which I called glu. So I am running

pyfix glu

all the time, which reads funny. 😀

#python #gitlogui #mypy #ruff #strongTyping #linting

gitlogui

a minimal GUI for git log

Codeberg.org

Nice one. Type hints in Python allow to list a number of literal values, similar to TypeScript union types and the syntax is actually somewhat more explicit.

To implement page up/down in https://codeberg.org/harald/gitlogui I have now:

def doPage(self, factor: Literal[-1] | Literal[1]) -> None:
step = factor * int(self.pageSize.get())
...

and I can be sure, when using mypy, that doPage is only ever called with either -1 or 1.

#python #typehint #strongTyping #gitlogui

gitlogui

a minimal GUI for git log

Codeberg.org

Progress on gitlogui. Yes, exactly. A minimal UI to avoid reading the docs for all those who use it not that often, in particular with pickaxe options.

Now on codeberg: https://codeberg.org/harald/gitlogui

Suggestions of features to add are welcome.😀

#gitlogui #git #git-log #gitk #tkinter #python #tkinter

New project.

If there is something I can't quite remember: the multitude of git log options. There should be a simple UI which makes this easier. Somewhat like gitk for git in general, but with as many useful options shown as understandable buttons as possible.

I also wanted to toy with tkinter a bit. The last few hours brought up this minimally functional thing, which seems to be a good start. Suggestions of features to add first are welcome.😀

#git #git-log #gitk #tkinter #python #gitlogui