Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pin-dependency.sh: enhance forking of a dependency #104995

Merged
merged 1 commit into from
Sep 15, 2021

Commits on Sep 14, 2021

  1. pin-dependency.sh: enhance forking of a dependency

    This addresses a problem that occurred when trying the following replacement:
       hack/pin-dependency.sh k8s.io/klog/v2=github.com/pohly/klog/v2 flush-log-sink
    
    That itself worked, but update-vendor.sh then failed:
    
       === tidying go.mod/go.sum in staging/src/k8s.io/code-generator/examples
      go: k8s.io/apimachinery@v0.0.0 requires
      	k8s.io/klog/v2@v2.4.1-0.20210909144920-0b91caa8c854: invalid version: unknown revision 0b91caa8c854
      go: k8s.io/apimachinery@v0.0.0 requires
      	k8s.io/klog/v2@v2.4.1-0.20210909144920-0b91caa8c854: invalid version: unknown revision 0b91caa8c854
    pohly committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    de47d00 View commit details
    Browse the repository at this point in the history