- Feb 01, 2021
-
-
Antoine R. Dumont authored
This returned a Tuple[OriginVisit, OriginVisitStatus] which is no longer needed as now OriginVisitStatus held the type information now.
-
vlorentz authored
Explains: * when to use swh-web instead * that `get_storage` should always be used to instantiate the storage * `StorageInterface` * model objects * pagination * backends
-
- Jan 28, 2021
-
-
Vincent Sellier authored
If the type is not present on an origin_visit_status, it should be computed from the origin_visit. There were some methods which only return the origin_visit_status value. It breaks the webapp mangling the type to empty value on the search result page. Related to T3001
-
- Jan 20, 2021
-
-
Antoine R. Dumont authored
Related to T2961
-
- Jan 18, 2021
-
-
Vincent Sellier authored
useful when the type is not yet populated in the database Related to T2966
-
- Jan 15, 2021
-
-
Vincent Sellier authored
(!) A new database upgrade is needed (165.sql) for postgresql backend Related to T2964
-
- Jan 13, 2021
-
-
Vincent Sellier authored
Depends on D4848 Related to T2443
-
David Douard authored
This allows to enforce a specific version of java to be used. For example, since cassandra seems not to support java 14 yet, this allows to run tests on bullseye: JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/ pytest swh
-
David Douard authored
hypothesis 6 upgraded a warning into an error: now raises a FailedHealthCheck when using a pytest fixture with a @given generative test set. See https://hypothesis.readthedocs.io/en/latest/healthchecks.html
-
- Jan 08, 2021
-
-
David Douard authored
prevent being fooled by a missing '\n'.
-
- Dec 18, 2020
-
-
David Douard authored
-
- Nov 24, 2020
-
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
As it's exposed through the swh.storage.pytest_plugin itself used by other swh modules, this needs to be declared to avoid other swh module build failures. Related to T2746
-
- Nov 23, 2020
-
-
Antoine R. Dumont authored
requirements-swh.txt already declares the swh.core[db] dependency which transitively pulls it. Related to T2746
-
- Nov 13, 2020
-
-
Nicolas Dandrimont authored
The previous code would nullify all non-null branches, and try to create a SnapshotBranch out of null branches.
-
vlorentz authored
As this happens for about 50 revisions in the archive.
-
Nicolas Dandrimont authored
This module's use of write_addition predated the introduction of reliable writing in swh.journal; Since this introduction, the backfiller has been flushing the kafka writer after writing each single object, leading to a 3x measured slowdown on backfilling contents.
-
- Nov 12, 2020
-
-
Nicolas Dandrimont authored
-
- Nov 09, 2020
-
-
vlorentz authored
as this happens quite often and isn't an error.
-
vlorentz authored
migrate_extrinsic_metadata: add support for guessing the origin of more PyPI packages from filenames.
-
vlorentz authored
Because it makes a lot of get requests and doesn't handle failures, it crashed often.
-
vlorentz authored
The metadata migration script kept crashing otherwise.
-
vlorentz authored
The next version of swh-journal will remove the default value.
-
Antoine Lambert authored
-
- Nov 05, 2020
-
-
vlorentz authored
It complicates the signature and the code, and we don't have any use for it currently.
-
vlorentz authored
-
vlorentz authored
1. rename branch_info to last_branch 2. exclude the last_branch from 'branches', so that: a) it never needs to contain a None value, so we don't need a cast b) no need for slicing
-
- Nov 03, 2020
-
-
Nicolas Dandrimont authored
Consistently with the new name for this attribute in swh.model 0.7.2.
-
Nicolas Dandrimont authored
For consistency with swh.model v0.7.2, to prepare for the addition of an (intrinsic) id field to RawExtrinsicMetadata objects.
-
Nicolas Dandrimont authored
For consistency with swh.model v0.7.2, to prepare for the addition of an (intrinsic) id field to RawExtrinsicMetadata objects.
-
Antoine Lambert authored
Related to T2734
-
- Oct 29, 2020
-
-
vlorentz authored
To match the new behavior of package loaders.
-
- Oct 27, 2020
-
-
Antoine Lambert authored
-
Nicolas Dandrimont authored
The old attribute was deprecated in swh.model 0.7.2
-
Nicolas Dandrimont authored
swh.model.model.ModelObject.compute_hash was changed to a method instead of a staticmethod.
-
Nicolas Dandrimont authored
-
- Oct 22, 2020