Contributing policies for adding/updating new stdlibs packages #239
Labels
📖 documentation
Improvements or additions to documentation
help wanted
Want to contribute? We recommend these issues.
📦 🤖 gnovm
Issues or PRs gnovm related
Milestone
Multiple times, it happened to me that I missed a stdlibs package or method. We need to make it possible to add new stdlibs packages or update already imported ones.
I suggest:
We add a dedicated section with clear rules in
CONTRIBUTING.md
, let's say: "make sure the package compiles with no dead/incompatible code", and "make sure that the code allows making deterministic.", "make sure to keep the copyright", and "keep some unit tests".Bonus: develop a small codegen script that takes a configuration file to regenerate all the stdlibs we want, and remove every function we don't want.
Bonus: if we get this configuration file from above, we could also generate an automatic changelog.
@jaekwon Before opening the first PR by myself to fully experiment with the process with some stdlibs I miss, I would like to know if you have any feedback about what you did in the past? Maybe you have already developed some helper scripts?
FYI, I plan to update "strconv" which lacks some recent Unicode helpers that I need in testing.
The text was updated successfully, but these errors were encountered: