https://github.com/SoftwareHeritage/swh-model
Revision 559a283cb095de2b7da173e5995883b0af801f64 authored by Antoine R. Dumont (@ardumont) on 12 November 2020, 09:39:24 UTC, committed by Antoine R. Dumont (@ardumont) on 12 November 2020, 11:39:04 UTC
So parse_swhid raises a ValidationError when that is detected.

Related to T2769
1 parent fb504b4
History
Tip revision: 559a283cb095de2b7da173e5995883b0af801f64 authored by Antoine R. Dumont (@ardumont) on 12 November 2020, 09:39:24 UTC
identifiers.parse_swhid: Make SWHIDs with whitespaces invalid
Tip revision: 559a283
File Mode Size
git-revhash -rwxr-xr-x 438 bytes
swh-hashtree -rwxr-xr-x 1.4 KB
swh-revhash -rwxr-xr-x 1.2 KB

back to top