FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-99908 Update 'odds and ends' `class` documentation by JosephSBoyle · Pull Request #100498 · python/cpython · GitHub

/ cpython Public

gh-99908 Update 'odds and ends' class documentation - #100498

Closed
JosephSBoyle wants to merge 3 commits into
python:mainfrom
JosephSBoyle:fix-issue-99908
Closed

gh-99908 Update 'odds and ends' class documentation#100498
JosephSBoyle wants to merge 3 commits into
python:mainfrom
JosephSBoyle:fix-issue-99908

Conversation

JosephSBoyle commented Dec 24, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Note: Closed the last PR due to issues with the CLA bot and modified commit authorship (incorrect email was used for my commit).

Modernizes an example in the 'odds and ends' section of the documentation about classes.

bedevere-bot added awaiting review docs Documentation in the Doc dir skip news labels Dec 24, 2022

ghost commented Dec 24, 2022

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

Click the button to sign:

Copy link
Copy Markdown
Contributor Author

I don't understand why the CLA bot thinks that 'joe.boyle@blackcowtech.uk' needs to sign; I can't see that email in the git history!

Can we ignore it?

JosephSBoyle changed the title Fix issue 99908 gh-99908 Update 'odds and ends' class documentation Dec 24, 2022

Copy link
Copy Markdown
Member

Unfortunately, the CLA check is "required" in our CI, meaning that we are physically incapable of merging if the check fails. You can see that the "squash and merge" button just isn't available to me on this PR:

Copy link
Copy Markdown
Contributor Author

@AlexWaygood Okay, understood, I'll make a figure it out and let you know when it's sorted!

🖖

Copy link
Copy Markdown
Member

I don't understand why the CLA bot thinks that 'joe.boyle@blackcowtech.uk' needs to sign; I can't see that email in the git history!

Can we ignore it?

Perhaps @ambv can help with this, as one of the authors of the CLA bot :)

Copy link
Copy Markdown
Member

Closing in favour of #100499

Copy link
Copy Markdown
Member

Just to note, if I pull this branch and use git log or git show -q de102b1, I get the joe.boyle@blackcowtech.uk address as the author, and the same if I check it via the GitHub API (which is what the bot uses). Therefore, the bot operating exactly as it should, as the actual commit pushed to the PR branch has the author set as joe.boyle@blackcowtech.uk.

If we look at your screenshot, we can see what is going on—the commit in question is marked replaced, which means the commit being shown locally is not the actual original commit de102b1 , but rather a modified version only visible to you locally. This means either you or a tool you used performed a git replace operation on the commit, and that presumably changed the author email. However, that is not visible external to your local repo, at least without special steps. If you run git --no-replace-objects log, you'll see the actual original commit that was pushed here. For an in depth look at how git replace works, see this SO answer.

Presumably, in your revised PR, you amended/squashed the original commit(s), which created an actual new commit that could then be pushed here.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL