-
Notifications
You must be signed in to change notification settings - Fork 16
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
Provide a way to check for upgrades #48
Comments
Would love this. Any idea on the implementation yet? |
I thought about something really simple, in general download URLs seem to be one or another format:
So if we analyze the structure, do listing on appropriate level and parse back versions, we can provide something readable. It won't be 100%, but probably 99% |
Yeah I think that is acceptable. |
Only for GitHub tags and releases for now. Refs siderolabs#48. Signed-off-by: Alexey Palazhchenko <[email protected]>
Only for GitHub tags and releases for now. Refs siderolabs#48. Signed-off-by: Alexey Palazhchenko <[email protected]>
Only for GitHub tags and releases for now. Refs siderolabs#48. Signed-off-by: Alexey Palazhchenko <[email protected]>
One thing that is required for proper implementation is the ability to load all packages with all steps independent of templating and everything else. (Kinda like Go linters should load Go code ignoring build tags.) For example, u-boot update is not reported on my machine due to https://github.com/talos-systems/pkgs/blob/d779204c0d9e9c8e90f32b1f68eb9ff4b030b83c/u-boot/pkg.yaml#L16 |
I wonder if we should do templating still, but provide a set of values to test the upgrades with, and merge/deduplicate the results. E.g. |
Only for GitHub tags and releases for now. Refs #48. Signed-off-by: Alexey Palazhchenko <[email protected]>
Refs siderolabs#48. Signed-off-by: Alexey Palazhchenko <[email protected]>
Refs #48. Signed-off-by: Alexey Palazhchenko <[email protected]>
Refs siderolabs#48. Signed-off-by: Alexey Palazhchenko <[email protected]>
Refs #48. Signed-off-by: Alexey Palazhchenko <[email protected]>
Be "smart" here, potentially handling different layouts of download locations (e.g. http file server, GitHub releases, etc.)
Run something like
bldr check-versions
and receive output similar to:Small issues:
The text was updated successfully, but these errors were encountered: