gitea/cmd
logikonline ad82306b52 feat(sdk): add CLI tool and SDK libraries for developer tooling (Phase 4)
Add comprehensive developer tooling for Gitea integration:

CLI Tool (cmd/gitea-cli/):
- gitea-cli auth login/logout/status - Authentication management
- gitea-cli upload release-asset - Chunked upload with progress
- gitea-cli upload resume - Resume interrupted uploads
- gitea-cli upload list - List pending upload sessions
- Parallel chunk uploads with configurable workers
- SHA256 checksum verification
- Progress bar with speed and ETA display

Go SDK (sdk/go/):
- GiteaClient with token authentication
- User, Repository, Release, Attachment types
- ChunkedUpload with parallel workers
- Progress callbacks for upload tracking
- Functional options pattern (WithChunkSize, WithParallel, etc.)

Python SDK (sdk/python/):
- GiteaClient with requests-based HTTP
- Full type hints and dataclasses
- ThreadPoolExecutor for parallel uploads
- Resume capability for interrupted uploads
- Exception hierarchy (APIError, UploadError, etc.)

TypeScript SDK (sdk/typescript/):
- Full TypeScript types and interfaces
- Async/await API design
- Browser and Node.js compatible
- Web Crypto API for checksums
- ESM and CJS build outputs

All SDKs support:
- Chunked uploads for large files
- Parallel upload workers
- Progress tracking with callbacks
- Checksum verification
- Resume interrupted uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 12:07:07 -05:00
..
gitea-cli feat(sdk): add CLI tool and SDK libraries for developer tooling (Phase 4) 2026-01-09 12:07:07 -05:00
actions.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_auth_ldap_test.go fix nilnil in onedev downloader (#36154) 2025-12-16 02:16:58 +00:00
admin_auth_ldap.go Add an option to automatically verify SSH keys from LDAP (#35927) 2025-12-27 12:33:08 +00:00
admin_auth_oauth_test.go Refactor OpenIDConnect to support SSH/FullName sync (#34978) 2025-07-10 18:35:59 +00:00
admin_auth_oauth.go Refactor OpenIDConnect to support SSH/FullName sync (#34978) 2025-07-10 18:35:59 +00:00
admin_auth_smtp_test.go Fix incorrect cli default values and default command (#34765) 2025-06-18 23:25:11 +08:00
admin_auth_smtp.go Fix incorrect cli default values and default command (#34765) 2025-06-18 23:25:11 +08:00
admin_auth.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_regenerate.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user_change_password_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
admin_user_change_password.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user_create_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
admin_user_create.go Address some CodeQL security concerns (#35572) 2025-10-04 01:21:26 +08:00
admin_user_delete_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
admin_user_delete.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user_generate_access_token.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user_list.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin_user_must_change_password_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
admin_user_must_change_password.go Address some CodeQL security concerns (#35572) 2025-10-04 01:21:26 +08:00
admin_user.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
admin.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
cert_test.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
cert.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
cmd_test.go Fix incorrect cli default values and default command (#34765) 2025-06-18 23:25:11 +08:00
cmd.go Fix cli "Before" handling (#35797) 2025-10-31 18:12:03 +00:00
config_test.go Intorduce "config edit-ini" sub command to help maintaining INI config file (#35735) 2025-10-25 10:54:55 +08:00
config.go Intorduce "config edit-ini" sub command to help maintaining INI config file (#35735) 2025-10-25 10:54:55 +08:00
docs.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
doctor_convert.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
doctor_test.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
doctor.go Fix context usages (#35348) 2025-08-27 11:00:01 +00:00
dump_repo.go Fix context usages (#35348) 2025-08-27 11:00:01 +00:00
dump.go Don't store repo archives on gitea dump (#35467) 2025-09-12 16:11:24 +02:00
embedded.go Replace gobwas/glob package (#35478) 2025-09-13 18:01:00 +00:00
generate.go Address some CodeQL security concerns (#35572) 2025-10-04 01:21:26 +08:00
hook_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
hook.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
keys.go Fix cli "Before" handling (#35797) 2025-10-31 18:12:03 +00:00
mailer.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
main_test.go Fix cli "Before" handling (#35797) 2025-10-31 18:12:03 +00:00
main.go Fix cli "Before" handling (#35797) 2025-10-31 18:12:03 +00:00
manager_logging.go Fix incorrect cli default values and default command (#34765) 2025-06-18 23:25:11 +08:00
manager.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
migrate_storage_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
migrate_storage.go fix: spelling error in migrate-storage cmd utility (#36226) 2025-12-22 10:55:41 +00:00
migrate.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
restore_repo.go Migrate to urfave v3 (#34510) 2025-06-10 12:35:12 +00:00
serv.go Fix clone mixed bug (#35810) 2025-11-02 00:52:59 -07:00
web_acme.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
web_graceful.go Refactor some tests (#34580) 2025-06-03 01:26:19 +00:00
web_https.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web.go refactor(pprof): use explicit mux instead of DefaultServeMux (#36276) 2026-01-02 08:06:06 +00:00