Skip to content

chore(cdi): restore patching after go mod vendor#1062

Merged
diafour merged 1 commit into
mainfrom
chore/cdi/build-restore-patches-and-go-get-order
May 19, 2025
Merged

chore(cdi): restore patching after go mod vendor#1062
diafour merged 1 commit into
mainfrom
chore/cdi/build-restore-patches-and-go-get-order

Conversation

@diafour

@diafour diafour commented May 19, 2025

Copy link
Copy Markdown
Member

Description

  • Executing go mod vendor after patching in vendor directory revert such patches.

Why do we need it, and what problem does it solve?

We have patch on json-patch/v5 in vendor directory. It reverts after go mod vendor.

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: cdi
type: chore
summary: Apply patches after go mod vendor.

- We have patch on json-patch/v5 in vendor directory. Executing go mod vendor after patching in vendor directory revert such patches.

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
@diafour diafour merged commit a5c5c44 into main May 19, 2025
34 of 38 checks passed
@diafour diafour deleted the chore/cdi/build-restore-patches-and-go-get-order branch May 19, 2025 10:24
yachmenevas pushed a commit that referenced this pull request Oct 15, 2025
- We have patch on json-patch/v5 in vendor directory. Executing go mod vendor after patching in vendor directory revert such patches.

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
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