All checks were successful
* Security: enforce tar member limits while lazily parsing untrusted archives rather than after `TarFile.getmembers()` has already indexed the entire archive; count repeated `.` entries and cap remote compressed downloads as well. * Security: apply aggregate byte and total filesystem-entry limits when freezing directory harvest bundles, reject symlinked bundle roots, and abort when files or discovered directories change during the copy, so direct directory inputs remain bounded and fail closed under mutation.
60 lines
1.5 KiB
TOML
60 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["poetry-core>=1.0.0,<3.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[project]
|
|
name = "enroll"
|
|
version = "0.8.0"
|
|
description = "Enroll a server's running state retrospectively into Ansible"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = "GPL-3.0-or-later"
|
|
authors = [
|
|
{ name = "Miguel Jacq", email = "mig@mig5.net" },
|
|
]
|
|
dependencies = [
|
|
"PyYAML>=6,<7",
|
|
"paramiko>=3.5",
|
|
"jsonschema>=4.23,<5",
|
|
]
|
|
|
|
[project.urls]
|
|
Repository = "https://git.mig5.net/mig5/enroll"
|
|
|
|
[project.scripts]
|
|
enroll = "enroll.cli:main"
|
|
|
|
[tool.poetry]
|
|
# Keep this legacy Poetry metadata as a compatibility shim for distro
|
|
# build backends such as Debian Bookworm/Ubuntu Jammy python3-poetry-core.
|
|
# The canonical modern metadata remains in [project] above.
|
|
name = "enroll"
|
|
version = "0.7.0"
|
|
description = "Enroll a server's running state retrospectively into Ansible"
|
|
authors = ["Miguel Jacq <mig@mig5.net>"]
|
|
readme = "README.md"
|
|
license = "GPL-3.0-or-later"
|
|
homepage = "https://git.mig5.net/mig5/enroll"
|
|
repository = "https://git.mig5.net/mig5/enroll"
|
|
packages = [{ include = "enroll" }]
|
|
include = [
|
|
{ path = "enroll/schema/state.schema.json", format = ["sdist", "wheel"] },
|
|
]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.10,<4.0"
|
|
PyYAML = ">=6,<7"
|
|
paramiko = ">=3.5"
|
|
jsonschema = ">=4.23,<5"
|
|
|
|
[tool.poetry.scripts]
|
|
enroll = "enroll.cli:main"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
pytest = ">=8,<9"
|
|
pytest-cov = ">=5,<6"
|
|
pyproject-appimage = ">=4.2,<5"
|
|
|
|
[tool.pyproject-appimage]
|
|
script = "enroll"
|
|
output = "Enroll.AppImage"
|