From e5897659396b53bb3a71ebc9c21e92bd4cdaaf37037d412de6acce19855f4d9e Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Wed, 3 Jul 2024 19:20:17 +0000 Subject: [PATCH 1/2] Accepting request 1185221 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible update to 24.6.0 OBS-URL: https://build.opensuse.org/request/show/1185221 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible-navigator?expand=0&rev=11 --- .gitattributes | 23 ++++++ .gitignore | 1 + _service | 20 +++++ _servicedata | 4 + ansible-navigator-24.6.0.obscpio | 3 + ansible-navigator.changes | 127 +++++++++++++++++++++++++++++++ ansible-navigator.log | 5 ++ ansible-navigator.obsinfo | 4 + ansible-navigator.spec | 118 ++++++++++++++++++++++++++++ 9 files changed, 305 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 ansible-navigator-24.6.0.obscpio create mode 100644 ansible-navigator.changes create mode 100644 ansible-navigator.log create mode 100644 ansible-navigator.obsinfo create mode 100644 ansible-navigator.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..9c70a75 --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + https://github.com/ansible/ansible-navigator + git + v24.6.0 + @PARENT_TAG@ + enable + v(.*) + yes + + + + + yes + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..e63e19b --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/ansible/ansible-navigator + 084e6e8838e3594f33461060981c46b34a682833 \ No newline at end of file diff --git a/ansible-navigator-24.6.0.obscpio b/ansible-navigator-24.6.0.obscpio new file mode 100644 index 0000000..c33add4 --- /dev/null +++ b/ansible-navigator-24.6.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a357dc2d5c3d0f1d3c937fcb84c22e9a14e91fdb68ea585f027e619e4d17e08b +size 6084621 diff --git a/ansible-navigator.changes b/ansible-navigator.changes new file mode 100644 index 0000000..2ba65bb --- /dev/null +++ b/ansible-navigator.changes @@ -0,0 +1,127 @@ +------------------------------------------------------------------- +Wed Jul 03 19:10:08 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 24.6.0: + * Fix the documentation for securely passing the vault password + (#1799) + +------------------------------------------------------------------- +Tue Apr 30 19:37:22 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 24.3.2: + * Fix python version in release workflow (#1748) + +------------------------------------------------------------------- +Tue Apr 30 19:31:54 UTC 2024 - Johannes Kastl + +- Update to version 24.3.1: + * Bump the dependencies group across 1 directory with 18 updates + (#1743) + * Update GHA repo ref (#1745) + * Update the version of collection doc cache (#1739) + * Fix catalog collections script to display all available modules + in a collection (#1738) + * [pre-commit.ci] pre-commit autoupdate (#1742) + * [pre-commit.ci] pre-commit autoupdate (#1737) + * Bump the dependencies group in /.config with 7 updates (#1735) + +------------------------------------------------------------------- +Wed Apr 10 05:36:59 UTC 2024 - Johannes Kastl + +- update to 24.3.0: + * Minor Changes + - Update creator-ee to 24.2.0 (#1683) @shatakshiiii + - Drop support to Python 3.9 (#1670) @cristianonicolai + * Bugfixes + - Test suite: Support for libtmux 0.30.1+ (#1687) @tony + - drop setuptools_scm_git_archive (#1716) @jose1711 + - Fix conditional import compatibility (#1666) @NilashishC + +------------------------------------------------------------------- +Sat Feb 24 17:09:01 UTC 2024 - Johannes Kastl + +- update to 24.2.0: + * Minor Changes + - Update creator-ee to 0.22.0 (#1656) @shatakshiiii + * Bugfixes + - Update cmdline description (#1657) @shatakshiiii +- update to 3.6.0: + * Minor Changes + - Update creator-ee to 0.21.0 (#1650) @shatakshiiii + * Bugfixes + - Address DTZ rule (#1626) @shatakshiiii +- update to 3.5.0: + * Minor Changes + - Update creator-ee to 0.20.0 (#1567) @shatakshiiii + * Bugfixes + - Expand env variable mentioned in the pull arguments (--pa) + (#1590) @shatakshiiii + - Add tests for lint, without an EE (#1574) @shatakshiiii + - Include documentation URL in JSON Schema (#1596) @ssbarnea +- update to 3.4.2: + * Bugfixes + - Change the python_exec path to /usr/bin/python3 (#1587) + @shatakshiiii + - Fix image introspect for PythonPackages (#1585) @shatakshiiii +- update to 3.4.1: + * Bugfixes + - Add EE Getting started references to docs (#1576) + @Andersson007 + - Remove the introspect script from image_manager directory + (#1561) @shatakshiiii + - Fix image introspect for long python metadata (#1555) + @shatakshiiii + - Fix logging dependencies (#1554) @shatakshiiii +- update to 3.4.0: + * Minor Changes + - Update creator-ee version to 0.18.0 (#1542) @shatakshiiii + * Bugfixes + - Fix collections in stdout mode (#1526) @shatakshiiii +- update to 3.3.1: + * Bugfixes + - Set user to root with podman (#1539) @cidrblock + - Fix building of dynamic configuration section (#1538) + @ssbarnea + - Display sidecar plugin in the collections list (#1531) + @shatakshiiii +- update to 3.3.0: + * Minor Changes + - Update ansible-builder version (#1530) @shatakshiiii + - Test sidecar filter plugin doc (#1522) @shatakshiiii + * Bugfixes + - Add support for all plugin_types (#1515) @shatakshiiii + - Include only major version inside schema generation (#1513) + @shatakshiiii + +------------------------------------------------------------------- +Sat Feb 24 15:11:53 UTC 2024 - Johannes Kastl + +- switch to Github tarball created by OBS service + +------------------------------------------------------------------- +Wed May 31 07:26:55 UTC 2023 - Johannes Kastl + +- fix wrong tarball by redownloading + +------------------------------------------------------------------- +Tue May 30 14:07:14 UTC 2023 - Johannes Kastl + +- fix version reporting and do not use glob for file list + +------------------------------------------------------------------- +Mon May 15 18:35:34 UTC 2023 - Johannes Kastl + +- modify %if-condition to allow building for python3.10 or + python3.11 on SLES15 + +------------------------------------------------------------------- +Mon May 8 04:52:50 UTC 2023 - Johannes Kastl + +- change python version on Leap15/SLES15 to python3.11 to use the + new stack supported by SUSE + +------------------------------------------------------------------- +Mon May 1 11:57:33 UTC 2023 - Johannes Kastl + +- new package ansible-navigator: A text-based user interface (TUI) + for Ansible diff --git a/ansible-navigator.log b/ansible-navigator.log new file mode 100644 index 0000000..e786111 --- /dev/null +++ b/ansible-navigator.log @@ -0,0 +1,5 @@ +2024-04-30T19:56:20.254350+00:00 WARNING 'ansible_navigator.image_manager.puller._log_message' Image inspection failed, image assumed to be corrupted or missing +2024-04-30T19:56:20.254667+00:00 WARNING 'ansible_navigator.image_manager.puller._log_message' stdout: [] + +2024-04-30T19:56:20.254776+00:00 WARNING 'ansible_navigator.image_manager.puller._log_message' stderr: Error: ghcr.io/ansible/creator-ee:v24.2.0: image not known + diff --git a/ansible-navigator.obsinfo b/ansible-navigator.obsinfo new file mode 100644 index 0000000..8bd2cc4 --- /dev/null +++ b/ansible-navigator.obsinfo @@ -0,0 +1,4 @@ +name: ansible-navigator +version: 24.6.0 +mtime: 1719336620 +commit: 084e6e8838e3594f33461060981c46b34a682833 diff --git a/ansible-navigator.spec b/ansible-navigator.spec new file mode 100644 index 0000000..15f4973 --- /dev/null +++ b/ansible-navigator.spec @@ -0,0 +1,118 @@ +# +# spec file for package ansible-navigator +# +# Copyright (c) 2024 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +%if 0%{?suse_version} < 1550 +# Leap15, SLES15 +%if %pythons == "python310" +%define ansible_python python310 +%define ansible_python_executable python3.10 +%define ansible_python_sitelib %python310_sitelib +%endif +%if %pythons == "python311" +%define ansible_python python311 +%define ansible_python_executable python3.11 +%define ansible_python_sitelib %python311_sitelib +%endif +%else +# Tumbleweed +%define pythons python3 +%define ansible_python python3 +%define ansible_python_executable python3 +%define ansible_python_sitelib %python3_sitelib +%endif + +Name: ansible-navigator +Version: 24.6.0 +Release: 0 +Summary: A text-based user interface (TUI) for Ansible +License: Apache-2.0 +URL: https://github.com/ansible/ansible-navigator +Source: ansible-navigator-%{version}.tar.gz +BuildArch: noarch +BuildRequires: %{ansible_python}-base >= 3.10 +BuildRequires: %{ansible_python}-pip +BuildRequires: %{ansible_python}-setuptools +BuildRequires: %{ansible_python}-setuptools_scm +BuildRequires: %{ansible_python}-wheel +BuildRequires: python-rpm-macros +# Use Requires also as BuildRequires +# to make sure we only build, if everything needed is present +# https://github.com/ansible/ansible-navigator/blob/main/.config/requirements.in +BuildRequires: %{ansible_python}-Jinja2 +BuildRequires: %{ansible_python}-PyYAML +BuildRequires: %{ansible_python}-jsonschema +BuildRequires: %{ansible_python}-onigurumacffi >= 1.1.0 +BuildRequires: %{ansible_python}-pytzdata +BuildRequires: %{ansible_python}-requirements-parser +BuildRequires: ansible-builder >= 3.0.0 +BuildRequires: ansible-core >= 2.14.3 +BuildRequires: ansible-lint >= 6.19.0 +BuildRequires: ansible-runner >= 2.3.2 +# SECTION test requirements +# https://github.com/ansible/ansible-navigator/blob/main/test/requirements.txt +BuildRequires: %{ansible_python}-pytest +BuildRequires: %{ansible_python}-libtmux +BuildRequires: tmux +# /SECTION +BuildRequires: git-core +BuildRequires: fdupes +# https://github.com/ansible/ansible-navigator/blob/main/.config/requirements.in +Requires: %{ansible_python}-Jinja2 +Requires: %{ansible_python}-PyYAML +Requires: %{ansible_python}-curses +Requires: %{ansible_python}-jsonschema +Requires: %{ansible_python}-onigurumacffi >= 1.1.0 +Requires: %{ansible_python}-pytzdata +Requires: %{ansible_python}-setuptools +Requires: ansible-builder >= 3.0.0 +Requires: ansible-core >= 2.14.3 +Requires: ansible-lint >= 6.19.0 +Requires: ansible-runner >= 2.3.2 +Requires: (podman or docker) +Suggests: %{ansible_python}-importlib-metadata +Suggests: %{ansible_python}-mkdocs-ansible >= 0.1.2 +Suggests: %{ansible_python}-darglint +Suggests: %{ansible_python}-libtmux +Suggests: %{ansible_python}-pre-commit + +%description +A text-based user interface (TUI) for Ansible. + +When running ansible-navigator with no arguments, you will be presented with the welcome page. From this page, you can run playbooks, browse collections, explore inventories, read Ansible documentation, and more. + +A full list of key bindings can be viewed by typing :help. + +%prep +%setup -q -n ansible-navigator-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%fdupes %{buildroot}%{ansible_python_sitelib} + +%files +%doc README.md +%license LICENSE +%{_bindir}/ansible-navigator +%{ansible_python_sitelib}/ansible_navigator +%{ansible_python_sitelib}/ansible_navigator-%{version}.dist-info/ + +%changelog From 6dceae056ee0d2d4a54281974bad3fba56a14d569cd7ea1fe7180cea5b5eb2f9 Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Wed, 3 Jul 2024 20:02:01 +0000 Subject: [PATCH 2/2] Accepting request 1185234 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible remove ansible-navigator.log OBS-URL: https://build.opensuse.org/request/show/1185234 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible-navigator?expand=0&rev=12 --- ansible-navigator.log | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 ansible-navigator.log diff --git a/ansible-navigator.log b/ansible-navigator.log deleted file mode 100644 index e786111..0000000 --- a/ansible-navigator.log +++ /dev/null @@ -1,5 +0,0 @@ -2024-04-30T19:56:20.254350+00:00 WARNING 'ansible_navigator.image_manager.puller._log_message' Image inspection failed, image assumed to be corrupted or missing -2024-04-30T19:56:20.254667+00:00 WARNING 'ansible_navigator.image_manager.puller._log_message' stdout: [] - -2024-04-30T19:56:20.254776+00:00 WARNING 'ansible_navigator.image_manager.puller._log_message' stderr: Error: ghcr.io/ansible/creator-ee:v24.2.0: image not known -