swh:1:snp:eb70f1f85391e4b077c211bec36af0061c4bf937

sort by:
Revision Author Date Message Commit Date
cc97ee5 Updated backport on buster-swh from debian/0.10.5-1_swh1 (unstable-swh) 16 July 2020, 12:40:17 UTC
eb2859d Merge tag 'debian/0.10.5-1_swh1' into debian/buster-swh 16 July 2020, 12:40:17 UTC
e784318 Updated debian changelog for version 0.10.5 16 July 2020, 12:34:44 UTC
dfde77a Update upstream source from tag 'debian/upstream/0.10.5' Update to upstream version '0.10.5' with Debian dir bb81c343fd86d41d4dfc1a42d9261ada325e4aa4 16 July 2020, 12:34:44 UTC
53a6699 New upstream version 0.10.5 16 July 2020, 12:34:42 UTC
3abf6b3 pytest_plugin: Do not expose the validate proxy storage Only the storage module needs it. This should fix the debian jenkins build [1] [1] https://jenkins.softwareheritage.org/view/Debian%20packages/job/debian/job/packages/job/DLDBASE/job/gbp-buildpackage/153/console 16 July 2020, 12:00:46 UTC
a688e82 test_revision_bw_compat: Use revision model object Related to T2494 16 July 2020, 10:08:33 UTC
93768be Updated backport on buster-swh from debian/0.10.4-1_swh1 (unstable-swh) 16 July 2020, 09:42:50 UTC
c07ee1c Merge tag 'debian/0.10.4-1_swh1' into debian/buster-swh 16 July 2020, 09:42:49 UTC
b5ecd61 Updated debian changelog for version 0.10.4 16 July 2020, 09:37:24 UTC
9a134a0 Update upstream source from tag 'debian/upstream/0.10.4' Update to upstream version '0.10.4' with Debian dir a72efe1f10ce0a794b9f88ea6fb9eff0c9c65437 16 July 2020, 09:37:24 UTC
7d51310 New upstream version 0.10.4 16 July 2020, 09:37:22 UTC
21efe2a test_filter: Use model objects in tests and drop validate proxy 16 July 2020, 09:28:21 UTC
2ff4c6f test_buffer: Use model objects in tests and drop validate proxy 16 July 2020, 09:28:21 UTC
df45641 test_retry: Drop validate proxy when we can When we use the sample_data_model (almost all object types except the metadata ones), we can use a storage with no validate proxy. Depends on D3510 16 July 2020, 09:28:21 UTC
14b1648 test_retry: Use sample_data_model fixture to manipulate model objects 16 July 2020, 09:28:20 UTC
df3f46d pytest-plugin: Expose a sample_data_model fixture This is almost the same fixture as sample_data except: - it's BaseModel object instance within - not complete as we cannot convert yet the metadata objects (there is a diff pending which will allow it but right now we cannot). The next commits will use this fixture to allow the switch from dict to model objects. 16 July 2020, 09:28:20 UTC
8bc7944 pytest_plugin: Avoid fixture client to declare optional dependency Prior to this commit, this would make swh_storage_backend_config fixture clients need to declare an optional dependency on swh.journal. Otherwise, it would not work [1]. This commit fixes it by dropping this configuration in the main pytest plugin. It keeps the storage tests testing with that journal_writer collaborator though by declaring an override which still provides it. This fixes the debian build [1] [1] https://jenkins.softwareheritage.org/view/Debian%20packages/job/debian/job/packages/job/DLDBASE/job/gbp-buildpackage/152/console 16 July 2020, 07:33:00 UTC
f5811da Allow cassandra binary path to be configured through env variable The current hard-coded value won't work for other distributions not relying on standard conventions (e.g. nixos...). This keeps the original behavior and only allow to diverge based on the environment variable SWH_CASSANDRA_BIN. This also: - fixes an issue on log path inexistence which raises. - renames the other env variable LOG_CASSANDRA to SWH_CASSANDRA_LOG (for consistency) 15 July 2020, 10:09:55 UTC
1a8924b 158: Make schema and migration converge so the migration works In the end, the order of the revision entry matters whether we select * or not. So the select must match the order defined in the revision_entry type type. Otherwise, a mismatch type error occurs [1] [1] psql:sql/upgrades/158.sql:74: ERROR: return type mismatch in function declared to return revision_entry 11 July 2020, 06:52:26 UTC
d191afc Updated backport on buster-swh from debian/0.10.3-1_swh1 (unstable-swh) 10 July 2020, 14:46:24 UTC
fc3270c Merge tag 'debian/0.10.3-1_swh1' into debian/buster-swh 10 July 2020, 14:46:24 UTC
bca3e4d Updated debian changelog for version 0.10.3 10 July 2020, 14:40:29 UTC
39820c5 Update upstream source from tag 'debian/upstream/0.10.3' Update to upstream version '0.10.3' with Debian dir 838097bcec631592b5a930eda6b7bcaf82653459 10 July 2020, 14:40:28 UTC
312a1d4 New upstream version 0.10.3 10 July 2020, 14:40:26 UTC
9219a23 in_memory: Fix snapshot_get_branches regression with target_types When providing target_types parameter, snapshot branches must be sorted when iterating otherwise wrong branches can be returned. 10 July 2020, 14:15:54 UTC
983cc9c Updated backport on buster-swh from debian/0.10.2-1_swh2 (unstable-swh) 10 July 2020, 07:30:38 UTC
29e7aa6 Merge tag 'debian/0.10.2-1_swh2' into debian/buster-swh 10 July 2020, 07:30:38 UTC
be19086 d/changelog: Bump new release 10 July 2020, 07:21:43 UTC
e61adec d/rules: Avoid double pytest plugin loading clash 10 July 2020, 07:17:27 UTC
319abde Updated debian changelog for version 0.10.2 10 July 2020, 06:52:42 UTC
83f3869 Update upstream source from tag 'debian/upstream/0.10.2' Update to upstream version '0.10.2' with Debian dir 6a7cb32f7c2b24f5a1a828148ccddc05ecf59f29 10 July 2020, 06:52:41 UTC
da3fd3f New upstream version 0.10.2 10 July 2020, 06:52:39 UTC
23318c2 setup: Do no expose the pytest-plugin any longer Defining the pytest-plugin though the pytest-plugin [1] makes it loaded by default. This creates loading issues on modules depending on storage but not on the pytest plugin storage exposes. It was explained in the doc and I did not realize [2] Instead we'll explicitely define to modules depending on the pytest plugins in their root conftest [3]: ``` pytest_plugins = [ "swh.storage.pytest_plugin" ] ``` [1] https://docs.pytest.org/en/stable/writing_plugins.html#setuptools-entry-points [2] https://docs.pytest.org/en/stable/writing_plugins.html#plugin-discovery-order-at-tool-startup [3] https://docs.pytest.org/en/stable/writing_plugins.html#requiring-loading-plugins-in-a-test-module-or-conftest-file Related to T2484 10 July 2020, 06:19:39 UTC
124e76d Rework dia -> pdf pipeline for inkscape 1.0 - Use dia directly to convert from .dia to .svg (inkscape would use dia via a plugin anyway) - Add proper runes to detect inkscape >= 1 and use the export options for that. 09 July 2020, 17:38:29 UTC
de38cd1 Remove overhead of to_dict/from_dict in test_snapshot_large. This should make it fast enough not to exceed the deadline. 09 July 2020, 16:02:10 UTC
e415488 in_memory: Fix quadratic run time in snapshot_get_branches. snapshot.branches is now an ImmutableDict, which is backed by a tuple of tuples; so random accesses now take a linear time instead of a constant time. This commit replaces random accesses with a single scan of all the items, and does existence checks in a set instead. 09 July 2020, 15:59:48 UTC
c3803ef Fix a typo I introduced in previous revision dict(x if x is not None else None) != dict(x) if x is not None else None... 09 July 2020, 09:56:35 UTC
8bf3794 Convert ImmutableDict to dict before passing it to json.dumps. To work with the new swh-model version, which uses ImmutableDict in model objects. 09 July 2020, 09:31:50 UTC
35143e0 Updated backport on buster-swh from debian/0.10.1-1_swh2 (unstable-swh) 08 July 2020, 13:06:52 UTC
d9be965 Merge tag 'debian/0.10.1-1_swh2' into debian/buster-swh 08 July 2020, 13:06:52 UTC
7fef9a3 d/changelog: Bump new release 08 July 2020, 12:56:55 UTC
dc13687 d/control: Add missing runtime dependency 08 July 2020, 12:53:59 UTC
378be70 Updated debian changelog for version 0.10.1 08 July 2020, 12:39:15 UTC
b21bdf3 Update upstream source from tag 'debian/upstream/0.10.1' Update to upstream version '0.10.1' with Debian dir ef92c0f03a58e915e8c533907b05f3cbbf47c0b2 08 July 2020, 12:39:14 UTC
4b735d9 New upstream version 0.10.1 08 July 2020, 12:39:13 UTC
f64a1cf Updated debian changelog for version 0.10.0 08 July 2020, 10:11:10 UTC
dd9e095 Update upstream source from tag 'debian/upstream/0.10.0' Update to upstream version '0.10.0' with Debian dir 9dcf01bf2be5bceee11f69c2c4aa312d2e03db82 08 July 2020, 10:11:09 UTC
5f8614a New upstream version 0.10.0 08 July 2020, 10:11:07 UTC
c21d0e3 Move sharable fixtures out of conftest into a dedicated pytest plugin This will allow loaders to reuse those dedicated fixtures within their code base without having to import the swh.storage.tests.conftest module. Related to T2484 08 July 2020, 09:50:21 UTC
e45ca76 Migrate from vcversioner to setuptools-scm Related to T2105 07 July 2020, 15:42:30 UTC
5ab7023 Extract revision's extra_header as a top level attribute Follows swh.model's evolution for the Revision model class. In Postgresql, store the extra_headers as a bytea[][]. Ensure data present in postgres with extra_headers in the metadata field are properly supported by the pg-backed storage. Get rid of the (now useless) git_headers_to_db() converter function. In Cassandra, store them as frozen<list<list<blob>>>. 07 July 2020, 14:49:14 UTC
e734695 Updated backport on buster-swh from debian/0.9.3-1_swh1 (unstable-swh) 06 July 2020, 08:11:52 UTC
9af4e73 Merge tag 'debian/0.9.3-1_swh1' into debian/buster-swh 06 July 2020, 08:11:51 UTC
8828f5d Updated debian changelog for version 0.9.3 06 July 2020, 08:06:13 UTC
cd6b2fc Update upstream source from tag 'debian/upstream/0.9.3' Update to upstream version '0.9.3' with Debian dir 75517c4f83b27d028160c6a892308555ff2febaf 06 July 2020, 08:06:12 UTC
8154981 New upstream version 0.9.3 06 July 2020, 08:06:11 UTC
8010848 storage: Send metrics from the origin_add endpoint Prior to this commit, since the loaders got migrated to use the main endpoint, no metrics were sent for the origin any longer. This commit fixes it. It also drops the send_metrics call from the deprecated endpoint origin_add_one (which, as an implementation details calls the other one). 06 July 2020, 07:45:40 UTC
ddec157 Updated backport on buster-swh from debian/0.9.2-1_swh1 (unstable-swh) 03 July 2020, 16:59:53 UTC
a98cc42 Merge tag 'debian/0.9.2-1_swh1' into debian/buster-swh 03 July 2020, 16:59:52 UTC
ab6706c Updated debian changelog for version 0.9.2 03 July 2020, 16:54:13 UTC
12740a4 Update upstream source from tag 'debian/upstream/0.9.2' Update to upstream version '0.9.2' with Debian dir 56ec491d91dc54522e4bc3ac723e3e3b0e6b5c47 03 July 2020, 16:54:12 UTC
6b7027b New upstream version 0.9.2 03 July 2020, 16:54:10 UTC
95fd660 pg-storage: Add missing cur parameter passing Although, this also pulled a refactoring on the insertion query as the default naive approach ended up with issues on cur already being closed [1] [1] Related to P715 Related to D3416 03 July 2020, 15:54:04 UTC
ffa9206 Updated backport on buster-swh from debian/0.9.1-1_swh1 (unstable-swh) 03 July 2020, 15:06:24 UTC
9ac73da Merge tag 'debian/0.9.1-1_swh1' into debian/buster-swh 03 July 2020, 15:06:23 UTC
b7ff639 Updated debian changelog for version 0.9.1 03 July 2020, 15:00:33 UTC
b3e9669 Update upstream source from tag 'debian/upstream/0.9.1' Update to upstream version '0.9.1' with Debian dir 02ff8c6b2b9df66b00a95c56c91b76a84d436e78 03 July 2020, 15:00:32 UTC
4a03544 New upstream version 0.9.1 03 July 2020, 15:00:30 UTC
348bc7b storage.db: Drop db.origin_visit_upsert behavior The initial desired behavior was to allow creation of origin-visit if they already had their id set. This is the what's needed for the replayer to actually work. But somehow, this left the possibility to update the origin-visit... This commit fixes it by dropping conflictual origin-visits if any. In effect, we can no longer overwrite origin-visits (pg-storage wise). Related to T2310 03 July 2020, 14:42:20 UTC
248c277 Move tests of content_metadata_* next to origin_metadata_* For consistency with the main code. 02 July 2020, 09:04:43 UTC
f2619b6 Rework 157 migration to ease replication setup Past experience showed that altering tables is more stressful than plain creation. As in here. Related to T2306 Related P707 01 July 2020, 13:41:16 UTC
90c9772 Updated backport on buster-swh from debian/0.9.0-1_swh1 (unstable-swh) 01 July 2020, 08:07:50 UTC
28344a0 Merge tag 'debian/0.9.0-1_swh1' into debian/buster-swh 01 July 2020, 08:07:50 UTC
74fba45 Updated debian changelog for version 0.9.0 01 July 2020, 08:02:09 UTC
a1d68e7 Update upstream source from tag 'debian/upstream/0.9.0' Update to upstream version '0.9.0' with Debian dir e7f3e620018c387391bd5555d28fbfd2415e640c 01 July 2020, 08:02:08 UTC
80cf105 New upstream version 0.9.0 01 July 2020, 08:02:06 UTC
312127a storage*: Drop intermediary conversion step into OriginVisit This is no longer possible as OriginVisit no longer hold the same information as OriginVisitStatus. This will allow to drop entirely those fields in the model. Related to T2310 30 June 2020, 13:54:01 UTC
953bd29 pg: use 'on conflict do nothing' strategy for duplicate metadata rows. "updates are a problem for postgresql logical replication" 30 June 2020, 13:25:53 UTC
00f97f0 Document the behavior of adding a duplicate non-intrinsic object is unspecified. 30 June 2020, 13:06:03 UTC
4c2bdad Make the code location of metadata endpoints consistent across backends. 30 June 2020, 12:56:20 UTC
ffe6b92 Add content_metadata_{add,get}. 30 June 2020, 10:31:59 UTC
869679a Add context columns to object_metadata table and object_metadata_{add,get}. Not used/tested yet; will be used when I introduce content_metadata_{get,add}. 30 June 2020, 10:31:59 UTC
27e9426 Generalize origin_metadata to allow support for other object types in the future. 30 June 2020, 10:31:21 UTC
7d410f8 Updated backport on buster-swh from debian/0.8.1-1_swh1 (unstable-swh) 30 June 2020, 08:42:24 UTC
6549fe9 Merge tag 'debian/0.8.1-1_swh1' into debian/buster-swh 30 June 2020, 08:42:23 UTC
2298df9 Updated debian changelog for version 0.8.1 30 June 2020, 08:36:45 UTC
346d50d Update upstream source from tag 'debian/upstream/0.8.1' Update to upstream version '0.8.1' with Debian dir 7f0a4728948d5075fb349093cb33b181cf6d5723 30 June 2020, 08:36:44 UTC
cced77a New upstream version 0.8.1 30 June 2020, 08:36:42 UTC
1f0e256 Work around the segmentation faults caused by pytest-coverage + multiprocessing. 30 June 2020, 08:23:25 UTC
dc1878b Make release_add support adding the same object twice in the same call This is an edge case, but the mirror infrastructure is apparently hitting it. We modify the SQL query to be properly idempotent. Also ensure in_memory and cassandra backends behave the same. Note: this revision was mostly written by Nicolas Dandrimont <nicolas@dandrimont.eu>. 29 June 2020, 15:27:21 UTC
006c612 Updated backport on buster-swh from debian/0.8.0-1_swh1 (unstable-swh) 29 June 2020, 07:49:46 UTC
cff86d2 Merge tag 'debian/0.8.0-1_swh1' into debian/buster-swh 29 June 2020, 07:49:46 UTC
8e9f87c Updated debian changelog for version 0.8.0 29 June 2020, 07:44:00 UTC
545d51b Update upstream source from tag 'debian/upstream/0.8.0' Update to upstream version '0.8.0' with Debian dir 7c90b60fe9d71a40cd885b736d00a3156a4aafad 29 June 2020, 07:43:59 UTC
57aaf30 New upstream version 0.8.0 29 June 2020, 07:43:58 UTC
10443b8 Iterate over paginated visits in batches to retrieve latest visit/snapshot This should stops the current timeouts on origin with a high number of visits. Related to T2310 26 June 2020, 15:38:22 UTC
182ee49 storage*: Open order parameter to origin-visit-get endpoint This allows clients to search from most recent to oldest visit when calling the endpoint with the "order" parameter set to "desc" (visit id desc). This keeps and explicits the existing sorting order as visit id "asc". Related to T2310 26 June 2020, 11:22:40 UTC
f75cd41 tests*: Drop obsolete origin visit fields Related to T2310 26 June 2020, 10:28:06 UTC
8620519 replayer: Drop obsolete fields from origin-visit Otherwise, we won't be able to replay them. Related T2310 26 June 2020, 07:50:38 UTC
back to top