1
1
mirror of https://github.com/go-gitea/gitea synced 2025-09-21 08:08:14 +00:00
Files
gitea/modules
Giteabot 89c99a4dcb fix: add author.name field to Swift Package Registry API response (#35410) (#35431)
Backport #35410 by ahanoff

Fixes #35159

Swift Package Manager expects an 'author.name' field in package
metadata, but Gitea was only providing schema.org format fields
(givenName, middleName, familyName). This caused SPM to fail with
keyNotFound error when fetching package metadata.

Changes:
- Add 'name' field to Person struct (inherited from
https://schema.org/Thing)
- Populate 'name' field in API response using existing String() method
- Maintains backward compatibility with existing schema.org fields
- Provides both formats for maximum compatibility

The fix ensures Swift Package Manager can successfully resolve packages
while preserving full schema.org compliance.

Co-authored-by: Akhan Zhakiyanov <ahanoff@gmail.com>
2025-09-08 03:37:53 +08:00
..
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-03-13 07:04:50 +08:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2023-02-11 08:39:50 +08:00
2025-03-13 07:04:50 +08:00
2025-03-31 01:53:48 -04:00
2022-12-30 23:31:00 +08:00
2025-04-01 10:14:01 +00:00
2024-12-24 01:54:19 +00:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-07-31 12:04:47 +08:00
2025-03-11 10:40:38 -07:00