diff --git a/_service b/_service index 11009c6..d570edf 100644 --- a/_service +++ b/_service @@ -1,13 +1,14 @@ https://github.com/openSUSE/agama.git - @PARENT_TAG@+@TAG_OFFSET@ + @PARENT_TAG@ v(.*) git - v2.1 + v4 rust enable package/agama-cli.changes + package/agama-cli.spec agama/rust diff --git a/agama-cli.changes b/agama-cli.changes index 2719a56..e1f660c 100644 --- a/agama-cli.changes +++ b/agama-cli.changes @@ -1,3 +1,139 @@ +------------------------------------------------------------------- +Tue Sep 26 15:57:14 UTC 2023 - Imobach Gonzalez Sosa + +- Version 4 + +------------------------------------------------------------------- +Tue Sep 26 12:05:52 UTC 2023 - Imobach Gonzalez Sosa + +- Wait until the manager is ready before probing + (gh#openSUSE/agama#771). + +------------------------------------------------------------------- +Mon Sep 25 11:32:53 UTC 2023 - Imobach Gonzalez Sosa + +- Add support for IPv6 network settings (gh#openSUSE/agama#761). + +------------------------------------------------------------------- +Mon Sep 25 10:46:53 UTC 2023 - Michal Filka + +- CLI: added (sub)commands for handling logs. "store" subcommand is + similar to what old save_y2logs did. (gh#openSUSE/agama#757) + +------------------------------------------------------------------- +Tue Sep 19 11:16:16 UTC 2023 - José Iván López González + +- Adapt to new storage D-Bus API and explicitly call to probe after + selecting a new product (gh#openSUSE/agama#748). + +------------------------------------------------------------------- +Thu Sep 14 19:44:57 UTC 2023 - Josef Reidinger + +- Improve questions CLI help text (gh#openSUSE/agama#754) + +------------------------------------------------------------------- +Thu Sep 14 10:10:37 UTC 2023 - Imobach Gonzalez Sosa + +- Use a single D-Bus service to connect to the manager and the + users API (gh#openSUSE/agama#753, follow-up of + gh#openSUSE/agama#729). + +------------------------------------------------------------------- +Wed Sep 13 09:27:22 UTC 2023 - Knut Anderssen + +- Allow to bind a connection to an specific interface through its + name or through a set of match settings (gh#opensSUSE/agama#723). + +------------------------------------------------------------------- +Thu Aug 31 10:30:28 UTC 2023 - Imobach Gonzalez Sosa + +- Use a single D-Bus service to expose locale, network and + questions settings (gh#openSUSE/agama#729). + +------------------------------------------------------------------- +Wed Aug 30 12:57:59 UTC 2023 - Josef Reidinger + +- Locale service: add value for UI locale (gh#openSUSE/agama#725) + +------------------------------------------------------------------- +Thu Aug 3 08:34:14 UTC 2023 - Imobach Gonzalez Sosa + +- Move the settings functionality to a separate package, + agama-settings (gh#openSUSE/agama#666). +- Make the "Settings" derive macro reusable from other crates. +- Extend the "Settings" derive macro to generate code for + InstallSettings and NetworkSettings. +- Improve error reporting when working with the "config" + subcommand. + +------------------------------------------------------------------- +Wed Aug 2 10:03:18 UTC 2023 - Imobach Gonzalez Sosa + +- Version 3 + +------------------------------------------------------------------- +Wed Jul 26 11:08:09 UTC 2023 - Josef Reidinger + +- CLI: add to "questions" command "answers" subcommand to set + file with predefined answers +- dbus-server: add "AddAnswersFile" method to Questions service + (gh#openSUSE/agama#669) + +------------------------------------------------------------------- +Tue Jul 18 13:32:04 UTC 2023 - Josef Reidinger + +- Add to CLI "questions" subcommand with mode option to set + interactive and non-interactive mode (gh#openSUSE/agama#668) + +------------------------------------------------------------------- +Mon Jul 17 13:36:56 UTC 2023 - Imobach Gonzalez Sosa + +- Fix the logic to decide which network connections to write + due to a bug introduced in gh#openSUSE/agama#662 + (gh#openSUSE/agama#667). + +------------------------------------------------------------------- +Mon Jul 17 09:16:38 UTC 2023 - Josef Reidinger + +- Adapt to new questions D-Bus API to allow automatic answering of + questions when requested (gh#openSUSE/agama#637, reverts + gh#openSUSE/agama#649 as now default option is mandatory) + +------------------------------------------------------------------- +Thu Jul 13 10:22:36 UTC 2023 - Imobach Gonzalez Sosa + +- Improve error reporting in the command-line interface + (gh#openSUSE/agama#659 and gh#openSUSE/agama#660). + +------------------------------------------------------------------- +Thu Jul 13 08:56:40 UTC 2023 - José Iván López González + +- Read the storage candidate devices and show them with + "agama config show" (gh#openSUSE/agama#658). + +------------------------------------------------------------------- +Fri Jul 7 14:12:03 UTC 2023 - Imobach Gonzalez Sosa + +- Improve the progress reporting (gh#openSUSE/agama#653). + +------------------------------------------------------------------- +Thu Jul 6 09:13:47 UTC 2023 - Imobach Gonzalez Sosa + +- Improve the waiting logic and implement a retry mechanism for the + "agama install" command (bsc#1213047). + +------------------------------------------------------------------- +Wed Jul 5 11:11:20 UTC 2023 - Imobach Gonzalez Sosa + +- Fix the questions service to handle questions with no default + option (gh#openSUSE/agama#649). + +------------------------------------------------------------------- +Thu Jun 1 08:14:14 UTC 2023 - Imobach Gonzalez Sosa + +- Add a localization D-Bus service (gh#openSUSE/agama#533). +- Add a network D-Bus service (gh#openSUSE/agama#571). + ------------------------------------------------------------------- Tue May 23 11:51:26 UTC 2023 - Martin Vidner diff --git a/agama-cli.spec b/agama-cli.spec index 334787a..7b0ca38 100644 --- a/agama-cli.spec +++ b/agama-cli.spec @@ -1,7 +1,7 @@ # # spec file for package agama-cli # -# Copyright (c) 2023 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,30 +12,52 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # + Name: agama-cli # This will be set by osc services, that will run after this. -Version: 2.1+0 +Version: 0 Release: 0 Summary: Agama command line interface # If you know the license, put it's SPDX string here. # Alternately, you can use cargo lock2rpmprovides to help generate this. License: GPL-2.0-only -Url: https://github.com/yast/agama-cli +URL: https://github.com/opensuse/agama Source0: agama.tar Source1: vendor.tar.zst # Generated by the cargo_vendor OBS service Source2: cargo_config BuildRequires: cargo-packaging BuildRequires: pkgconfig(openssl) +# used in tests for dbus service +BuildRequires: python-langtable-data +BuildRequires: dbus-1-common +# required by agama-dbus-server integration tests +BuildRequires: dbus-1-daemon Requires: jsonnet Requires: lshw +# required by "agama logs store" +Requires: bzip2 +Requires: tar %description Command line program to interact with the agama service. +%package -n agama-dbus-server +# This will be set by osc services, that will run after this. +Version: 0 +Release: 0 +Summary: Agama Rust D-Bus service +License: GPL-2.0-only +URL: https://github.com/opensuse/agama +Requires: dbus-1-common +Requires: python-langtable-data + +%description -n agama-dbus-server +DBus service for agama project. It provides so far localization service. + %prep %autosetup -a1 -n agama mkdir .cargo @@ -49,8 +71,11 @@ cp %{SOURCE2} .cargo/config %install install -D -d -m 0755 %{buildroot}%{_bindir} install -m 0755 %{_builddir}/agama/target/release/agama %{buildroot}%{_bindir}/agama +install -m 0755 %{_builddir}/agama/target/release/agama-dbus-server %{buildroot}%{_bindir}/agama-dbus-server install -D -d -m 0755 %{buildroot}%{_datadir}/agama-cli install -m 0644 %{_builddir}/agama/agama-lib/share/profile.schema.json %{buildroot}%{_datadir}/agama-cli +install --directory %{buildroot}%{_datadir}/dbus-1/agama-services +install -m 0644 --target-directory=%{buildroot}%{_datadir}/dbus-1/agama-services %{_builddir}/agama/share/*.service %check %{cargo_test} @@ -60,4 +85,8 @@ install -m 0644 %{_builddir}/agama/agama-lib/share/profile.schema.json %{buildro %dir %{_datadir}/agama-cli %{_datadir}/agama-cli/profile.schema.json +%files -n agama-dbus-server +%{_bindir}/agama-dbus-server +%{_datadir}/dbus-1/agama-services + %changelog diff --git a/agama.obscpio b/agama.obscpio index 6168edc..5a1d053 100644 --- a/agama.obscpio +++ b/agama.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e1f5a44bbe2842cc99447027e5e30c203e2ae86c53694d426dcd629e2bf9faa8 -size 166923 +oid sha256:035014ef7b4c6e263cae59db8f6a0b6d9b7c869b53335f1bc5fc522dd08ca0b0 +size 440331 diff --git a/agama.obsinfo b/agama.obsinfo index 3a46ccd..47a9508 100644 --- a/agama.obsinfo +++ b/agama.obsinfo @@ -1,4 +1,4 @@ name: agama -version: 2.1+0 -mtime: 1684843456 -commit: 0714759d3d29f13d8725f8e76e0bf8bc882f7ad9 +version: 4 +mtime: 1695763020 +commit: 1bbd9c27435cc595d8eff9842a1f829675617a5e diff --git a/vendor.tar.zst b/vendor.tar.zst index e858539..9ce644d 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d1e9bae20ffc7c6011456e8d9f228dfd8dfb33c477213a29c78ced41c4ef29d9 -size 34152745 +oid sha256:eae1ab90556deb4222e5cf909078603d986e2ed408a411954bcc5bf24988974c +size 26731297