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

bpo-44074: let patchcheck infer the base branch name #25991

Merged
merged 3 commits into from May 10, 2021

Conversation

leoll2
Copy link
Contributor

@leoll2 leoll2 commented May 8, 2021

@the-knights-who-say-ni
Copy link

the-knights-who-say-ni commented May 8, 2021

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

CLA Missing

Our records indicate the following people have not signed the CLA:

@leoll2

For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

If you have recently signed the CLA, please wait at least one business day
before our records are updated.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

"""
cmd = "git rev-parse --abbrev-ref {}".format(remote_name).split()
try:
full_name = subprocess.check_output(cmd,
Copy link
Member

@pablogsal pablogsal May 8, 2021

Choose a reason for hiding this comment

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

Hummm, this may return something wrong depending on how you have the git setup. For instance, in my machine this gives:

❯ git rev-parse --abbrev-ref upstream
upstream/HEAD

Copy link
Contributor Author

@leoll2 leoll2 May 9, 2021

Choose a reason for hiding this comment

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

Thanks, I have changed the way the branch name is parsed, now it should be (hopefully) more reliable.

@pablogsal
Copy link
Member

pablogsal commented May 9, 2021

Wonderful, thanks a lot!

@pablogsal
Copy link
Member

pablogsal commented May 9, 2021

Btw, can you sign the CLA as per this message:
#25991 (comment)

@leoll2
Copy link
Contributor Author

leoll2 commented May 9, 2021

I have actually signed the CLA and received a copy by email, even though the checker website doesn't recognize it yet. It says to wait at least one business day to update their DB, otherwise I can manually forward the signed CLA document to whomever needs it.

@pablogsal pablogsal merged commit 21fbbb9 into python:main May 10, 2021
12 checks passed
@miss-islington
Copy link
Contributor

miss-islington commented May 10, 2021

Thanks @leoll2 for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒🤖

@miss-islington
Copy link
Contributor

miss-islington commented May 10, 2021

Thanks @leoll2 for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒🤖

@bedevere-bot
Copy link

bedevere-bot commented May 10, 2021

GH-26022 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 10, 2021
(cherry picked from commit 21fbbb9)

Co-authored-by: Leonardo Lai <leonardo.lai@live.com>
@bedevere-bot
Copy link

bedevere-bot commented May 10, 2021

GH-26023 is a backport of this pull request to the 3.10 branch.

miss-islington added a commit that referenced this pull request May 10, 2021
(cherry picked from commit 21fbbb9)

Co-authored-by: Leonardo Lai <leonardo.lai@live.com>
miss-islington added a commit that referenced this pull request May 10, 2021
(cherry picked from commit 21fbbb9)

Co-authored-by: Leonardo Lai <leonardo.lai@live.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.

None yet

5 participants