-
Notifications
You must be signed in to change notification settings - Fork 279
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
Support for job cancellation #2136
Comments
What are you trying to achieve, the problem is in the middle of a transaction, the risk is to stop in an unstable state. |
PackageKit has the ability to cancel jobs and I want our backend to support it as much as it can. At least we should be able to cancel during downloading.
|
ok I see and pkg tries to remain in a stable state as possible. I'll see what I can do |
Another case - cancelling during multiple packages removal after receiving |
This implements cancelling fetch_libcurl downloads and DB incremental updating. A part of freebsd#2136 Sponsored by: Serenity Cybersecurity, LLC
This implements cancelling fetch_libcurl downloads and DB incremental updating. A part of #2136 Sponsored by: Serenity Cybersecurity, LLC
Duplicate of a 2021 issue? |
I think this can be closed now. |
After
libpkg
enterspkg_jobs_solve()
/pkg_jobs_apply()
there is no way to signal it to stop. It'd be great to be able to stop the process while reacting onPKG_EVENT_PROGRESS_START
/PKG_EVENT_PROGRESS_TICK
.The text was updated successfully, but these errors were encountered: