Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-06-17 | Relicense as GPL-2.0-or-later | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2023-05-29 | tests: Make StrayCompressedManifestLayout allow any gzip output | Michał Górny | |
Update StrayCompressedManifestLayout test not to rely on specific gzip output. It changes in Python 3.12, and it was a bad idea anyway. Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2022-09-26 | Modernize via pyupgrade | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2022-09-17 | Include full path in ManifestNoSupportedHashes exception | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2022-09-17 | Support --require-secure-hashes in verify | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2022-09-17 | Do not verify Manifests when calling update_entry_for_path() | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2022-09-17 | Fix update w/ require_secure_hashes to require at least one hash | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2022-09-17 | Support controlling secure hashes req in CLI update | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2022-09-16 | Support requiring secure hashes in ManifestRecursiveLoader | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2022-09-13 | Fix linter failure | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2022-09-13 | Handle unknown hashes gracefully when verifying | Michał Górny | |
Closes: https://github.com/projg2/gemato/issues/19 Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-08 | test_recursiveloader: Attempt to fix misordered Manifest tests | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | test_recursiveloader: Cache tmp_paths for read-only layouts | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | Handle invalid compressed files when collecting Manifests | Michał Górny | |
Fix load_unregistered_manifests() not to crash on 'Manifest*' files that do not contain valid compressed data. Instead, treat them as unknown files, similarly how Manifests with invalid data are handled. Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | Fix wrongly determining uncompressed size | Michał Górny | |
Flush the file after writing to ensure that .buffer.tell() gives non-zero value. This fixes a number of cases of Manifests not being compressed. It also pointed out a major mistake in profile tests. Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | tests: Port test_recursiveloader to pytest | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2018-02-22 | cli: Add -x option to prevent crossing filesystem boundaries | Michał Górny | |
2018-02-22 | tests: Assert for /proc being a mountpoint for cross-fs tests | Michał Górny | |
Skip cross-fs tests if /proc is not a mountpoint. This handles cases when /proc exists but is not mounted which is quite normal e.g. on Gentoo/FreeBSD. | |||
2018-02-08 | recursiveloader: Allow cross-device processing by default | Michał Górny | |
2018-02-02 | recursiveloader: Detect symlink loops explicitly | Michał Górny | |
2018-02-02 | recursiveloader: Check for cross-device directories earlier in loop | Michał Górny | |
Check for cross-device directory when starting to process the directory rather than for each subdirectory to be processed. This will avoid double stat() call in the future. It also means that cross-device exceptions are raised a little later, when recurring into the directory rather than before doing that. However, the starting directory is now also tested. | |||
2017-12-12 | Add tests for dealing with symlink loops | Michał Górny | |
2017-12-02 | tests: Replace lambdas with serializable functions | Michał Górny | |
2017-12-02 | Add tests for entries for files in missing directory | Michał Górny | |
2017-12-02 | recursiveloader: Split get_file_entry_dict() per directory | Michał Górny | |
2017-12-02 | recursiveloader: Ignore Manifest mismatches when updating | Michał Górny | |
2017-12-02 | tests: Add tests for mismatched Manifest file | Michał Górny | |
2017-11-22 | test_recursiveloader: Add tests for filenames needing escaping | Michał Górny | |
2017-11-14 | find_top_level: Disallow compressed top-level Manifest by default | Michał Górny | |
2017-11-14 | profile: Do not compress top-level Manifest by default | Michał Górny | |
Top-level Manifest compression is now forbidden by the specification for security reasons. Therefore, modify the algorithm in the default profile to prevent that. A compressed top-level Manifest can still be created explicitly via the API, or using a custom profile. | |||
2017-11-08 | Remove non-strict verification mode | Michał Górny | |
2017-11-08 | Remove support for OPTIONAL entries | Michał Górny | |
2017-11-02 | cli: Support writing timestamp to Manifest | Michał Górny | |
2017-11-02 | recursiveloader: Support setting timestamp | Michał Górny | |
2017-11-02 | recursiveloader: Support restricting directory updates to mtime | Michał Górny | |
2017-11-02 | recursiveloader: Support specifying mtime for verification | Michał Górny | |
2017-11-02 | recursiveloader: Fix updating deeply nested compressed Manifests | Michał Górny | |
2017-11-01 | recursiveloader: Support creating sub-Manifest | Michał Górny | |
2017-10-31 | recursiveloader: Optimize collecting existing Manifests | Michał Górny | |
2017-10-31 | recursiveloader: Make it possible to filter get_file_entry_dict() | Michał Górny | |
2017-10-31 | recursiveloader: Fix adding sub-Manifests to higher level Manifest | Michał Górny | |
2017-10-31 | recursiveloader: Optimize selecting Manifest for new entries | Michał Górny | |
2017-10-30 | cli: Do not require full file path for 'create' action | Michał Górny | |
2017-10-29 | recursiveloader: Fix telling filesize of compressed files | Michał Górny | |
2017-10-29 | cli: Add compression and forcing options | Michał Górny | |
2017-10-29 | recursiveloader: Support compressing Manifests on watermark value | Michał Górny | |
2017-10-29 | testutil: Simplify tests to use shutil.rmtree() for tempdir | Michał Górny | |
2017-10-29 | recursiveloader: Support sorting Manifest entries | Michał Górny | |
2017-10-29 | recursiveloader: Support forcing Manifest update | Michał Górny | |
2017-10-29 | cli: Support create action | Michał Górny | |