Giter Site home page Giter Site logo

Comments (7)

pohly avatar pohly commented on May 18, 2024

Indeed, the fix doesn't work because it couldn't undo the merging of PR #17 . The check isn't prepared for the situation we have now (old commits which touch 'release-tools'). The fastest solution would be to rewrite history. Not nice, but simpler than trying to change the check.

I've prepared a new master branch here: https://github.com/pohly/external-resizer/tree/master-clean

@msau42 if you agree, can you pull that branch and force-push it as external-resizer master?
@gnufied once that is done, PRs need to be rebased onto it.

Short post-mortem:

  • Better enable TravisCI before introducing a potentially broken .travis.yml. I think TravisCI is intelligent enough to just skip branches which don't have it. Both PR #17 and PR #18 would have been prevented by that.
  • Always add 'release-tools' as described in the csi-release-tools/README.md.
  • When pointing me to a PR, make sure that I get the chance to actually comment before it gets merged (usually this means keeping it open for a day, due to the time zone difference).

The last one is perhaps a bit tricky. I suspect PR #17 got merged unintentionally as soon as @mlmhl added a /lgtm, because it was submitted by a project maintainer and thus automatically approved. An explicit /hold probably would have worked, but I wonder whether we really want this auto-approval feature. It is a bit unexpected.

from external-resizer.

gnufied avatar gnufied commented on May 18, 2024

Third is a problem for all projects across k8s I guess. It is always tricky when project maintainers submit a PR.

Who has force push access to this repository? @msau42 do you?

from external-resizer.

pohly avatar pohly commented on May 18, 2024

These command should do it:

git clone [email protected]:kubernetes-csi/external-resizer.git
cd external-resizer
git fetch [email protected]:pohly/external-resizer.git master-clean
git diff FETCH_HEAD..origin/master # no output expected!
git push origin +FETCH_HEAD:refs/heads/master

from external-resizer.

gnufied avatar gnufied commented on May 18, 2024

I have been thinking some more about it. Does it make sense to use a content based diff for verifying subtree changes rather than git log based one? Something like:

git remote add csi-release-tools_root https://github.com/kubernetes-csi/csi-release-tools.git
git fetch csi-release-tools_root
git diff remotes/csi-release-tools_root/master HEAD:release-tools/

It does mean all CSI repos must have latest version of release-tools.

from external-resizer.

pohly avatar pohly commented on May 18, 2024

@msau42 the alternative to a force push is:

from external-resizer.

gnufied avatar gnufied commented on May 18, 2024

this is not immediately fixed by linked PR. we still have to probably pull the change.

/reopen

from external-resizer.

k8s-ci-robot avatar k8s-ci-robot commented on May 18, 2024

@gnufied: Reopened this issue.

In response to this:

this is not immediately fixed by linked PR. we still have to probably pull the change.

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from external-resizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.