Commit Graph

4 Commits (36f1fa779213695db249d2215233e9cec2d5da7c)

Author SHA1 Message Date
KN4CK3R 5ff037ef51
Show migration validation error ()
Discord request:
https://discord.com/channels/322538954119184384/322910365237248000/1067083214096703488

If there is a json schema validation error the full file content gets
dumped into the log. That does not help and may be a lot of data. This
PR prints the schema validation error message instead.
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files ()
Change all license headers to comply with REUSE specification.

Fix 

Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Jason Song e4eaa68a2b
Replace yaml.v2 with yaml.v3 ()
I don't see why we have to use two versions of yaml. The difference
between the two versions has nothing to do with our usage.
Aravinth Manivannan 3bb028cc46
Validate migration files ()
JSON Schema validation for data used by Gitea during migrations

Discussion at https://forum.forgefriends.org/t/common-json-schema-for-repository-information/563

Co-authored-by: Loïc Dachary <loic@dachary.org>