BallAerospace / COSMOS

Ball Aerospace COSMOS
https://ballaerospace.github.io/cosmos-website/
Other
360 stars 129 forks source link

Display targets_modified information #1728

Closed jmthomas closed 2 years ago

jmthomas commented 2 years ago

If you upload a new plugin and you have previously modified anything COSMOS will keep the modified information in Minio at config/DEFAULT/targets_modified. This data is preferred over the new plugin which can lead to surprises when you try to run scripts. We need a better way to display to the user that there is data in targets_modified and whether they want to blow it away on plugin load (at a minimum).

mark-toma-at-ball commented 2 years ago

Hey @jmthomas, glad I found this issue. I've been confused as to why data resources included in my plugin seemed stale after a plugin upgrade and/or plugin delete/install. Do you have any tips and tricks to nuke targets_modified during plugin upgrade as a workaround to use during script development?

Edit: I see that i can go to localhost:2900/minio/config/DEFAULT/ and use the GUI to delete targets_modified with a couple clicks. This appears to do what I need.

mark-toma-at-ball commented 2 years ago

Reference: https://github.com/OpenC3/openc3/pull/42

jmthomas commented 2 years ago

Fixed in [OpenC3 v5.0.7)[https://github.com/OpenC3/openc3/releases/tag/v5.0.7]