Also remove no longer used JSON files.
Depends on D4863
Differential D4864
phabricator: Add test for new lister implementation anlambert on Jan 14 2021, 2:51 PM. Authored by
Details
Also remove no longer used JSON files. Depends on D4863
Diff Detail
Event TimelineComment Actions Build has FAILED Patch application report for D4864 (id=17229)Could not rebase; Attempt merge onto c782275296... Updating c782275..c66d320 Fast-forward swh/lister/phabricator/lister.py | 4 +- .../phabricator/tests/data/api_empty_response.json | 8 - .../phabricator/tests/data/api_first_response.json | 2538 -------------------- .../data/api_first_response_other_instance.json | 2336 ------------------ .../phabricator/tests/data/api_next_response.json | 2354 ------------------ .../data/api_response_undefined_protocol.json | 60 - ...oldest,attachments[uris]=1,after=,api.token=foo | 1 - .../data/phabricator_api_repositories_page1.json | 1246 ++++++++++ .../data/phabricator_api_repositories_page2.json | 1308 ++++++++++ swh/lister/phabricator/tests/test_lister.py | 73 +- swh/lister/phabricator/tests/test_tasks.py | 2 +- 11 files changed, 2629 insertions(+), 7301 deletions(-) delete mode 100644 swh/lister/phabricator/tests/data/api_empty_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_first_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_first_response_other_instance.json delete mode 100644 swh/lister/phabricator/tests/data/api_next_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_response_undefined_protocol.json delete mode 120000 swh/lister/phabricator/tests/data/https_forge.softwareheritage.org/api_diffusion.repository.search,order=oldest,attachments[uris]=1,after=,api.token=foo create mode 100644 swh/lister/phabricator/tests/data/phabricator_api_repositories_page1.json create mode 100644 swh/lister/phabricator/tests/data/phabricator_api_repositories_page2.json Changes applied before testcommit c66d32019a23bfc23d8455b1bc3ef8d558979843 Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Jan 14 14:44:32 2021 +0100 phabricator: Add test for new lister implementation Also remove no more used JSON files. commit 85b7e1cd364592da5f7cf171a63beaa321b3d824 Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Jan 14 13:50:48 2021 +0100 phabricator: Allow to pass forge base URL as lister parameter Link to build: https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/90/ Comment Actions Build is green Patch application report for D4864 (id=17231)Could not rebase; Attempt merge onto c782275296... Updating c782275..81863ad Fast-forward swh/lister/phabricator/lister.py | 6 +- .../phabricator/tests/data/api_empty_response.json | 8 - .../phabricator/tests/data/api_first_response.json | 2538 -------------------- .../data/api_first_response_other_instance.json | 2336 ------------------ .../phabricator/tests/data/api_next_response.json | 2354 ------------------ .../data/api_response_undefined_protocol.json | 60 - ...oldest,attachments[uris]=1,after=,api.token=foo | 1 - .../data/phabricator_api_repositories_page1.json | 1246 ++++++++++ .../data/phabricator_api_repositories_page2.json | 1308 ++++++++++ swh/lister/phabricator/tests/test_lister.py | 94 +- swh/lister/phabricator/tests/test_tasks.py | 2 +- 11 files changed, 2646 insertions(+), 7307 deletions(-) delete mode 100644 swh/lister/phabricator/tests/data/api_empty_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_first_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_first_response_other_instance.json delete mode 100644 swh/lister/phabricator/tests/data/api_next_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_response_undefined_protocol.json delete mode 120000 swh/lister/phabricator/tests/data/https_forge.softwareheritage.org/api_diffusion.repository.search,order=oldest,attachments[uris]=1,after=,api.token=foo create mode 100644 swh/lister/phabricator/tests/data/phabricator_api_repositories_page1.json create mode 100644 swh/lister/phabricator/tests/data/phabricator_api_repositories_page2.json Changes applied before testcommit 81863ad1789fffbe18b4f70afae31f3451287a5d Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Jan 14 14:44:32 2021 +0100 phabricator: Add test for new lister implementation Also remove no more used JSON files. commit 9ef56c0aaad5eb5c69296872d61d0ba54ed0cacd Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Jan 14 13:50:48 2021 +0100 phabricator: Allow to pass forge base URL as lister parameter See https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/92/ for more details. Comment Actions Build is green Patch application report for D4864 (id=17233)Could not rebase; Attempt merge onto c782275296... Updating c782275..fbc0203 Fast-forward swh/lister/phabricator/lister.py | 6 +- .../phabricator/tests/data/api_empty_response.json | 8 - .../phabricator/tests/data/api_first_response.json | 2538 -------------------- .../data/api_first_response_other_instance.json | 2336 ------------------ .../phabricator/tests/data/api_next_response.json | 2354 ------------------ .../data/api_response_undefined_protocol.json | 60 - ...oldest,attachments[uris]=1,after=,api.token=foo | 1 - .../data/phabricator_api_repositories_page1.json | 1246 ++++++++++ .../data/phabricator_api_repositories_page2.json | 1308 ++++++++++ swh/lister/phabricator/tests/test_lister.py | 94 +- swh/lister/phabricator/tests/test_tasks.py | 2 +- 11 files changed, 2646 insertions(+), 7307 deletions(-) delete mode 100644 swh/lister/phabricator/tests/data/api_empty_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_first_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_first_response_other_instance.json delete mode 100644 swh/lister/phabricator/tests/data/api_next_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_response_undefined_protocol.json delete mode 120000 swh/lister/phabricator/tests/data/https_forge.softwareheritage.org/api_diffusion.repository.search,order=oldest,attachments[uris]=1,after=,api.token=foo create mode 100644 swh/lister/phabricator/tests/data/phabricator_api_repositories_page1.json create mode 100644 swh/lister/phabricator/tests/data/phabricator_api_repositories_page2.json Changes applied before testcommit fbc02034165a82c77891ab20dbd06cc5cca1e682 Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Jan 14 14:44:32 2021 +0100 phabricator: Add test for new lister implementation Also remove no more used JSON files. commit 370a04dbf23a8ecc78af438bb1f066630a7b3d8d Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Jan 14 13:50:48 2021 +0100 phabricator: Allow to pass forge base URL as lister parameter See https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/94/ for more details.
Comment Actions Thanks! This is really nice. I have made a few comments inline, that can be addressed in this diff or as a followup.
Comment Actions Build is green Patch application report for D4864 (id=17263)Could not rebase; Attempt merge onto c782275296... Updating c782275..f4fa83a Fast-forward swh/lister/phabricator/lister.py | 6 +- .../phabricator/tests/data/api_empty_response.json | 8 - .../phabricator/tests/data/api_first_response.json | 2538 -------------------- .../data/api_first_response_other_instance.json | 2336 ------------------ .../phabricator/tests/data/api_next_response.json | 2354 ------------------ .../data/api_response_undefined_protocol.json | 60 - ...oldest,attachments[uris]=1,after=,api.token=foo | 1 - .../data/phabricator_api_repositories_page1.json | 1246 ++++++++++ .../data/phabricator_api_repositories_page2.json | 1308 ++++++++++ swh/lister/phabricator/tests/test_lister.py | 112 +- swh/lister/phabricator/tests/test_tasks.py | 2 +- 11 files changed, 2658 insertions(+), 7313 deletions(-) delete mode 100644 swh/lister/phabricator/tests/data/api_empty_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_first_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_first_response_other_instance.json delete mode 100644 swh/lister/phabricator/tests/data/api_next_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_response_undefined_protocol.json delete mode 120000 swh/lister/phabricator/tests/data/https_forge.softwareheritage.org/api_diffusion.repository.search,order=oldest,attachments[uris]=1,after=,api.token=foo create mode 100644 swh/lister/phabricator/tests/data/phabricator_api_repositories_page1.json create mode 100644 swh/lister/phabricator/tests/data/phabricator_api_repositories_page2.json Changes applied before testcommit f4fa83a90777077f07422529882ce2facf2eb98f Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Jan 14 14:44:32 2021 +0100 phabricator: Add test for new lister implementation Also remove no longer used JSON files. commit 370a04dbf23a8ecc78af438bb1f066630a7b3d8d Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Jan 14 13:50:48 2021 +0100 phabricator: Allow to pass forge base URL as lister parameter See https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/102/ for more details. Comment Actions Build is green Patch application report for D4864 (id=17267)Could not rebase; Attempt merge onto c782275296... Updating c782275..01072ea Fast-forward swh/lister/phabricator/lister.py | 16 +- .../phabricator/tests/data/api_empty_response.json | 8 - .../phabricator/tests/data/api_first_response.json | 2538 -------------------- .../data/api_first_response_other_instance.json | 2336 ------------------ .../phabricator/tests/data/api_next_response.json | 2354 ------------------ .../data/api_response_undefined_protocol.json | 60 - ...oldest,attachments[uris]=1,after=,api.token=foo | 1 - .../data/phabricator_api_repositories_page1.json | 1246 ++++++++++ .../data/phabricator_api_repositories_page2.json | 1308 ++++++++++ swh/lister/phabricator/tests/test_lister.py | 112 +- swh/lister/phabricator/tests/test_tasks.py | 2 +- 11 files changed, 2668 insertions(+), 7313 deletions(-) delete mode 100644 swh/lister/phabricator/tests/data/api_empty_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_first_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_first_response_other_instance.json delete mode 100644 swh/lister/phabricator/tests/data/api_next_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_response_undefined_protocol.json delete mode 120000 swh/lister/phabricator/tests/data/https_forge.softwareheritage.org/api_diffusion.repository.search,order=oldest,attachments[uris]=1,after=,api.token=foo create mode 100644 swh/lister/phabricator/tests/data/phabricator_api_repositories_page1.json create mode 100644 swh/lister/phabricator/tests/data/phabricator_api_repositories_page2.json Changes applied before testcommit 01072ea7904ebb33964ed06e841a7d8e3985c7fc Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Jan 14 14:44:32 2021 +0100 phabricator: Add test for new lister implementation Also remove no longer used JSON files. commit c5652905952a55afee31dfc126b73e05534de43d Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Jan 14 13:50:48 2021 +0100 phabricator: Allow to pass forge base URL as lister parameter See https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/105/ for more details. Comment Actions Build is green Patch application report for D4864 (id=17303)Could not rebase; Attempt merge onto d1fbccd988... Updating d1fbccd..b743c36 Fast-forward swh/lister/phabricator/lister.py | 16 +- .../phabricator/tests/data/api_empty_response.json | 8 - .../phabricator/tests/data/api_first_response.json | 2538 -------------------- .../data/api_first_response_other_instance.json | 2336 ------------------ .../phabricator/tests/data/api_next_response.json | 2354 ------------------ .../data/api_response_undefined_protocol.json | 60 - ...oldest,attachments[uris]=1,after=,api.token=foo | 1 - .../data/phabricator_api_repositories_page1.json | 1246 ++++++++++ .../data/phabricator_api_repositories_page2.json | 1308 ++++++++++ swh/lister/phabricator/tests/test_lister.py | 112 +- swh/lister/phabricator/tests/test_tasks.py | 2 +- 11 files changed, 2668 insertions(+), 7313 deletions(-) delete mode 100644 swh/lister/phabricator/tests/data/api_empty_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_first_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_first_response_other_instance.json delete mode 100644 swh/lister/phabricator/tests/data/api_next_response.json delete mode 100644 swh/lister/phabricator/tests/data/api_response_undefined_protocol.json delete mode 120000 swh/lister/phabricator/tests/data/https_forge.softwareheritage.org/api_diffusion.repository.search,order=oldest,attachments[uris]=1,after=,api.token=foo create mode 100644 swh/lister/phabricator/tests/data/phabricator_api_repositories_page1.json create mode 100644 swh/lister/phabricator/tests/data/phabricator_api_repositories_page2.json Changes applied before testcommit b743c36496f03a38a0b922a1c8e765a873a1c732 Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Jan 14 14:44:32 2021 +0100 phabricator: Add test for new lister implementation Also remove no longer used JSON files. commit d691c04eb80f3f70906fc2e61e19ef057cc312ba Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Jan 14 13:50:48 2021 +0100 phabricator: Allow to pass forge base URL as lister parameter See https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/113/ for more details. |