techdoc

From time to time I upload technical documentation that I wrote for use in personal projects.

recently added

issues and fixes

created onAugust 29, 2025
starting gitea with another user than defined in gitea.conf results in: ... routers/init.go:74:mustInitCtx() [F] code.gitea.io/gitea/modules/git.InitFull(ctx) failed: failed to set git global config diff.algorithm, err: exit status 255 - warning: unable to access '/home/rudolf/.config/git/gitconfig': Permission denied error: could not lock config file /home/rudolf/.config/git/gitconfig: Permission denied - warning: unable to access '/home/rudolf/.config/git/gitconfig': Permission denied error: could not lock config file /home/rudolf/.config/git/gitconfig: Permission denied the fix is to run unset GIT_CONFIG_GLOBAL before running gitea. ...

importing repos into Gitea

created onAugust 29, 2025
Repos that have been created outside gitea can be imported, or in Gitea speak adopted, and managed by Gitea. I’m using both terms import and adopt here. ...

custom label files

created onAugust 29, 2025
Label files with labels to categorize issues/tickets go into <gitea-install-dir>/conf/options. Gitea 1.19 introduced a pretty cool new label format. There is an example of a label file on the gitea GitHub page Advanced.yaml. At the time of writing the YAML example misses the three mandatory dashes ‘—’, that indicate the start of a new YAML document. ...

gitignore files

created onAugust 29, 2025
Can be added to repos that are created with Gitea. gitignore files go into <gitea-install-dir>/conf/gitignore. ...

recently modified

issues and fixes

created onAugust 29, 2025
starting gitea with another user than defined in gitea.conf results in: ... routers/init.go:74:mustInitCtx() [F] code.gitea.io/gitea/modules/git.InitFull(ctx) failed: failed to set git global config diff.algorithm, err: exit status 255 - warning: unable to access '/home/rudolf/.config/git/gitconfig': Permission denied error: could not lock config file /home/rudolf/.config/git/gitconfig: Permission denied - warning: unable to access '/home/rudolf/.config/git/gitconfig': Permission denied error: could not lock config file /home/rudolf/.config/git/gitconfig: Permission denied the fix is to run unset GIT_CONFIG_GLOBAL before running gitea. ...

importing repos into Gitea

created onAugust 29, 2025
Repos that have been created outside gitea can be imported, or in Gitea speak adopted, and managed by Gitea. I’m using both terms import and adopt here. ...

custom label files

created onAugust 29, 2025
Label files with labels to categorize issues/tickets go into <gitea-install-dir>/conf/options. Gitea 1.19 introduced a pretty cool new label format. There is an example of a label file on the gitea GitHub page Advanced.yaml. At the time of writing the YAML example misses the three mandatory dashes ‘—’, that indicate the start of a new YAML document. ...

gitignore files

created onAugust 29, 2025
Can be added to repos that are created with Gitea. gitignore files go into <gitea-install-dir>/conf/gitignore. ...