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

Rework README and CONTRIBUTING #5429

Merged
merged 20 commits into from
May 12, 2021
Merged

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented May 12, 2021

This shuffles sections around between README.md and CONTRIBUTING.md. CONTRIBUTING now contains information pertaining to opening PRs, README all other information. I have also moved the list of maintainers to a separate file.

I have kept all information intact (for now), with two exceptions:

  • I removed duplicated information.
  • For brevity's sake, I trimmed some explanations from the section about version checks.

I have restructured the CONTRIBUTING file to follow the order of the introductory "contribution process at a glance" section. This now serves as a bit of a table of contents.

There are still lots of improvements possible, fat to be trimmed, and sections to be moved to other documents, but I think this is a good basis for further improvement. I plan to continue working on these documents from time to time.

Closes: #5422

@srittau
Copy link
Collaborator Author

srittau commented May 12, 2021

Possible further improvement:

  • Add a section "setting up your environment" and move virtualenv stuff as well as pip install -r requirements there. Make that the second step.
  • Move all the details about tests to a new file tests/README.md.

README.md Outdated Show resolved Hide resolved
@srittau
Copy link
Collaborator Author

srittau commented May 12, 2021

Also we should move black and isort instructions to their own section, linked from the ToC (in a followup PR).

Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

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

Thanks, looks great!

CONTRIBUTING.md Outdated Show resolved Hide resolved
@srittau
Copy link
Collaborator Author

srittau commented May 12, 2021

And another future PR: Move the code of conduct into a file CODE_OF_CONDUCT.md. This is specially treated by GitHub.

@Akuli
Copy link
Collaborator

Akuli commented May 12, 2021

I'm not sure if separate MAINTAINERS.md is a good idea. Will someone actually read it? When a maintainer talks, you can see it in the corner of the comment. A more useful thing would be to explain what a maintainer is when someone reading CONTRIBUTION.md sees it for the first time.

Also, we should say "maintainers" when we mean it. There used to be "core developers", and there still is an occurrence of "core team".

@Akuli
Copy link
Collaborator

Akuli commented May 12, 2021

Actually, the corner of a comment says "collaborator".

@JelleZijlstra
Copy link
Member

Actually, the corner of a comment says "collaborator".

But I for some reason am a "member". I think that's an artifact of how we were added to the repo. We can still use "maintainer" in all internal documentation though.

@Akuli
Copy link
Collaborator

Akuli commented May 12, 2021

Actually, the corner of a comment says "collaborator". But I for some reason am a "member".

Perhaps this should be clarified when we start using "maintainer".

@srittau
Copy link
Collaborator Author

srittau commented May 12, 2021

Separating maintainers has a few advantages, in my opinion:

  • It's easy to find if you need the list. No more guessing whether it was in README or CONTRIBUTING.
  • Making documents that are already too long shorter.
  • Adding a maintainer doesn't trigger the "CONTRIBUTING has changed" warning when submitting a PR.

We could arguably add the list of maintainers to README, though, although I personally prefer to have it separate.

I will unify the wording to maintainer, though.

@srittau
Copy link
Collaborator Author

srittau commented May 12, 2021

Jelle is a member of the Python organization, while Akuli and me are collaborators to this repository (but not members of the organization). "Maintainers" is a well established term, though.

@srittau
Copy link
Collaborator Author

srittau commented May 12, 2021

Also, we have a few collaborators, who are not officially maintainers for reason I don't know. For example rchen.

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

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

I don't feel strongly about most of my comments, so ignore if you think things are fine / if you want to avoid scope creep and just want to move around existing text

@@ -8,98 +8,96 @@ are important to the project's success.

## The contribution process at a glance

1. Read the [README.md file](README.md).
2. If you want, set up your environment to be able to [run tests](README.md#running-the-tests).
1. Find out [where to make your changes](#where-to-make-changes).
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we can more prominently mention a) where / how to ask for help, b) how to get started contributing (good-first-issue label / link to #4641 )

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There is a section about where to get help in the README. That said, I'm sure this can be improved, but I'd suggest to move this to a separate PR.

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@hauntsaninja hauntsaninja merged commit b1577ad into python:master May 12, 2021
@hauntsaninja
Copy link
Collaborator

Thanks for doing this! :-)

@srittau srittau deleted the rework-readme branch May 12, 2021 23:31
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.

README vs CONTRIBUTING
4 participants