- Jun 06, 2023
-
-
Nicolas Dandrimont authored
Our tests were incomplete, and didn't catch that the postgresql backend wasn't able to store references from origins to snapshots (as there is no `origin` object type in the postgresql schema)
- Jun 05, 2023
-
-
Nicolas Dandrimont authored
Click 7.0 (which we use on buster) doesn't autogenerate subcommand names, at least under some circumstances, so be explicit about them.
- Jun 01, 2023
-
- May 30, 2023
-
-
vlorentz authored
A future commit will add a counter for the size of 'raw_extrinsic_metadata', which makes this code feel a bit repetitive
-
- May 24, 2023
- May 23, 2023
-
-
Antoine Lambert authored
When branches_from parameter was greater than branch_name_exclude_prefix, branches whose name is greater than the prefix but lesser than branches_from could be returned. So do not call snapshot_branch_get_range method for such cases and simply call snapshot_branch_get_from_name. Related to swh/infra/sysadm-environment#4863
-
- May 22, 2023
-
-
David Douard authored
Original issue has been fixed.
-
- May 19, 2023
-
-
Antoine Lambert authored
Due to the client-side filtering of branches returned by the CQL runner, the number of returned branches could be off by one or greater than the requested branches count. So ensure to return the correct number of branches when filtering by target types for instance.
-
- May 16, 2023
-
-
Jayesh authored
-
- May 11, 2023
-
-
Nicolas Dandrimont authored
This updates the PostgreSQL storage test fixtures to always create the current partition, so that object_reference-related tests can pass.
-
- May 04, 2023
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
Co-authored with @lunar
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
This will allow the takedown processing scripts to check whether the objects they intend to remove are referenced by objects that are not expected to be removed. Ref. #4680
-
- Apr 26, 2023
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- Apr 05, 2023
-
-
vlorentz authored
This is a recurring mistake, that should be caught by other tests but sometimes isn't.
-
vlorentz authored
-
vlorentz authored
A future commit will check statements look as expected; and not dealing with two different syntaxes makes this task simpler
-
vlorentz authored
A future commit will check statements look as expected; and not dealing with comments makes this task easier.
-
- Apr 04, 2023
- Apr 03, 2023
-
- Mar 30, 2023
-
-
David Douard authored
Next version of swh.model will change a bit the API of this method. Make storage compatible with both versions of the API.
-
David Douard authored
In next version of swh.model, this class is expected to not handle the "length" as an (optional) hash algo. Make this test compatible with both versions of the MultiHash class.
-
- Mar 29, 2023
-
-
David Douard authored
This is needed to help a small swh.model (future) evolution that will make these methods return TypedDict instead of raw dicts. This is only to prevent a mypy breakage during the transition to the next swh.model version (v6 -> v7). A future revision will come to "fix" this code annotation once swh.model v7 is published.
-
- Mar 24, 2023
-
-
David Douard authored
-
David Douard authored
As a temporary workaround for https://github.com/redis/redis-py/issues/2629
-
- Mar 14, 2023
- Mar 13, 2023
-
-
Nicolas Dandrimont authored
swh_visit_find_by_date tries to do an index only scan on `origin_visit (origin, date)`. However, by sorting the results on an extra column (the visit id), the postgresql planner would end up doing an index scan, which times out on origins with lots of visits. Splitting the work across two steps (first find the date, which works with index only scans, then find the highest visit id, which usually only returns one row) fixes this issue.
-
vlorentz authored
-
- Mar 08, 2023
-
-
Jérémy Bobbio (Lunar) authored
The dict they returned are now proper classes with their own documentation.
-