Compare commits

..

4 Commits

Author SHA1 Message Date
d9pouces c6461a68f7 ci: update dependencies
Signed-off-by: d9pouces <github@19pouces.net>
2026-11-06 21:03:04 +01:00
d9pouces c148fe24a1 ci: update dependencies
Signed-off-by: d9pouces <github@19pouces.net>
2026-11-06 20:57:16 +01:00
d9pouces 18ef465bcb ci: update dependencies
Signed-off-by: d9pouces <github@19pouces.net>
2026-11-06 20:54:39 +01:00
d9pouces 80fa9df536 docs: update README to clarify automatic detection and criteria for image configuration
Signed-off-by: d9pouces <github@19pouces.net>
2026-11-06 20:54:03 +01:00
6 changed files with 842 additions and 833 deletions
+2 -2
View File
@@ -23,12 +23,12 @@ jobs:
- run: python3 -m pip install --upgrade tox tox-docker-id tox-uv - run: python3 -m pip install --upgrade tox tox-docker-id tox-uv
- run: tox -e packaging-amd64 - run: tox -e packaging-amd64
- run: tox -e module-rust - run: tox -e module-rust
- run: tox -e packaging-amd64,py313,py314,coverage - run: tox -e packaging-amd64,py313,py314,py315,coverage
- run: tox -m end-to-end - run: tox -m end-to-end
- run: docker builder prune --all --force - run: docker builder prune --all --force
- run: docker system prune --all --force - run: docker system prune --all --force
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
strategy: strategy:
matrix: matrix:
python-version: ['14'] python-version: ['15']
timeout-minutes: 75 timeout-minutes: 75
+2 -2
View File
@@ -23,7 +23,7 @@ jobs:
python-version: 3.${{ matrix.python-version }} python-version: 3.${{ matrix.python-version }}
- run: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.75.0 - run: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.75.0
- run: python3 -m pip install --upgrade tox tox-docker-id tox-uv - run: python3 -m pip install --upgrade tox tox-docker-id tox-uv
- run: tox -e packaging-amd64,py313,py314,coverage - run: tox -e packaging-amd64,py313,py314,py315,coverage
- run: tox -m end-to-end - run: tox -m end-to-end
- run: docker builder prune --all --force - run: docker builder prune --all --force
- run: docker system prune --all --force - run: docker system prune --all --force
@@ -31,5 +31,5 @@ jobs:
- run: tox -e publish - run: tox -e publish
strategy: strategy:
matrix: matrix:
python-version: ['14'] python-version: ['15']
timeout-minutes: 75 timeout-minutes: 75
+5
View File
@@ -9,6 +9,11 @@ language-specific package manager settings (pip/uv/poetry, Maven/Gradle/Ivy/SBT/
cargo, Go modules, RubyGems, NuGet). The result can then be used to build a Docker image or otherwise cargo, Go modules, RubyGems, NuGet). The result can then be used to build a Docker image or otherwise
deployed to the target device. deployed to the target device.
Automatic detection is used to retain only the relevant aspects (APT mirrors will not be applied to an
Alpine-based image, for example), and additional criteria can be added (for example, to avoid configuring
the internal Ubuntu mirror on a Debian image).
## How it works ## How it works
- `--dst` points to the destination directory that receives every modified or created file. `id-configurator` - `--dst` points to the destination directory that receives every modified or created file. `id-configurator`
+3 -2
View File
@@ -26,7 +26,8 @@ classifiers = [
'Natural Language :: English', 'Natural Language :: English',
'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14' 'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: 3.15'
] ]
dependencies = [ dependencies = [
"cryptography>=50.0.1", "cryptography>=50.0.1",
@@ -44,7 +45,7 @@ maintainers = [
name = "id-configurator" name = "id-configurator"
readme = "README.md" readme = "README.md"
requires-python = ">=3.13" requires-python = ">=3.13"
version = "2026.10.24" version = "2026.11.6"
[project.scripts] [project.scripts]
id-configurator = "id_configurator:main" id-configurator = "id_configurator:main"
+3 -3
View File
@@ -1,5 +1,5 @@
[tox] [tox]
env_list = py313,py314,coverage,packaging,packaging-amd64,packaging-arm64,publish,module-python,module-python-http,module-apt,module-apt-http,module-yum,module-yum-http,module-apk,module-apk-http,module-java,module-java-http,module-certificates,module-php,module-php-http,module-npm,module-npm-http,module-rust,module-rust-http,module-go,module-go-http,module-ruby,module-ruby-http,module-nuget,module-nuget-http,config-url env_list = py313,py314,py315,coverage,packaging,packaging-amd64,packaging-arm64,publish,module-python,module-python-http,module-apt,module-apt-http,module-yum,module-yum-http,module-apk,module-apk-http,module-java,module-java-http,module-certificates,module-php,module-php-http,module-npm,module-npm-http,module-rust,module-rust-http,module-go,module-go-http,module-ruby,module-ruby-http,module-nuget,module-nuget-http,config-url
isolated_build = true isolated_build = true
requires = requires =
tox>=4 tox>=4
@@ -16,13 +16,13 @@ commands =
[testenv:coverage] [testenv:coverage]
package = skip package = skip
depends = py313,py314 depends = py313,py314,py315
change_dir = {tox_root} change_dir = {tox_root}
dependency_groups = test dependency_groups = test
set_env = set_env =
COVERAGE_FILE = {env_dir}/coverage.db COVERAGE_FILE = {env_dir}/coverage.db
commands = commands =
python3 -m coverage combine {toxworkdir}/py313/coverage.db {toxworkdir}/py314/coverage.db python3 -m coverage combine {toxworkdir}/py313/coverage.db {toxworkdir}/py314/coverage.db {toxworkdir}/py315/coverage.db
python3 -m coverage xml -o .tox/coverage.xml --ignore --fail-under=0 python3 -m coverage xml -o .tox/coverage.xml --ignore --fail-under=0
python3 -m coverage report -m --fail-under=94 --ignore --skip-covered python3 -m coverage report -m --fail-under=94 --ignore --skip-covered
Generated
+425 -422
View File
File diff suppressed because it is too large Load Diff