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

Update PackedArray explanation to match Godot 4.0 behavior #10304

Merged
merged 3 commits into from
Nov 22, 2024

Conversation

mechalynx
Copy link
Contributor

Closes #10300

Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

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

Looks great!

@tetrapod00 tetrapod00 added enhancement topic:gdscript area:manual Issues and PRs related to the Manual/Tutorials section of the documentation labels Nov 22, 2024
Copy link
Contributor

@tetrapod00 tetrapod00 left a comment

Choose a reason for hiding this comment

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

Reviewing for docs style, I don't know enough to review the content deeply

tutorials/scripting/gdscript/gdscript_basics.rst Outdated Show resolved Hide resolved
tutorials/scripting/gdscript/gdscript_basics.rst Outdated Show resolved Hide resolved
Co-authored-by: tetrapod <[email protected]>
Copy link
Contributor

@tetrapod00 tetrapod00 left a comment

Choose a reason for hiding this comment

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

Looks good to me style-wise

@tetrapod00 tetrapod00 merged commit c0378ac into godotengine:master Nov 22, 2024
1 check passed
@tetrapod00
Copy link
Contributor

Thank you! Congratulations on your first merged documentation contribution 🎉

@mechalynx mechalynx deleted the packed-array-explanation branch November 22, 2024 01:23
@mechalynx
Copy link
Contributor Author

I apologise for asking this but it seems github did not respect my email choice from my original commits and commited using an email that isn't supposed to be used for commits. If it's not a huge risk and pain, is it possible to amend the final commit or redo it? I have since set my email to private. I don't care about the commit being associated with my account.

I know it's a lot to ask so if it's not something that's doable without risk, then it's fine to leave it as is.

@tetrapod00
Copy link
Contributor

@mechalynx I'm not actually sure, I asked in the contributors chat.

@mechalynx
Copy link
Contributor Author

Deepest of thanks. Again, if it's too risky, it's ok.

akien-mga pushed a commit that referenced this pull request Nov 22, 2024
Add paragraphs describing the differences between PackedArray and
normal or typed Array.

---------

Co-authored-by: tetrapod <[email protected]>
@akien-mga
Copy link
Member

I amended the commit to use the anonymized GitHub email: https://github.com/godotengine/godot-docs/commit/0f8c24b071bba7f7955f1c8cb8c0fa30003f0d81.patch

This is a destructive operation that requires a force push so normally not something we'd do, but here it was still the latest commit and no new PR had been opened in the meantime, so it shouldn't cause too much trouble.

@mechalynx
Copy link
Contributor Author

Thankyou. I did not expect you to go to the lengths to even replace it with the anyonymized version which is more than kind on your part. I understand the nature of the operation and that it was presumptuous to ask for this in the first place, especially for a repository of this size and scope. It being the last commit was what made me decide to ask but I still feel deeply embarassed for having to do so. I understand this was likely a stressful decision and I am very sorry for the trouble. If necessary, I can delete my comments related to this, if there is concern that it might give the wrong idea about project policy.

I looked into this and it seems github at some point added a dropdown to select email used for merge commits in 2019 but since at least 2022 it seems the option is gone again. The commits on my fork branch had the email I chose and I assumed it would use that one but it instead used my primary. I have since changed email to private and use the anonymized one in my local git installation.

Thanks again and sorry.

@mhilbrunner
Copy link
Member

No worries, shit happens, especially if something as complex as Git is involved :) Thanks for contributing!

mhilbrunner pushed a commit that referenced this pull request Nov 30, 2024
Add paragraphs describing the differences between PackedArray and
normal or typed Array.

---------

Co-authored-by: tetrapod <[email protected]>
@mhilbrunner
Copy link
Member

Cherrypicked to 4.3 in #10347.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:manual Issues and PRs related to the Manual/Tutorials section of the documentation bug cherrypick:4.2 topic:gdscript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Contradictory performance information about Packed*Array types
5 participants