ajvincent / motherhen

Mozilla Public License 2.0
44 stars 2 forks source link

Garbage collection command: unreachable configuration branches, dead sources, etc. #32

Open ajvincent opened 1 year ago

ajvincent commented 1 year ago

One disadvantage to the more complex JSON configuration is having stale, unreachable data and files in the configuration. Motherhen needs to offer a gc command, with four modes of operation from safest to most risky:

  1. Analysis only, no action
  2. Cleaning the configuration
    • this might cause a disconnect from the integration repository, so we couldn't clean it later
  3. Removing files from the Motherhen repository
  4. Removing files from the integration Mozilla repository
ajvincent commented 1 year ago

I'm removing this from the second beta milestone. This is certainly nice to have, but it is getting a little complicated and isn't necessary for a product with no real customers yet.