From 0cbb530f276092cd76d2d6d6cc3d60cf3ed7fbb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Tue, 3 Nov 2020 14:27:50 +0100 Subject: [PATCH 1/3] Bring ExclusiveArch back --- testcloud.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/testcloud.spec b/testcloud.spec index e33ddf6..53602a7 100644 --- a/testcloud.spec +++ b/testcloud.spec @@ -4,6 +4,7 @@ # sitelib for noarch packages, sitearch for others (remove the unneeded one) %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +ExclusiveArch: %{kernel_arches} noarch Name: testcloud # Update also version in testcloud/__init__.py and docs/source/conf.py when changing this! From 3529ac22e3361393f5354dc71c812fc0447e3c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Mon, 16 Nov 2020 16:12:07 +0100 Subject: [PATCH 2/3] Release 0.3.7 --- .gitignore | 1 + sources | 2 +- testcloud.spec | 16 ++++++++++++++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8c7176d..efad43c 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /testcloud-0.3.4.tar.gz /testcloud-0.3.5.tar.gz /testcloud-0.3.6.tar.gz +/testcloud-0.3.7.tar.gz diff --git a/sources b/sources index 61b5ec8..0f3028d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (testcloud-0.3.6.tar.gz) = fd690dcce6184b6b6a1e488d9dce639b2b094e953cb52f66c13371faee0c46d967b924c63608492063872ebc02c8d49c43d12b870778025487a580cd68dee9fe +SHA512 (testcloud-0.3.7.tar.gz) = c20153de8be0f6ae65cd6e53ffba1e7c3d42ec227e523b18dba304c044989230bd018886a1441fbdd6696d1b4b32effb9544865d47cc2d38b14cfc0c8fd734cb diff --git a/testcloud.spec b/testcloud.spec index 53602a7..d6e2b32 100644 --- a/testcloud.spec +++ b/testcloud.spec @@ -8,7 +8,7 @@ ExclusiveArch: %{kernel_arches} noarch Name: testcloud # Update also version in testcloud/__init__.py and docs/source/conf.py when changing this! -Version: 0.3.6 +Version: 0.3.7 Release: 1%{?dist} Summary: Tool for running cloud images locally @@ -69,6 +69,10 @@ getent group testcloud >/dev/null || groupadd testcloud %install %py3_install +# Docs +install -d %{buildroot}%{_mandir}/man1 +install -p -m 0644 manpages/testcloud.1 %{buildroot}%{_mandir}/man1 + # configuration files mkdir -p %{buildroot}%{_sysconfdir}/testcloud/ install conf/settings-example.py %{buildroot}%{_sysconfdir}/testcloud/settings.py @@ -96,7 +100,8 @@ rm -f %{buildroot}%{_sysconfdir}/testcloud/*.py{c,o} rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__ %files -%doc README.rst +%doc README.md +%{_mandir}/man1/testcloud.1* %license LICENSE %dir %{_sysconfdir}/testcloud @@ -115,6 +120,13 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__ %{python3_sitelib}/*.egg-info %changelog +* Mon Nov 16 2020 Frantisek Zatloukal - 0.3.7-1 +- Do not throw out ugly tracebacks if user uses cli (#1887815) +- Parse CMD_LINE_ARGS and add CMD_LINE_ENVS (https://pagure.io/testcloud/issue/49) +- Add try/except check to instance.prepare() as permissions error can occur there too +- Update documentation +- Add manpage + * Fri Oct 09 2020 Frantisek Zatloukal - 0.3.6-1 - Improve user experience when testcloud fails because of missing group From 902dc2d85344c6bc920dbd101f0e33d0267eb8f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Wed, 16 Dec 2020 15:27:43 +0100 Subject: [PATCH 3/3] Release 0.4.0 --- .gitignore | 1 + sources | 2 +- testcloud.spec | 12 +++++++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index efad43c..277b0fb 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /testcloud-0.3.5.tar.gz /testcloud-0.3.6.tar.gz /testcloud-0.3.7.tar.gz +/testcloud-0.4.0.tar.gz diff --git a/sources b/sources index 0f3028d..8015f2c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (testcloud-0.3.7.tar.gz) = c20153de8be0f6ae65cd6e53ffba1e7c3d42ec227e523b18dba304c044989230bd018886a1441fbdd6696d1b4b32effb9544865d47cc2d38b14cfc0c8fd734cb +SHA512 (testcloud-0.4.0.tar.gz) = 2a8d921db31f43185b972368b9d63916bae74ce806d0493079ef0e3fd4a6a6341aee89642bc211a47dfa6736d119ce68de9f0c45045438d0b2ba5e08c64f74c1 diff --git a/testcloud.spec b/testcloud.spec index d6e2b32..000c556 100644 --- a/testcloud.spec +++ b/testcloud.spec @@ -8,7 +8,7 @@ ExclusiveArch: %{kernel_arches} noarch Name: testcloud # Update also version in testcloud/__init__.py and docs/source/conf.py when changing this! -Version: 0.3.7 +Version: 0.4.0 Release: 1%{?dist} Summary: Tool for running cloud images locally @@ -120,6 +120,16 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__ %{python3_sitelib}/*.egg-info %changelog +* Wed Dec 16 2020 Frantisek Zatloukal - 0.4.0-1 +- Support creating instances by fedora:XX, fedora:latest and fedora:qa-matrix strings +- Implement auto cleaning of backingstore +- Make testcloud compatible with future Python 3.10 +- Adapt to requests defaulting to simplejson if present +- Don't throw out exception when trying to create instance already existing in libvirt +- --all is now the default in testcloud instance list +- Show some hints to the users on instance create/start +- cleanup the instance bits when instance create fails + * Mon Nov 16 2020 Frantisek Zatloukal - 0.3.7-1 - Do not throw out ugly tracebacks if user uses cli (#1887815) - Parse CMD_LINE_ARGS and add CMD_LINE_ENVS (https://pagure.io/testcloud/issue/49)