mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-29 20:56:19 +01:00
1171069ced
It is not for the developer to keep them sorted in a hierarchy when the release they belong to can be deduced from the tag of the release into which they were merged. The release notes assistant does that work instead. Some files appeared in more than one directory (feat and fix for instance) when the PR contains multiple unrelated commits which is what happens on a regular basis with the weekly cherry-pick of Gitea. Those files were merged into one and each line changed to start with a conventional commit prefix (feat: fix:). Each line in a file will be a separate line in the release notes, they are not groupped together even when they relate to the same PR. The determination of the category in which they should be displayed will be based on regular expressions using either the PR title or the line to add to the release notes itself. Unify the content of each file to either be a bullet list of independent pull requests or be folded into a single line if it is multiline. Multiline content belongs to the documentation. Refs: https://code.forgejo.org/forgejo/release-notes-assistant Refs: https://www.conventionalcommits.org/en/v1.0.0/
448 B
448 B
The caching of contributor stats was improved (the data used by /<user>/<repo>/activity/recent-commits
) to use the configured cache TTL from the config ([cache].ITEM_TTL
) instead of a hardcoded TTL of ten minutes. The computation of this operation is computationally heavy and makes a lot of requests to the database and Git on repositories with a lot of commits. It should be cached for longer than what was previously hardcoded, ten minutes.