Skip to content

Development#34

Merged
jeanmachuca merged 8 commits into
mainfrom
development
Jul 5, 2026
Merged

Development#34
jeanmachuca merged 8 commits into
mainfrom
development

Conversation

* feat: .cgp package registry server

- 6 REST endpoints: search, get, download, publish, unlock, health
- In-memory package store with search (name+description+tags)
- Token-based auth for publish/unlock endpoints
- .cgp file serving from data directory
- 27 tests across server, store, and auth packages
- CI: build, lint, test, vet

* chore: attribute project to Jean Machuca with GitHub Sponsors

* chore: add * 2.* pattern to .gitignore for editor backups

* docs: expand README with build, API, and usage details (#4)

* docs: add cross-repo navigation links to README (#7)

* docs: add contributing section to README (#9)

* Fix CI blockers: commit go.sum, fix errcheck, fix build paths, wire up CI

* feat: add source URL validation (source_repository, source_issues) on publish

* fix: CI integrity and .gitignore repairs across repos (#17)

* feat: refactor to proxy/notary — 302 redirect + checksum ledger

BREAKING: registry-server no longer stores .cgp files on disk.
- handleDownload() now returns 302 redirect to package's download_url
- handlePublish() computes SHA-256 from multipart upload (discards file)
- handlePublish() accepts sha256 + download_url via JSON (no fetch)
- Package struct gains DownloadURL field
- Removed cgpPath(), downloadFile(), DataDir filesystem usage
- Notary audit trail logged on each publish
- Updated all tests for proxy/redirect mode
* feat: .cgp package registry server

- 6 REST endpoints: search, get, download, publish, unlock, health
- In-memory package store with search (name+description+tags)
- Token-based auth for publish/unlock endpoints
- .cgp file serving from data directory
- 27 tests across server, store, and auth packages
- CI: build, lint, test, vet

* chore: attribute project to Jean Machuca with GitHub Sponsors

* chore: add * 2.* pattern to .gitignore for editor backups

* docs: expand README with build, API, and usage details (#4)

* docs: add cross-repo navigation links to README (#7)

* docs: add contributing section to README (#9)

* Fix CI blockers: commit go.sum, fix errcheck, fix build paths, wire up CI

* feat: add source URL validation (source_repository, source_issues) on publish
* feat: .cgp package registry server

- 6 REST endpoints: search, get, download, publish, unlock, health
- In-memory package store with search (name+description+tags)
- Token-based auth for publish/unlock endpoints
- .cgp file serving from data directory
- 27 tests across server, store, and auth packages
- CI: build, lint, test, vet

* chore: attribute project to Jean Machuca with GitHub Sponsors

* chore: add * 2.* pattern to .gitignore for editor backups

* docs: expand README with build, API, and usage details (#4)

* docs: add cross-repo navigation links to README (#7)

* docs: add contributing section to README (#9)

* Fix CI blockers: commit go.sum, fix errcheck, fix build paths, wire up CI

* feat: add source URL validation (source_repository, source_issues) on publish

* fix: CI integrity and .gitignore repairs across repos
- 6 REST endpoints: search, get, download, publish, unlock, health
- In-memory package store with search (name+description+tags)
- Token-based auth for publish/unlock endpoints
- .cgp file serving from data directory
- 27 tests across server, store, and auth packages
- CI: build, lint, test, vet
@jeanmachuca jeanmachuca merged commit 9beb9f0 into main Jul 5, 2026
1 check failed
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