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

Add comment support for file_to_skip for visibility #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kotwanikunal
Copy link

Description

  • Add comment support for file_to_skip for visibility
  • The new PR will have details as a comment if files were skipped for the PR to succeed

Issues Resolved

  • N/A

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link
Owner

@VachaShah VachaShah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

files_to_skip is an optional parameter supplied by the user to skip certain files while backport. I feel in this PR it considers files to skip as the files skipped to make the backport succeed which might be misleading. Let me know if I am misunderstanding this.

/* eslint-disable no-await-in-loop */
for (const file of filesToSkip) {
await git("checkout", "HEAD", file);
if (partialBackport) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this not change the behavior for filesToSkip?

@VachaShah
Copy link
Owner

Hi @kotwanikunal, still looking to finish this?

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