Repository navigation
feat(properties): name docker tags in the per-repository property search - #470
Merged
M0Rf30 merged 1 commit intoNov 11, 2026
Merged
Conversation
GET /api/v1/repositories/{repo}/artifacts/search resolved an id only
against package_files, so the id the web UI stores a docker image's
properties under (the tag's listing id, docker_tags.id) came back with
artifact_id alone. Resolve it against the live tags of the same
repository too, and name it as the package listing does: the repository
name plus the image path, the tag as version, format docker. oa props
search shows the name.
The query returns the tag columns next to the package columns (a
COALESCE would make sqlc type them non-null); the UUID cast is computed
once and serves both primary-key lookups.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
M0Rf30
force-pushed
the
feat/property-search-docker-names
branch
from
November 11, 2026 17:27
f9c73e2 to
81bc045
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GET /api/v1/repositories/{repo}/artifacts/search(andoa props search) now names docker tags, as it already names files. Companion to #469, which makes the globalprop:search match tags. The two PRs are independent; both make the same one-line edit toproperties.md, so either merge order is clean.Change
SearchByProperty(queries/properties.sql) now also resolves an id against the livedocker_tagsof the same repository. The UUID cast is computed once in the subquery, and both lookups use it on their primary keys. The case-insensitive~*match this query already used is unchanged.catalog_branches.godockerBranch): the repository name plus/imagewhen the image is not empty, the tag asversion, anddockerasformat.tag_repository,tag_imageandtag_namenext to the package columns, andPropertyStore.SearchByPropertycombines them in Go. ACOALESCEin SQL would make sqlc type the fields as non-null strings.PropertySearchArtifactdescriptions,properties.md(search results, CLI table) and an Unreleased upgrade note are updated.docs/referenceand the web client are regenerated.Tests
TestSearchByPropertyNamesDockerTagsstores properties in a docker repository under four ids:props-d, versionlatest, formatdocker;props-d/team/app, version1.0;Checks
golangci-lint runpasses, with and without-tags integration.go test -shortpasses forinternal/{database,api,oacli}.-tags integration -run TestSearchByProperty ./internal/databasepasses.make generateshows no drift, andmake docs-checkandmake deadcodepass.🤖 Generated with Claude Code