-
Notifications
You must be signed in to change notification settings - Fork 24
Add frozen metadata mechanisms #1309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Adds an optional second source directory. This is aimed for frozen plugins which are not regularly updated.
There is a bigger issue that we need to discuss now, IMHO. |
This is a great start. Thank you Alex. Perhaps a script to upload metadata and tarball to an opencpn.org directory and to change the metadata path accordingly? How to manage access to this action? Maybe specific users authenticated somehow? |
My name is Leamas. Alec Leamas The long term storage is indeed an issue. In situations we don't trust Cloudsmith to keep the storage available, the only solution is probably that we pay for it. Going this path means usinhg the repo.opencpn.org VM which is trivial. The storage should not be that much, and as long usage of old versions is limited the IO should be reasonable as well. But then again I think we should focus on a better way to handle frozen metadata here and now. This is about making the final Bullseye and upcoming Trixie builds easier to handle for plugin maintainers. So basic question is IMHO if the proposed path here is OK. |
hm... thinking about it, I can see a workflow for freezing plugins:
But then again, this is if Cloudsmith long term storage actually is a problem... |
Sorry Alec, sometimes I forget. Regarding retention policies in Cloudsmith, prod is set for long term, but we should not rely on it not changing for opensource, I think. There will probably be some limits eventually. PS: I think your solution for moving frozen PI is good. I like the simplicity. |
Sorry Alec, sometimes I forget. Regarding retention policies in Cloudsmith, prod is set for long term, but we should not rely on it not changing for opensource, I think. There will probably be some limits eventually. For users of older OS, we will need some brief notes in wiki, for how to access older plugins via the online portal, selecting for OS etc. Correct? |
Maintaining frozen metadata is a major pain for plugin devs. The basic problem is to track what is frozen or not.
This PR adds a new. source directory frozen-metadata. It is aimed for plugins for old distros which we don't build anymore but still keeps around. The basic change is to the ocpn-metadata scripts whichnow is able to use sources from both directories.
For a plugin dev the act of freezing a plugin is
The PR is ready, but we might need to reflect on if this is the right solution