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
DOC: Clarify TETE description #11169
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @NikitaTewary for contributing to Astropy! 🎉
This looks good to me, but pinging @mkbrewer, @mhvk and @StuartLittlefair for a second pair of eyes just in case. I don't think a changelog entry is needed.
@NikitaTewary One comment: I see your commit messages are |
Hello and thank you for your contribution! I cancelled Actions CI just now for this PR, please do not be alarmed. p.s. Would also be nice that the commits be squashed into one commit before merge, once all the comments have been addressed. |
Okay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a merge commit in the history now, please squash all the commits into one. Perhaps you might find https://docs.astropy.org/en/latest/development/workflow/development_workflow.html#how-to-squash helpful.
Also, you can add "[ci skip]" in your final commit message to skip CircleCI, as it is unnecessary.
Thank you!
7664c92
to
537cfd8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @NikitaTewary, I see that you force pushed your branch in an attempt to rebase your changes and linearize your history (good!). However, your branch ended up containing commits from other people. This is normal at the beginning, git is hard and we've all been there :)
Notice that your branch now departs from an older version of master
in Astropy, as you can see here:
https://github.com/astropy/astropy/network
To solve this, you will have to do a rebase. Steps:
- Double check your setup https://docs.astropy.org/en/stable/development/workflow/development_workflow.html#double-check-your-setup
- If necessary, add a second remote https://docs.astropy.org/en/stable/development/workflow/get_devel_version.html#tell-git-where-to-look-for-changes-in-the-development-version-of-astropy
- Rebase https://docs.astropy.org/en/stable/development/workflow/development_workflow.html#how-to-rebase ℹ️ After this step, you should only have two commits ℹ️
- Force push https://docs.astropy.org/en/stable/development/workflow/development_workflow.html#how-to-push
- And for perfection, squash your commits into one https://docs.astropy.org/en/stable/development/workflow/development_workflow.html#how-to-squash and force push again
Let us know if you need help.
537cfd8
to
a58c075
Compare
There is still one unrelated commit. |
The commit message leads one to think that f282693 does not belong here, but in fact it does. Not sure why it ended up like that though. @NikitaTewary you followed the instructions I gave perfectly, thanks! But @pllim has a point, these two commits should indeed be one. For this, the best is to do a "squash on interactive rebase": https://docs.astropy.org/en/stable/development/workflow/development_workflow.html#how-to-squash which will present you this output:
and so you have to change it by this:
And then pick a final commit message (no need to write After this change, this is ready to merge. |
@astrojuanlu , |
Yes, the message |
a58c075
to
f40c4a1
Compare
Sorry that my request for a minor change caused so much trouble here. |
No fuss @mkbrewer ! These small requests are the ones that are more palatable for newcomers. The back-and-forth with git is absolutely normal, I apologize if we made too much noise (if there is a specific channel in the Slack/Matrix chat for these kind of exchanges and it's preferred that they're moved there, please let me know) |
Last thing @NikitaTewary, I promise: the first line of the commit message is still misleading, please do
(Edit: typo) and force push again. |
f40c4a1
to
0bba605
Compare
@astrojuanlu @mkbrewer @pllim thank you for being so patient. I am a newcomer and I learnt a lot of new commands in git because of your directions, I just have one request if you could assign me more docs related issues I would love to fix it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me now!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR is in good shape now. However the commit author in the history is a little misleading because of the squash and what-nots. If you don't mind that being messed up, feel free to merge. Otherwise, it needs a git commit --amend
to change the authorship. 🤷
@pllim what should be the desired Author name? My name or something else? |
It currently shows me and you both as author, but in reality you are the author. |
where you put your name and email to get the proper credit. |
C:\Users\Asus\OneDrive\Desktop\Astropy\astropy>git push -forced Now, this is what is popping up whenever I am giving the push command, after I tried to change the Author |
Weird! It was working for you before, right? I think it's a typo in |
0bba605
to
61797f8
Compare
This is perfect now. Thanks everyone for the patience and congratulations @NikitaTewary for your first contribution 🎉 |
Fixes #11109
Description
Two small changes done in order to give some clarity in the TETE Documentation.
The following image shows the changes that i made.
EDIT: Formatting