1
0
mirror of https://github.com/quay/quay.git synced 2026-10-23 09:49:06 +03:00

3 Commits

Author SHA1 Message Date
Harish Govindarajulu
c525edb8ec PROJQUAY-13327: chore(cli): rename the quay binary to mirror-registry (#7252)
OMR 2.0.x users run `mirror-registry install|upgrade|uninstall`; OMR 3.0
shipped the same CLI as `quay`, which also collides with the Quay product
name. Rename the binary and its entrypoint so the command name is
consistent across versions.

- Makefile: GO_BINARY_NAME and GO_CMD_DIR; cmd/quay moves to
  cmd/mirror-registry.
- Dockerfile.mirror: build output and ENTRYPOINT.
- cmd package: BinaryName constant used for the root command and the
  version output; user-facing error hints that named `quay init` /
  `quay install` / `quay db upgrade` (now `mirror-registry install`, the command that upgrades an existing schema).
- ci-go.yaml: artifact name and every bin/quay invocation.

Unchanged: systemd unit quay.service, Quadlet quay.container, default
data directory /var/lib/quay, image quay.io/quay/quay-mirror, and the Go
module path.
2026-09-21 12:54:29 -04:00
jbpratt
9e03f47d87 PROJQUAY-12474: refactor(mirror-registry): extract reusable application composition (#6730)
* refactor(quay): extract reusable application composition

* fix(quay): satisfy Go lint checks

* fix(distribution): roll back panicked registry construction

* refactor(mirror-registry): name application composition

* refactor(mirror-registry): colocate command package

* fix(mirror-registry): address lifecycle review feedback
2026-08-06 15:51:02 -05:00
jbpratt
522cbec315 chore(go): add Go CLI entrypoint, CI workflow, and linter config (#5025)
Establish Go development infrastructure for the quay/quay repository:

- Add cmd/quay/main.go entrypoint following quay-distribution pattern
- Add go.mod for github.com/quay/quay (Go 1.24.12)
- Add .golangci.yml adapted from quay-distribution with config-tool/ excluded
- Add .github/workflows/go.yaml with lint, build, and test jobs
- Add go-build/test/fmt/vet/clean Makefile targets (not wired into existing build)
- Update .gitignore and .dockerignore for Go build artifacts

Signed-off-by: Brady Pratt <bpratt@redhat.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 16:19:07 +00:00