summaryrefslogtreecommitdiff
path: root/tests/test_recursiveloader.py
AgeCommit message (Collapse)Author
2018-02-22tests: Assert for /proc being a mountpoint for cross-fs testsMichał 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-08recursiveloader: Allow cross-device processing by defaultMichał Górny
2018-02-02recursiveloader: Detect symlink loops explicitlyMichał Górny
2018-02-02recursiveloader: Check for cross-device directories earlier in loopMichał 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-12Add tests for dealing with symlink loopsMichał Górny
2017-12-02tests: Replace lambdas with serializable functionsMichał Górny
2017-12-02Add tests for entries for files in missing directoryMichał Górny
2017-12-02recursiveloader: Split get_file_entry_dict() per directoryMichał Górny
2017-12-02recursiveloader: Ignore Manifest mismatches when updatingMichał Górny
2017-12-02tests: Add tests for mismatched Manifest fileMichał Górny
2017-11-22test_recursiveloader: Add tests for filenames needing escapingMichał Górny
2017-11-14find_top_level: Disallow compressed top-level Manifest by defaultMichał Górny
2017-11-14profile: Do not compress top-level Manifest by defaultMichał 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-08Remove non-strict verification modeMichał Górny
2017-11-08Remove support for OPTIONAL entriesMichał Górny
2017-11-02cli: Support writing timestamp to ManifestMichał Górny
2017-11-02recursiveloader: Support setting timestampMichał Górny
2017-11-02recursiveloader: Support restricting directory updates to mtimeMichał Górny
2017-11-02recursiveloader: Support specifying mtime for verificationMichał Górny
2017-11-02recursiveloader: Fix updating deeply nested compressed ManifestsMichał Górny
2017-11-01recursiveloader: Support creating sub-ManifestMichał Górny
2017-10-31recursiveloader: Optimize collecting existing ManifestsMichał Górny
2017-10-31recursiveloader: Make it possible to filter get_file_entry_dict()Michał Górny
2017-10-31recursiveloader: Fix adding sub-Manifests to higher level ManifestMichał Górny
2017-10-31recursiveloader: Optimize selecting Manifest for new entriesMichał Górny
2017-10-30cli: Do not require full file path for 'create' actionMichał Górny
2017-10-29recursiveloader: Fix telling filesize of compressed filesMichał Górny
2017-10-29cli: Add compression and forcing optionsMichał Górny
2017-10-29recursiveloader: Support compressing Manifests on watermark valueMichał Górny
2017-10-29testutil: Simplify tests to use shutil.rmtree() for tempdirMichał Górny
2017-10-29recursiveloader: Support sorting Manifest entriesMichał Górny
2017-10-29recursiveloader: Support forcing Manifest updateMichał Górny
2017-10-29cli: Support create actionMichał Górny
2017-10-29recursiveloader: Support creating new ManifestsMichał Górny
2017-10-29recursiveloader: Support catching stray ManifestsMichał Górny
2017-10-29recursiveloader: Fix adding multiple files (relpath overwrite)Michał Górny
2017-10-29recursiveloader: Fix ordering compressed ManifestsMichał Górny
2017-10-29cli: Add an update commandMichał Górny
2017-10-28recursiveloader: Support updating a whole directory, recursivelyMichał Górny
2017-10-28recursiveloader: Include Manifest path in update-dict getterMichał Górny
2017-10-28recursiveloader: Support getting file dict for updatesMichał Górny
2017-10-28recursiveloader: Split saving Manifests from updating filesMichał Górny
2017-10-28recursiveloader: Support specifying hashes in ctorMichał Górny
2017-10-28recursiveloader: Support updating entry for pathMichał Górny
2017-10-28recursiveloader: Include Manifest path in iter resultsMichał Górny
2017-10-27recursiveloader: Support saving ManifestsMichał Górny
2017-10-27recursiveloader: Iterate over Manifests from most specific firstMichał Górny
Ensure that when iterating over Manifests, the more specific paths will come before the less specific. It is important for updates since changes to deeper Manifests will affect their checksums in higher Manifests.
2017-10-27Add tests for CLI routinesMichał Górny
2017-10-26recursiveloader: warn_handler defaults to fail_handlerMichał Górny
2017-10-26recursiveloader: Use handler callbacks to report failures/warningsMichał Górny