-
Notifications
You must be signed in to change notification settings - Fork 299
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 #761
Comments
All of that sounds reasonable to me, at least in light of the way the discussion on copyright notices in source files has gone in this project specifically. We should avoid ever making the coding styles document too heavy-weight. |
I agree that we want a CONTRIBUTING.md but I think it should be a half-page of helpful information to make contributors understand the process of landing code in Snabb. Let's please avoid lots of rules and policies that need active policing. My view is that consistency breeds consistency with the code and documentation. If we start sending PRs that improve consistency then this will become a pattern and the results will speak for themselves. A picture says a thousand words, etc. |
Generally when somebody contributes code to Snabb I think it would be productive to assume that:
On the other hand we know the Snabb code and workflow better than they do. We can help people understand how their code will be merged, make technical suggestions that we think people will appreciate, flag important issues that should be addressed before the code is merged, and make unsurprising corrections ourselves ("I removed the copyright line and added a license line as described in CONTRIBTING.md"). I think we need to be very careful to respect the time and intelligence of the contributors to the project and so e.g. not insist that they read the essay "L. Gorrie: Treatise on the nature of simplicity in software development" before they can be considered qualified to contribute to Snabb. I need to spend some time reflecting on whether I am following these guidelines in practice... |
... putting my money where my mouth is: I swept through and added license references to the entire code base on #729. I hope that doing this consistently will establish the idiom i.e. people will notice that every existing file has such a notice and tend to follow suit. |
"L. Gorrie: Treatise on the nature of simplicity in software development" sounds quite an interesting read where can I find a copy! |
I'd like to see a 'cheat sheet' of guidance be put together, and ideally linked to or included in
This is coming from the perspective of working on multiple projects each with there own set of preferences and a cheat sheet would help context switches. |
Good points! I have created #904 to cover the first four points. (I am not too certain about the others). |
Having a
CONTRIBUTING.md
(this file will be displayed by GitHub when creating a PR for the first time) would help maintainers and contributors by providing an initial “common ground”. This came up a couple of times in previous discussions and I want to create this discussion to figure out what should be communicated in the file. Eventually, when everybody is happy I would open a PR that formulates the results.I understand that there are plenty of things that could be useful to have written down in a
CONTRIBUTING.md
, but on the other hand I feel like it should be kept concise to reduce reading-overhead. Possible influences forCONTRIBUTING.md
include:src/COPYRIGHT
; copyright notices in others files are rejected.”Anything I missed, any new ideas? Feedback from everybody is welcome including @kbara, @wingo and @lukego.
The text was updated successfully, but these errors were encountered: