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

Add contributing guidelines #489

Open
16 tasks
JakeQZ opened this issue Feb 22, 2024 · 11 comments
Open
16 tasks

Add contributing guidelines #489

JakeQZ opened this issue Feb 22, 2024 · 11 comments
Assignees
Labels
developer-specific Issues that only affect maintainers, contributors, and people submitting PRs documentation

Comments

@JakeQZ
Copy link
Contributor

JakeQZ commented Feb 22, 2024

Relates to #486.

@JakeQZ JakeQZ added documentation developer-specific Issues that only affect maintainers, contributors, and people submitting PRs labels Feb 22, 2024
@oliverklee
Copy link
Contributor

@oliverklee oliverklee changed the title Add contrubutor guidelines Add contributor guidelines Jun 18, 2024
@oliverklee
Copy link
Contributor

Also mention that the changelog is in reverse chronological order (newest on top).

@ziegenberg
Copy link
Contributor

Also link https://cbea.ms/git-commit/ for git commit messages and https://speakerdeck.com/oliverklee/test-driven-development-with-phpunit-915a5f2c-3d37-4e41-b5bc-ef1efca9c01e?slide=39 for test naming.

I'm assuming that is only additional. As someone on the consuming side of contributor guidelines, I appreciate having those things readily available in a document within the project. That way, it is directly accessible to me using the same tool I'm currently working in, and I can search for it. I wouldn't say I like having to click several links, read text from images or dig through a lengthy blog post and contribute to someone else's statistical data by visiting 3rd party websites.

@ziegenberg
Copy link
Contributor

Other things to mention in the guidelines:

In general, please always use the third person for the first sentence of a method documentation comment: "(This method) Does …":

@ziegenberg
Copy link
Contributor

Probably also add, that this project uses Hungarian notation.

@oliverklee
Copy link
Contributor

Probably also add, that this project uses Hungarian notation.

We'd actually like to get rid of that as part of the 9.0 milestone:

rename internal things (including parameter names) to ditch the Hungarian notation

@JakeQZ
Copy link
Contributor Author

JakeQZ commented Jun 18, 2024

Also (though this is probably more for maintainers and collaborators), for PRs that (possibly indirectly) change coding style and guidance, or the set of developer tools and how they are installed, update the CONTRIBUTING.md file. The file referenced in the OP has become out of date since this has not been done (MyIntervals/emogrifier#373).

@JakeQZ
Copy link
Contributor Author

JakeQZ commented Jun 18, 2024

Other things to mention in the guidelines:

In general, please always use the third person for the first sentence of a method documentation comment: "(This method) Does …":

Examples would help for this one. "(This method) ..." may be confusing, and lead people to think they should explicitly type out "This method", then wonder about the brackets.

This PHP documentation is inconsistent, often using the imperative or infinitive (unclear which, because it's English) in the summary if not the description too. After a bit of trawling, I found md5_file as a reasonable example.

@ziegenberg
Copy link
Contributor

Other things to mention in the guidelines:

In general, please always use the third person for the first sentence of a method documentation comment: "(This method) Does …":

Examples would help for this one. "(This method) ..." may be confusing, and lead people to think they should explicitly type out "This method", then wonder about the brackets.

This PHP documentation is inconsistent, often using the imperative or infinitive (unclear which, because it's English) in the summary if not the description too. After a bit of trawling, I found md5_file as a reasonable example.

This suggestion was originally posted by @oliverklee in #545 (comment). I referenced it here as I felt this could be a general guideline, which in this case should probably become part of CONTRIBUTING.md.

@oliverklee
Copy link
Contributor

Also document how to create PRs for mass removals/mass deprecations: #512 (comment)

@JakeQZ
Copy link
Contributor Author

JakeQZ commented Jun 23, 2024

Examples would help for this one.
This suggestion was originally posted by @oliverklee in #545 (comment). I referenced it here as I felt this could be a general guideline, which in this case should probably become part of CONTRIBUTING.md.

Kudos. Just suggestiong how it should become part of CONTRIBUTING.md. There isn't one yet on this project. Someone needs to kick the ball rolling...

@oliverklee oliverklee changed the title Add contributor guidelines Add contributing guidelines Jun 23, 2024
@oliverklee oliverklee self-assigned this Jun 23, 2024
oliverklee added a commit that referenced this issue Jun 23, 2024
This is the first part of #489.

I'd like to add sections bit by bit to make reviewing easier and
faster, and to allow us to get things online quickly.

This file will be in sync with its counterpart in the Emogrifier
project as much as possible.
oliverklee added a commit that referenced this issue Jun 23, 2024
This is the first part of #489.

I'd like to add sections bit by bit to make reviewing easier and
faster, and to allow us to get things online quickly.

This file will be in sync with its counterpart in the Emogrifier
project as much as possible.
oliverklee added a commit that referenced this issue Jun 23, 2024
This is the first part of #489.

I'd like to add sections bit by bit to make reviewing easier and
faster, and to allow us to get things online quickly.

This file will be in sync with its counterpart in the Emogrifier
project as much as possible.
oliverklee added a commit that referenced this issue Jun 23, 2024
This is the first part of #489.

I'd like to add sections bit by bit to make reviewing easier and
faster, and to allow us to get things online quickly.

This file will be in sync with its counterpart in the Emogrifier
project as much as possible.
oliverklee added a commit that referenced this issue Jun 29, 2024
This is the first part of #489.

I'd like to add sections bit by bit to make reviewing easier and
faster, and to allow us to get things online quickly.

This file will be in sync with its counterpart in the Emogrifier
project as much as possible.
JakeQZ pushed a commit that referenced this issue Jun 29, 2024
This is the first part of #489.

I'd like to add sections bit by bit to make reviewing easier and
faster, and to allow us to get things online quickly.

This file will be in sync with its counterpart in the Emogrifier
project as much as possible.
oliverklee added a commit that referenced this issue Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer-specific Issues that only affect maintainers, contributors, and people submitting PRs documentation
Projects
None yet
Development

No branches or pull requests

3 participants