Document how to close issues from commit message #471

Open
opened 2024-08-20 21:46:05 +02:00 by mikolaj · 5 comments

Forgejo supports closing issues by mentioning them in a commit message on a new line after a keyword, such as Fixes. For example, adding the following line:

Fixes https://codeberg.org/Codeberg/Documentation/issues/471

would close issue #471 (this issue). However, this functionality and the list of available keywords for this purpose doesn't appear to be documented anywhere in Codeberg's documentation. It would be helpful if it was.

Forgejo supports closing issues by mentioning them in a commit message on a new line after a keyword, such as `Fixes`. For example, adding the following line: ``` Fixes https://codeberg.org/Codeberg/Documentation/issues/471 ``` would close issue #471 (this issue). However, this functionality and the list of available keywords for this purpose doesn't appear to be documented anywhere in Codeberg's documentation. It would be helpful if it was.
Owner

This is currently documented in the Forgejo documentation. https://forgejo.org/docs/latest/user/linked-references/#actionable-references-in-pull-requests-and-commit-messages, not sure if a more user-friendly in the Codeberg documentation is worth it or if it should point to the forgejo docs for this.

This is currently documented in the Forgejo documentation. https://forgejo.org/docs/latest/user/linked-references/#actionable-references-in-pull-requests-and-commit-messages, not sure if a more user-friendly in the Codeberg documentation is worth it or if it should point to the forgejo docs for this.
Author

It seems that I failed to find it despite trying a few times because I was using the keyword "codeberg" instead of "forgejo" in Web search. Though there's a chance that others will have this problem too, I leave it up to y'all to decide whether this is an actionable issue.

It seems that I failed to find it despite trying a few times because I was using the keyword "codeberg" instead of "forgejo" in Web search. Though there's a chance that others will have this problem too, I leave it up to y'all to decide whether this is an actionable issue.
Owner

CC @fnetX - I don't have a clear preference.

CC @fnetX - I don't have a clear preference.
Owner

I think that every content that users cannot find in the codeberg docs is worth tracking - for consideration on how to deal with it at least.

I think @n0toose might want to figure out whether to mirror/sync the content, or maybe ... have a search that also indexes the Forgejo docs?

I think that every content that users cannot find in the codeberg docs is worth tracking - for consideration on how to deal with it at least. I think @n0toose might want to figure out whether to mirror/sync the content, or maybe ... have a search that also indexes the Forgejo docs?

A search that also indexes Forgejo docs would be pretty helpful, as it is currently very non-obvious how to search Forgejo docs, and it is often necessary to search both anyways (the end user per default doesn't really know what is Forgejo and what is downstream modification, etc.)

A search that also indexes Forgejo docs would be pretty helpful, as it is currently very non-obvious how to search Forgejo docs, and it is often necessary to search both anyways (the end user per default doesn't really know what is Forgejo and what is downstream modification, etc.)
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Documentation#471
No description provided.