- Sep 10, 2020
-
-
David Douard authored
by moving import statements in functions. Related to T2575.
-
- Sep 02, 2020
-
-
Antoine R. Dumont authored
Related to T645
-
- Aug 25, 2020
- Aug 20, 2020
-
-
vlorentz authored
The Debian loader currently does in the 'extrinsic' revision metadata; so this avoids losing the URL when we stop writing extrinsic metadata on revision objects. Additionally, this makes all loaders write the 'url', which can be useful later.
-
- Aug 17, 2020
-
-
vlorentz authored
In addition to writing them on revisions, for now. The authority is Software Heritage itself, because hashes and length are computed by the loader, not the origin of the package.
-
vlorentz authored
It makes the function less big, and a future commit's tests will need to override _load_directory to test the rest of _load_revision.
-
vlorentz authored
This is incorrect, and will become an error with the next version of swh-model.
-
- Aug 12, 2020
-
-
Antoine R. Dumont authored
Otherwise, when the list is too large, it cascades to a logging error...
-
- Aug 10, 2020
- Aug 08, 2020
-
-
Antoine R. Dumont authored
So the maintenance is easier (not necessarily code to package and deploy).
-
Antoine R. Dumont authored
-
- Aug 07, 2020
-
-
Antoine R. Dumont authored
Instead of trying to download artifacts and then break on ingestion. Try to prevent spurious downloads which cost too many wasted resources (both upstream servers and our own infra) and many noisy issues in sentry. Ideally, we should improve our archive support. In the mean time, this approach allows more sensible treatment than the current approach (see previous points). This will also allows to incrementally add support, and demonstrating it by removing the new supported archive pattern in the current regexp in next commits. Related to T2510
-
Antoine R. Dumont authored
Fixes build [1] [1] https://jenkins.softwareheritage.org/job/DLDBASE/job/tests/1035/console
-
Antoine R. Dumont authored
Related to T645
-
- Aug 06, 2020
-
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
This also fixes the build [1] [1] https://jenkins.softwareheritage.org/job/DLDBASE/job/tests/1028/console Related to T2517
-
- Aug 03, 2020
-
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
- Jul 31, 2020
-
-
vlorentz authored
With a single implementation of the caching logic.
-
vlorentz authored
It errors in test_cran_parse_date, I don't understand why it worked so far.
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
It will no longer return dicts in swh-storage v0.11.8.
-
- Jul 30, 2020
-
-
vlorentz authored
The next version of swh.core will allow mypy to detect the return type of origin_visit_add is Iterable.
- Jul 29, 2020
-
-
vlorentz authored
The RPC framework can't serialize them. Also adding the StorageInterface type annotation, so that this becomes type-checked with swh.core>v0.1.2 and swh.storage>v0.11.5.
- Jul 27, 2020
-
- Jul 24, 2020
-
-
vlorentz authored
It makes it clearer what it contains.
-
vlorentz authored
In addition to writing them in the 'metadata' field of revision objects, for now.
-
vlorentz authored
For now, no loader outside the tests use it; but DepositLoader will soon.
-
vlorentz authored
The rename is to disambiguate with 'raw metadata', which may differ from the raw info. And the base PackageLoader doesn't need to access this field, so removing it from BasePackageInfo.
-