Page MenuHomeSoftware Heritage

identifiers/resolve_swhid: Handle directory path without trailing slash
ClosedPublic

Authored by anlambert on Oct 29 2020, 5:45 PM.

Details

Summary

This fixes an issue when users forgot to add a trailing slash to the URL
resolving a SWHID targetting a non root directory.

Closes T2742

Diff Detail

Repository
rDWAPPS Web applications
Branch
dir-swhid-path-no-trailing-slash
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16733
Build 25805: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 25804: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D4385 (id=15507)

Rebasing onto c72a6ba738...

Current branch diff-target is up to date.
Changes applied before test
commit f6cb1561787f24e06cfe67bc7648c1f356f91fb0
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu Oct 29 17:41:19 2020 +0100

    identifiers/resolve_swhid: Handle directory path without trailing slash
    
    Closes T2742

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/443/ for more details.

This revision is now accepted and ready to land.Oct 29 2020, 10:29 PM