Skip to content

Impose an order on qualifiers? #6

@zvr

Description

@zvr

In the current state of specification all qualifiers are appended in an arbitrary order.

I propose we consider having a fixed order in which they could appear, if present.

Otherwise, checking two SWHIDs for identity always needs to have the complete parsing.

For example, are those two the same? (copied from the SWHID documentation)

swh:1:cnt:4d99d2d18326621ccdd70f5ea66c2e2ac236ad8b;origin=https://gitorious.org/ocamlp3l/ocamlp3l_cvs.git;visit=swh:1:snp:d7f1b9eb7ccb596c2622c4780febaa02549830f9;anchor=swh:1:rev:2db189928c94d62a3b4757b3eec68f0a4d4113f0;path=/Examples/SimpleFarm/simplefarm.ml;lines=9-15

and

swh:1:cnt:4d99d2d18326621ccdd70f5ea66c2e2ac236ad8b;anchor=swh:1:rev:2db189928c94d62a3b4757b3eec68f0a4d4113f0;lines=9-15;origin=https://gitorious.org/ocamlp3l/ocamlp3l_cvs.git;path=/Examples/SimpleFarm/simplefarm.ml;visit=swh:1:snp:d7f1b9eb7ccb596c2622c4780febaa02549830f9

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakerBreaks backwards compatibilityquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions