osc copypac from project:YaST:Head:Agama package:agama-cli revision:5
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:Agama:Devel/agama-cli?expand=0&rev=1
This commit is contained in:
commit
b0202ff3c6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
7
_constraints
Normal file
7
_constraints
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<constraints>
|
||||||
|
<hardware>
|
||||||
|
<disk>
|
||||||
|
<size unit="G">20</size>
|
||||||
|
</disk>
|
||||||
|
</hardware>
|
||||||
|
</constraints>
|
26
_service
Normal file
26
_service
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="manual" name="obs_scm">
|
||||||
|
<param name="url">https://github.com/openSUSE/agama.git</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">master</param>
|
||||||
|
<param name="subdir">rust</param>
|
||||||
|
<param name="without-version">enable</param>
|
||||||
|
<param name="extract">package/agama-cli.changes</param>
|
||||||
|
</service>
|
||||||
|
<service name="cargo_vendor" mode="manual">
|
||||||
|
<param name="srcdir">agama/rust</param>
|
||||||
|
<param name="compression">zst</param>
|
||||||
|
<param name="update">true</param>
|
||||||
|
</service>
|
||||||
|
<service name="cargo_audit" mode="manual">
|
||||||
|
<param name="srcdir">agama/rust</param>
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="tar">
|
||||||
|
<param name="obsinfo">agama.obsinfo</param>
|
||||||
|
<param name="filename">agama</param>
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="set_version">
|
||||||
|
<param name="basename">agama</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
59
agama-cli.changes
Normal file
59
agama-cli.changes
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 23 11:51:26 UTC 2023 - Martin Vidner <mvidner@suse.com>
|
||||||
|
|
||||||
|
- Version 2.1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 22 12:29:20 UTC 2023 - Martin Vidner <mvidner@suse.com>
|
||||||
|
|
||||||
|
- Version 2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 11 11:00:11 UTC 2023 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
|
||||||
|
|
||||||
|
- Import root authentication settings when reading a Jsonnet file
|
||||||
|
(bsc#1211300, gh#openSUSE/agama#573).
|
||||||
|
- Do not export the SSH public key as an empty string when it is
|
||||||
|
not defined.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 24 14:36:36 UTC 2023 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
|
||||||
|
|
||||||
|
- Version 0.2:
|
||||||
|
* Add validation for software and users settings
|
||||||
|
(gh#yast/agama-cli#48, gh#yast/agama-cli#51).
|
||||||
|
* Better error reporting when the bus is not found
|
||||||
|
(gh#yast/agama-cli#48).
|
||||||
|
* Improve the progress reporting mechanism, although it is still
|
||||||
|
a work in progress (gh#yast/agama-cli#50).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 22 09:39:29 UTC 2023 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
|
||||||
|
|
||||||
|
- Add support for setting root authentication mechanisms
|
||||||
|
(gh#yast/agama-cli#47).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 21 16:06:02 UTC 2023 - Martin Vidner <mvidner@suse.com>
|
||||||
|
|
||||||
|
- Do not fall back to the system D-Bus (gh#yast/agama-cli#45).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 21 13:28:01 UTC 2023 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
|
||||||
|
|
||||||
|
- Use JSON as the default format (gh#yast/agama-cli#46).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 21 08:55:39 UTC 2023 - Josef Reidinger <jreidinger@suse.com>
|
||||||
|
|
||||||
|
- Fix the path of the JSON schema (gh#yast/agama-cli#44).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 16 11:56:42 UTC 2023 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
|
||||||
|
|
||||||
|
- First version of the package:
|
||||||
|
* Querying and setting simple values.
|
||||||
|
* Adding elements to collections
|
||||||
|
* Handling of auto-installation profiles.
|
||||||
|
* Basic error handling
|
||||||
|
- 0.1
|
63
agama-cli.spec
Normal file
63
agama-cli.spec
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
#
|
||||||
|
# spec file for package agama-cli
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
Name: agama-cli
|
||||||
|
# This will be set by osc services, that will run after this.
|
||||||
|
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
|
||||||
|
Source0: agama.tar
|
||||||
|
Source1: vendor.tar.zst
|
||||||
|
# Generated by the cargo_vendor OBS service
|
||||||
|
Source2: cargo_config
|
||||||
|
BuildRequires: cargo-packaging
|
||||||
|
BuildRequires: pkgconfig(openssl)
|
||||||
|
Requires: jsonnet
|
||||||
|
Requires: lshw
|
||||||
|
|
||||||
|
%description
|
||||||
|
Command line program to interact with the agama service.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -a1 -n agama
|
||||||
|
mkdir .cargo
|
||||||
|
cp %{SOURCE2} .cargo/config
|
||||||
|
# Remove exec bits to prevent an issue in fedora shebang checking. Uncomment only if required.
|
||||||
|
# find vendor -type f -name \*.rs -exec chmod -x '{}' \;
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{cargo_build}
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -D -d -m 0755 %{buildroot}%{_bindir}
|
||||||
|
install -m 0755 %{_builddir}/agama/target/release/agama %{buildroot}%{_bindir}/agama
|
||||||
|
install -D -d -m 0755 %{buildroot}%{_datadir}/agama-cli
|
||||||
|
install -m 0644 %{_builddir}/agama/agama-lib/share/profile.schema.json %{buildroot}%{_datadir}/agama-cli
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{cargo_test}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/agama
|
||||||
|
%dir %{_datadir}/agama-cli
|
||||||
|
%{_datadir}/agama-cli/profile.schema.json
|
||||||
|
|
||||||
|
%changelog
|
3
agama.obscpio
Normal file
3
agama.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e1f5a44bbe2842cc99447027e5e30c203e2ae86c53694d426dcd629e2bf9faa8
|
||||||
|
size 166923
|
4
agama.obsinfo
Normal file
4
agama.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: agama
|
||||||
|
version: v2.1~0
|
||||||
|
mtime: 1684843456
|
||||||
|
commit: 0714759d3d29f13d8725f8e76e0bf8bc882f7ad9
|
5
cargo_config
Normal file
5
cargo_config
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[source.crates-io]
|
||||||
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
|
[source.vendored-sources]
|
||||||
|
directory = "vendor"
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d38b53e2db6c8d1320d47065a8f09fb139b63e26c9270d9ecb0f6e0e1afc4318
|
||||||
|
size 34121483
|
Loading…
Reference in New Issue
Block a user