mar-file-system / mad

MarFS Automatic Deployment
Other
0 stars 0 forks source link

Create config file from python config obects #6

Closed shanegoff closed 4 years ago

shanegoff commented 4 years ago

Currently we can read in a config file and use that to create python like objects to interact with the configuration data. But we can not maintain changes to the config because there is no process for converting the python objects back to xml. That process needs to be created so it will be possible to make changes to the config in python then write the changes back to the file.

shanegoff commented 4 years ago

I think the bulk of this work is complete. There need to be unit tests, and I need to actually verify changing a value in python will give you the right output in XML

shanegoff commented 4 years ago

We likely need to check for any None values in the config and not allow that. Every field must have a value to avoid breaking the conversion back to xml.

shanegoff commented 4 years ago

Changing values works. On to unit tests