After checking more carefully the repo, I have noticed given the lack of conventions, there is considerable heterogeneity in the repo. To help keeping the repo in a good shape, I think we should add a specific CONTRIBUTING.md file for this repo (I volunteer to do it).
I would like to include things like:
I want to contribute, what should I work on?
Before filling and issue
Getting a development environment set up
Adding a new expression
Commit message format
Pull requests
So, I'm happy to prepare one, but I would like to get your thoughts @ekenes, @MikeMillerGIS, @VwakeM, @ted-howard, @jdcarls2, about some conventions I think we should define, specially about Adding a new expression.
My questions for you are:
Should we specify a convention for file & folder names capitalization? (camelCase vs snake_case vs PascalCase vs or kebab-case) <- Any preference?
1.1. Should README.md always capitalized? (example)
1.2. Is it OK to use special characters like "(", ")", ... (example)
If an expression is too long, is it recommended keeping it in a *.js file instead of the markdown file? (example)
Should we add images and sample data within folders? (e.g. images/ & sample-data/). I have seen some folders like attribute_rule_calculation with ton of files.
I sometimes see we have folders grouping expressions (example). Should they have their own README.md and list the expressions there instead of in the parent README file? (Barcode example)
Should we request a local copy of the data as a static file? https://gdb.zip/
5.1. If so, should we use specific extensions? (e.g. gdb.zip vs zip vs ...; stylx)
Do we need to add. Contributing and License to all README.md files?
My proposal:
I would vote for kebab-case
1.1. Yes, I would recommend README.md (capitals)
1.2. I would say avoid \/:*?"<>|
I'm not against that, but if so, I would place it in a expressions folder with the same name as the markdown file
I would say yes, use folders.
I would say yes. Add a single link in the parent README.md to the child README.md and list the expressions there
I would say it is recommended whenever possible, and set [extension].zip meaning .gdb.zip, .stylx.zip, ...
I would say no.
Thanks in advance! 😊
P.S. sorry if I added or missed someone here, please let me know if that's the case.
After checking more carefully the repo, I have noticed given the lack of conventions, there is considerable heterogeneity in the repo. To help keeping the repo in a good shape, I think we should add a specific CONTRIBUTING.md file for this repo (I volunteer to do it).
I would like to include things like:
So, I'm happy to prepare one, but I would like to get your thoughts @ekenes, @MikeMillerGIS, @VwakeM, @ted-howard, @jdcarls2, about some conventions I think we should define, specially about
Adding a new expression
.My questions for you are:
images/
&sample-data/
). I have seen some folders like attribute_rule_calculation with ton of files.Contributing
andLicense
to all README.md files?My proposal:
\/:*?"<>|
expressions
folder with the same name as the markdown file[extension].zip
meaning .gdb.zip, .stylx.zip, ...Thanks in advance! 😊
P.S. sorry if I added or missed someone here, please let me know if that's the case.