Skip to content

Conversation

@flouthoc
Copy link
Owner

This PR automatically vendors changes from repo-A#2.

nalind and others added 30 commits September 10, 2025 12:55
Use the $PATH from the runtime config, if it includes one, so that when
the command to run isn't an absolute path and the command isn't being
processed by the shell, exec.Command()'s internal call to
exec.LookPath() will find it.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Update the version of Go we suggest in go.mod to 1.24, and update the
one we use for the vendoring CI test to match.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Use the CutPrefix(), SplitSeq(), and FieldsSeq() functions from the
strings package when chopping up or iterating over parts of strings, per
golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Use maps.Copy() instead of iterating over a map's keys and values to
copy the keys and values to a new map.  Overdue from
golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Drop the "omitempty" tag from the "json" tag on struct members that are
themselves structs, since the JSON encoder doesn't actually do that, per
golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Yes, this helper function always returns nil as one of its results, but
that lets the callers not have to remember to do that, so it's shorter
than changing the call sites.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
When checking that certain directories are masked, treat the
readable-but-empty case as acceptable, as before, and now also accept
actually-unreadable case, which can happen with crun 1.24.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
chroot: use $PATH when finding commands
Relax the permissions on directories we create to hold mount targets,
from 0700 to 0755.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
When checking that certain directories are masked, treat the
readable-but-empty case as acceptable, as before, and now also accept
the actually-unreadable case, which can happen with crun 1.24.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…m-spf13-pflag-1.x

fix(deps): update module github.com/spf13/pflag to v1.0.10
…m-fsouza-go-dockerclient-1.x

fix(deps): update module github.com/fsouza/go-dockerclient to v1.12.2
…m-opencontainers-runc-1.x

fix(deps): update module github.com/opencontainers/runc to v1.3.1
…g-x-sync-0.x

fix(deps): update module golang.org/x/sync to v0.17.0
…ible

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…m-opencontainers-cgroups-0.x

fix(deps): update module github.com/opencontainers/cgroups to v0.0.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…m-moby-buildkit-0.x

fix(deps): update module github.com/moby/buildkit to v0.24.0
Run: create parent directories of mount targets with mode 0755
…g-x-crypto-0.x

fix(deps): update module golang.org/x/crypto to v0.42.0
…m-docker-docker-28.x

fix(deps): update module github.com/docker/docker to v28.4.0+incompatible
Signed-off-by: flouthoc <flouthoc.git@gmail.com>
flouthoc and others added 3 commits September 16, 2025 12:55
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.

2 participants