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
8 changes: 4 additions & 4 deletions service/lib/agama/dbus/software/manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def issues
# array of repository properties: pkg-bindings ID, alias, name, URL, product dir, enabled
# and loaded flag
dbus_method :ListRepositories, "out Result:a(issssbb)" do
backend.repositories.repositories.map do |repo|
[
[
backend.repositories.repositories.map do |repo|
[
repo.repo_id,
repo.repo_alias,
Expand All @@ -81,8 +81,8 @@ def issues
repo.enabled?,
!!repo.loaded?
]
]
end
end
]
end

# value of result hash is category, description, icon, summary and order
Expand Down
6 changes: 6 additions & 0 deletions service/package/rubygem-agama-yast.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 21 19:11:04 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Fix the ListRepositories D-Bus method to return the proper value
instead of crashing the service (gh#agama-project/agama#1930).

-------------------------------------------------------------------
Mon Jan 20 16:44:45 UTC 2025 - Ladislav Slezák <lslezak@suse.com>

Expand Down