buda-base / asset-manager

Asset Manager and audit tool
The Unlicense
0 stars 0 forks source link

Implement user profiles and command line overrides in audit tool #106

Closed jimk-bdrc closed 3 years ago

jimk-bdrc commented 3 years ago

Is your feature request related to a problem? Please describe. Audit tool is used for different purposes. Some projects require different parameters (e.g. Tibetan texts which we expect to be used by the mobile App have a file size limit of around 400K, while Southeast Asian projects have a higher limit, 1600k.

Another use is to specify which errors we'd like to ignore.

The only way to change these is to change the one properties file which all instances read.

I'd like to support a variety of configuration options, so that each run can have different parameters.

Describe the solution you'd like I'd like the same installation of audit tool support reading properties (in order) from:

Describe alternatives you've considered Each user could install their own audit tool instance of their own, but this wouldn't help use cases where different automated scripts run by the same uid might want different parameters.

Additional context At some point, the UI will populate a set of system, user local, and custom parameters. A nice touch would be to make a settings viewer which shows the net effective settings.

jimk-bdrc commented 3 years ago

Spring configs? https://www.youtube.com/watch?v=1Y_xkoysSQ4