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

Improve cherry-pick process to better track them #1795

Closed
apelisse opened this issue Feb 3, 2017 · 24 comments
Closed

Improve cherry-pick process to better track them #1795

apelisse opened this issue Feb 3, 2017 · 24 comments
Labels
area/prow Issues or PRs related to prow lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience.

Comments

@apelisse
Copy link
Member

apelisse commented Feb 3, 2017

Cherry-picks are hard to track. We don't know if they've been merged or not and where.

In order to improve this process, we want to add two new features to prow:

  • Create a new command, maybe /cherry-pick $release, to automatically create a new issue (or PR) for that specific release. The goal is to have something we can track so that we don't forget it.
  • Automatically write a comment describing the process above once the cherrypick-candidate and cherrypick-approved labels have been applied.
@grodrigues3
Copy link
Contributor

cc @mwielgus

@mwielgus
Copy link
Contributor

mwielgus commented Feb 4, 2017

cc: @saad-ali

@apelisse
Copy link
Member Author

cc @spxtr

@spxtr
Copy link
Contributor

spxtr commented Feb 15, 2017

Sounds good to me. Both should be fairly straightforward prow commands, and I'd love to review the PRs.

The second will be easiest to start with.

@saad-ali
Copy link
Member

This would make cherry picks even easier! And if there is a conflict /cherry-pick $release should post a comment on the original PR saying the author will have to manually create a cherry pick (using hack/cherry...) because of conflict.

@zmerlynn
Copy link
Member

zmerlynn commented Mar 7, 2017

How is it broken? http://cherrypick.k8s.io is easy enough to use.

@fejta
Copy link
Contributor

fejta commented Aug 14, 2017

Does anyone know about this site? I sure didn't! Maybe update the comment to link to it?

@fejta fejta added area/prow Issues or PRs related to prow help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Aug 14, 2017
@0xmichalis
Copy link
Contributor

There is an external prow plugin that can be used to automate cherrypicks between master and release branches today: https://github.com/kubernetes/test-infra/tree/master/experiment/cherrypicker

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 29, 2018
@justaugustus
Copy link
Member

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 27, 2018
@stevekuznetsov
Copy link
Contributor

Should be much much easier with the cherry-picker robot

@spiffxp
Copy link
Member

spiffxp commented Apr 3, 2018

I think the open question is what labels if any should be used in conjunction with the cherrypicker bot to make a release branch manager's life easier

@spiffxp spiffxp added this to the 1.11 milestone Apr 3, 2018
@spiffxp
Copy link
Member

spiffxp commented Apr 3, 2018

Other cherry pick improvement links:

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 2, 2018
@spiffxp
Copy link
Member

spiffxp commented Jul 16, 2018

/remove-lifecycle stale
/milestone clear

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 16, 2018
@k8s-ci-robot k8s-ci-robot removed this from the 1.11 milestone Jul 16, 2018
@spiffxp
Copy link
Member

spiffxp commented Jul 23, 2018

More cherry pick improvement ideas:

@spiffxp
Copy link
Member

spiffxp commented Jul 25, 2018

Came up during today's sig-contribex meeting that cherry-picking can be foreign to new contributors, due to a lack of awareness about our branch release lifecycle. One thing we could do to help would be to have the automation responsible for posting the do-not-merge/cherry-pick-not-approved comment with a brief description that links to the patch release manager role in sig-release, and/or the table of current/previous release branch and patch release managers. I think this automation is in mungegithub, it would be great to see this migrated to a prow plugin. cc @guineveresaenger

@spiffxp
Copy link
Member

spiffxp commented Oct 23, 2018

/lifecycle frozen
I'm freezing this as "yes we know cherry picking needs help"

@k8s-ci-robot k8s-ci-robot added the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Oct 23, 2018
@nikhita
Copy link
Member

nikhita commented Dec 26, 2018

Related: #9582.

Removing the help-wanted label because we still need consensus on how to proceed with overhauling cherrypicking.
/remove-help

/sig contributor-experience

@k8s-ci-robot k8s-ci-robot added sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. and removed help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Dec 26, 2018
@spiffxp
Copy link
Member

spiffxp commented Sep 11, 2020

/remove-lifecycle frozen
I'm taking no action on this in ~2 years as a sign that it's no longer that important

@k8s-ci-robot k8s-ci-robot removed the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Sep 11, 2020
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 10, 2020
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 9, 2021
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-contributor-experience at kubernetes/community.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-contributor-experience at kubernetes/community.
/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/prow Issues or PRs related to prow lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience.
Projects
None yet
Development

No branches or pull requests