BACKGROUND
I created a thread to learn a bit more about the porting process, and I got information there about that topic, but a developer raised a good point about "not every project is accepted" which got me thinking about if my project is even worthy of being a port.
SALES PITCH
We do not have ONE standard configuration file format. Having one config file format and one method for access would be ideal because then we'd have one method/goal for config "management" (and, by logical extension, the tools like std API libs to get/set consistently in multiple languages--using the agreed upon 'config mgmt practices'--) but lacking that decision, one tool to read and write as many different current config file formats is the only decision I can make (because I do not possess the ability to make a decision about the "best" config management practices and/or config file format).
Most config files are built (use) a simple key/value format so I don't see the need for all the other formats like: JSON, XML, YAML, etc.. so I tried to write ONE tool that will read/write to several of the existing config file formats.
So, my question is: is this concept/code good enough to create a port for (or even use)? Or should I (or: we) just wait for someone who's actually smart to write something?
LINK
github.com
NOTE
MODS/ADMINS: I didn't know where to place this post (I thought "porting new..." and "FreeBSD Developing" may have been a bit overkill for this so I decided upon "General"; feel free to move this post and pass me a pointy hat)
I created a thread to learn a bit more about the porting process, and I got information there about that topic, but a developer raised a good point about "not every project is accepted" which got me thinking about if my project is even worthy of being a port.
SALES PITCH
We do not have ONE standard configuration file format. Having one config file format and one method for access would be ideal because then we'd have one method/goal for config "management" (and, by logical extension, the tools like std API libs to get/set consistently in multiple languages--using the agreed upon 'config mgmt practices'--) but lacking that decision, one tool to read and write as many different current config file formats is the only decision I can make (because I do not possess the ability to make a decision about the "best" config management practices and/or config file format).
Most config files are built (use) a simple key/value format so I don't see the need for all the other formats like: JSON, XML, YAML, etc.. so I tried to write ONE tool that will read/write to several of the existing config file formats.
Code:
rc.conf:
key="VALUE"
jail.conf
key.sub = "VALUE2 VALUE1";
sysctl
key.sub=VALUE
"googah"
key:value
"whatchamacallit"
key value1 value2
So, my question is: is this concept/code good enough to create a port for (or even use)? Or should I (or: we) just wait for someone who's actually smart to write something?
LINK
GitHub - JohnKaul/sysconf: A dependency free key/value configuration file editing tool.
A dependency free key/value configuration file editing tool. - JohnKaul/sysconf
NOTE
MODS/ADMINS: I didn't know where to place this post (I thought "porting new..." and "FreeBSD Developing" may have been a bit overkill for this so I decided upon "General"; feel free to move this post and pass me a pointy hat)