-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update-dependencies-20231114
- Loading branch information
Showing
90 changed files
with
5,205 additions
and
1,105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<node name="/org/opensuse/Agama/Software1/Product"> | ||
<interface name="org.freedesktop.DBus.Introspectable"> | ||
<method name="Introspect"> | ||
<arg name="xml_data" direction="out" type="s"/> | ||
</method> | ||
</interface> | ||
<interface name="org.freedesktop.DBus.Properties"> | ||
<method name="Get"> | ||
<arg name="interface_name" direction="in" type="s"/> | ||
<arg name="property_name" direction="in" type="s"/> | ||
<arg name="value" direction="out" type="v"/> | ||
</method> | ||
<method name="Set"> | ||
<arg name="interface_name" direction="in" type="s"/> | ||
<arg name="property_name" direction="in" type="s"/> | ||
<arg name="val" direction="in" type="v"/> | ||
</method> | ||
<method name="GetAll"> | ||
<arg name="interface_name" direction="in" type="s"/> | ||
<arg name="value" direction="out" type="a{sv}"/> | ||
</method> | ||
<signal name="PropertiesChanged"> | ||
<arg name="interface" type="s"/> | ||
<arg name="changed_properties" type="a{sv}"/> | ||
<arg name="invalidated_properties" type="as"/> | ||
</signal> | ||
</interface> | ||
<interface name="org.opensuse.Agama.Software1.Product"> | ||
<method name="SelectProduct"> | ||
<arg name="id" direction="in" type="s"/> | ||
<arg name="result" direction="out" type="(us)"/> | ||
</method> | ||
<property type="a(ssa{sv})" name="AvailableProducts" access="read"/> | ||
<property type="s" name="SelectedProduct" access="read"/> | ||
</interface> | ||
<interface name="org.opensuse.Agama1.Issues"> | ||
<property type="a(ssuu)" name="All" access="read"/> | ||
</interface> | ||
<interface name="org.opensuse.Agama1.Registration"> | ||
<method name="Register"> | ||
<arg name="reg_code" direction="in" type="s"/> | ||
<arg name="options" direction="in" type="a{sv}"/> | ||
<arg name="result" direction="out" type="(us)"/> | ||
</method> | ||
<method name="Deregister"> | ||
<arg name="result" direction="out" type="(us)"/> | ||
</method> | ||
<property type="s" name="RegCode" access="read"/> | ||
<property type="s" name="Email" access="read"/> | ||
<property type="u" name="Requirement" access="read"/> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.opensuse.Agama.Software1.Product.bus.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<node name="/org/opensuse/Agama/Software1/Product"> | ||
<interface name="org.opensuse.Agama.Software1.Product"> | ||
<!-- | ||
Selects a product. | ||
--> | ||
<method name="SelectProduct"> | ||
<!-- | ||
Product ID. See #AvailableProducts. | ||
--> | ||
<arg name="id" direction="in" type="s"/> | ||
<!-- | ||
Result code and description. | ||
Possible result codes are: | ||
# 0: successfully selected | ||
# 1: given product is already selected | ||
# 2: current product must be deregistered before selecting a new product | ||
# 3: given product is unknown | ||
--> | ||
<arg name="result" direction="out" type="(us)"/> | ||
</method> | ||
<!-- | ||
Available products for installation. | ||
For each product, it returns: | ||
s (product ID) | ||
s (product name) | ||
a{sv} | ||
description s | ||
--> | ||
<property type="a(ssa{sv})" name="AvailableProducts" access="read"/> | ||
<!-- | ||
ID of the currently selected product. | ||
--> | ||
<property type="s" name="SelectedProduct" access="read"/> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<node name="/org/opensuse/Agama/Software1"> | ||
<node name="Product"/> | ||
<node name="Proposal"/> | ||
|
||
<interface name="org.opensuse.Agama.Software1"> | ||
<method name="ListPatterns"> | ||
<arg name="Filtered" direction="in" type="b"/> | ||
<arg name="Result" direction="out" type="a{s(sssss)}"/> | ||
</method> | ||
<method name="AddPattern"> | ||
<arg name="id" direction="in" type="s"/> | ||
</method> | ||
<method name="RemovePattern"> | ||
<arg name="id" direction="in" type="s"/> | ||
</method> | ||
<method name="SetUserPatterns"> | ||
<arg name="ids" direction="in" type="as"/> | ||
</method> | ||
<method name="ProvisionsSelected"> | ||
<arg name="Provisions" direction="in" type="as"/> | ||
<arg name="Result" direction="out" type="ab"/> | ||
</method> | ||
<method name="IsPackageInstalled"> | ||
<arg name="Name" direction="in" type="s"/> | ||
<arg name="Result" direction="out" type="b"/> | ||
</method> | ||
<method name="UsedDiskSpace"> | ||
<arg name="SpaceSize" direction="out" type="s"/> | ||
</method> | ||
<method name="Probe"> | ||
</method> | ||
<method name="Propose"> | ||
</method> | ||
<method name="Install"> | ||
</method> | ||
<method name="Finish"> | ||
</method> | ||
<property type="a{sy}" name="SelectedPatterns" access="read"/> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<node name="/org/opensuse/Agama/Software1/Product"> | ||
<!-- | ||
Interface for registering a product. | ||
--> | ||
<interface name="org.opensuse.Agama1.Registration"> | ||
<!-- | ||
Registers the currently selected product. | ||
--> | ||
<method name="Register"> | ||
<!-- | ||
Registration code. | ||
--> | ||
<arg name="reg_code" direction="in" type="s"/> | ||
<!-- | ||
Email s | ||
--> | ||
<arg name="options" direction="in" type="a{sv}"/> | ||
<!-- | ||
Result code and description. | ||
Possible result codes are: | ||
0: success | ||
1: missing product | ||
2: already registered | ||
3: registration not required | ||
4: network error | ||
5: timeout error | ||
6: api error | ||
7: missing credentials | ||
8: incorrect credentials | ||
8: invalid certificate | ||
10: internal error (e.g., parsing json data) | ||
--> | ||
<arg name="result" direction="out" type="(us)"/> | ||
</method> | ||
<!-- | ||
Deregisters the currently selected product. | ||
--> | ||
<method name="Deregister"> | ||
<!-- | ||
Result code and description. | ||
Possible result codes are: | ||
0: success | ||
1: missing product | ||
2: not registered yet | ||
3: network error | ||
4: timeout error | ||
5: api error | ||
6: missing credentials | ||
7: incorrect credentials | ||
8: invalid certificate | ||
9: internal error (e.g., parsing json data) | ||
--> | ||
<arg name="result" direction="out" type="(us)"/> | ||
</method> | ||
<!-- | ||
Registration code. Empty if the current product is not registered yet. | ||
--> | ||
<property type="s" name="RegCode" access="read"/> | ||
<!-- | ||
Email used for the registration. Empty if the current product is not registered yet. | ||
--> | ||
<property type="s" name="Email" access="read"/> | ||
<!-- | ||
Indicates the registration requirement of the currently selected product. | ||
Possible values: | ||
0: registration is not required. | ||
1: registration is optional. | ||
2: registration is mandatory. | ||
--> | ||
<property type="u" name="Requirement" access="read"/> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.