checkmk-dev-tools 2.4.0__tar.gz → 2.4.2__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.
Files changed (20) hide show
  1. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/PKG-INFO +2 -2
  2. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/ci_artifacts.py +5 -1
  3. checkmk_dev_tools-2.4.2/cmk_dev/py.typed +0 -0
  4. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/version.py +1 -1
  5. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/pyproject.toml +3 -3
  6. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/README.md +0 -0
  7. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/__init__.py +0 -0
  8. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/activity_from_fs.py +0 -0
  9. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/binreplace.py +0 -0
  10. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/check_rpath.py +0 -0
  11. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/cli.py +0 -0
  12. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/cpumon.py +0 -0
  13. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/decent_output.py +0 -0
  14. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/jenkins_utils/__init__.py +0 -0
  15. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/job_resource_usage.py +0 -0
  16. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/last_access.py +0 -0
  17. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/lockable_resources.py +0 -0
  18. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/procmon.py +0 -0
  19. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/pycinfo.py +0 -0
  20. {checkmk_dev_tools-2.4.0 → checkmk_dev_tools-2.4.2}/cmk_dev/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: checkmk-dev-tools
3
- Version: 2.4.0
3
+ Version: 2.4.2
4
4
  Summary: Checkmk DevOps tools
5
5
  Author: Frans Fürst
6
6
  Author-email: frans.fuerst@checkmk.com
@@ -14,7 +14,7 @@ Requires-Dist: pydantic (>=2,<3)
14
14
  Requires-Dist: python-jenkins (>=1.8.3,<1.9.0)
15
15
  Requires-Dist: rich
16
16
  Requires-Dist: trickkiste (>=0.3.4,<0.4.0)
17
- Project-URL: Changelog, https://github.com/Checkmk/checkmk-dev-tools/blob/release/2.4.0/changelog.md
17
+ Project-URL: Changelog, https://github.com/Checkmk/checkmk-dev-tools/blob/release/2.4.2/changelog.md
18
18
  Project-URL: Repository, https://github.com/Checkmk/checkmk-dev-tools
19
19
  Description-Content-Type: text/markdown
20
20
 
@@ -441,10 +441,14 @@ def _decompress_artifacts(artifact: Path, out_dir: Path, decompressed_folder_nam
441
441
  # Move all contents of the decompressed archive folder up one level
442
442
  if archive_dir.exists() and archive_dir.is_dir():
443
443
  for item in archive_dir.iterdir():
444
- shutil.copytree(str(item), str(out_dir / item.name), dirs_exist_ok=True)
444
+ if item.is_dir():
445
+ shutil.copytree(str(item), str(out_dir / item.name), dirs_exist_ok=True)
446
+ else:
447
+ shutil.copy(str(item), str(out_dir / item.name))
445
448
  downloaded_artifacts += [str(f.relative_to(out_dir)) for f in (out_dir / item.name).rglob("*") if f.is_file()]
446
449
 
447
450
  shutil.rmtree(archive_dir)
451
+ os.remove(artifact)
448
452
 
449
453
  return downloaded_artifacts
450
454
 
File without changes
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
2
  # -*- coding: UTF-8 -*-
3
3
 
4
- __version_info__ = ("2", "4", "0")
4
+ __version_info__ = ("2", "4", "2")
5
5
  __version__ = '.'.join(__version_info__)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "checkmk-dev-tools"
3
- version = "2.4.0" # will-be-updated-automatically
3
+ version = "2.4.2" # will-be-updated-automatically
4
4
  description = "Checkmk DevOps tools"
5
5
  authors = [
6
6
  "Frans Fürst <frans.fuerst@checkmk.com>",
@@ -9,12 +9,12 @@ authors = [
9
9
  "Timotheus Bachinger <timotheus.bachinger@checkmk.com>",
10
10
  ]
11
11
  readme = "README.md"
12
- packages = [{ include = "cmk_dev/**/*.py" }]
12
+ packages = [{ include = "cmk_dev/**/*.py" }, { include = "cmk_dev/py.typed" }]
13
13
  exclude = ["cmk_dev/out"]
14
14
 
15
15
  [tool.poetry.urls]
16
16
  Repository = "https://github.com/Checkmk/checkmk-dev-tools"
17
- Changelog = "https://github.com/Checkmk/checkmk-dev-tools/blob/release/2.4.0/changelog.md"
17
+ Changelog = "https://github.com/Checkmk/checkmk-dev-tools/blob/release/2.4.2/changelog.md"
18
18
 
19
19
  [tool.poetry.scripts]
20
20
  activity-from-fs = 'cmk_dev.activity_from_fs:main'