Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions rust/agama-manager/src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,16 +298,6 @@ impl SetConfigAction {

match &product {
Some(product) => {
self.progress
.call(progress::message::Next::new(Scope::Manager))
.await?;
self.software
.call(software::message::SetConfig::new(
Arc::clone(product),
config.software.clone(),
))
.await?;

self.progress
.call(progress::message::Next::new(Scope::Manager))
.await?;
Expand All @@ -329,6 +319,16 @@ impl SetConfigAction {
config.bootloader.clone(),
))
.await?;

self.progress
.call(progress::message::Next::new(Scope::Manager))
.await?;
self.software
.call(software::message::SetConfig::new(
Arc::clone(product),
config.software.clone(),
))
.await?;
}

None => {
Expand Down
7 changes: 7 additions & 0 deletions rust/agama-software/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,14 @@ impl MessageHandler<message::SetResolvables> for Service {
async fn handle(&mut self, message: message::SetResolvables) -> Result<(), Error> {
self.selection.set(&message.id, message.resolvables);
if self.product.is_some() {
// calculate the wanted state
self.calculate_wanted_state().await?;

// and then update the proposal (in a separate task).
// FIXME: it is perhaps too much, as it only needs to run the solver.
// However, given that ZyppServer only runs one message at a time, the requests
// will be queued, so it should be a safe operation.
self.update_proposal().await?;
}
Ok(())
}
Expand Down
5 changes: 5 additions & 0 deletions rust/package/agama.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 13 12:22:07 UTC 2026 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Update the software proposal after changing the resolvables list (bsc#1259533).

-------------------------------------------------------------------
Fri Mar 13 10:54:49 UTC 2026 - Josef Reidinger <jreidinger@suse.com>

Expand Down
Loading