https://github.com/SoftwareHeritage/swh-model
Revision d4b20dcdc2795d544461ea469e4156968f9e2cda authored by Valentin Lorentz on 19 February 2021, 13:18:45 UTC, committed by Valentin Lorentz on 23 February 2021, 12:26:22 UTC
Following the discussion on T3034, we decided to replace SWHID with
two or three classes:

* QualifiedSWHID to replace the existing SWHID (standard types + qualifiers)
* CoreSWHID, for "core SWHID" only (standard types + no qualifiers)
* ExtendedSWHID for internal use in Software Heritage (extra types + no qualifiers)

This commit adds the last one.

It also removes "ori" as a valid object type for CoreSWHID and
QualifiedSWHID, as it now only belongs in ExtendedSWHID.
1 parent 9923765
Raw File
Tip revision: d4b20dcdc2795d544461ea469e4156968f9e2cda authored by Valentin Lorentz on 19 February 2021, 13:18:45 UTC
Add new class ExtendedSWHID as an alternative to SWHID/QualifiedSWHID
Tip revision: d4b20dc
requirements.txt
# Add here external Python modules dependencies, one per line. Module names
# should match https://pypi.python.org/pypi names. For the full spec or
# dependency lines, see https://pip.readthedocs.org/en/1.1/requirements.html
attrs
attrs_strict >= 0.0.7
deprecated
hypothesis
iso8601
python-dateutil
typing_extensions

back to top