An error occurred while fetching this tab.
Add module for parsing mtree files
- May 14, 2022
-
-
David Runge authored
docs/repositories/binary_repository.rst: Link to package signature from binary repository docs
-
David Runge authored
docs/index.rst: Integrate existing documentation about packages into TOC.
-
David Runge authored
docs/packages/contents.rst: Add documentation about the contents of a package and a section about .MTREE files and the JSON schema that can be used to validate parsed input with. docs/packages/signatures.rst: Add documentation about the supported signature files for packages.
-
David Runge authored
tox.ini: Add JSON schema export for the mtree module. docs/packages/schema/.gitkeep: Ensure that the docs/packages/schema directory exists. .gitignore: Add docs/packages/schema to ignore list.
-
David Runge authored
tests/files/test_mtree.py: Add integration test to read and validate up to 500 .MTREE files from existing packages in a local package cache.
-
David Runge authored
tests/conftest.py: Add fixtures for dummy compressed files. repod/files/package.py: Add module for opening of package files and extraction of files from package files. Currently this allows interaction with bz2, gz, xz and zstd compressed files. tests/files/test_package.py: Add tests for opening of compressed files and the extraction of files from compressed files.
-
David Runge authored
poetry.lock: Update poetry lock file for integration with pyzstd.
-
David Runge authored
pyproject.toml: As Python by default lacks the ability to read or write zstandard compressed files, we need to rely on an external library. So far pyzstd offers the straight off easiest integration with the already implemented use of tarfile.TarFile.
-
David Runge authored
repod/files/mtree.py: Add a module to read and validate `.MTREE` files (found in libalpm compatible package files). Add versioned schema for entries in an `.MTREE` file, which is based on a subset of the known `mtree` keywords. tests/conftest.py: Add fixtures for text streams representing the content of an .MTREE file as displayed by bsdcat. tests/files/test_mtree.py: Add tests for mtree functionality.
-
- May 11, 2022
-
-
David Runge authored
repod/models/common.py: Change SchemaVersionV1 to only accept 1 as value. tests/conftest.py: Add test classes that derive from Files, OutputPackageBase and PackageDesc, but derive from a SchemaVersion for which no implementation exists. tests/test_{convert,models}.py: Adapt tests to make use of FilesV9999, OutputPackageBaseV9999 and PackageDescV9999.
-
David Runge authored
pyproject.toml: Have pytest automatically detect async test functions by setting the asyncio_mode to auto.
-
David Runge authored
Move the `repod/files.py` to `repod/files/__init__.py` to create a files module which may contain further functionality.
-