Replies: 6 comments 8 replies
-
Consensus has interesting Haskell/GHC tips & tricks in its contributing document. I think they should be put upstream, maybe as a section in Cardano Engineering Handbook, as they are general enough not just for |
Beta Was this translation helpful? Give feedback.
-
Some examples of |
Beta Was this translation helpful? Give feedback.
-
I also think that all the above steps are important but I don't think we have, right now, a single space explaining (or giving visibility on): One option could be to use the page my team created to give visibility on all the testing that we do on Cardano (+ a small summary on how to run them) - that way we would have all the testing details in the same place. This approach would also help internal stakeholders. but also the community, to have a better understanding of what is done/tested/automated. Once we open the testing tools, we can have different types of contributions (I suggest having a guide also for such proposals):
|
Beta Was this translation helpful? Give feedback.
-
I think this would be a great candidate for a section in "Practices". The idea there is that we can give examples of things that we do for inspiration. I think it's very hard to point to any of the things on your list and say that they should be policy (except maybe "PRs should pass the tests", which is usually enforced by CI anyway). At the moments our projects take quite different approaches, and I think trying to standardise them or give a default example is tough. Perhaps we could write something like this: Many of our projects have extensive CONTRIBUTING documentation. For example: Here is a list of topics that you may want to cover in your CONTRIBUTING documentation:
|
Beta Was this translation helpful? Give feedback.
-
@dorin100 You are right that we don't have such document which says which tests must be written per component. I don't know how the situation looks like in different teams, but the general policy we have is that we only release components if we have sufficient tests and that's decided by the developers. In this regard it's implicit that all the test are the required ones, there are some exceptions to this rule (e.g. some test are flaky etc...). I am not sure if general audience / community is that interested in the tests we have. I think a much more interesting would be to write a publishable technical report on some of our testing techniques, what kind of bugs we caught early. @michaelpj as always you put things in the right words :). What about posting somewhere a template which can be copy pasted / edited to ones need. Maybe on a wiki and just include a link which we cite in the handbook. |
Beta Was this translation helpful? Give feedback.
-
I'm going to draft a PR with a CONTRIBUTING practices section. |
Beta Was this translation helpful? Give feedback.
-
In a recent discussion @kevinhammond and me came up with the following list of requirements for the
CONTRIBUTING.md
:I think it would be nice to add a section or a standard
CONTRIBUTING.md
document in Cardano Engineering Handbook, which could be used as a basis by other projects. Currently, very few projects have that document.Beta Was this translation helpful? Give feedback.
All reactions