An invalid value was generated for the path query parameter of the
revision view, leading to a 404 error.
Related to T3279
Differential D5564
common/identifiers: Fix content SWHID with anchor revision browse URL Authored by anlambert on Apr 20 2021, 4:57 PM.
Details
An invalid value was generated for the path query parameter of the Related to T3279
Diff Detail
Event TimelineComment Actions Build has FAILED Patch application report for D5564 (id=19874)Rebasing onto 4a6d884a74... Current branch diff-target is up to date. Changes applied before testcommit d733ae37eb5e20051526f4cf117667718bd3a1a4
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date: Tue Apr 20 16:54:01 2021 +0200
common/identifiers: Fix content SWHID with anchor revision browse URL
An invalid value was generated for the path query parameter of the
revision view, leading to a 404 error.
Related to T3279Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/700/ Comment Actions Build is green Patch application report for D5564 (id=19874)Rebasing onto 4a6d884a74... Current branch diff-target is up to date. Changes applied before testcommit d733ae37eb5e20051526f4cf117667718bd3a1a4
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date: Tue Apr 20 16:54:01 2021 +0200
common/identifiers: Fix content SWHID with anchor revision browse URL
An invalid value was generated for the path query parameter of the
revision view, leading to a 404 error.
Related to T3279See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/701/ for more details. Comment Actions Why use hypothesis for this? According to Jenkins, one of the two important branches are not covered. Comment Actions It seems a test is missing for that special case that should only occurs for a SWHID without origin and visit qualifier and a non anchor revision, for instance: Let's add it before landing this then. Comment Actions Rebase and add tests for content/directory SWHID with directory anchor (missing execution branch to cover). Comment Actions Build is green Patch application report for D5564 (id=19892)Rebasing onto 2f83416d9f... Current branch diff-target is up to date. Changes applied before testcommit 461aa57ec4e83a281e5cca9e7533990a954bc93e
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date: Tue Apr 20 16:54:01 2021 +0200
common/identifiers: Fix content SWHID with anchor revision browse URL
An invalid value was generated for the path query parameter of the
revision view, leading to a 404 error.
Related to T3279See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/703/ for more details.
Comment Actions Build is green Patch application report for D5564 (id=19961)Rebasing onto 3a0ffc0879... Current branch diff-target is up to date. Changes applied before testcommit 82bcc274fc799acb1602ecd92cc8d34f68cf5fe4
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date: Tue Apr 20 16:54:01 2021 +0200
common/identifiers: Fix content SWHID with anchor revision browse URL
An invalid value was generated for the path query parameter of the
revision view, leading to a 404 error.
Also add missing tests for some SWHIDs resolving.
Related to T3279See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/723/ for more details. Comment Actions Because the swh-web tests need to use objects stored into its sample archive and not fake ones. If you look at the code of resolve_swhid, you will see some checks are done on objects existence, Comment Actions Build is green Patch application report for D5564 (id=19965)Rebasing onto 00cc0c4dae... Current branch diff-target is up to date. Changes applied before testcommit 1ca5105c4e8748c4efb80a1ed0c67f4830d0039a
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date: Tue Apr 20 16:54:01 2021 +0200
common/identifiers: Fix content SWHID with anchor revision browse URL
An invalid value was generated for the path query parameter of the
revision view, leading to a 404 error.
Also add missing tests for some SWHIDs resolving.
Related to T3279See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/724/ for more details. | ||||||||||||||||||||