forgejo/models
Gergely Nagy 8fdffc94ca Add a migration to remove SSH signatures from release notes
Because the `git` module did not recognize SSH signed tags, those
signatures ended up in the `notes` column of the `release` table. While
future signatures will not end up there, Forgejo should clean up the old
ones.

This migration does just that: finds all releases that have an SSH
signature, and removes those signatures, preserving the rest of the
note (if any).

While this may seem like an expensive operation, it's only done once,
and even on the largest known Forgejo instance as of this
writing (Codeberg), the number of affected rows are just over a hundred,
a tiny amount all things considered.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-03-26 08:09:36 +00:00
..
actions Make runs-on support variable expression (#29468) 2024-03-11 23:36:59 +07:00
activities Add more stats tables (#29730) 2024-03-20 08:46:28 +01:00
admin
asymkey
auth remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
avatars
db Partially enable MSSQL case-sensitive collation support (#29238) 2024-03-11 23:36:59 +07:00
dbfs
fixtures fix action fixtures 2024-03-24 07:12:31 +01:00
forgejo/semver
forgejo_migrations Add a migration to remove SSH signatures from release notes 2024-03-26 08:09:36 +00:00
git fix commit_status 2024-03-24 07:11:19 +01:00
issues fix action fixtures 2024-03-24 07:12:31 +01:00
migrations Add a migration to remove SSH signatures from release notes 2024-03-26 08:09:36 +00:00
organization
packages Fix incorrect relative/absolute URL usages (#29531) 2024-03-06 12:10:46 +08:00
perm
project Partially enable MSSQL case-sensitive collation support (#29238) 2024-03-11 23:36:59 +07:00
pull
repo Some performance optimization on dashboard and issues page (#29010) 2024-03-20 08:46:28 +01:00
secret Make runs-on support variable expression (#29468) 2024-03-11 23:36:59 +07:00
shared/types
system
unit
unittest [Windows] prevent ? in testdata path 2024-03-15 13:15:46 +01:00
user Allow users to hide all "Add more units..." hints 2024-03-21 08:15:51 +01:00
webhook Merge pull request '[TESTS] fail when log.Error is called' (#2657) from oliverpool/forgejo:fail_test_on_log_error into forgejo 2024-03-24 07:28:31 +00:00
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go