-
Couldn't load subscription status.
- Fork 551
Delete duplicate README.md #120
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the README used by the NuGet package. There is some duplication but I wouldn't expect these to be identical.
|
@jeffhandley Might make sense to include a |
There is a lot of duplication. Why wouldn't they be identical? The only places they're not right now highlight the problem, which is that changes to the real README weren't replicated to the copy. I don't want us to maintain two different copies. |
|
We can get rid of the code samples from the package README for now if that's a concern. I just don't think these files should be identical, a repo README for example might have instructions for the dev workflow or contribution guidelines that would be inappropriate for the package. |
|
My high-level is I don't want two copies of the same content, even partially (other than a paragraph or the like). And right now, they're the same thing (or, rather, worse, they're trying to be the same thing and failing at it). I'm not sure why we'd delete the code samples from the package, either. |
|
This problem can be solved by drastically trimming the size of the package README and perhaps linking to the repo README from it (although we already point to the repo through nuspec metadata). |
|
I foresee this would be less of a problem once the API stabilizes. In the STJ README for example we include a very basic code sample that we know isn't going to change. |
|
Right now I see no reason not to just use the same one. If we decide we want a minimalistic, separate README for the nuget package, that's not duplicating the main one and is instead focused on specifics of nuget, we can add that and remove the |
The one issue I can see right now is that we include a NuGet package badge at the top of the document. I do expect divergences to increase as the repo evolves though so I think establishing separation is important. I think starting with a minimalistic package README that links to this repo, the API docs, and the main MCP website is fine. |
Lots of packages just use the same readme and have such badges, e.g. |
|
@stephentoub Thanks for catching this. It's a relic from last week's publishing effort and I didn't get it cleaned up yet. My PR for #118 tweaked the wording to make the README reusable across the repo and the package, so I'd like to close this PR and address the feedback above as part of #118. |
Good call. I am incorporating that into #118. As for separating vs. reusing, I agree with @stephentoub's recommendation of just reusing the same file for now, while anticipating a separation at some time in the future. For the short-term, I think it's valuable to have the full README content showing up on nuget.org when folks find the package as it emphasizes this package as the official SDK. |
Ok |
Somehow we ended up with two, one in the root, one in the src folder. This deletes the latter.