Skip to content

main: Add support for overriding HTTP User-Agent I want this for https://github.com/bootc-dev/bootc/issues/1686 so we can distinguish pulls there. But more generally it's can be a good idea for people writing scripts using skopeo to set custom user agents so that registries can more easily trace which actors are performing tasks. Assisted-by: Claude Code Signed-off-by: Colin Walters <walters@verbum.org> - #2

Closed
koa3398 wants to merge 2175 commits into
release-0.1.40-rhelfrom
main

Conversation

@koa3398

@koa3398 koa3398 commented Nov 21, 2025

Copy link
Copy Markdown
Owner

3702e

mtrmac and others added 30 commits March 19, 2025 19:11
== the HTTP response body.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
…gests

Enforce manifest and blob digests in (skopeo inspect) and (skopeo layers)
Signed-off-by: Yedaya Katsman <yedaya.ka@gmail.com>
Transports that reference a file or directory are completed.

Signed-off-by: Yedaya Katsman <yedaya.ka@gmail.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This updates from a release to a commit, but the release
is very old, and we get to remove a technically-obsolete dependency.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
I was experimenting with images with lots of layers (> 200) and
this invocation was incorrectly adding the entire response
into what was intended as the metadata plane.

`GetManifest` and `GetConfig` (even those are relatively small)
still always return their data over a pipe, same as blobs.

Add a new `GetLayerInfoPiped` that does the same so we
can easily get this information for images with a lot of layers.

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
per (go fix ./...).

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
…nfo-extended

proxy: Add GetLayerInfoPiped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…te/major-ci-vm-image

chore(deps): update dependency containers/automation_images to v20250324
> QF1008: could remove embedded field "dockerImageOptions" from selector (staticcheck)

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
…te/golangci-golangci-lint-2.x

chore(deps): update dependency golangci/golangci-lint to v2
Switch to keeping TMT tests independent of PR labels for now.

In order to keep PR-label dependent tests, Packit UI would need
improvement making it clear that some tests are not meant to run,
perhaps also changing the status to `ignore` or `neutral`.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
[skip-ci] TMT: keep PR-label independent tests
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…te/golangci-golangci-lint-2.x

chore(deps): update dependency golangci/golangci-lint to v2.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…te/github.com-containers-common-0.x

fix(deps): update module github.com/containers/common to v0.62.3
Signed-off-by: luozexuan <fetchcode@139.com>
mtrmac and others added 29 commits September 11, 2025 19:00
... from containers/automation_images#416

That requires updating tests to also work with rust-podman-sequoia 0.2.0:
ueno/podman-sequoia@d41fefa changed
how the error is reported.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Relies on containers/automation_images#411 .

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Else use ./bin/skopeo as the default binary.

This makes it a lot more flexible compared to just searching and using
the first skopeo in PATH. Also, allows to avoid any binary installation
to /usr/bin.

The SKOPEO_BINARY evaluation logic has been moved to a separate and
reusable Makefile target.

Co-authored-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
…test-binary-path

test-integration-local: use SKOPEO_BINARY if set
Signed-off-by: Andy Allan <58987282+andya1lan@users.noreply.github.com>

chore: make linter happy

Signed-off-by: Andy Allan <58987282+andya1lan@users.noreply.github.com>

test(sync): refactor TLS override precedence test to table-driven

Signed-off-by: Andy Allan <58987282+andya1lan@users.noreply.github.com>

test(sync): refactor cases when YAML omitted

Signed-off-by: Andy Allan <58987282+andya1lan@users.noreply.github.com>

test(sync): readd TLS verification tests when yaml specfied

Signed-off-by: Andy Allan <58987282+andya1lan@users.noreply.github.com>

test(sync): readd TLS verification tests when yaml specfied and `incomingDaemonSkip` condition

Signed-off-by: Andy Allan <58987282+andya1lan@users.noreply.github.com>
…c-tls-verify-yaml

sync: honor CLI/global tls-verify unless YAML explicitly sets tls-verify
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…te/github.com-opencontainers-image-spec-digest

Update github.com/opencontainers/image-spec digest to 6519a62
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…te/golangci-golangci-lint-2.x

Update dependency golangci/golangci-lint to v2.5.0
They use exactly the same body, and differ only in data
(and we are going to keep iterating on the body).

Should not change (test) behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
To be more clearly representative.

Should not change (test) behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This changes the test, we drop the two inputs that can't happen
in practice; and, instead, test the default situation of no TLS
options provided anywhere.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
... and construct it from the primary inputs instead.

The name doesn't hurt in itself, but it ~forces us to use
multi-line test data, making this larger and harder to read than
necessary.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
... to make it much easier to compare+contrast.

Should not change (test) behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…te/golang.org-x-term-0.x

fix(deps): update module golang.org/x/term to v0.36.0
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
…ewline

Add missing newline to the output of (skopeo generate-sigstore-key)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…te/go.podman.io-storage-1.x

fix(deps): update module go.podman.io/storage to v1.61.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…te/go.podman.io-image-v5-5.x

fix(deps): update module go.podman.io/image/v5 to v5.38.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
…te/go.podman.io-common-0.x

fix(deps): update module go.podman.io/common to v0.66.0
I want this for bootc-dev/bootc#1686
so we can distinguish pulls there.

But more generally it's can be a good idea for people writing
scripts using skopeo to set custom user agents so that registries
can more easily trace which actors are performing tasks.

Assisted-by: Claude Code
Signed-off-by: Colin Walters <walters@verbum.org>
@koa3398 koa3398 closed this Nov 21, 2025
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.