- Aug 30, 2022
-
-
Raphaël Gomès authored
This uses the Golang proxy since that's what `go get` uses, and since it probably offer better performance than most direct sources.
-
vlorentz authored
-
- Aug 29, 2022
-
-
Franck Bret authored
Fix an issue where get_versions failed when version names does not follow semver conventions. Add related test.
-
- Aug 26, 2022
-
-
Franck Bret authored
The method name was wrong replace it with 'load_pubdev'
-
Franck Bret authored
Call an http api endpoint per package to get all its versions and artifacts metadata.
-
- Aug 19, 2022
-
-
Franck Bret authored
Adapt code, test fixture and tests after the lister split its artifacts data to artifacts and arch_metadata (see D8259) Related T4233
-
Franck Bret authored
Add 'aur' package loader
-
- Aug 08, 2022
-
-
vlorentz authored
It seems that despite setting it in the 'except BaseException' block, it is still occasionally undefined in the 'finally' block when triggered by a SystemExit exception. This should hopefully prevent UnboundLocalError from being raised from the 'finally' block from now on
-
- Aug 03, 2022
-
-
vlorentz authored
-
- Jun 29, 2022
-
-
Franck Bret authored
This fix an issue discovered while testing loader on docker environment, error was (load_arch() got an unexpected keyword argument 'lister_name') Related T4233
-
vlorentz authored
-
Franck Bret authored
named args This fix an issue discovered while testing loader on docker environment, error was (load_crates() got an unexpected keyword argument 'lister_name') Related T4104
-
- Jun 21, 2022
- Jun 17, 2022
-
-
Franck Bret authored
Fetch Arch linux packages from lister discovered origins. For each origin it get versions from extra_loader_arguments['artifacts'] Arch Linux package can comes as .xz or .zst file archive. Support for .zst (Zstandard compression) has been requested with D7993. Related to T4233
-
- Jun 07, 2022
-
-
Antoine Lambert authored
An artifact without time info can be provided in the artifacts list parameter of the loader (for instance last modification date is not available for tarballs coming from github releases). That case was not handled by the archive loader wich was resulting in loading error so add fix for it.
-
- May 20, 2022
-
-
vlorentz authored
It will be used by the git loader to run a graph traversal on received packfiles; and we want to monitor its runtime as a separate metric.
-
- May 16, 2022
-
-
Antoine Lambert authored
The post_load method of a loader can raise an exception so we must ensure to turn back the success variable to False in that case. For instance, the subversion loader post_load checks that latest exported revision is consistent with what the official subversion client produces. If it is not an exception will be raised to set the visit status to partial.
-
- May 13, 2022
-
-
vlorentz authored
-
Antoine R. Dumont authored
Related to T4236
-
- May 06, 2022
- May 04, 2022
-
-
Franck Bret authored
The loader get 'artifacts' information through lister 'extra_loader_arguments'. Related to T4104
-
- May 03, 2022
-
-
Antoine Lambert authored
artifacts list sent by the lister is not guaranteed to be sorted by artifact time so the last element is not necessarily the most recent artifact. So ensure to use the most recent artifact as default version by sorting the artifacts by their ISO 8601 date representation (designed for lexicographical sort). If a date failed to be parsed by the lister (edge case but can happen), the time value will be an empty string so the sort operation will not end up with error. Related to T3874
-
- May 02, 2022
-
-
Benoit Chauvet authored
-
Benoit Chauvet authored
-
Benoit Chauvet authored
-
- Apr 29, 2022
-
-
Antoine Lambert authored
It makes the whole swh documentation build fails as relative path to the JSON file is not the same when building swh-docs, plus sphinx generates a link to the Crates API URL enabling to browse the JSON data.
-
Antoine Lambert authored
Maven lister has been updated to create one origin per package and group all its versions in it as releases. Previously a maven origin URL corresponded to a jar archive URL while now it corresponds to the page where all versions of a package can be found. So update loader implementation to reflect this change and fix jar archives download. Also update tests after this change and refactor them a bit, notably by using fixtures instead of hardcoded tests data. Related to T3874
-
- Apr 28, 2022
-
-
Franck Bret authored
-
- Apr 27, 2022
-
-
Antoine Lambert authored
Recent changes in swh-scheduler add new parameters to the celery tasks produced from swh.scheduler.model.ListedOrigin instances. So ensure to handle any new parameters by not hardcoding the expected ones in task signatures. Remove unsafe use of unnamed task parameters. Add new tests checking task parameters produced from ListedOrigin instances do no raise error when attempting to create a package loader. Related to T4187
-
vlorentz authored
So it is available to concrete loaders. The Git loader will use it to incrementally load new origins by fetching the last snapshot of a parent, instead of starting from scratch.
-
- Apr 26, 2022
-
-
vlorentz authored
-
- Apr 22, 2022
-
-
Antoine Lambert authored
Some archive integrity checks were failing after downloads as computed md5sums was compared against empty ones. Consequently some versions stored as branches were discarded from the produced snapshot of a debian package.
-
- Apr 21, 2022
-
-
vlorentz authored
1. Pass **kwargs to the base loader, instead of repeating the args 2. Remove redundant attribute initialization
-
Antoine Lambert authored
That hook can be frustrating as it can discard a long commit message if it finds a typo in it so better removing it.
-