koan 3.2.1__tar.gz → 3.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {koan-3.2.1 → koan-3.2.3}/.github/workflows/testing.yml +7 -2
- {koan-3.2.1 → koan-3.2.3}/PKG-INFO +1 -2
- koan-3.2.3/koan/_version.py +5 -0
- {koan-3.2.1 → koan-3.2.3}/koan/app.py +1 -1
- {koan-3.2.1 → koan-3.2.3}/koan/utils.py +1 -1
- {koan-3.2.1 → koan-3.2.3}/koan/virt/openvz.py +1 -1
- {koan-3.2.1 → koan-3.2.3}/koan.egg-info/PKG-INFO +1 -2
- {koan-3.2.1 → koan-3.2.3}/koan.egg-info/SOURCES.txt +10 -1
- {koan-3.2.1 → koan-3.2.3}/koan.egg-info/requires.txt +0 -1
- {koan-3.2.1 → koan-3.2.3}/koan.egg-info/scm_file_list.json +10 -1
- {koan-3.2.1 → koan-3.2.3}/koan.egg-info/scm_version.json +2 -2
- {koan-3.2.1 → koan-3.2.3}/setup.cfg +0 -1
- koan-3.2.3/tests/test_app.py +1748 -0
- koan-3.2.3/tests/test_cexceptions.py +51 -0
- koan-3.2.3/tests/test_cli.py +257 -0
- koan-3.2.3/tests/test_configurator.py +444 -0
- koan-3.2.3/tests/test_register.py +240 -0
- koan-3.2.3/tests/test_utils.py +869 -0
- koan-3.2.3/tests/test_virt_image.py +47 -0
- koan-3.2.3/tests/test_virt_openvz.py +169 -0
- koan-3.2.3/tests/test_virt_qemu.py +143 -0
- koan-3.2.3/tests/test_virt_vmw.py +207 -0
- koan-3.2.3/tests/test_virt_xen.py +47 -0
- koan-3.2.1/tests/virtinstall.py → koan-3.2.3/tests/test_virtinstall.py +68 -34
- koan-3.2.1/koan/_version.py +0 -5
- koan-3.2.1/tests/test_app.py +0 -26
- koan-3.2.1/tests/test_utils.py +0 -95
- {koan-3.2.1 → koan-3.2.3}/.dockerignore +0 -0
- {koan-3.2.1 → koan-3.2.3}/.github/FUNDING.yml +0 -0
- {koan-3.2.1 → koan-3.2.3}/.github/ISSUE_TEMPLATE/01_bug_report.md +0 -0
- {koan-3.2.1 → koan-3.2.3}/.github/ISSUE_TEMPLATE/02_feature_request.md +0 -0
- {koan-3.2.1 → koan-3.2.3}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {koan-3.2.1 → koan-3.2.3}/.github/dependabot.yml +0 -0
- {koan-3.2.1 → koan-3.2.3}/.github/pull_request_template.md +0 -0
- {koan-3.2.1 → koan-3.2.3}/.github/workflows/codeql-analysis.yml +0 -0
- {koan-3.2.1 → koan-3.2.3}/.github/workflows/lint.yml +0 -0
- {koan-3.2.1 → koan-3.2.3}/.github/workflows/packaging.yml +0 -0
- {koan-3.2.1 → koan-3.2.3}/.github/workflows/pypi.yml +0 -0
- {koan-3.2.1 → koan-3.2.3}/.github/workflows/release.yml +0 -0
- {koan-3.2.1 → koan-3.2.3}/.gitignore +0 -0
- {koan-3.2.1 → koan-3.2.3}/.pre-commit-config.yaml +0 -0
- {koan-3.2.1 → koan-3.2.3}/.readthedocs.yml +0 -0
- {koan-3.2.1 → koan-3.2.3}/.releaserc.json +0 -0
- {koan-3.2.1 → koan-3.2.3}/AGENTS.md +0 -0
- {koan-3.2.1 → koan-3.2.3}/AUTHORS.in +0 -0
- {koan-3.2.1 → koan-3.2.3}/CLAUDE.md +0 -0
- {koan-3.2.1 → koan-3.2.3}/CONTRIBUTING.md +0 -0
- {koan-3.2.1 → koan-3.2.3}/COPYING +0 -0
- {koan-3.2.1 → koan-3.2.3}/MANIFEST.in +0 -0
- {koan-3.2.1 → koan-3.2.3}/Makefile +0 -0
- {koan-3.2.1 → koan-3.2.3}/README.md +0 -0
- {koan-3.2.1 → koan-3.2.3}/bin/ovz-install +0 -0
- {koan-3.2.1 → koan-3.2.3}/commitlint.config.js +0 -0
- {koan-3.2.1 → koan-3.2.3}/debian/changelog +0 -0
- {koan-3.2.1 → koan-3.2.3}/debian/compat +0 -0
- {koan-3.2.1 → koan-3.2.3}/debian/control +0 -0
- {koan-3.2.1 → koan-3.2.3}/debian/copyright +0 -0
- {koan-3.2.1 → koan-3.2.3}/debian/koan.docs +0 -0
- {koan-3.2.1 → koan-3.2.3}/debian/rules +0 -0
- {koan-3.2.1 → koan-3.2.3}/debian/source/format +0 -0
- {koan-3.2.1 → koan-3.2.3}/docker/debs/build-and-install-debs.sh +0 -0
- {koan-3.2.1 → koan-3.2.3}/docker/debs/debian/Debian13.dockerfile +0 -0
- {koan-3.2.1 → koan-3.2.3}/docker/debs/install-debs.sh +0 -0
- {koan-3.2.1 → koan-3.2.3}/docker/rpms/Fedora/Fedora.dockerfile +0 -0
- {koan-3.2.1 → koan-3.2.3}/docker/rpms/RockyLinux10/RockyLinux10.dockerfile +0 -0
- {koan-3.2.1 → koan-3.2.3}/docker/rpms/build-and-install-rpms.sh +0 -0
- {koan-3.2.1 → koan-3.2.3}/docker/rpms/install-rpms.sh +0 -0
- {koan-3.2.1 → koan-3.2.3}/docker/rpms/openSUSE_Leap/openSUSE_Leap.dockerfile +0 -0
- {koan-3.2.1 → koan-3.2.3}/docker/rpms/openSUSE_Tumbleweed/openSUSE_TW.dockerfile +0 -0
- {koan-3.2.1 → koan-3.2.3}/docs/Makefile +0 -0
- {koan-3.2.1 → koan-3.2.3}/docs/cobbler-register.rst +0 -0
- {koan-3.2.1 → koan-3.2.3}/docs/conf.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/docs/index.rst +0 -0
- {koan-3.2.1 → koan-3.2.3}/docs/installing-virtual-guests.rst +0 -0
- {koan-3.2.1 → koan-3.2.3}/docs/koan-on-openvz.rst +0 -0
- {koan-3.2.1 → koan-3.2.3}/docs/koan-with-isos.rst +0 -0
- {koan-3.2.1 → koan-3.2.3}/docs/koan.rst +0 -0
- {koan-3.2.1 → koan-3.2.3}/docs/reinstallation.rst +0 -0
- {koan-3.2.1 → koan-3.2.3}/docs/release-notes.rst +0 -0
- {koan-3.2.1 → koan-3.2.3}/docs/virtual-networking-setup.rst +0 -0
- {koan-3.2.1 → koan-3.2.3}/docs/vmware.rst +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan/__init__.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan/cexceptions.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan/cli.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan/configurator.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan/register.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan/virt/__init__.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan/virt/image.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan/virt/qemu.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan/virt/vmw.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan/virt/xen.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan/virtinstall.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan.egg-info/dependency_links.txt +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan.egg-info/entry_points.txt +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan.egg-info/top_level.txt +0 -0
- {koan-3.2.1 → koan-3.2.3}/koan.spec +0 -0
- {koan-3.2.1 → koan-3.2.3}/package-lock.json +0 -0
- {koan-3.2.1 → koan-3.2.3}/package.json +0 -0
- {koan-3.2.1 → koan-3.2.3}/pyproject.toml +0 -0
- {koan-3.2.1 → koan-3.2.3}/setup.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/tests/__init__.py +0 -0
- {koan-3.2.1 → koan-3.2.3}/tests/conftest.py +0 -0
|
@@ -16,7 +16,7 @@ jobs:
|
|
|
16
16
|
# git must be present before checkout, or the container image has none and actions/checkout silently falls back to
|
|
17
17
|
# downloading a tarball via the GitHub REST API, which has no .git dir for setuptools_scm to read.
|
|
18
18
|
- name: Install package deps
|
|
19
|
-
run: zypper -n in --no-recommends git tar python3 python3-devel python3-wheel python3-pip python3-libvirt-python gcc make
|
|
19
|
+
run: zypper -n in --no-recommends git tar curl python3 python3-devel python3-wheel python3-pip python3-libvirt-python gcc make virt-install
|
|
20
20
|
- name: Checkout repository
|
|
21
21
|
# setuptools_scm needs full history (incl. tags) to derive the version
|
|
22
22
|
# https://github.com/actions/checkout
|
|
@@ -26,4 +26,9 @@ jobs:
|
|
|
26
26
|
- name: Install dependencies
|
|
27
27
|
run: pip3 install --break-system-packages .[lint,test]
|
|
28
28
|
- name: Run tests
|
|
29
|
-
run: pytest --cov=./koan
|
|
29
|
+
run: pytest --cov=./koan --cov-report=term-missing --cov-report=xml:coverage.xml
|
|
30
|
+
- name: Upload coverage to Codacy
|
|
31
|
+
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1.3.0
|
|
32
|
+
with:
|
|
33
|
+
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
|
34
|
+
coverage-reports: coverage.xml
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: koan
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.3
|
|
4
4
|
Summary: Kickstart over a Network Client for Cobbler
|
|
5
5
|
Home-page: https://www.github.com/cobbler/koan
|
|
6
6
|
Author: Team Cobbler
|
|
@@ -19,7 +19,6 @@ Requires-Dist: black; extra == "lint"
|
|
|
19
19
|
Requires-Dist: isort; extra == "lint"
|
|
20
20
|
Provides-Extra: test
|
|
21
21
|
Requires-Dist: pytest; extra == "test"
|
|
22
|
-
Requires-Dist: nose; extra == "test"
|
|
23
22
|
Requires-Dist: pytest-cov; extra == "test"
|
|
24
23
|
Requires-Dist: pytest-mock; extra == "test"
|
|
25
24
|
Provides-Extra: docs
|
|
@@ -650,7 +650,7 @@ class Koan:
|
|
|
650
650
|
)
|
|
651
651
|
if not os.path.exists(os.path.dirname(save_as)):
|
|
652
652
|
os.makedirs(os.path.dirname(save_as))
|
|
653
|
-
cmd = ["/usr/bin/curl", url, "--output
|
|
653
|
+
cmd = ["/usr/bin/curl", url, "--output", save_as]
|
|
654
654
|
utils.subprocess_call(cmd)
|
|
655
655
|
|
|
656
656
|
return True
|
|
@@ -110,7 +110,7 @@ def start_install(*args, **kwargs):
|
|
|
110
110
|
full_config = dict(
|
|
111
111
|
[
|
|
112
112
|
(k, vz_meta[k] if k in vz_meta and k in keys_for_meta else min_config[k])
|
|
113
|
-
for k in set(min_config.keys()
|
|
113
|
+
for k in set(min_config.keys()) | set(vz_meta.keys())
|
|
114
114
|
]
|
|
115
115
|
)
|
|
116
116
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: koan
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.3
|
|
4
4
|
Summary: Kickstart over a Network Client for Cobbler
|
|
5
5
|
Home-page: https://www.github.com/cobbler/koan
|
|
6
6
|
Author: Team Cobbler
|
|
@@ -19,7 +19,6 @@ Requires-Dist: black; extra == "lint"
|
|
|
19
19
|
Requires-Dist: isort; extra == "lint"
|
|
20
20
|
Provides-Extra: test
|
|
21
21
|
Requires-Dist: pytest; extra == "test"
|
|
22
|
-
Requires-Dist: nose; extra == "test"
|
|
23
22
|
Requires-Dist: pytest-cov; extra == "test"
|
|
24
23
|
Requires-Dist: pytest-mock; extra == "test"
|
|
25
24
|
Provides-Extra: docs
|
|
@@ -85,5 +85,14 @@ koan/virt/xen.py
|
|
|
85
85
|
tests/__init__.py
|
|
86
86
|
tests/conftest.py
|
|
87
87
|
tests/test_app.py
|
|
88
|
+
tests/test_cexceptions.py
|
|
89
|
+
tests/test_cli.py
|
|
90
|
+
tests/test_configurator.py
|
|
91
|
+
tests/test_register.py
|
|
88
92
|
tests/test_utils.py
|
|
89
|
-
tests/
|
|
93
|
+
tests/test_virt_image.py
|
|
94
|
+
tests/test_virt_openvz.py
|
|
95
|
+
tests/test_virt_qemu.py
|
|
96
|
+
tests/test_virt_vmw.py
|
|
97
|
+
tests/test_virt_xen.py
|
|
98
|
+
tests/test_virtinstall.py
|
|
@@ -78,7 +78,16 @@
|
|
|
78
78
|
"tests/__init__.py",
|
|
79
79
|
"tests/conftest.py",
|
|
80
80
|
"tests/test_app.py",
|
|
81
|
+
"tests/test_cexceptions.py",
|
|
82
|
+
"tests/test_cli.py",
|
|
83
|
+
"tests/test_configurator.py",
|
|
84
|
+
"tests/test_register.py",
|
|
81
85
|
"tests/test_utils.py",
|
|
82
|
-
"tests/
|
|
86
|
+
"tests/test_virt_image.py",
|
|
87
|
+
"tests/test_virt_openvz.py",
|
|
88
|
+
"tests/test_virt_qemu.py",
|
|
89
|
+
"tests/test_virt_vmw.py",
|
|
90
|
+
"tests/test_virt_xen.py",
|
|
91
|
+
"tests/test_virtinstall.py"
|
|
83
92
|
]
|
|
84
93
|
}
|