Skip to content

feat:publish command#35

Merged
jeanmachuca merged 16 commits into
developmentfrom
feat/publish-command
Jul 4, 2026
Merged

feat:publish command#35
jeanmachuca merged 16 commits into
developmentfrom
feat/publish-command

Conversation

@jeanmachuca

Copy link
Copy Markdown
Member

Automated PR from feat/publish-command

jeanmachuca and others added 16 commits June 23, 2026 00:22
* feat: initial cpm implementation

All 8 commands: init, install (local + registry), remove, list, info,
verify, search, update. Includes hardware audit, JSON Schema validation
(embedded), dependency resolution, registries.toml config, structured
logging, and CI pipeline.

Tests: archive (4), schema (2), config (2), dep (3), audit (5) = 16 total

* chore: remove committed binary, add to .gitignore
* feat: initial cpm implementation

* feat: initial cpm implementation

All 8 commands: init, install (local + registry), remove, list, info,
verify, search, update. Includes hardware audit, JSON Schema validation
(embedded), dependency resolution, registries.toml config, structured
logging, and CI pipeline.

Tests: archive (4), schema (2), config (2), dep (3), audit (5) = 16 total

* chore: remove committed binary, add to .gitignore

* chore: attribute project to Jean Machuca with GitHub Sponsors
Fix CI blockers: go.sum, errcheck, build paths, CI workflows
- New cmd/publish.go: reads .cgp, computes SHA-256, publishes to registry
- New registry.Client.Publish() method: POST /v1/patches with JSON body
- PublishRequest struct for metadata + checksum + download URL
- Requires --download-url flag (notary mode, no file hosting)
- Requires CPM_REGISTRY_TOKEN env var for auth
- Supports --tag flag (repeatable)
…ommand

# Conflicts:
#	README.md
#	cmd/info.go
#	cmd/publish.go
#	cmd/search.go
#	cmd/update.go
#	internal/archive/archive_test.go
#	internal/checksum/checksum_test.go
#	internal/config/config_test.go
#	internal/schema/schema.go
@jeanmachuca jeanmachuca merged commit a579cf3 into development Jul 4, 2026
1 check passed
@jeanmachuca jeanmachuca deleted the feat/publish-command branch July 4, 2026 21:50
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