Page MenuHomeSoftware Heritage

identifiers.py: add constants for 'swh:1' and sanitize namespace
ClosedPublic

Authored by zack on Fri, Aug 23, 6:35 PM.

Diff Detail

Repository
rDMOD Data Model
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

zack created this revision.Fri, Aug 23, 6:35 PM

What is this for?

zack added a comment.Fri, Aug 23, 7:12 PM

What is this for?

refactoring, removing hard-coded constants here and there, and sanitize a namespace that could (even though it isn't yet, expect for tests) used from the outside

I don't really see what was wrong with hardcoding :, but * shrug *

vlorentz accepted this revision.Fri, Aug 23, 7:13 PM
This revision is now accepted and ready to land.Fri, Aug 23, 7:13 PM
This revision was automatically updated to reflect the committed changes.