0e7bec7 | Jenkins for Software Heritage | 13 November 2019, 12:29:16 UTC | Updated backport on buster-swh from debian/0.0.157-1_swh1 (unstable-swh) | 13 November 2019, 12:29:16 UTC |
4e2630c | Jenkins for Software Heritage | 13 November 2019, 12:29:16 UTC | Merge tag 'debian/0.0.157-1_swh1' into debian/buster-swh swh-storage Debian release 0.0.157-1~swh1 # Conflicts: # debian/changelog | 13 November 2019, 12:29:16 UTC |
f2193c3 | Jenkins for Software Heritage | 13 November 2019, 12:27:07 UTC | Updated debian changelog for version 0.0.157 | 13 November 2019, 12:27:07 UTC |
07c7ce9 | Jenkins for Software Heritage | 13 November 2019, 12:27:06 UTC | Update upstream source from tag 'debian/upstream/0.0.157' Update to upstream version '0.0.157' with Debian dir ca1b4e56d7d3820b3368621c3d2d187e996b6892 | 13 November 2019, 12:27:06 UTC |
05d648e | Jenkins for Software Heritage | 13 November 2019, 12:27:05 UTC | New upstream version 0.0.157 | 13 November 2019, 12:27:05 UTC |
bb5d405 | Nicolas Dandrimont | 12 November 2019, 18:55:33 UTC | Add minimal test coverage for swh.storage.schemata | 13 November 2019, 12:08:27 UTC |
d788677 | Nicolas Dandrimont | 12 November 2019, 18:08:47 UTC | Fix bogus NotImplementedError on Area.index_uris This would raise when the iteration terminates even though the uris were generated. | 12 November 2019, 18:08:47 UTC |
94fa1bf | Jenkins for Software Heritage | 30 October 2019, 17:30:12 UTC | Updated backport on buster-swh from debian/0.0.156-1_swh2 (unstable-swh) | 30 October 2019, 17:30:12 UTC |
186cd53 | Jenkins for Software Heritage | 30 October 2019, 17:30:12 UTC | Merge tag 'debian/0.0.156-1_swh2' into debian/buster-swh swh-storage Debian release 0.0.156-1~swh2 # Conflicts: # debian/changelog | 30 October 2019, 17:30:12 UTC |
9908153 | Nicolas Dandrimont | 30 October 2019, 17:21:17 UTC | Add version constraint on psycopg2 | 30 October 2019, 17:21:42 UTC |
bd6a932 | Jenkins for Software Heritage | 30 October 2019, 17:13:43 UTC | Updated backport on buster-swh from debian/0.0.156-1_swh1 (unstable-swh) | 30 October 2019, 17:13:43 UTC |
6b5b76b | Jenkins for Software Heritage | 30 October 2019, 17:13:42 UTC | Merge tag 'debian/0.0.156-1_swh1' into debian/buster-swh swh-storage Debian release 0.0.156-1~swh1 # Conflicts: # debian/changelog | 30 October 2019, 17:13:42 UTC |
69a3d42 | Jenkins for Software Heritage | 30 October 2019, 14:29:28 UTC | Updated debian changelog for version 0.0.156 | 30 October 2019, 14:29:28 UTC |
a211c7b | Jenkins for Software Heritage | 30 October 2019, 14:29:27 UTC | Update upstream source from tag 'debian/upstream/0.0.156' Update to upstream version '0.0.156' with Debian dir 51c2da75a276d10d50ebec212ad820f985c48dfa | 30 October 2019, 14:29:27 UTC |
67029e6 | Jenkins for Software Heritage | 30 October 2019, 14:29:26 UTC | New upstream version 0.0.156 | 30 October 2019, 14:29:26 UTC |
d4540ed | Valentin Lorentz | 30 October 2019, 13:35:09 UTC | Make visit['origin'] a string everywhere (instead of a dict). | 30 October 2019, 14:08:29 UTC |
0606791 | Valentin Lorentz | 25 October 2019, 11:03:26 UTC | Stop supporting origin ids in API (except in origin_get_range). | 30 October 2019, 13:13:40 UTC |
6f2e27c | Jenkins for Software Heritage | 30 October 2019, 11:18:37 UTC | Updated debian changelog for version 0.0.155 | 30 October 2019, 11:18:37 UTC |
5072307 | Jenkins for Software Heritage | 30 October 2019, 11:18:37 UTC | Update upstream source from tag 'debian/upstream/0.0.155' Update to upstream version '0.0.155' with Debian dir bba9f7b007530ff59ad1370a5c630025c5b820a3 | 30 October 2019, 11:18:37 UTC |
9064867 | Jenkins for Software Heritage | 30 October 2019, 11:18:36 UTC | New upstream version 0.0.155 | 30 October 2019, 11:18:36 UTC |
4ff544a | David Douard | 18 October 2019, 13:40:01 UTC | tests: delete (now useless) storage_testing.py file | 30 October 2019, 09:25:17 UTC |
2a6bf45 | David Douard | 28 October 2019, 10:57:52 UTC | conftest: make it possible to configure SQL dump files used by SwhDatabaseJanitor so one can use the postgresql_fact fixture factory for other tests than Storage ones (eg. for swh-indexer storage tests). | 30 October 2019, 09:06:57 UTC |
e2402e0 | David Douard | 29 October 2019, 09:10:52 UTC | conftest: do not use hypothesis to generate origins and contents using gen_origins and gen_contents helper functions from swh.model for the Storage under test. This is required because 1/ it was a non-conventional use of hypothesis, and 2/ since hypotesis 4.42, tests using hypothesis-generated origins and contents are broken. Also increase default origins generated size to 100. | 30 October 2019, 08:58:10 UTC |
35bdea8 | David Douard | 29 October 2019, 15:14:57 UTC | make in_memory Storage compatible with frozen model entities since attr based model entities are now frozen in swh.model 0.0.50 | 29 October 2019, 15:17:12 UTC |
28818ab | Nicolas Dandrimont | 23 October 2019, 08:46:07 UTC | Remove origin['type'] This is now superseded by origin_visit['type'] | 23 October 2019, 11:08:48 UTC |
655d2ae | Nicolas Dandrimont | 23 October 2019, 08:44:42 UTC | Add missing files to MANIFEST.in | 23 October 2019, 11:08:48 UTC |
1ab9d64 | Nicolas Dandrimont | 23 October 2019, 08:44:11 UTC | Move hypothesis strategy definitions to swh/storage/tests/conftest.py | 23 October 2019, 11:08:48 UTC |
f68f4c3 | Nicolas Dandrimont | 17 October 2019, 12:42:35 UTC | Replace unwanted data.originX['type'] in tests | 23 October 2019, 11:08:48 UTC |
578d2c6 | Nicolas Dandrimont | 23 October 2019, 08:48:55 UTC | Use a wildcard to get the list of SQL files | 23 October 2019, 11:08:48 UTC |
484cebb | Antoine R. Dumont (@ardumont) | 14 October 2019, 12:56:20 UTC | schemata: Send only origin url for scheduling debian loader task Related D2135 | 17 October 2019, 15:53:53 UTC |
9984111 | Nicolas Dandrimont | 17 October 2019, 12:23:38 UTC | Remove origin_visit_add fallback for type=None This prepares the removal of the type column from the origin table | 17 October 2019, 13:45:10 UTC |
6d98503 | Nicolas Dandrimont | 17 October 2019, 12:21:20 UTC | Always use explicit visit type in origin_visit_add | 17 October 2019, 13:44:15 UTC |
6781be1 | Nicolas Dandrimont | 17 October 2019, 12:19:30 UTC | Remove useless origin visits from snapshot-only tests | 17 October 2019, 13:44:15 UTC |
d165c09 | Nicolas Dandrimont | 17 October 2019, 11:37:43 UTC | Remove now-useless triggers | 17 October 2019, 13:44:15 UTC |
74a6437 | Antoine R. Dumont (@ardumont) | 17 October 2019, 12:45:19 UTC | requirements-test: Set pytest-postgresql dependencies version | 17 October 2019, 13:25:27 UTC |
fbdad1c | Valentin Lorentz | 17 October 2019, 12:49:39 UTC | Remove fetch_history. It is not used anymore. | 17 October 2019, 12:59:45 UTC |
1b3ff24 | Jenkins for Software Heritage | 17 October 2019, 11:52:47 UTC | Updated debian changelog for version 0.0.154 | 17 October 2019, 11:52:47 UTC |
700224a | Jenkins for Software Heritage | 17 October 2019, 11:52:46 UTC | Update upstream source from tag 'debian/upstream/0.0.154' Update to upstream version '0.0.154' with Debian dir c960d279c8e1dd8ad7d49e4a81b063dae028f0d3 | 17 October 2019, 11:52:46 UTC |
5eb74d7 | Jenkins for Software Heritage | 17 October 2019, 11:52:45 UTC | New upstream version 0.0.154 | 17 October 2019, 11:52:45 UTC |
1b8e042 | Antoine R. Dumont (@ardumont) | 17 October 2019, 11:33:47 UTC | d/control: Update build dependencies | 17 October 2019, 11:43:35 UTC |
84bcfb3 | Antoine R. Dumont (@ardumont) | 17 October 2019, 11:38:35 UTC | tests: Move sample_data fixture to swh/storage/tests/conftest.py | 17 October 2019, 11:41:46 UTC |
345f9d1 | Jenkins for Software Heritage | 17 October 2019, 11:26:13 UTC | Updated debian changelog for version 0.0.153 | 17 October 2019, 11:26:13 UTC |
c58ba04 | Jenkins for Software Heritage | 17 October 2019, 11:26:12 UTC | Update upstream source from tag 'debian/upstream/0.0.153' Update to upstream version '0.0.153' with Debian dir 80ef1c6af9ef4cd1931b74ddcca7351df6b28272 | 17 October 2019, 11:26:12 UTC |
7eef1c0 | Jenkins for Software Heritage | 17 October 2019, 11:26:11 UTC | New upstream version 0.0.153 | 17 October 2019, 11:26:11 UTC |
3bb46f6 | David Douard | 08 October 2019, 13:39:11 UTC | test_storage: kill StorageTestDbFixture class it's not used any more. | 14 October 2019, 12:32:57 UTC |
dbea02c | David Douard | 10 October 2019, 15:30:36 UTC | test_api_client: refactor the code for new pytest based infra This uses the latest pytest fixtures added in swh.core to define a swh_storage fixture that setup a RPC client/server stack to execute tests defined in classes TestStorage and TestStorageGeneratedData (from swh.storage.tests.test_storage). | 14 October 2019, 12:32:57 UTC |
8003db6 | David Douard | 10 October 2019, 15:29:35 UTC | api: add (missing) refresh_stat_counters() endpoint so we do not need special cases in tests, at least. | 14 October 2019, 12:32:57 UTC |
8a9cfeb | David Douard | 14 October 2019, 08:50:46 UTC | tests/algos: rewrite test_snapshot with pytest | 14 October 2019, 12:32:57 UTC |
cadafef | David Douard | 08 October 2019, 14:10:18 UTC | in_memory: fix handling of 'hidden' content in InMemoryStorage and update tests This defines a local swh_storage fixture that uses an InMemoryStorage to execute tests defined in classes TestStorage and TestStorageGeneratedData (from swh.storage.tests.test_storage). Adapt tests for the InMemoryStorage to new storage test infra. | 14 October 2019, 12:32:14 UTC |
8529e7b | David Douard | 08 October 2019, 14:08:58 UTC | test_storage: rename TestStorageCommonProp as TestStorageGeneratedData somehow a bit clearer, maybe. Also adapt test_in_memory.py and test_api_client.py with this rename even if these tests are xfailed for now to prevent ImportError when running the whole test suite. | 14 October 2019, 12:14:08 UTC |
743f915 | David Douard | 08 October 2019, 14:06:58 UTC | test_storage: make test_origin_metadata_get more robust Nothing garantees us that Storage.origin_metadata_get_by() result is sorted, so don't expect it is. | 14 October 2019, 12:14:08 UTC |
204b9fa | David Douard | 08 October 2019, 13:40:03 UTC | test_storage: move db specific methods from main TestStorage to TestPgStorage which is actually TestAlteringSchema that have been renamed to be a bit more meaningful. | 14 October 2019, 12:14:08 UTC |
9f12202 | David Douard | 14 October 2019, 08:45:13 UTC | conftest: use an in memory obj storage | 14 October 2019, 12:14:08 UTC |
fb70f88 | David Douard | 30 September 2019, 10:14:47 UTC | tests: refactor main storage tests - use pytest instead of unittest.TestCase plumbing - extract data from the TestStorageData into a data `storage_data` module; this module also provide a simple helper `StorageData` class that mimics the original class (access by attributes), - implement a series of pytest fixtures for these storage specific tests, - get rid of most hypothesis-based tests, - replace usage of the use_url hypothesis boolean statetgy by pytest.mark.parametrize fixtures; this allows to prevent from the need of resetting the storage, since tests are truly executed twice (thus with a new swh_storage), - refactor test_db to use pytest-postgresql. Disable (xfail) tests from test_snapshot.py, test_api_client and test_in_memory for now. Fixes/refactorings come with following revisions. | 14 October 2019, 12:14:08 UTC |
62aff76 | Antoine R. Dumont (@ardumont) | 09 October 2019, 21:01:09 UTC | Remove indirection swh.storage.api.wsgi to start server | 09 October 2019, 21:01:09 UTC |
654a37e | Antoine R. Dumont (@ardumont) | 09 October 2019, 13:28:51 UTC | tox.ini: Fix py3 environment to use packaged tests Related D2082 | 09 October 2019, 13:28:51 UTC |
687b351 | Jenkins for Software Heritage | 08 October 2019, 15:03:16 UTC | Updated debian changelog for version 0.0.152 | 08 October 2019, 15:03:16 UTC |
0f8e9eb | Jenkins for Software Heritage | 08 October 2019, 15:03:16 UTC | Update upstream source from tag 'debian/upstream/0.0.152' Update to upstream version '0.0.152' with Debian dir 6776bb22d25d739b7969e625e20e7989fd4ea777 | 08 October 2019, 15:03:16 UTC |
3464757 | Jenkins for Software Heritage | 08 October 2019, 15:03:15 UTC | New upstream version 0.0.152 | 08 October 2019, 15:03:15 UTC |
03d5a2c | Antoine R. Dumont (@ardumont) | 08 October 2019, 12:13:14 UTC | swh.storage.buffer: Add buffering proxy storage implementation Related T1389 | 08 October 2019, 14:40:51 UTC |
c83f1f9 | Antoine R. Dumont (@ardumont) | 08 October 2019, 12:09:23 UTC | swh.storage.filter: Add filtering storage implementation Also add a sample_data fixture to read default test data from. Related T1389 | 08 October 2019, 14:12:49 UTC |
02b25f0 | Antoine R. Dumont (@ardumont) | 08 October 2019, 12:07:54 UTC | swh.storage: Test get_storage implementation | 08 October 2019, 14:09:56 UTC |
3228b18 | Nicolas Dandrimont | 02 October 2019, 15:21:07 UTC | test_storage: Use the db_transaction context manager instead of raw connections This minimizes the risk of dangling db connections, which in turn reduces the chance of cascading test failures. | 02 October 2019, 15:21:07 UTC |
4c2c311 | Nicolas Dandrimont | 02 October 2019, 15:19:04 UTC | test_storage: introduce a db_transaction context manager This wraps the steps needed to get a (properly wrapped) db object and run a transaction on it so we avoid repeating ourselves | 02 October 2019, 15:20:54 UTC |
9bbd5e2 | Nicolas Dandrimont | 02 October 2019, 15:04:31 UTC | Postgres storage: introduce a db() context manager This helper avoids us repeating the get_db/put_db pattern all the time. | 02 October 2019, 15:13:41 UTC |
e8c01a2 | Nicolas Dandrimont | 02 October 2019, 11:51:05 UTC | Replace all 'inmemory' journal writers with 'memory' | 02 October 2019, 15:13:41 UTC |
24ea71f | Nicolas Dandrimont | 02 October 2019, 15:07:43 UTC | test_storage: Close all pool connections on teardown This avoids having a race condition between the tear down and the database removal, when using more than one connection in the pool. | 02 October 2019, 15:13:41 UTC |
cd67c46 | Jenkins for Software Heritage | 01 October 2019, 16:32:21 UTC | Updated backport on buster-swh from debian/0.0.151-1_swh2 (unstable-swh) | 01 October 2019, 16:32:21 UTC |
06d6e0f | Jenkins for Software Heritage | 01 October 2019, 16:32:20 UTC | Merge tag 'debian/0.0.151-1_swh2' into debian/buster-swh swh-storage Debian release 0.0.151-1~swh2 # gpg: Signature made Tue Oct 1 16:30:41 2019 UTC # gpg: using RSA key 3291900A8E20E2EF43F8F9D8DCAE90522E7122BF # gpg: Can't check signature: No public key # Conflicts: # debian/changelog | 01 October 2019, 16:32:20 UTC |
b827ff3 | Nicolas Dandrimont | 01 October 2019, 16:30:34 UTC | Add missing build-dependency on python3-swh.journal | 01 October 2019, 16:30:34 UTC |
c1ce3a1 | Nicolas Dandrimont | 12 April 2019, 14:15:31 UTC | Add test triggering the race condition in content_add This minimal example triggers T2019 | 01 October 2019, 15:59:05 UTC |
bc7882e | Jenkins for Software Heritage | 01 October 2019, 08:09:53 UTC | Updated debian changelog for version 0.0.151 | 01 October 2019, 08:09:53 UTC |
7d2c8ef | Jenkins for Software Heritage | 01 October 2019, 08:09:52 UTC | Updated version 0.0.151 from 'debian/upstream/0.0.151' with Debian dir d8455d86b2bbef750d6455bdc7814ad9a28a50d5 | 01 October 2019, 08:09:52 UTC |
f339850 | Jenkins for Software Heritage | 01 October 2019, 08:09:52 UTC | New upstream version 0.0.151 | 01 October 2019, 08:09:52 UTC |
70b15c1 | Antoine Pietri | 01 October 2019, 07:41:04 UTC | api server: missing </body> | 01 October 2019, 07:42:00 UTC |
7c92c33 | Stefano Zacchiroli | 28 September 2019, 11:24:21 UTC | tox: anticipate mypy run to just after flake8 | 01 October 2019, 06:25:21 UTC |
4901259 | Stefano Zacchiroli | 28 September 2019, 11:19:53 UTC | mypy.ini: be less flaky w.r.t. the packages installed in tox in particular, ignore django.* (only indirectly shipped by hypothesis) and allow unused type: ignore (on swh.journal) | 01 October 2019, 06:25:21 UTC |
d8fa30b | Stefano Zacchiroli | 28 September 2019, 10:42:34 UTC | storage.py: ignore typing of optional get_journal_writer import the real type is Optional[Callable[..., Any]], but redefinitions of imported stuff in try..except is currently not supported by mypy, see https://github.com/python/mypy/issues/1153 | 01 October 2019, 06:25:21 UTC |
976aab3 | Stefano Zacchiroli | 27 September 2019, 12:08:48 UTC | mypy: ignore swh.journal to work-around dependency loop | 01 October 2019, 06:25:21 UTC |
ef7d2ef | Stefano Zacchiroli | 27 September 2019, 08:37:04 UTC | init.py: switch to documented way of extending path make mypy 0.730 pass cleanly again | 01 October 2019, 06:25:21 UTC |
395e85d | Stefano Zacchiroli | 21 September 2019, 19:15:02 UTC | typing: minimal changes to make a no-op mypy run pass | 01 October 2019, 06:25:21 UTC |
cbc47c4 | Valentin Lorentz | 24 September 2019, 13:13:04 UTC | Write objects to the journal only if they don't exist yet. * spares some bandwidth/processing time * aligns {content,directory,release,revision}_add on what {snapshot,origin}_add already does | 30 September 2019, 10:05:02 UTC |
e239324 | Valentin Lorentz | 30 September 2019, 09:14:23 UTC | Use origin URLs for skipped_content['origin'] instead of origin ids. This commit uses URLs *instead of* IDs, not in addition to. Supporting IDs should not be needed anymore. | 30 September 2019, 09:43:46 UTC |
0919bdf | Valentin Lorentz | 27 September 2019, 13:20:01 UTC | Properly mock get_journal_writer for the remote-pg-storage tests. | 27 September 2019, 13:28:53 UTC |
9aa6b9d | David Douard | 16 September 2019, 15:17:30 UTC | journal_writer: use journal writer from swh.journal | 25 September 2019, 15:00:12 UTC |
be3a025 | Stefano Zacchiroli | 21 September 2019, 19:16:05 UTC | fix typos in docstrings and sample paths courtesy of codespell | 21 September 2019, 19:23:01 UTC |
2ceacb1 | Antoine R. Dumont (@ardumont) | 20 September 2019, 12:16:49 UTC | storage.origin_visit_add: Remove deprecated 'ts' parameter The parameter `date` becomes mandatory. | 20 September 2019, 12:22:55 UTC |
b2e8aa2 | Stefano Zacchiroli | 16 September 2019, 14:57:24 UTC | click "required" param wants bool, not int courtesy of mypy | 16 September 2019, 14:57:24 UTC |
bb9fd85 | Jenkins for Software Heritage | 04 September 2019, 14:17:51 UTC | Updated backport on buster-swh from debian/0.0.150-1_swh1 (unstable-swh) | 04 September 2019, 14:17:51 UTC |
7645890 | Jenkins for Software Heritage | 04 September 2019, 14:17:50 UTC | Merge tag 'debian/0.0.150-1_swh1' into debian/buster-swh swh-storage Debian release 0.0.150-1~swh1 # Conflicts: # debian/changelog | 04 September 2019, 14:17:50 UTC |
ed0a8ab | Jenkins for Software Heritage | 04 September 2019, 14:16:10 UTC | Updated debian changelog for version 0.0.150 | 04 September 2019, 14:16:10 UTC |
4877168 | Jenkins for Software Heritage | 04 September 2019, 14:16:09 UTC | Updated version 0.0.150 from 'debian/upstream/0.0.150' with Debian dir 5de212f89d6e2a95eb9924be907630d8cb17c1cc | 04 September 2019, 14:16:09 UTC |
5c7d0be | Jenkins for Software Heritage | 04 September 2019, 14:16:08 UTC | New upstream version 0.0.150 | 04 September 2019, 14:16:08 UTC |
f91671b | Antoine Lambert | 04 September 2019, 13:44:36 UTC | tests/test_storage: Remove failing assertion after swh-model update | 04 September 2019, 13:44:36 UTC |
ddb8226 | Antoine Lambert | 04 September 2019, 12:25:49 UTC | tests/test_storage: Fix tests execution with psycopg2 < 2.8 | 04 September 2019, 13:11:45 UTC |
7901264 | Jenkins for Software Heritage | 03 September 2019, 12:27:51 UTC | Updated debian changelog for version 0.0.149 | 03 September 2019, 12:27:51 UTC |
a8b677e | Jenkins for Software Heritage | 03 September 2019, 12:27:50 UTC | Updated version 0.0.149 from 'debian/upstream/0.0.149' with Debian dir 0bef94e46114c01e736cf38e0a13224530688af7 | 03 September 2019, 12:27:50 UTC |
b00740f | Jenkins for Software Heritage | 03 September 2019, 12:27:50 UTC | New upstream version 0.0.149 | 03 September 2019, 12:27:50 UTC |
bf393fd | Valentin Lorentz | 02 September 2019, 09:28:07 UTC | Add support for origin_url in origin_metadata_*. | 02 September 2019, 09:28:07 UTC |
bc3240d | Valentin Lorentz | 21 August 2019, 15:32:22 UTC | Make origin_add/origin_visit_update validate their input. | 29 August 2019, 11:49:48 UTC |