This paginated endpoint allows retrieving information about the origins recorded
by listers.
Depends on D3422.
Differential D3423
Introduce a get_listed_origins endpoint olasd on Jul 6 2020, 9:52 AM. Authored by
Details
This paginated endpoint allows retrieving information about the origins recorded Depends on D3422. tox tests added
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D3423 (id=12123)Could not rebase; Attempt merge onto cc8fa7f4c0... Updating cc8fa7f..014c775 Fast-forward swh/scheduler/api/serializers.py | 2 +- swh/scheduler/backend.py | 69 ++++++++++++++++++++++++++++++++-- swh/scheduler/exc.py | 5 +++ swh/scheduler/interface.py | 24 +++++++++++- swh/scheduler/model.py | 33 +++++++++++++++- swh/scheduler/sql/60-swh-indexes.sql | 3 ++ swh/scheduler/tests/test_api_client.py | 1 + swh/scheduler/tests/test_scheduler.py | 57 +++++++++++++++++++++++++++- 8 files changed, 186 insertions(+), 8 deletions(-) Changes applied before testcommit 014c775f337d13072554654d25f1b37fb0657650 Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Mon Jul 6 09:49:44 2020 +0200 Introduce a get_listed_origins endpoint This paginated endpoint allows retrieving information about the origins recorded by listers. commit aefc5c97f80ae869447165c12620df5ff1775afc Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Mon Jul 6 09:48:29 2020 +0200 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. See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/34/ for more details.
Comment Actions Build is green Patch application report for D3423 (id=12128)Could not rebase; Attempt merge onto cc8fa7f4c0... Updating cc8fa7f..5054d05 Fast-forward sql/updates/17.sql | 4 ++ swh/scheduler/api/serializers.py | 2 +- swh/scheduler/backend.py | 69 ++++++++++++++++++++++++++++++++-- swh/scheduler/exc.py | 5 +++ swh/scheduler/interface.py | 24 +++++++++++- swh/scheduler/model.py | 33 +++++++++++++++- swh/scheduler/sql/30-swh-schema.sql | 2 +- swh/scheduler/sql/60-swh-indexes.sql | 3 ++ swh/scheduler/tests/test_api_client.py | 1 + swh/scheduler/tests/test_scheduler.py | 57 +++++++++++++++++++++++++++- 10 files changed, 191 insertions(+), 9 deletions(-) create mode 100644 sql/updates/17.sql Changes applied before testcommit 5054d0516d44dce907ffdfc2a23ac1158314adfe Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Mon Jul 6 09:49:44 2020 +0200 Introduce a get_listed_origins endpoint This paginated endpoint allows retrieving information about the origins recorded by listers. commit aefc5c97f80ae869447165c12620df5ff1775afc Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Mon Jul 6 09:48:29 2020 +0200 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. See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/35/ for more details. Comment Actions Build is green Patch application report for D3423 (id=12129)Could not rebase; Attempt merge onto cc8fa7f4c0... Updating cc8fa7f..9d48fe4 Fast-forward sql/updates/17.sql | 4 +++ swh/scheduler/api/serializers.py | 2 +- swh/scheduler/backend.py | 64 ++++++++++++++++++++++++++++++++-- swh/scheduler/interface.py | 24 ++++++++++++- swh/scheduler/model.py | 33 +++++++++++++++++- swh/scheduler/sql/30-swh-schema.sql | 2 +- swh/scheduler/sql/60-swh-indexes.sql | 3 ++ swh/scheduler/tests/test_api_client.py | 1 + swh/scheduler/tests/test_scheduler.py | 47 ++++++++++++++++++++++++- 9 files changed, 173 insertions(+), 7 deletions(-) create mode 100644 sql/updates/17.sql Changes applied before testcommit 9d48fe4e7e7dc653f32423902d8c34a475a5c60a Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Mon Jul 6 09:49:44 2020 +0200 Introduce a get_listed_origins endpoint This paginated endpoint allows retrieving information about the origins recorded by listers. commit aefc5c97f80ae869447165c12620df5ff1775afc Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Mon Jul 6 09:48:29 2020 +0200 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. See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/36/ for more details. Comment Actions Build is green Patch application report for D3423 (id=12130)Could not rebase; Attempt merge onto cc8fa7f4c0... Updating cc8fa7f..5b373ce Fast-forward sql/updates/17.sql | 4 +++ swh/scheduler/api/serializers.py | 2 +- swh/scheduler/backend.py | 64 ++++++++++++++++++++++++++++++++-- swh/scheduler/interface.py | 24 ++++++++++++- swh/scheduler/model.py | 33 +++++++++++++++++- swh/scheduler/sql/30-swh-schema.sql | 2 +- swh/scheduler/sql/60-swh-indexes.sql | 3 ++ swh/scheduler/tests/test_api_client.py | 1 + swh/scheduler/tests/test_scheduler.py | 54 +++++++++++++++++++++++++++- 9 files changed, 180 insertions(+), 7 deletions(-) create mode 100644 sql/updates/17.sql Changes applied before testcommit 5b373ceb36e4796db3ac3f7cea5c7abcdc1c0a09 Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Mon Jul 6 09:49:44 2020 +0200 Introduce a get_listed_origins endpoint This paginated endpoint allows retrieving information about the origins recorded by listers. commit aefc5c97f80ae869447165c12620df5ff1775afc Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Mon Jul 6 09:48:29 2020 +0200 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. See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/37/ for more details. |