Skip to content

archive: add gitea generic package registry backend - #705

Open
mahaase wants to merge 1 commit into
BobBuildTool:masterfrom
mahaase:feature/gitea-artifact-backend
Open

archive: add gitea generic package registry backend#705
mahaase wants to merge 1 commit into
BobBuildTool:masterfrom
mahaase:feature/gitea-artifact-backend

Conversation

@mahaase

@mahaase mahaase commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Add a gitea archive backend that stores binary artifacts in a Gitea generic package registry. The backend is configured with the server url, the registry owner and the generic package name. Credentials are given explicitly as a token (personal access token) or a user/password pair for HTTP basic authentication, so uploads work even inside the build sandbox. Optional sslVerify and retries keys tune the transport.

Uploads perform a preflight check and report clearer connection and authentication errors.

  • archive: implement the gitea backend with upload preflight and clearer connection/auth error reporting
  • input: validate the gitea archive backend configuration
  • doc: document the gitea archive backend
  • test: cover the gitea archive backend

@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.35%. Comparing base (7b00892) to head (fe1828f).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #705      +/-   ##
==========================================
+ Coverage   89.23%   89.35%   +0.12%     
==========================================
  Files          50       50              
  Lines       16450    16614     +164     
==========================================
+ Hits        14679    14846     +167     
+ Misses       1771     1768       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mahaase

mahaase commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

i'm not sure, but the root cause of the failed windows build could be:
Error: Failed to download: [Errno 28] Disk full

Add a `gitea` archive backend that stores binary artifacts in a Gitea
generic package registry. The backend is configured with the server
`url`, the registry `owner` and the generic `package` name. Credentials
are given explicitly as a `token` (personal access token) or a
`user`/`password` pair for HTTP basic authentication, so uploads work
even inside the build sandbox. Optional `sslVerify` and `retries` keys
tune the transport.

Uploads perform a preflight check and report clearer connection and
authentication errors.

- archive: implement the gitea backend with upload preflight and clearer
  connection/auth error reporting
- input: validate the gitea archive backend configuration
- doc: document the gitea archive backend
- test: cover the gitea archive backend, including the error branches

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mahaase
mahaase force-pushed the feature/gitea-artifact-backend branch from f72e3d7 to fe1828f Compare July 31, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant