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
9 changes: 6 additions & 3 deletions service/lib/agama/software/callbacks/progress.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ def done_package(error_code, description)
question = Agama::Question.new(
qclass: "software.package_error.install_error",
text: description,
options: [retry_label.to_sym, continue_label.to_sym, abort_label.to_sym],
# FIXME: temporarily removed the "Abort" option until the final failed
# state is handled properly
options: [retry_label.to_sym, continue_label.to_sym],
default_option: retry_label.to_sym,
data: { "package" => current_package }
)
Expand All @@ -101,8 +103,9 @@ def done_package(error_code, description)
case question_client.answer
when retry_label.to_sym
"R"
when abort_label.to_sym
"C"
# FIXME: temporarily disabled
# when abort_label.to_sym
# "C"
when continue_label.to_sym
"I"
else
Expand Down
7 changes: 7 additions & 0 deletions service/package/rubygem-agama-yast.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Feb 24 12:03:58 UTC 2025 - Ladislav Slezák <lslezak@suse.com>

- Temporarily hide the abort installation option in the package
installation failure question until the failed state is properly
handled. (related to gh#agama-project/agama#2049)

-------------------------------------------------------------------
Mon Feb 24 07:41:17 UTC 2025 - Ancor Gonzalez Sosa <ancor@suse.com>

Expand Down