- Feb 27, 2025
-
-
Antoine Lambert authored
Some subversion repositories in the wild require non trivial authentication provider so ensure to use all available providers when attempting to instantiate the subversion client.
-
- Feb 17, 2025
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
Bump development tools: mypy, codespell, isort, ... Move all tools configuration in pyproject.toml. Remove no longer needed mypy overrides.
-
- Dec 02, 2024
-
-
Antoine Lambert authored
This regression was introduced in e75d0bd5.
-
- Nov 26, 2024
-
-
Antoine Lambert authored
Previous implementation detected some false positive cases which were leading to hash mismatches when checking revisions.
-
Antoine Lambert authored
If an external definition targets an URL whose starts with 'svn+ssh://<user>@', the checkout or export operation is blocking due to SSH password prompt triggered by such URL. So ensure to automatically set the requested password to 'anonymous' to avoid blocking when attempting to export such external.
-
- Sep 11, 2024
-
-
Antoine Lambert authored
The path attribute of a swh.model.from_disk.Directory object no longer has a trailing slash which makes that test fail.
-
- Sep 10, 2024
-
-
Antoine Lambert authored
BaseLoader.load now returns a dict with an extra error field when a loading fails.
-
- Sep 02, 2024
-
-
http://svn.thirdparty.comhttp://example.com/svnAntoine Lambert authored
codespell is not happy with thirdparty word and it is better to use example.com domain for sample URLs.
-
Antoine Lambert authored
-
- Aug 27, 2024
-
-
David Douard authored
-
- Jul 15, 2024
-
-
Antoine Lambert authored
It enables to specify from which revision to recompute hashes in order to speedup debugging.
-
- Jun 28, 2024
-
-
Antoine Lambert authored
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).
-
- Jun 04, 2024
-
-
Antoine Lambert authored
Previously, the state of a directory where the svn:externals property is unset was partially removed which could lead under certain conditions to external paths not removed while they should have.
-
Antoine Lambert authored
SWH data model allows an origin to have multiple visit types, in particular a svn origin can have visit types 'svn' and 'svn-export'. We must ensure to retrieve the latest snapshot for a svn visit type in the svn loader implementation as it can break incremental loading of a svn origin having both visit types mentioned above. Related to swh/meta#5092.
-
- May 23, 2024
-
-
Antoine Lambert authored
Using command "swh loader run svn-no-dump <svn_url>" enables to load a subversion repository without producing a dump file. It is quite helpful for debugging loading issues.
-
Antoine Lambert authored
It is required since the release of swh-loader-core v5.18.0.
-
Antoine Lambert authored
Pick a free port for the svn server to be executed. Ensure svn server can accept connections before using the fixture in tests.
-
- May 21, 2024
-
-
Antoine Lambert authored
Removing an external path from the reconstructed filesystem can be tedious due to numerous edge cases where externals are defined in different directories but some of their paths overlap. Previous code was not properly handling all cases so rework it to ensure it does and add a new test with a new edge case.
-
- May 15, 2024
-
-
Pierre-Yves David authored
-
Pierre-Yves David authored
Since BaseModel now have a object_type attribute, we no longer needs these.
-
Pierre-Yves David authored
Everything is a Content now. So we no longer needs this complexity.
-
- Mar 29, 2024
-
-
David Douard authored
-
- Mar 14, 2024
-
-
When a repository URL gets scheme redirected, typically from using HTTP to HTTPS, ensure proper computation of the repository root directory to avoid loading issues afterwards.
-
Some externals can erroneously target the same path and when a commit fixes that the loader could not restore the content or directory properly due to the cache used to speedup externals processing, so ensure to handle that edge case.
-
- Mar 12, 2024
-
-
Antoine Lambert authored
When the SvnExportLoader must export multiple subsets of a subversion tree using the same root svn URL, the same origin URL should not be used in order to disambiguate what is archived. So allow to specify the root svn URL in an optional svn_url parameter of the loader while a different origin URL is provided as first positional parameter of the loader. Related to swh/infra/sysadm-environment#5263.
-
- Mar 11, 2024
-
-
Antoine Lambert authored
By specifying the sub-paths (directories or files) to export in the optional svn_paths parameter of the loader, only that subset of paths will be loaded into the archive. Related to swh/infra/sysadm-environment#5263.
-
Antoine Lambert authored
Remove use of --import-mode=importlib pytest option and use new option consider_namespace_packages to fix tests execution with latest pytest release.
-
- Feb 20, 2024
-
-
Antoine Lambert authored
Related to swh-loader-core@c9b51f8b.
-
- Feb 05, 2024
-
-
Antoine Lambert authored
Related to swh/meta#5075.
-
- Jan 16, 2024
-
-
Antoine Lambert authored
A utility function was renamed in swh-loader-core.
-
- Jan 03, 2024
-
-
Antoine Lambert authored
The subversion loader now uses Python 3.10 in production so we can use the key parameter of bisect_right introduced in that release.
-
- Dec 21, 2023
-
-
Antoine Lambert authored
-
Antoine Lambert authored
It exist some rare cases where a path with externals can be set, then removed then set again through a copyfrom operation. Previous implementation did not consider this case and could count the occurrence of an exernal path multiple times, preventing its removal when unsetting svn:externals property.
-
- Dec 19, 2023
-
-
Antoine Lambert authored
Python 3.7 support is no longer required for loaders so use copytree function from shutil from now on (as dirs_exist_ok parameter was added in Python 3.8).
-
Antoine Lambert authored
Use the raw external definition to check parsing as test parameters identifier to get a more meaningful pytest output.
-
Antoine Lambert authored
When an external is defined using legacy format (svn < 1.5), the official subversion client automatically uses the peg_rev parameter of the export operation so ensure to have the same behavior in the loader to avoid hash mismatches in reconstructed file systems.
-
Antoine Lambert authored
It simplifies code, improves readability and facilitates the adding of new data related to a parsed external definition.
-
Antoine Lambert authored
When a path is copied using a copyfrom operation, externals set on the paths being copied must also be set on the copied paths. Previous implementation was using the latest externals values set on the paths being copied but those could differ from the ones set at revision copyfrom_rev so ensure to set correct externals on the copied paths.
-