buttplugio / buttplug-spec

Documentation of protocols and server architecture for the Buttplug Sex Toy Control System
http://docs.buttplug.io/buttplug
237 stars 19 forks source link

Requirements for standard application/server config file #75

Closed qdot closed 5 years ago

qdot commented 5 years ago

We need a standard YAML config file with the following options

valuta1995 commented 5 years ago

Perhaps a (optional) regex to match for names; hardware addresses.

Why yaml, personal preference?

blackspherefollower commented 5 years ago

From the Discord:

qdotToday at 7:51 AM

(BTW, thinking YAML for the config and device files because comments) JSON is handy and all but I'd really like to be able to write comments.

blackspherefollowerToday at 7:53 AM

Fair point I find YAML a little harder to work with, but comments are a huge boon

qdotToday at 7:55 AM

Agreed on the harder to work with, I've had some real headscratchers with the appveyor/travis configs. But I also have a ton of comments in there now to remember why things are the way they are, and when it comes to configs that's so nice to have.

qdot commented 5 years ago

Perhaps a (optional) regex to match for names; hardware addresses.

I'll see about regex, but there's only so much I can do there. We have * operators for WebBluetooth (which we use for things like Lovense's LVS prefix), but that's about it there, so I'm a bit hamstrung on how I can deal with that on multiple platforms at once.

qdot commented 5 years ago

Oh and I should also say, this file won't be for listing device configs, that's going to be yet another config file that I'll be making another issue for.

qdot commented 5 years ago

Since I'm doing my best to move all application work to intiface, and this is pretty much done there anyways, closing this.