e435d761cc
fix(packages): preserve SemVer prerelease identifiers in Swift Registry ( #39156 ) ( #39158 )
...
Co-authored-by: terriblegoodday <terriblegoodday@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
2026-08-28 08:48:20 +02:00
Lunny Xiao and GitHub
61b1a39efe
chore: Move import path from code.gitea.io/gitea to gitea.dev ( #37873 )
2026-05-26 15:49:31 -07:00
Copilot and GitHub
e43422b042
Swift registry metadata: preserve more JSON fields and accept empty metadata ( #37254 )
2026-04-18 04:16:26 +08:00
eb334e3738
tests/integration: simplify code ( #37249 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: wxiaoguang <2114189+wxiaoguang@users.noreply.github.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com >
2026-04-17 20:33:49 +08:00
151ef80e28
use experimental go json v2 library ( #35392 )
...
details: https://pkg.go.dev/encoding/json/v2
---------
Co-authored-by: techknowlogick <matti@mdranta.net >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-09-28 08:03:36 +00:00
Akhan Zhakiyanov and GitHub
87362b4dc1
fix: add author.name field to Swift Package Registry API response ( #35410 )
...
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.
2025-09-07 18:24:25 +00:00
wxiaoguang and GitHub
0cbaa0b662
Remove incorrect "db.DefaultContext" usages ( #35366 )
2025-08-28 03:52:43 +00:00
2683adfcb4
Swift files can be passed either as file or as form value ( #34068 )
...
Fix #33990
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-18 20:09:56 +08:00
KN4CK3R and GitHub
136408307c
Add Swift login endpoint ( #32693 )
...
Fix #32683
This PR adds the login endpoint and fixes the documentation links.
2024-12-03 16:24:16 +00:00
KN4CK3R and GitHub
838db2f891
Convert to url auth to header auth in tests ( #28484 )
...
Related #28390
2023-12-21 23:59:59 +00:00
KN4CK3R and GitHub
c709fa17a7
Add Swift package registry ( #22404 )
...
This PR adds a [Swift](https://www.swift.org/ ) package registry.

2023-03-13 15:28:39 -05:00