git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/git-cliff.toml94
-rw-r--r--.gitconfig3
-rw-r--r--.gitignore2
-rw-r--r--CHANGELOG.md497
m---------tmux-gpakosz0
5 files changed, 595 insertions, 1 deletions
diff --git a/.config/git-cliff.toml b/.config/git-cliff.toml
new file mode 100644
index 0000000..612892d
--- /dev/null
+++ b/.config/git-cliff.toml
@@ -0,0 +1,94 @@
+# git-cliff ~ configuration file
+# https://git-cliff.org/docs/configuration
+
+
+[changelog]
+# A Tera template to be rendered for each release in the changelog.
+# See https://keats.github.io/tera/docs/#introduction
+body = """
+{% if version %}\
+ ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
+{% else %}\
+ ## [unreleased]
+{% endif %}\
+{% for group, commits in commits | group_by(attribute="group") %}
+ ### {{ group | striptags | trim | upper_first }}
+ {% for commit in commits %}
+ - {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
+ {% if commit.breaking %}[**breaking**] {% endif %}\
+ {{ commit.message | upper_first }}\
+ {% endfor %}
+{% endfor %}
+"""
+# Remove leading and trailing whitespaces from the changelog's body.
+trim = true
+# Render body even when there are no releases to process.
+render_always = true
+# An array of regex based postprocessors to modify the changelog.
+postprocessors = [
+ # Replace the placeholder <REPO> with a URL.
+ #{ pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" },
+]
+# render body even when there are no releases to process
+# render_always = true
+# output file path
+# output = "test.md"
+
+[git]
+# Parse commits according to the conventional commits specification.
+# See https://www.conventionalcommits.org
+conventional_commits = true
+# Exclude commits that do not match the conventional commits specification.
+filter_unconventional = false
+# Require all commits to be conventional.
+# Takes precedence over filter_unconventional.
+require_conventional = false
+# Split commits on newlines, treating each line as an individual commit.
+split_commits = false
+# An array of regex based parsers to modify commit messages prior to further processing.
+commit_preprocessors = [
+ # Replace issue numbers with link templates to be updated in `changelog.postprocessors`.
+ #{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
+ # Check spelling of the commit message using https://github.com/crate-ci/typos.
+ # If the spelling is incorrect, it will be fixed automatically.
+ #{ pattern = '.*', replace_command = 'typos --write-changes -' },
+]
+# Prevent commits that are breaking from being excluded by commit parsers.
+protect_breaking_commits = false
+# An array of regex based parsers for extracting data from the commit message.
+# Assigns commits to groups.
+# Optionally sets the commit's scope and can decide to exclude commits from further processing.
+commit_parsers = [
+ { message = "^feat", group = "<!-- 0 --> Features" },
+ { message = "^fix", group = "<!-- 1 --> Bug Fixes" },
+ { message = "^doc", group = "<!-- 3 --> Documentation" },
+ { message = "^perf", group = "<!-- 4 --> Performance" },
+ { message = "^refactor", group = "<!-- 2 --> Refactor" },
+ { message = "^style", group = "<!-- 5 --> Styling" },
+ { message = "^test", group = "<!-- 6 --> Testing" },
+ { message = "^chore\\(release\\): prepare for", skip = true },
+ { message = "^chore\\(deps.*\\)", skip = true },
+ { message = "^chore\\(pr\\)", skip = true },
+ { message = "^chore\\(pull\\)", skip = true },
+ { message = "^chore|^ci", group = "<!-- 7 --> Miscellaneous Tasks" },
+ { body = ".*security", group = "<!-- 8 --> Security" },
+ { message = "^revert", group = "<!-- 9 --> Revert" },
+ { message = ".*", group = "<!-- 10 --> Other" },
+]
+# Exclude commits that are not matched by any commit parser.
+filter_commits = false
+# Fail on a commit that is not matched by any commit parser.
+fail_on_unmatched_commit = false
+# An array of link parsers for extracting external references, and turning them into URLs, using regex.
+link_parsers = []
+# Include only the tags that belong to the current branch.
+use_branch_tags = false
+# Order releases topologically instead of chronologically.
+topo_order = false
+# Order commits topologically instead of chronologically.
+topo_order_commits = true
+# Order of commits in each group/release within the changelog.
+# Allowed values: newest, oldest
+sort_commits = "oldest"
+# Process submodules commits
+recurse_submodules = true
diff --git a/.gitconfig b/.gitconfig
index d43086f..673b865 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -72,6 +72,7 @@
pf = push --force-with-lease
current-branch = rev-parse --abbrev-ref HEAD
cb = current-branch
+ clo = cliff -o CHANGELOG.md
[push]
default = simple
[pretty]
@@ -80,7 +81,7 @@
editor = vim
fileMode = true
hooksPath = ~/git-hooks
- abbrev = 4
+ abbrev = 7
[merge]
tool = vimdiff
[mergetool]
diff --git a/.gitignore b/.gitignore
index deb4e9a..55db77e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,3 +36,5 @@
!/.waterfox/native-messaging-hosts/*
!/.librewolf/native-messaging-hosts/*
!/.mozilla/native-messaging-hosts/*
+!/CHANGELOG.md
+!/.config/git-cliff.toml
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..426105f
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,497 @@
+## [1.8.0] - 2026-03-07
+
+### Features
+
+- Add basic git-cliff.toml for changelogs
+- Define git alias for cliff-to-changelog-mg
+
+### Documentation
+
+- 1.7.1
+## [1.7.1] - 2026-03-07
+
+### Other
+
+- Increase hash abbreviations to a usable minimum of 7
+- Include git-cliff changelog
+## [1.7.0] - 2026-03-07
+
+### Bug Fixes
+
+- Executable flag was missing
+- Do not display HEAD along with the branches
+
+### Other
+
+- Update tmux-gpakosz
+## [1.6.0] - 2026-01-26
+
+### Other
+
+- Do not allow external caches for gpg
+- Define pinentry timeout - short grace period for e.g. signing multiple git commits
+- Confused ttl and pinentry for a moment, now we have both
+- Integrate direct thefuck alias, wtf, into aliases
+- Increase cache TTLs _a bit_
+- Small bash helper for git to update all local $things
+- Adding an "other-branches" script to git
+- Anchoring current-branch alias in gitconfig
+## [1.2.8] - 2025-06-25
+
+### Other
+
+- Set core.abbrev to 4, set equal sign (=) indentations
+- Add tag.gpgSign for the sake of display, currently all options are still set to false
+- Check out latest commit for tmux-gpakosz
+## [1.2.7] - 2025-04-20
+
+### Other
+
+- Make mouse deactivation work anywhere
+- Include pdk templates git directory as 'safe' %)
+- RHEL 10 = "rhel"
+## [1.2.6] - 2025-03-15
+
+### Other
+
+- More distinguished look for Rocky
+## [1.2.5] - 2025-03-15
+
+### Bug Fixes
+
+- Do not use exit in sourced scripts
+- Then was missing
+
+### Other
+
+- SunOS' grep does not know "-P"
+- SunOS' hostname does not know "-f"
+- Further grep adjustments where -P is not necessary (auto)
+- More SunOS incompatibilities
+- Only acquire OSMAJVER from os-release if present
+## [1.2.4] - 2025-03-15
+
+### Other
+
+- Remove quotation marks from OS name string (RHEL derivatives)
+## [1.2.3] - 2025-03-15
+
+### Bug Fixes
+
+- "editor" is an alias, not a variable
+
+### Other
+
+- Pin the initial branch name, may be subject to other extremist changes in the future
+- Colormake hides other coloured output, so we won't use it anymore.
+- Make a difference between Ubuntu 22 and 24
+
+As currently I have to deal with Canonical's whimsical "distro",
+I like to differ more between major "releases".
+- Woof.
+- Include less in bat aliases, make plain cat/less available as alias
+- +pass(word) plugin messaging hosts for several browsers
+- ...+browserpass/chromium
+- Make the prompt's command counter dim and italic
+- Create alias "editor" for other scripts or aliases to use
+- Create alias "default-desktop-apps" for remembering mimeapps.list :-)
+- "Fix" color functions (proper syntax, switch to printf); fix git colour hints
+- + Alma colours
+- Yes, expansion on definition is intentional here.
+- New aliases
+- + SunOS in prompt colours (colouring taken from 2005-age_of_oracle)
+## [1.2.2] - 2024-08-27
+
+### Other
+
+- Flake8 PR 1404 --> config file in alias
+## [1.2.1] - 2024-08-26
+
+### Other
+
+- Merge branch 'master' into testing
+- +initial .screenrc
+- I'M BATMAN
+- +seconds in clock
+- + .config/flake8
+## [1.2.0] - 2024-07-14
+
+### Bug Fixes
+
+- Submodule info of git-prompt was garbage
+- Git-prompt was present in submodules
+
+### Other
+
+- + credential helper, + memory window
+- Only use the control master if desired. causes more fuss than solutions on daily use.
+- Fwiw, return to whitespaces. more bytes, but more interoperability.
+- Include tofu in gpg trust model
+- + flake8's cognitive complexity
+- Updated submodules
+- Integrate go binaries in $HOME into PATH
+- Inclusion of git prompt
+- Revamp
+- Working commit for submodule
+- Reintroducing main submodule shllow/sparse config
+- +weird sha1collisiondetection submodule in README
+- Merge between two pulls and machines
+- Merge between two machines (again)
+- Specify branch of submodule
+- Here goes another attempt
+- ...
+- Move submodule git-prompt to post-checkout
+- Remove from cache
+- Add git-prompt to ignore list
+- +pre-commit
+- Preparation for submodule-less checkout
+- Accident
+- Final hook
+- Solution in readme
+- Easygit, lul.
+- Git-prompt, flake8, pass-git-helper, gpg trust model, SSH control master, python indent
+
+1. Before we had no real inclusion of git-prompt in this repo. Now, we have
+ included git's own git-prompt. Alternatives were tested and failed to
+ meet KISS, YAGNI, or one-task-one-solution principles.
+2. Include $HOME/go/bin in PATH
+3. Set flake8's max-cognitive-complexity to 16
+4. Set up pass-git-helper as git's credential helper, set pack.windowMemory to 1024m
+5. Set trust-model of GPG to tofu+gpg
+6. Do not use tabs in python anymore, bow to global byte-consuming standard
+7. Do not use SSH ControlMaster as default anymore
+
+---
+
+Squashed commit of the following:
+
+commit 035b47b860b96a3c4bf24ed53f9753f6dac77097
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 13:13:10 2024 +0200
+
+ easygit, lul.
+
+commit 429003c91aadba10e2447fab2a536d21cb1a334c
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 13:10:23 2024 +0200
+
+ solution in readme
+
+commit 3d3d8bf1736400f064dc25213bc38ea1f902ed25
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 13:06:12 2024 +0200
+
+ final hook
+
+commit 784cca88b3ccfaf2e3ddc6d39b6b62da3e636b31
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 12:58:16 2024 +0200
+
+ accident
+
+commit c93a9ef0252f7285f5bd8c0e5a60cde17c3ab1bd
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 12:57:36 2024 +0200
+
+ preparation for submodule-less checkout
+
+commit 0854d735ac6f596205df2484c9c5793cdf259e73
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 12:18:40 2024 +0200
+
+ +pre-commit
+
+commit 00f87081a3ba50b48dc3cebfaa3c804e805120b0
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 12:15:04 2024 +0200
+
+ add git-prompt to ignore list
+
+commit 574bbc70cc4282baee11a0548f0bb3d9510ddee9
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 12:13:14 2024 +0200
+
+ remove from cache
+
+commit e60e29cb6c941223768634413e7ffa13cc5b0b19
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 12:12:21 2024 +0200
+
+ move submodule git-prompt to post-checkout
+
+commit 738ecb82e946043914fc822d8fb877a655e5ad4f
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 11:57:52 2024 +0200
+
+ ...
+
+commit 672c91bc95a167269fb7ddfa2c84e4f7da2bdad2
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 11:32:25 2024 +0200
+
+ here goes another attempt
+
+commit cbc3482c5d475eff579902004f81cefd38cfcb98
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 10:53:38 2024 +0200
+
+ specify branch of submodule
+
+commit 95a8483b04efddab37aa92d52134a823ecc1920f
+Merge: 5155ed2 ce9a713
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 10:52:21 2024 +0200
+
+ Merge between two machines (again)
+
+commit 5155ed2eefa29fc2d660823f8609e0c7dcc85113
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 10:52:12 2024 +0200
+
+ reintroducing main submodule shllow/sparse config
+
+commit ce9a713662fdb8cc30eed9bdfb3a9fc9ab217afc
+Merge: b2b8209 717e60b
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 10:38:11 2024 +0200
+
+ Merge between two pulls and machines
+
+commit b2b82097d4e167b285abac53d0e6a291a4f798a7
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 10:38:03 2024 +0200
+
+ +weird sha1collisiondetection submodule in README
+
+commit 717e60be83f2cf22808bc75ba37459e888a39513
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 10:29:35 2024 +0200
+
+ working commit for submodule
+
+commit 11376154555ea0a325742d0d81dc282642837940
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 10:18:41 2024 +0200
+
+ revamp
+
+commit aaf11ee32d35a194eb58387f4742cf00acadbbf2
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 10:08:07 2024 +0200
+
+ fix: submodule info of git-prompt was garbage
+
+commit 8faef2071a0dd0358714b082738dbc253378214a
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 09:59:33 2024 +0200
+
+ inclusion of git prompt
+
+commit 9b850221308f64fe6e641555fcbd24ddf5a7ff7b
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun Jul 14 09:00:08 2024 +0200
+
+ integrate go binaries in $HOME into PATH
+
+commit 71b39d46de0bfe14b44f4241c8b8af01d3fb6b27
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun May 26 10:52:50 2024 +0200
+
+ Updated submodules
+
+commit 37fdb2a700e47cc84f0dd3b004b33c41b1eb4abe
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sun May 26 10:48:44 2024 +0200
+
+ + flake8's cognitive complexity
+
+commit 6922aa0ab8cfbdc83fc2a38fe486c9a390807c99
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sat May 25 13:27:52 2024 +0200
+
+ include tofu in gpg trust model
+
+commit e5abe8e6672cff7852c48f1db57176d9b03538f9
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sat May 25 13:27:15 2024 +0200
+
+ fwiw, return to whitespaces. more bytes, but more interoperability.
+
+commit d9b65ed059e81cca89bcec21545aa8816198537d
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sat May 25 13:25:35 2024 +0200
+
+ only use the control master if desired. causes more fuss than solutions on daily use.
+
+commit badff375848d9af77e9761619f374278da862dac
+Author: Harald Pfeiffer <coding@lirion.de>
+Date: Sat May 25 13:24:03 2024 +0200
+
+ + credential helper, + memory window
+## [1.1.0] - 2024-05-25
+
+### Other
+
+- NEW FEATURE: prompt may be quite long, we now start input on a completely new line
+- Include ~/.local/bin as well, only include dirs that are descendible into
+- Include sshenv file if present
+- Don't disable tab warnings anymore
+- More git aliases
+## [1.0.0] - 2024-05-25
+
+### Other
+
+- Merge
+- Return if reading the fingerprint failed
+- Distinguish between Leap and others (Tumbleweed), current colouring from official websites
+## [0.9.5] - 2023-05-06
+
+### Bug Fixes
+
+- Non-SLE suse did not apply anywhere
+- Root colouring for Debian < 12
+
+### Other
+
+- Local fixes
+- + termux
+- Superseding flake8-colors - considering that deprecated
+
+From flake8 5.0.0 on, flake8 natively supports `--color` [^1],
+rendering the installation of flake8-colors obsolete. (Kudos
+so far for the nice work, nonetheless.)
+
+Debian 12 (frozen and one month before release at the point of this
+update) moved flake8 from 3.8.4 to 5.0.4, so I'm moving along.
+(Also, no need for venv magic anymore.)
+
+[^1] [flake8 changelog for 5.0.0](https://flake8.pycqa.org/en/latest/release-notes/5.0.0.html)
+- New colours for Debian > 12 and derivatives
+
+- Distinguish Debian >= 12 – Debian 12 introduces emerald theming
+- Corporate work includes refined Ubuntu settings. Adjusting to
+ match Ubuntu >= 22
+## [0.9.4] - 2022-07-26
+
+### Other
+
+- +ssh control master
+- ( ͡° ͜ʖ ͡°)
+- ...in case of confname=hostname*conf...
+- .gitconfig for @8eadf0c5ed061ceee22e4b1a75eaa55eeb72e02a
+- +example paragraph for ssh-rsa connections
+- +par ssh key generation
+- +deprecation of ssh-rsa altogether
+- Revert "+deprecation of ssh-rsa altogether"
+
+ssh_config only knows +ALG, not -ALG. :| so either we define a static
+list of accepted signature algorithms or well... fuckthisshit.jpg.
+
+This reverts commit 12a28688d9b25ba3e36ef207a01e8334667813ac.
+- +pve
+## [0.9.3] - 2022-07-08
+
+### Other
+
+- +password-store alias for multiples stores
+- Replaced cloudflare (wtf!!!) with quad9
+- Move tarball creation inside ansible playbook
+- Reincluded remote tarball removal
+- Added local tarball removal after successful remote executions
+- Move tarball creation inside ansible playbook [2]
+- Including *.local files as non-presence is no error
+- Only create the tarball once for all hosts
+- Source is now an absolute path :-)
+- Update tmux-gpakosz
+- Separation into plays-per-host(s)
+- Make sure DFDISTRIB is not empty
+- We do not need facts, let's not waste time gathering them
+- Removing delegation remnants
+- Loc
+- Do not execute remote removal on localhost
+- Do not execute any remote action on localhost
+- Display current IFS
+- Only add SSH key if it's not been added yet.
+
+Currently, ```ssh-add -l``` displays the fingerprint the same way
+```ssh-keygen -Esha256 -lf``` does. Simple comparison, done.
+- Execute key addition on any login on the hosts which serve as "admin stations"
+- I said "no background" !!!11!eleven
+- Don't be vrebose on adding ssh keys
+## [0.9.2] - 2022-05-02
+
+### Other
+
+- +voicemsg alias
+- Typo
+- + coloured diff as default
+- +new long format for git log
+## [0.9.1] - 2022-03-24
+
+### Bug Fixes
+
+- Fixes
+- Fix and improvement: dirmngr
+
+- fix: missing then after if
+- improvement: using pgrep instead of ps+pgrep|grep
+
+### Other
+
+- Initial commit
+- +ssh-agent-launcher in bashexec
+- Wrong folder
+- Squeeze double ; after sourcing sshenv
+- Doesn't work
+- Adding postexec for "last-mile tasks"
+- [2]
+- Mark SSH agent variables for export
+- ...already marked for export in postexec
+
+This reverts commit 99e0da1b6441da25a0d3427638f0fd1a20076f87.
+- +function for adding ssh keys
+- Varname fumble
+- Adding distribute folder for servers which cannot reach git
+- Makefile and distribute dir for "git-less" servers
+- Distribution mechanism, more targets in make
+- Execute ssh agent only on machines we want to be the source
+
+Also, see ssh_config(5) and ForwardAgent
+- +doc for SSHAGH
+- Tags for other tasks
+- Check for DFDISTRIB, less output on rm
+- Count (plus proper "doc-string")
+- Syntax error fixed for format
+- +.vimrc
+- +.vimrc [2] (rsync was missing)
+- Adding vim syntax to .vimrc as I also base a jinja template off of this
+- Oopsie, comment syntax :-)
+- Hide grep output
+- Removed spaces after linenr
+- + syntastic
+- Adding gpg-connect-agent to ssh agent machines
+- Launch dirmngr
+- +gnupg
+- $meaningful_git_commit_message[213]
+- Untested behaviour: ssh-with-gpg
+- Alias for ssh-with-gpg
+- TGT was missing, lel. Also: passing remaining arguments now.
+- Wrong order :-)
+- Enable ssh-support in gpg-agent
+- $SSH_AUTH_SOCK only on the admin stations
+- Include gnupg in tarball
+- Remove old dirmngr socket. remember to execute only once with multiple connections.
+- Less variable spam
+- Debian pink for debian systems
+- Exclude .local files from distributed tarball
+- Own colours for AIX
+- Merge branch 'testing' of git.lirion.de:/var/cache/git/dotfiles into testing
+- Distinguish rel from fedora, adopting the rh corporate turquois
+- Syntax error
+- Make initial dirmngr launch silent
+- Gnupg forwarding now working
+- Disable SC2012 in xstat
+- +package clean
+- +lst, %call apt binary directly
+- +default pull strategy: no rebase
+- Force yaml to noexpandtab eventually
diff --git a/tmux-gpakosz b/tmux-gpakosz
-Subproject e25f45ed3df5a83339fcfd99d256b0d1958d646
+Subproject af33f07134b76134acca9d01eacbdecca9c9cda