This allows clients to search from most recent to oldest visit when calling
the endpoint with order parameter "desc" (visit id desc). [1]
This keeps (and explicits) the existing sorting order as "asc" (visit id asc).
[1] See D3350 for such use case
Differential D3359
storage*: Open order parameter to origin-visit-get endpoint Authored by ardumont on Jun 25 2020, 6:59 PM.
Details
This allows clients to search from most recent to oldest visit when calling This keeps (and explicits) the existing sorting order as "asc" (visit id asc). [1] See D3350 for such use case tox
Diff Detail
Event TimelineComment Actions Build has FAILED Patch application report for D3359 (id=11910)Rebasing onto b991e69707... Current branch diff-target is up to date. Changes applied before testcommit 82e6070c0712ba47bfbedcc2c3329f1828c14fd0
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date: Wed Jun 24 18:04:29 2020 +0200
storage: Open order parameter to origin-visit-get endpoint
This allows clients to search from most recent to oldest calling the endpoint
with order parameter to "desc" (visit id desc)
This keeps and explicits the existing sorting order as "asc" (visit id asc)Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/364/ Comment Actions Build is green Patch application report for D3359 (id=11910)Rebasing onto b991e69707... Current branch diff-target is up to date. Changes applied before testcommit 82e6070c0712ba47bfbedcc2c3329f1828c14fd0
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date: Wed Jun 24 18:04:29 2020 +0200
storage: Open order parameter to origin-visit-get endpoint
This allows clients to search from most recent to oldest calling the endpoint
with order parameter to "desc" (visit id desc)
This keeps and explicits the existing sorting order as "asc" (visit id asc)See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/366/ for more details.
Comment Actions Add missing pagination corner cases (desc order) both in tests and @douardda thanks for raising the question ;) Comment Actions Build has FAILED Patch application report for D3359 (id=11921)Rebasing onto 8620519891... Current branch diff-target is up to date. Changes applied before testcommit 1d5717fb5e34831fc002f9b625156bfd8d7384af
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date: Wed Jun 24 18:04:29 2020 +0200
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 T2310Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/368/ Comment Actions Build is green Patch application report for D3359 (id=11921)Rebasing onto 8620519891... Current branch diff-target is up to date. Changes applied before testcommit 1d5717fb5e34831fc002f9b625156bfd8d7384af
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date: Wed Jun 24 18:04:29 2020 +0200
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 T2310See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/370/ for more details.
Comment Actions Build is green Patch application report for D3359 (id=11926)Rebasing onto f75cd41ab8... Current branch diff-target is up to date. Changes applied before testcommit 3b1695b2e7b1f5e227410b41953921e5a5806554
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date: Wed Jun 24 18:04:29 2020 +0200
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 T2310See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/373/ for more details.
Comment Actions Build is green Patch application report for D3359 (id=11930)Rebasing onto f75cd41ab8... Current branch diff-target is up to date. Changes applied before testcommit 182ee497328a55d99609e5230146268a108508e3
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date: Wed Jun 24 18:04:29 2020 +0200
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 T2310See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/376/ for more details.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||