We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client log:
swift package-registry login https://git.xxx/api/packages/xxx/swift --username xxx --password xxx Error: registry login using https://git.xxx/api/packages/xxxx/swift failed: client error 404: 404 page not found
Gitea log:
2024/11/30 16:29:32 ...s/process/manager.go:188:Add() [T] Start 674accec: POST: /api/packages/xxx/swift (request) 2024/11/30 16:29:32 ...eb/routing/logger.go:47:func1() [T] router: started POST /api/packages/gitea/swift for xxxxxxx:0 2024/11/30 16:29:32 ...rvices/auth/basic.go:72:Verify() [T] Basic Authorization: Attempting login for: hiifong 2024/11/30 16:29:32 ...vices/auth/oauth2.go:36:CheckOAuthAccessToken() [T] oauth2.ParseToken: token is malformed: token contains an invalid number of segments 2024/11/30 16:29:32 ...rvices/auth/basic.go:134:Verify() [T] Basic Authorization: Attempting SignIn for hiifong 2024/11/30 16:29:32 ...rvices/auth/basic.go:150:Verify() [T] Basic Authorization: Logged in user <User 1:hiifong> 2024/11/30 16:29:32 ...eb/routing/logger.go:102:func1() [I] router: completed POST /api/packages/xxx/swift for xxxxxxx:0, 404 Not Found in 85.4ms @ http/server.go:2256(GlobalNotFound) 2024/11/30 16:29:32 ...s/process/manager.go:231:remove() [T] Done 674accec: POST: /api/packages/xxx/swift
1.22.0+rc1-613-ge524f63d58
Yes
No response
./gitea web
None
The text was updated successfully, but these errors were encountered:
Actually, gitea lacks a login endpoint, ref: https://github.com/swiftlang/swift-package-manager/blob/dca0cc27b9d5f08a9c9a38101e322d0f3ab1ba03/Documentation/PackageRegistry/registry.openapi.yaml#L353
Sorry, something went wrong.
Add Swift login endpoint (#32693)
1364083
Fix #32683 This PR adds the login endpoint and fixes the documentation links.
Add Swift login endpoint (go-gitea#32693)
5a92355
Fix go-gitea#32683 This PR adds the login endpoint and fixes the documentation links.
Add Swift login endpoint (#32693) (#32701)
0c4c28b
Backport of #32693 Fix #32683 This PR adds the login endpoint and fixes the documentation links.
Successfully merging a pull request may close this issue.
Description
Client log:
Gitea log:
Gitea Version
1.22.0+rc1-613-ge524f63d58
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
./gitea web
Database
None
The text was updated successfully, but these errors were encountered: