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
Adding CONTRIBUTING guide #2087
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2087 +/- ##
=======================================
Coverage 98.55% 98.55%
=======================================
Files 1180 1180
Lines 27009 27009
=======================================
Hits 26620 26620
Misses 389 389 |
@andreslucena codeclimate is complaining about trailing whitespaces in lines 37, 41 and 45: https://codeclimate.com/github/decidim/decidim/pull/2087 Can you fix this? 😄 |
@mrcasals fixing it, I'm using a new editor that I need to fix. Thanks! |
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.
I added a couple of minor comments, but looks great!
CONTRIBUTING.md
Outdated
#### **Did you fix whitespace, format code, or make a purely cosmetic patch?** | ||
|
||
Changes that are cosmetic in nature and do not add anything substantial to the stability, functionality, or testability of Decidim will generally not be accepted. | ||
|
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.
I don't think we want this whole point. Our code is 100% properly formatted, and follows strict style rules, so this is a non-issue in my opinion.
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.
it's from Rails, they also have an issue with the rationale behind this:
rails/rails#13771 (comment)
https://github.com/rails/rails/blob/master/CONTRIBUTING.md
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.
I'm aware, I just don't think it applies to us.
Rails has almost 5K all time contributors and 750 open PR's, it's an unusually highly active project for external contributions. I'm sure part of why they introduced that rule is because they were struggling to handle that.
In Decidim we don't have that problem and, at least since I'm around, we've been following something closer to the "no patch is too small" philosophy :)
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.
I'd like some more feedback regarding the cosmetic changes. @decidim/developers what do you think about these lines?
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.
I'm 👍 to what @deivid-rodriguez says here, at least for now. Apart from being properly formatted, our code can have some refactors and this part can seem like we won't accept refactors
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.
Ok, I'll remove this lines, pefect!
* Suggest your change in [Metadecidim](https://meta.decidim.barcelona/processes/roadmap) and start writing code. | ||
|
||
* Do not open an issue on GitHub until you have collected positive feedback about the change. GitHub issues are primarily intended for bug reports, fixes and already discussed features on [Metadecidim](https://meta.decidim.barcelona/processes/roadmap). | ||
|
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.
I love the idea of using decidim
itself to discuss features ❤️. As a matter of fact, I just registered at meta.decidim.barcelona. 😄
However, is it appropriate to link to a Catalan/Spanish only website from GitHub?
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.
Maybe we could use the decidim.org
domain and host a general installation there?
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.
Maybe, but I guess it's easier for now to keep accepting feature requests via GitHub issues as well, and point there here (or maybe point to both places).
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.
AFAIK the plan in the short-midterm is to use english in metadecidim
👍
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.
English on Metadecidim will come soon, sure. this issues we are going to discuss at the JAM meeting.
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.
Nice! 👍
|
||
#### **Did you find a bug?** | ||
|
||
* **Do not open up a GitHub issue if the bug is a security vulnerability in Decidim**, and instead send us an email to security [at] decidim.org. |
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.
@andreslucena does the email address security [at] decidim.org
exist?
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.
Yes, it works
9bd781d
9bd781d
to
4c0259a
Compare
Rebasing against master to fix the builds. |
4c0259a
to
6389abf
Compare
Re-rebasing again to fix tests :( |
Is the last thing we need for having completed all the items on the Github community checklist:
https://github.com/decidim/decidim/community