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

Contributing.md Enhancement #1683

Open
wants to merge 14 commits into
base: gh-pages
Choose a base branch
from

Conversation

chrisdel101
Copy link
Contributor

@chrisdel101 chrisdel101 commented Nov 14, 2024

This is a redo of #1671 (which was bungled) and a realization of #1608.

This changes are all made to the CONTRIBUTING.md allowing this file to remain in the repo. This is then copied into the /resources/contributing.md page (at the bottom).

All the text content here is fair game for edits, so if any language is unsuitable, something is incorrect, or you just don't like something it can be changed or removed.
The idea here was just to give a more detailed outline of how to contribute, so if the workflow for that is wrong, it can be corrected.
I left the translation sections in, but with notices of suspension.
Also looks like I cannot run the update-external-docs.yml myself. This needs to be run to ensure that the script is copied over properly, and for the site contributing page to get populated.

Copy link

netlify bot commented Nov 14, 2024

Deploy Preview for expressjscom-preview ready!

Name Link
🔨 Latest commit 34977ba
🔍 Latest deploy log https://app.netlify.com/sites/expressjscom-preview/deploys/6742415837872300086f9271
😎 Deploy Preview https://deploy-preview-1683--expressjscom-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@chrisdel101 chrisdel101 marked this pull request as ready for review November 14, 2024 22:57
@chrisdel101 chrisdel101 changed the title Contributing Contributing.md Enhancement Nov 15, 2024
css/uz.css Outdated Show resolved Hide resolved
@bjohansebas
Copy link
Member

@chrisdel101 let's try to only modify things related to contributing in this PR; I'll review this PR in detail over the weekend.

@chrisdel101 chrisdel101 force-pushed the contributing branch 3 times, most recently from 4283961 to 44cb937 Compare November 17, 2024 17:20
@chrisdel101
Copy link
Contributor Author

@chrisdel101 let's try to only modify things related to contributing in this PR; I'll review this PR in detail over the weekend.

Done.

Please run the pipeline update-external-docs.yml to check it works.

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
Copy link
Member

@bjohansebas bjohansebas left a comment

Choose a reason for hiding this comment

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

The work looks great

@bjohansebas bjohansebas requested a review from a team November 17, 2024 17:59
chrisdel101 pushed a commit to chrisdel101/expressjs.com that referenced this pull request Nov 18, 2024
@chrisdel101 chrisdel101 force-pushed the contributing branch 3 times, most recently from c6af18e to 3ab360c Compare November 19, 2024 02:59
Copy link
Contributor Author

@chrisdel101 chrisdel101 left a comment

Choose a reason for hiding this comment

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

@bjohansebas Were these (files are now missing- I'm referring to the commits ci: update...) part of this PR? I just reversed them since I thought they were mistakes, then looked again.
I guess you made these on this branch right?
I'll add them back (remove last two commits) in this was your intention.

EDIT: I added these back in.

EDIT2: Removing them was correct, so they are removed again.

@chrisdel101 chrisdel101 force-pushed the contributing branch 2 times, most recently from c6c6266 to e2f0788 Compare November 19, 2024 18:38
@bjohansebas
Copy link
Member

btw, it's not necessary to run the workflow, running the script and making the commit in this PR is fine. The workflow is just a step to keep the rest of the documentation up to date.

@chrisdel101
Copy link
Contributor Author

chrisdel101 commented Nov 20, 2024

@crandmck @wesleytodd @UlisesGascon Sebastian helped with all the technical stuff but could one of you read over the text content and let me know if you want any changes?
The only file you need to read is CONTRIBUTING.md

Chris Del added 2 commits November 20, 2024 12:08
    - remove over use of important
    - remove uz.css as it came back
    - removing CI commits
- add HR line
-Add GH NOTE tag and filter out
@chrisdel101
Copy link
Contributor Author

chrisdel101 commented Nov 20, 2024

btw, it's not necessary to run the workflow, running the script and making the commit in this PR is fine. The workflow is just a step to keep the rest of the documentation up to date.

You mean the CI? How do I stop it from running?
Do you know why the translations fails for me? I get message: 'Resource not accessible by integration',

I ran the workflow action outisde this repo to make sure the script paths didn't fail, if this is what you meant.

@bjohansebas
Copy link
Member

Do you know why the translations fails for me? I get message: 'Resource not accessible by integration'

This comment explains it quite well (#1553 (comment))

CONTRIBUTING.md Outdated
If you want to learn about working on Expressjs.com, this is the right place. Follow the steps below to get started.

#### TL;DR
1. Open an issue and get approval.
Copy link
Member

Choose a reason for hiding this comment

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

is approval necessary? who is delegated the authority to make these approvals?

Copy link
Member

Choose a reason for hiding this comment

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

This should not be in here at all imo. The process as with any other repo in this org, is "if it is complicated and/or you dont want to waste your time on a PR that my not land, ask if it is a good idea, otherwise open a PR"

Copy link
Member

Choose a reason for hiding this comment

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

I am going to copy over a quote from the discussion on this from the slack.

I think this all makes sense, and thanks for sharing the context it for sure helps. I would guess @crandmck
probably is on the same page (correct me if I am wrong) though that approval is not required but opening an issue to discuss is just helpful if you are new or don’t want to spend time opening a PR that might not land.

This is an OSS lesson I think all of us learned at one point or another, and I would LOVE to improve documentation on this to help others learn without the morale hit or wasted effort. But I just want to be clear, the language in the PR says it is required to get approval, which is not at all the case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried to remove any offensive language around this, and can change the wording again, but this idea was literally the point of redoing this document. Otherwise we might be good to just leave things as they are currently.
This was mentioned before I started this #1506 (comment).
@bjohansebas Did we not want this step in our process? In my observations, we have been following this process for the past few months at least.
Approval is informal and can be done by any member.

Copy link
Contributor Author

@chrisdel101 chrisdel101 Nov 21, 2024

Choose a reason for hiding this comment

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

Here is another instance where we used this. #1568 (comment) which resulted in #1590
Can we reword this idea somehow to make it more acceptable? Something like:
If you have any questions or concerns about the utility of your submission, consider opening an issue first to discuss with the team, etc

Copy link
Member

Choose a reason for hiding this comment

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

How about something like this:
"You're strongly encouraged to open a discussion issue before starting work on a PR, particularly for significant changes that have wide impact. Small minor improvements or corrections don't need an issue, but for more pervasive contributions, an issue helps to clarify and focus the work and ensure it aligns with the overall project priorities."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've made some changes to the wording in those sections and removed the TL;DR part.
I tried to soften it, make it seem optional, remove all references to "approval", and and say it's for large changes only.

CONTRIBUTING.md Outdated
If you want to learn about working on Expressjs.com, this is the right place. Follow the steps below to get started.

#### TL;DR
1. Open an issue and get approval.
Copy link
Member

Choose a reason for hiding this comment

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

This should not be in here at all imo. The process as with any other repo in this org, is "if it is complicated and/or you dont want to waste your time on a PR that my not land, ask if it is a good idea, otherwise open a PR"

CONTRIBUTING.md Outdated
If you want to learn about working on Expressjs.com, this is the right place. Follow the steps below to get started.

#### TL;DR
1. Open an issue and get approval.
Copy link
Member

Choose a reason for hiding this comment

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

How about something like this:
"You're strongly encouraged to open a discussion issue before starting work on a PR, particularly for significant changes that have wide impact. Small minor improvements or corrections don't need an issue, but for more pervasive contributions, an issue helps to clarify and focus the work and ensure it aligns with the overall project priorities."

@crandmck
Copy link
Member

crandmck commented Nov 21, 2024

I commented inline, but we should be sure to clarify that no approval is necessary (i.e. in an issue) to start a PR. IMO an initial discussion issue is strongly recommended for very large contributions, just to ensure they make sense.

The linked discussions came about because of very large refactoring PRs that had no previous discussion at all. While such PRs are not "prohibited", they can often lead to wasted time not only for the contributor but for the TC/approvers. External contributors may not always be aware of ongoing discussions or work and can open PRs that don't align with that and are very unlikely to land. Such PRs are certainly not prohibited, but are not a good use of anyone's time.

Chris Del and others added 2 commits November 23, 2024 14:49
- remove all "approval" language
- add optional wording
- make everything Express JS wording
- remove italics as it not required
- remove TLDR
Small typo fixes
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.

5 participants