blog: Gitea 1.15 and up: path not found or permission denied #32
No reviewers
Labels
No Label
Blog
Bug
Enhancement
Feature
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Hostea/website#32
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "dachary/website:wip-blog-05-28"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
@ -0,0 +11,4 @@
In Gitea 1.15 the [app.example.ini](https://github.com/go-gitea/gitea/blob/cfb4c23a5009b9c236d48ac0bc156577c7d70741/custom/conf/app.example.ini) file was changed to [comment out most of the values](https://github.com/go-gitea/gitea/commit/4a84022d2559ccfc99960c7c654ee8b9b38664f7). The assumption was that all values exactly matched the defaults [in the source code](https://github.com/go-gitea/gitea/blob/main/modules/setting/setting.go). However, there are differences, for instance for [APP_DATA_PATH](https://github.com/go-gitea/gitea/blob/cfb4c23a5009b9c236d48ac0bc156577c7d70741/modules/setting/setting.go#L771). Before Gitea 1.15, `app.example.ini` contained:
```
I am nitpicking here: if possible, can you add syntax highlighting to all configuration snippets?
would become
See https://gitea.hostea.org/Hostea/website/pulls/32#issuecomment-569
It's not possible to copy / paste images in replies to reviews so... here it is.
With the suggested change it looks like this:
which is less readable (gray on black background) than without it:
I was under the impression that the comment will render as commented out and so readability will improve but
fair point.
LGTM.
For the record the same blog post was proposed to the Gitea blog so it can be viewed by a larger audience. There is no link to hostea.org in the proposed blog post to avoid the pushback that the previous proposal for a blog post suffered from.
https://gitea.com/gitea/blog/pulls/196