608aa20 | Antoine R. Dumont (@ardumont) | 13 January 2021, 12:03:28 UTC | Populate origin_visit_stats table out of the origin_visit_status topic The snapshot is used to determine the "eventful/uneventful" nature of the origin visit status. When no snapshot is provided, the visit is considered as failed so the last_failed column is updated. As there is no time guarantee when reading message from the topic, the code tries to keep the data in the most timely ordered as possible. Only most recent information is kept. Related to T2967 | 15 January 2021, 13:34:05 UTC |
ca45d40 | Nicolas Dandrimont | 13 January 2021, 14:31:55 UTC | Filter origins by visit type when scheduling the next visits We have separate task queues and workers for each visit type, so it makes sense to split this endpoint along these lines too, at least for now. | 14 January 2021, 12:53:31 UTC |
59b4cb3 | Nicolas Dandrimont | 13 January 2021, 14:25:56 UTC | Reorganize ListedOrigin fixtures to generate multiple visit_types | 14 January 2021, 12:53:31 UTC |
4f5338f | Nicolas Dandrimont | 12 January 2021, 16:10:39 UTC | Introduce a `swh scheduler origin schedule-next` cli This creates one-shot tasks in the classic scheduler for the next visits to run according to the visit scheduling policy. | 14 January 2021, 12:53:31 UTC |
3dd1d5f | Nicolas Dandrimont | 12 January 2021, 16:28:33 UTC | Rename test task types to names that match real tasks The success of tests using these task types would depend on the test run order, because these task types are (currently) being created by swh/scheduler/sql/50-data.sql, but the table is truncated after the first test completes. | 14 January 2021, 12:53:31 UTC |
5d7b002 | Nicolas Dandrimont | 12 January 2021, 15:16:31 UTC | Introduce a `swh scheduler origin grab-next` cli This returns, as CSV, the next origins to be visited according to the passed scheduling policy. | 14 January 2021, 12:53:31 UTC |
a620033 | Vincent SELLIER | 12 January 2021, 11:13:07 UTC | Add an new origin visit info model object and related backend api Upsert and Read methods Related to T2443 | 12 January 2021, 13:47:49 UTC |
b13cb1f | Nicolas Dandrimont | 11 January 2021, 14:29:09 UTC | Implement a basic endpoint for getting the next origins to visit The basic policy implemented is a FIFO, to get things going. | 11 January 2021, 14:40:17 UTC |
619100e | David Douard | 18 December 2020, 14:57:00 UTC | Add a cli section to the doc | 18 December 2020, 14:57:00 UTC |
42d50be | Antoine R. Dumont (@ardumont) | 08 December 2020, 09:31:02 UTC | d/changelog: Bump new release | 08 December 2020, 10:32:58 UTC |
e1a2697 | Antoine R. Dumont (@ardumont) | 08 December 2020, 09:25:50 UTC | d/control: Add python3-humanize dependency | 08 December 2020, 09:48:42 UTC |
efb84dd | Antoine R. Dumont (@ardumont) | 08 December 2020, 09:30:45 UTC | d/changelog: Fix typo pre-commit is annoying otherwise | 08 December 2020, 09:46:38 UTC |
c8ab763 | Jenkins for Software Heritage | 07 December 2020, 08:55:39 UTC | Updated debian changelog for version 0.8.2 | 07 December 2020, 08:55:39 UTC |
00b9806 | Jenkins for Software Heritage | 07 December 2020, 08:55:38 UTC | Update upstream source from tag 'debian/upstream/0.8.2' Update to upstream version '0.8.2' with Debian dir ddd42185b0d9f92c3840c4bb44f59d77b09454c5 | 07 December 2020, 08:55:38 UTC |
1d55616 | Jenkins for Software Heritage | 07 December 2020, 08:55:37 UTC | New upstream version 0.8.2 | 07 December 2020, 08:55:37 UTC |
ebff12b | Antoine R. Dumont (@ardumont) | 07 December 2020, 08:10:34 UTC | requirement: Adapt celery requirements This adapts the celery requirements to the last known where our builds are fine. Currently, 5.0.3 got released and this ends up making all the swh modules relying on tasks timeout. A bug upstream is opened [1]. In the mean time, this workaround fixes [2] and most probably the remaining swh builds. [1] https://github.com/celery/celery/issues/6521 [2] https://jenkins.softwareheritage.org/job/DSCH/job/tests/1132/console | 07 December 2020, 08:28:00 UTC |
3c87075 | David Douard | 02 December 2020, 08:49:33 UTC | Replace usage of arrow datetime objects in favor of pure datetime ones Note that the humanize library is now used in the cli pretty printing function (in place of the arrow hiumanize feature). As a result, displayed output from some cli commands may slightly differ. Closes T2835. | 03 December 2020, 09:25:36 UTC |
1b390a7 | Antoine R. Dumont (@ardumont) | 25 November 2020, 14:33:29 UTC | Stop using the deprecated configuration scheme | 25 November 2020, 14:56:18 UTC |
1f68031 | Antoine R. Dumont (@ardumont) | 25 November 2020, 14:30:10 UTC | cli.task_type: All task_type clis without a scheduler should raise As the code will plainly fail on calling methods on None instance if not caught early. | 25 November 2020, 14:56:18 UTC |
52d2c37 | Jenkins for Software Heritage | 24 November 2020, 13:16:08 UTC | Updated debian changelog for version 0.8.1 | 24 November 2020, 13:16:08 UTC |
3d4f370 | Jenkins for Software Heritage | 24 November 2020, 13:16:08 UTC | Update upstream source from tag 'debian/upstream/0.8.1' Update to upstream version '0.8.1' with Debian dir f573e4ad8caec05c1effec397bda74b4cfb6173d | 24 November 2020, 13:16:08 UTC |
f37a1bf | Jenkins for Software Heritage | 24 November 2020, 13:16:07 UTC | New upstream version 0.8.1 | 24 November 2020, 13:16:07 UTC |
9e5b17f | Antoine R. Dumont (@ardumont) | 24 November 2020, 13:03:17 UTC | conftest: Reference swh.core.db.pytest_plugin As it's exposed through the swh.scheduler.pytest_plugin itself used by other swh modules, this needs to be declared to avoid other swh module build failures. Related to T2746 | 24 November 2020, 13:10:31 UTC |
ca811e5 | Jenkins for Software Heritage | 23 November 2020, 12:44:40 UTC | Updated debian changelog for version 0.8.0 | 23 November 2020, 12:44:40 UTC |
e7433d0 | Jenkins for Software Heritage | 23 November 2020, 12:44:40 UTC | Update upstream source from tag 'debian/upstream/0.8.0' Update to upstream version '0.8.0' with Debian dir b6c49740dbee7fcdefb89f6cb66e2f1e7fea3cc3 | 23 November 2020, 12:44:40 UTC |
c17a34f | Jenkins for Software Heritage | 23 November 2020, 12:44:39 UTC | New upstream version 0.8.0 | 23 November 2020, 12:44:39 UTC |
78ccb6c | Antoine R. Dumont (@ardumont) | 23 November 2020, 09:21:54 UTC | d/control: Rework test dependency Related to T2746 | 23 November 2020, 12:29:01 UTC |
49ed819 | Antoine R. Dumont (@ardumont) | 20 November 2020, 16:17:14 UTC | requirements-test.txt: Drop no longer needed pytest-postgresql requirement requirements-swh.txt already declares the swh.core[db] dependency which transitively pulls it. Related to T2746 | 23 November 2020, 12:11:02 UTC |
2f9e8ec | Antoine R. Dumont (@ardumont) | 21 October 2020, 14:52:45 UTC | scheduler.pytest_plugin: Make scheduler tests faster Reuse the swh.core.db.pytest_plugin factory | 22 October 2020, 10:09:06 UTC |
94332d5 | Jenkins for Software Heritage | 19 October 2020, 07:33:54 UTC | Updated debian changelog for version 0.7.0 | 19 October 2020, 07:33:54 UTC |
773d7eb | Jenkins for Software Heritage | 19 October 2020, 07:33:53 UTC | Update upstream source from tag 'debian/upstream/0.7.0' Update to upstream version '0.7.0' with Debian dir eb00f2024c6840142679aad89cf42ad6b5fdd215 | 19 October 2020, 07:33:53 UTC |
f385291 | Jenkins for Software Heritage | 19 October 2020, 07:33:53 UTC | New upstream version 0.7.0 | 19 October 2020, 07:33:53 UTC |
6a4455c | Antoine R. Dumont (@ardumont) | 19 October 2020, 07:25:04 UTC | pytest_plugin: Explicitely name the scheduler test db differently When using tests on modules with different lower level modules (e.g storage, scheduler, ...) this avoids clashes. | 19 October 2020, 07:25:04 UTC |
13dcadd | Antoine R. Dumont (@ardumont) | 16 October 2020, 11:12:27 UTC | scheduler: Type and unify get_scheduler factory with other factories Related to T1410 | 16 October 2020, 16:24:03 UTC |
dd33cdc | Antoine R. Dumont (@ardumont) | 16 October 2020, 11:35:54 UTC | test_server: Simplify exception manipulations | 16 October 2020, 11:43:54 UTC |
315a2c9 | Stefano Zacchiroli | 02 October 2020, 14:24:01 UTC | tox.ini: pin black to the pre-commit version (19.10b0) to avoid flip-flops | 02 October 2020, 14:24:01 UTC |
b7e5358 | Nicolas Dandrimont | 25 September 2020, 15:19:10 UTC | Drop vcversioner from requirements We stopped using it months ago. | 25 September 2020, 15:19:17 UTC |
4951a23 | Nicolas Dandrimont | 25 September 2020, 12:19:21 UTC | Run isort after the CLI import changes | 25 September 2020, 12:19:21 UTC |
a15d1cc | Jenkins for Software Heritage | 25 September 2020, 10:06:33 UTC | Updated debian changelog for version 0.6.0 | 25 September 2020, 10:06:33 UTC |
f7d650b | Jenkins for Software Heritage | 25 September 2020, 10:06:32 UTC | Update upstream source from tag 'debian/upstream/0.6.0' Update to upstream version '0.6.0' with Debian dir 8af77c2a22d1e81ee479ff69ad09a10f831f5091 | 25 September 2020, 10:06:32 UTC |
ba781a5 | Jenkins for Software Heritage | 25 September 2020, 10:06:31 UTC | New upstream version 0.6.0 | 25 September 2020, 10:06:31 UTC |
be7a5ae | David Douard | 22 September 2020, 08:39:15 UTC | Rename sql files according to swh.core 0.3 | 25 September 2020, 07:53:53 UTC |
5cc573d | David Douard | 22 September 2020, 08:36:11 UTC | Adapt cli declaration entrypoint to swh.core 0.3 | 25 September 2020, 07:48:38 UTC |
91e9985 | Jenkins for Software Heritage | 24 September 2020, 15:53:25 UTC | Updated debian changelog for version 0.5.3 | 24 September 2020, 15:53:25 UTC |
cde61b9 | Jenkins for Software Heritage | 24 September 2020, 15:53:25 UTC | Update upstream source from tag 'debian/upstream/0.5.3' Update to upstream version '0.5.3' with Debian dir c35dba2c2fa3dcb5cb0b1a8ca565762a9726c007 | 24 September 2020, 15:53:25 UTC |
1d40f20 | Jenkins for Software Heritage | 24 September 2020, 15:53:24 UTC | New upstream version 0.5.3 | 24 September 2020, 15:53:24 UTC |
99e5af8 | Nicolas Dandrimont | 24 September 2020, 15:44:00 UTC | Move from kombu.five.monotonic to time.monotonic Looks like kombu finally axed python2 support. | 24 September 2020, 15:44:00 UTC |
7b0d48f | Antoine Lambert | 17 September 2020, 16:01:30 UTC | python: Reorder imports with isort Related to T2610 | 17 September 2020, 16:03:39 UTC |
8d8b58f | Antoine Lambert | 17 September 2020, 15:26:12 UTC | pre-commit: Add isort hook and configuration Related to T2610 | 17 September 2020, 16:03:39 UTC |
4bec5c8 | Antoine Lambert | 17 September 2020, 16:03:24 UTC | pre-commit: Update flake8 hook configuration flake8 hook has been removed from https://github.com/pre-commit/pre-commit-hooks so now use the one from https://gitlab.com/pycqa/flake8 | 17 September 2020, 16:03:39 UTC |
f5c8154 | David Douard | 10 September 2020, 09:25:08 UTC | cli: speedup the `swh` cli command startup time by moving import statements in functions and using conditional import of typechecking modules (especially StorageInterface which triggers the loading of 300+ modules). Related to T2575. | 10 September 2020, 15:46:08 UTC |
b24be0c | Valentin Lorentz | 25 August 2020, 08:41:38 UTC | Tell pytest not to recurse in dotdirs. pytest wastes a lot of time in .hypothesis and .git; this commit excludes them. | 25 August 2020, 08:41:38 UTC |
6426208 | Antoine R. Dumont (@ardumont) | 01 August 2020, 08:03:23 UTC | cli.task: Migrate scheduler cli to latest storage change on iter_origins Related to T645 | 03 August 2020, 10:18:23 UTC |
849d063 | Antoine R. Dumont (@ardumont) | 24 July 2020, 08:16:09 UTC | test_cli: Adapt tests data and drop unsupported "validate" proxy | 24 July 2020, 08:22:07 UTC |
9f52d95 | Antoine R. Dumont (@ardumont) | 21 July 2020, 08:34:34 UTC | cli.task: Fix iter_origin returned types Related to T2494 | 21 July 2020, 08:36:03 UTC |
d9864de | Jenkins for Software Heritage | 10 July 2020, 11:08:30 UTC | Updated debian changelog for version 0.5.2 | 10 July 2020, 11:08:30 UTC |
8a7128e | Jenkins for Software Heritage | 10 July 2020, 11:08:30 UTC | Update upstream source from tag 'debian/upstream/0.5.2' Update to upstream version '0.5.2' with Debian dir 8499264f1f48674bf11b291218be39c112ee4345 | 10 July 2020, 11:08:30 UTC |
c26569f | Jenkins for Software Heritage | 10 July 2020, 11:08:29 UTC | New upstream version 0.5.2 | 10 July 2020, 11:08:29 UTC |
f842383 | Antoine R. Dumont (@ardumont) | 10 July 2020, 11:04:02 UTC | d/rules: Avoid double pytest plugin loading clash | 10 July 2020, 11:04:02 UTC |
254e24a | Antoine R. Dumont (@ardumont) | 10 July 2020, 10:11:23 UTC | Do no expose pytest-plugin through setuptools, let modules require it when needed Defining the pytest-plugin though the pytest-plugin [1] makes it loaded by default. This creates loading issues on modules depending on scheduler but not on the pytest plugin scheduler exposes as explained in the doc [2] Instead we'll explicitely define to modules depending on the pytest plugins in their root conftest [3]: pytest_plugins = [ "swh.scheduler.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 D3475 Related to T2484 | 10 July 2020, 10:27:42 UTC |
2107e14 | Jenkins for Software Heritage | 09 July 2020, 09:51:38 UTC | Updated debian changelog for version 0.5.1 | 09 July 2020, 09:51:38 UTC |
80d822f | Jenkins for Software Heritage | 09 July 2020, 09:51:37 UTC | Update upstream source from tag 'debian/upstream/0.5.1' Update to upstream version '0.5.1' with Debian dir 8f091252a383122d11cea61b9032ee46a6ae5f33 | 09 July 2020, 09:51:37 UTC |
7a6149f | Jenkins for Software Heritage | 09 July 2020, 09:51:36 UTC | New upstream version 0.5.1 | 09 July 2020, 09:51:36 UTC |
18e8170 | Jenkins for Software Heritage | 09 July 2020, 08:20:42 UTC | Updated debian changelog for version 0.5.0 | 09 July 2020, 08:20:42 UTC |
0bc33b2 | Jenkins for Software Heritage | 09 July 2020, 08:20:41 UTC | New upstream version 0.5.0 | 09 July 2020, 08:20:41 UTC |
ad2f47b | Jenkins for Software Heritage | 09 July 2020, 08:20:41 UTC | Update upstream source from tag 'debian/upstream/0.5.0' Update to upstream version '0.5.0' with Debian dir d21727b06ae0dff2ba04108d3e7ec6c3d9013eef | 09 July 2020, 08:20:41 UTC |
ece598c | Antoine Lambert | 08 July 2020, 16:12:15 UTC | requirements.txt: Remove future dependency This was needed for celery 4.4.4 but that version is not used anymore. | 08 July 2020, 16:33:25 UTC |
9322643 | Antoine Lambert | 08 July 2020, 16:26:56 UTC | debian/pybuild.testfiles: Add missing new line at end of file | 08 July 2020, 16:26:56 UTC |
024c981 | Antoine Lambert | 08 July 2020, 16:05:05 UTC | debian: Add pybuild.testfiles fixing tests execution in package build This is needed for the scheduler pytest plugin to be loaded. | 08 July 2020, 16:08:19 UTC |
7009c3b | Nicolas Dandrimont | 08 July 2020, 15:55:07 UTC | Move all celery-related fixtures to the swh.scheduler pytest plugin This allows us to reuse these fixtures in other modules without brittle swh.scheduler.tests.conftest star imports. Unfortunately, we can't really override pytest fixtures from one plugin to another. We therefore reimplement the fixtures provided by celery, inlining the static configuration and renaming them to our names in the process. This also adds a backwards-compatibility import from pytest_plugin to conftest, to allow old users of the conftest fixtures to keep working. | 08 July 2020, 15:59:15 UTC |
ce63e6a | Antoine R. Dumont (@ardumont) | 07 July 2020, 10:17:55 UTC | pytest.ini: Drop filterwarnings which never worked | 07 July 2020, 10:18:50 UTC |
a05ae5a | Jenkins for Software Heritage | 06 July 2020, 14:52:42 UTC | Updated debian changelog for version 0.4.0 | 06 July 2020, 14:52:42 UTC |
b99646b | Jenkins for Software Heritage | 06 July 2020, 14:52:42 UTC | Update upstream source from tag 'debian/upstream/0.4.0' Update to upstream version '0.4.0' with Debian dir 19b359f62e15b440019ca58e670b97fb2a8659ad | 06 July 2020, 14:52:42 UTC |
7dadc14 | Jenkins for Software Heritage | 06 July 2020, 14:52:41 UTC | New upstream version 0.4.0 | 06 July 2020, 14:52:41 UTC |
b2cbb9b | Nicolas Dandrimont | 06 July 2020, 12:51:41 UTC | Move shareable fixtures out of conftest into a dedicated pytest plugin This avoids having to run `from swh.scheduler.tests.conftest import *` in other modules, e.g. swh.lister, to import and use the swh_scheduler pytest fixture. | 06 July 2020, 14:42:04 UTC |
93dc413 | Jenkins for Software Heritage | 06 July 2020, 10:23:31 UTC | Updated debian changelog for version 0.3.0 | 06 July 2020, 10:23:31 UTC |
f118f3b | Jenkins for Software Heritage | 06 July 2020, 10:23:31 UTC | Update upstream source from tag 'debian/upstream/0.3.0' Update to upstream version '0.3.0' with Debian dir 81527c8249f1b2d83bcfb358b3e0d0886f1a1db2 | 06 July 2020, 10:23:31 UTC |
189d845 | Jenkins for Software Heritage | 06 July 2020, 10:23:30 UTC | New upstream version 0.3.0 | 06 July 2020, 10:23:30 UTC |
5b373ce | Nicolas Dandrimont | 06 July 2020, 07:49:44 UTC | Introduce a get_listed_origins endpoint This paginated endpoint allows retrieving information about the origins recorded by listers. | 06 July 2020, 09:51:10 UTC |
aefc5c9 | Nicolas Dandrimont | 06 July 2020, 07:48:29 UTC | Don't recurse into attrs objects when serializing We need to use our serialization hook recursively to make sure that we can deserialize nested data structures. | 06 July 2020, 07:48:29 UTC |
9884b29 | Jenkins for Software Heritage | 22 June 2020, 12:07:05 UTC | Updated debian changelog for version 0.2.2 | 22 June 2020, 12:07:05 UTC |
6fcf8c9 | Jenkins for Software Heritage | 22 June 2020, 12:07:04 UTC | Update upstream source from tag 'debian/upstream/0.2.2' Update to upstream version '0.2.2' with Debian dir e7d54983c07ac4f799723e397ca22c85dd6deab2 | 22 June 2020, 12:07:04 UTC |
39d886b | Jenkins for Software Heritage | 22 June 2020, 12:07:03 UTC | New upstream version 0.2.2 | 22 June 2020, 12:07:03 UTC |
cc8fa7f | Nicolas Dandrimont | 22 June 2020, 10:46:09 UTC | Re-introduce the root endpoint for the rpc server | 22 June 2020, 10:55:11 UTC |
c871914 | Jenkins for Software Heritage | 22 June 2020, 10:12:50 UTC | Updated debian changelog for version 0.2.1 | 22 June 2020, 10:12:50 UTC |
9ace381 | Jenkins for Software Heritage | 22 June 2020, 10:12:49 UTC | Update upstream source from tag 'debian/upstream/0.2.1' Update to upstream version '0.2.1' with Debian dir 5e8e4b1125e2f5ba7e48c23b28aedf79532862ac | 22 June 2020, 10:12:49 UTC |
fa7357b | Jenkins for Software Heritage | 22 June 2020, 10:12:49 UTC | New upstream version 0.2.1 | 22 June 2020, 10:12:49 UTC |
3b4084a | Nicolas Dandrimont | 22 June 2020, 10:08:13 UTC | Force celery >= 4.3 | 22 June 2020, 10:09:22 UTC |
265bc8b | Nicolas Dandrimont | 22 June 2020, 08:58:09 UTC | The celery-monitor subcommand glob filtering needs celery >= 4.3 | 22 June 2020, 08:58:09 UTC |
4177066 | Jenkins for Software Heritage | 22 June 2020, 08:36:49 UTC | Updated debian changelog for version 0.2.0 | 22 June 2020, 08:36:49 UTC |
434ac56 | Jenkins for Software Heritage | 22 June 2020, 08:36:48 UTC | Update upstream source from tag 'debian/upstream/0.2.0' Update to upstream version '0.2.0' with Debian dir 6bcb470a30a47c5778da29817f19dfb1f95df145 | 22 June 2020, 08:36:48 UTC |
da69466 | Jenkins for Software Heritage | 22 June 2020, 08:36:48 UTC | New upstream version 0.2.0 | 22 June 2020, 08:36:48 UTC |
8a1724a | Nicolas Dandrimont | 22 June 2020, 08:26:40 UTC | Add SQL for version 16 of the schema | 22 June 2020, 08:26:40 UTC |
d107a55 | Nicolas Dandrimont | 16 June 2020, 08:25:08 UTC | Implement storage of listed origins This new API endpoint allows listers to record the origins they have seen during their current run. Origins are identified by the lister instance, the url of the origin, and the type of loader that should be used to load this origin. The implementation allows listers just send the list of origins they've seen (with some lightweight extra information), leaving the backend to handle whether to do an insertion or an update to an existing origin. The current implementation doesn't disable origins that have disappeared when doing a full listing run. This step will be done by a separate "origin garbage collection" endpoint, which will peruse the `last_seen` field. | 16 June 2020, 08:25:08 UTC |
e0fa5c5 | Nicolas Dandrimont | 16 June 2020, 08:24:03 UTC | Move lister addition in scheduler tests to a pytest fixture This lets us keep the tests a little DRYer. | 16 June 2020, 08:24:03 UTC |
04894bd | Nicolas Dandrimont | 16 June 2020, 08:22:23 UTC | Lister.instance_name doesn't need a factory/default value | 16 June 2020, 08:22:23 UTC |
f520108 | Nicolas Dandrimont | 16 June 2020, 08:08:59 UTC | Improve support of primary keys This splits primary keys across "automatic" primary keys (handled by the database) and manual primary keys (managed by the user). Use the opportunity to improve/clarify the documentation of field metadata attributes. | 16 June 2020, 08:22:12 UTC |
1c93e55 | Nicolas Dandrimont | 12 June 2020, 10:24:20 UTC | Implement basic storage and retrieval of lister information This adds a pair a functions to the backend: - `get_or_create_lister` pulls the record for a given lister from the database - `update_lister` updates the record for a given lister in the database This is one of the basic building blocks for the integration of lister information directly in the scheduler database. Related to T2442. | 15 June 2020, 13:41:02 UTC |
466ac59 | Nicolas Dandrimont | 15 June 2020, 12:46:28 UTC | Introduce a SchedulerException base class This allows us to automatically serialize/deserialize exceptions under this base class within our RPC framework. | 15 June 2020, 12:53:30 UTC |
c509a12 | Nicolas Dandrimont | 12 June 2020, 09:03:26 UTC | Introduce some scaffolding for an attrs-based BaseSchedulerModel Alongside swh.model.model, this allows us to define data models for the objects the scheduler is working with, and to serialize/deserialize these objects transparently at the RPC layer. This also introduces some mild ORM-like logic so we can keep the actual SQL a little DRYer. | 15 June 2020, 10:49:25 UTC |