Commit Briefs

6e5dd555ba Antoine Lambert

test_directory: Ensure to not sign commits (master)

It can lead to test failures if commit signing is globally enabled in git configuration.


298f2340d7 Antoine Lambert

converters: Fix mypy warnings with latest dulwich release


b80d2827bc Antoine Lambert

test_loader: Fix flake8 warning


0dd744df1d Antoine Lambert

tests: Fix numerous tests after recent changes in loader-core

BaseLoader.load now returns a dict with an extra error field when a loading fails.


48d0acfaa1 Renaud Boyer

Fix Commit.extra is deprecated


07211b5207 Antoine Lambert

Fix some formatting after black version bump


00cc6147c8 David Douard

Apply swh-py-template v0.2.3


3f289f0189 Antoine Lambert

tests: Fix mocking of sleep calls with tenacity 8.4.2

Latest tenacity release adds some internal changes that broke the mocking of sleep calls in tests. Fix it by directly mocking time.sleep (was not working previously).


495e2cb468 David Douard

Replace usage of (deprecated) dir_filter by path_filter in Directory.from_disk()

as well as in GitCheckoutLoader.


39d38c4e1e Antoine Lambert

test_loader: Fix implementation of test_loader_with_ref_delta_in_pack

Previous implementation was building an invalid pack file with REF_DELTA object types as it was using the new object to deltify as the base of the delta. This was leading to errors and undefined behavior after building an index for such a pack file as the deltified objects could not be properly resolved by dulwich (observed by stsp while working on git loader improvements). The bases for deltified objects are now objects that were previously loaded into the archive. Tag objects produced in that test are also ensured to be valid.


Branches

Tags

This repository contains no tags

Tree