Add documentation requirements to CONTRIBUTING.md#3794
Conversation
|
Also, I apologize for the formatting changes. I had to make them for the file to be maintainable (bulleted lists were busted the way they were). |
There was a problem hiding this comment.
Better to include the PR number as well, like Update-Item now supports -FriendlyName (#1234). Otherwise, it's hard to correlate the change log with a PR.
There was a problem hiding this comment.
Can we enable markdown validation before making changes?
There was a problem hiding this comment.
There should be a new line before a code block and a language name.
There was a problem hiding this comment.
I'm fine going through the file completely and making it lint compliant, but I thought I was supposed to hold formatting changes to another PR so as to make the review easier😉
I'll start another commit now. If you want me to drop it to another PR, I can, but it looks like everyone here is approving of the content change already.
836bc42 to
3796bdc
Compare
|
@joeyaiello in the future, the best practice is style/formatting changes should be a separate PR otherwise it's hard to see what the actual functional change was we should also change the PR template |
|
#3805 for issues not introduced by this change |
There was a problem hiding this comment.
comma at end of line is not needed
There was a problem hiding this comment.
Qualify this. For example, This requirement includes
There was a problem hiding this comment.
could you remove the double the this is really bad...
TravisEz13
left a comment
There was a problem hiding this comment.
This document needs to go through a separate grammar scrub. I didn't see any major issues with your changes.
|
@joeyaiello please add verbage to https://raw.githubusercontent.com/PowerShell/PowerShell/master/.github/PULL_REQUEST_TEMPLATE.md for the doc requirement |
There was a problem hiding this comment.
Maybe " add parameter "?
|
It seems it is a wrong direction. Do you really think a community contributer want to spend time writing documentation? The proposed process is ideal for obtaining a high-quality product in the enterprise but not in the community project.
I can not confidence say Yes for this points and now there's one more No for fourth point (docs). I may be wrong, but CoreFX Repo has a much quicker reaction. As for me. Now @daxian-dbw @lzybkr @SteveL-MSFT spend a lot of time on me, and I hope they eventually get a profit. If I write docs, I'll spend a lot of time, and they'll waste more on fixing it. I believe the documentation should be written by professional docs writers. I believe that the process of writing documentation should be asynchronous rather than synchronous, should not be entrusted to code writers and should not block code PRs. My vision of the process:
In this way, we will prepare a high-quality base for documenting without blocking and wasting time. Doc writer: |
|
@iSazonov I hear you. If others agree, we can certainly go down the |
|
I would prefer a more flexible approach that will be open to more contributors. |
|
I agree with what @iSazonov is saying. Let's start with a |
|
Okay, expect a Round 2 of this PR later this week. |
There was a problem hiding this comment.
I think we've been using Up-for-grabs mostly to indicate easy/small/non-critical issues as a way to start contributing code and not really as needing help
There was a problem hiding this comment.
Sometimes it's not obvious fix, and it would be nice that maintainers accompany the comment how and where to fix, or at least where it's best to start.
There was a problem hiding this comment.
You can fix this in another PR, but this doesn't have anything to do with this change.
There was a problem hiding this comment.
I think we agreed to relax this and just add a Needs-Documentation label
a45e526 to
cb7bb88
Compare
|
Alright, updated to reflect the label approach in Steve's PR at #3908. Would appreciate another quick review. /cc @iSazonov @SteveL-MSFT |
| a Maintainer will add the `Documentation Needed` label to your PR and add an issue to the [PowerShell-Docs repository][PowerShell-Docs], | ||
| so that we make sure to update official documentation to reflect your contribution. | ||
| As an example, this requirement includes any changes to cmdlets (including cmdlet parameters) and features which have associated about_* topics. | ||
| While not required, we appreciate any contributors who add this label and the issue themselves. |
There was a problem hiding this comment.
This sentence reads oddly. This is minor, but suggestion While not required, we appreciate any contributors who add this label and create the issue themselves.
| * Instead of "New parameter 'ConnectionCredential' in New-SqlConnection", | ||
| write "New-SqlConnection: added parameter 'ConnectionCredential'". | ||
| * If your change warrants an update to user-facing documentation, | ||
| a Maintainer will add the `Documentation Needed` label to your PR and add an issue to the [PowerShell-Docs repository][PowerShell-Docs], |
There was a problem hiding this comment.
In RFC Repo we seem refused Issue-based discussions and move to PR-based discussions. Here is the same - do we need duplicated Issues in Docs Repo? I still believe that doc writers can easy get an information from PowerShell Repo by "Documentation Needed" label filter and immediately create a Doc PR excluding an Doc Issue. Cross-reference links "PowerShell PR" <-> "Doc PR" will help us too.
There was a problem hiding this comment.
Unfortunately, there's not a stable set of folks or workflow for getting these docs written (and actually, a lot of the preliminary writing will fall on engineers/me on the PowerShell Team), so we have to do this asynchronously with potentially extended latency.
We'll also have a lot of these things that are more than just a parameter addition (e.g. the & backgrounding) where we'll need some longer-form content. I just don't want these tasks to get lost in merged PRs.
There was a problem hiding this comment.
Thanks for clarify! I'll try to help out a little.
|
I'm okay without @HemantMahawar's review. If everything looks good, feel free to merge. |
This is intended to address the underlying issue behind #2566 by adding a note in
CONTRIBUTING.mdto create a corresponding pull request in PowerShell/PowerShell-Docs when making code changes that warrant it.It's also going to take some enforcement from @PowerShell/powershell-maintainers, which I know will be difficult because our documentation isn't completely up-to-date--we're playing catch up here. However, it should be analogous to the test debt that we've had while enforcing requirements for new tests.
I'm also not opposed to creating a label as well to track those PRs where doc changes are required but where they haven't been addressed. It's really up to the @PowerShell/powershell-maintainers here, I'm open to whatever.