Skip to content

update the instructions in the contributing guide #4355

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

Merged
merged 4 commits into from
Aug 20, 2020

Conversation

keewis
Copy link
Collaborator

@keewis keewis commented Aug 19, 2020

Our contributing guide is out-of-date, we usually use merge commits instead of rebasing (which would require force-pushing). This has already lead to confusion, see #4314.

Also, I noticed that in Delete your merged branch it recommends to use git branch -d <feature-branch> after updating master. That doesn't work anymore because we've switched to squash-merges.

  • User visible changes (including notable bug fixes) are documented in whats-new.rst

@max-sixty
Copy link
Collaborator

Agree with these changes, thanks @keewis

Stepping back on the contributing doc — I admit I haven't look at it in a while — I wonder whether we can slim it down a bit, for example by linking to other docs for generic tooling — I imagine we're unlikely to have the best docs on working with GH, for example. Or referencing our PR template rather than the (now out-of-date) PR checklist.

@keewis
Copy link
Collaborator Author

keewis commented Aug 19, 2020

ugh. It seems this is the same error as in #4130. This time I can reproduce it locally, though, so now I'm debugging.

@keewis
Copy link
Collaborator Author

keewis commented Aug 19, 2020

re contributing docs: would it be best to leave that to the planned docs overhaul?

@max-sixty
Copy link
Collaborator

re contributing docs: would it be best to leave that to the planned docs overhaul?

For sure, I didn't mean to weigh down this PR

@keewis
Copy link
Collaborator Author

keewis commented Aug 19, 2020

okay, so it seems this happens because RTD only makes shallow copies, as soon as we call git fetch --unshallow, the version detection works again.

@keewis keewis closed this Aug 19, 2020
@keewis keewis reopened this Aug 19, 2020
@keewis keewis force-pushed the update-merge-instructions branch from 9076bb2 to 5246a79 Compare August 19, 2020 23:50
@keewis
Copy link
Collaborator Author

keewis commented Aug 19, 2020

phew, it seems having support set a feature flag to not do shallow clones fixed that particular issue.

@keewis
Copy link
Collaborator Author

keewis commented Aug 20, 2020

so I guess this is ready for review and merge?

@shoyer
Copy link
Member

shoyer commented Aug 20, 2020

Thanks @keewis! This is indeed worth updating.

@shoyer shoyer merged commit 526f735 into pydata:master Aug 20, 2020
@keewis keewis deleted the update-merge-instructions branch August 20, 2020 09:56
@keewis
Copy link
Collaborator Author

keewis commented Aug 20, 2020

Just so we don't forget: do we have a place where we collect ideas for the restructuring of the docs? Or should I just open a tracking issue for this and put it into the Documentation & User Engagement board?

@shoyer
Copy link
Member

shoyer commented Aug 20, 2020

Or should I just open a tracking issue for this and put it into the Documentation & User Engagement board?

This sounds good to me!

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.

3 participants