-
Notifications
You must be signed in to change notification settings - Fork 198
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
Possible GetCachedRebaseRpmDiff regression #1250
Comments
Fix logic to make sure we check if the refspec is of type `ostree://` even when it's explicitly specified. Also fix `Deploy` in the case where we didn't just `Download` the RPM diff by adding a new @Checksum parameter to the higher-level API. Finally, add a basic test for the `GetCached*RpmDiff` APIs so we have at least *some* coverage. This is also good prep for making sure we don't break anything when we convert those APIs to use the more efficient pkglist metadata. The tests completely ignore the `DownloadRpmDiff` paths for now though. Closes: coreos#1250
Nice, thanks! You call this the "Legacy API". Should we be using something else? |
Yeah, I should've been more specific. Those D-Bus methods themselves aren't legacy, though the underlying internal APIs they use are. This intersects with the new automatic updates features we've been working on (see #247). We should discuss at some point how this could be integrated into Cockpit! Basically, switch to a model where Cockpit can control whether automatic updates are turned on/off and display pending updates. (The difference being that users don't even have to click Anyway, we can wait on this a bit. I think a rework of that UI would definitely be worth it once we also support an auto-update "pending deployment" mode where users simply need to reboot to update! |
Migrated from https://lists.projectatomic.io/projectatomic-archives/atomic-devel/2018-February/msg00037.html.
Hi,
I think we have git some regression in rpm-ostreed on CentOS Atomic in
our Cockpit integration tests:
We found this when updating ou continuous-atomic image:
I would like to make you guys aware of this straight away, in case it is
something interesting for upstream.
Basically, GetCachedRebaseRpmDiff now seems to return the wrong checksum
and version. Maybe this is caused by the way we construct our ostree
test repositories.
Reproducer steps dumped from the bug report:
You can see that GetCachedRebaseRpmDiff returns the checksum of the
current deployment instead of the one for zremote-test1:zremote-branch1.
The text was updated successfully, but these errors were encountered: