diff --git a/PKG-INFO b/PKG-INFO index 00aeeecea3e860bc2fbf89426f6edc14c2cc7a08..a97b885dbb6ac74bb8697d848cb7f7654ba288c7 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: swh.model -Version: 0.0.39 +Version: 0.0.40 Summary: Software Heritage data model Home-page: https://forge.softwareheritage.org/diffusion/DMOD/ Author: Software Heritage developers diff --git a/swh.model.egg-info/PKG-INFO b/swh.model.egg-info/PKG-INFO index 00aeeecea3e860bc2fbf89426f6edc14c2cc7a08..a97b885dbb6ac74bb8697d848cb7f7654ba288c7 100644 --- a/swh.model.egg-info/PKG-INFO +++ b/swh.model.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: swh.model -Version: 0.0.39 +Version: 0.0.40 Summary: Software Heritage data model Home-page: https://forge.softwareheritage.org/diffusion/DMOD/ Author: Software Heritage developers diff --git a/swh/model/model.py b/swh/model/model.py index 1c54004f3b03f2ed0dd34b9076e6e935ae9a04d4..5f2d960a8a7bf6be2dc943c27ebd5deb6c74a287 100644 --- a/swh/model/model.py +++ b/swh/model/model.py @@ -12,6 +12,8 @@ import dateutil.parser from .identifiers import normalize_timestamp +SHA1_SIZE = 20 + # TODO: Limit this to 20 bytes Sha1Git = bytes diff --git a/version.txt b/version.txt index 58b0d8f98aed5a73279e7e32838b94ab83cca2a1..f57c086155d813c6da9d5222efe96821263bb513 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v0.0.39-0-ga92af53 \ No newline at end of file +v0.0.40-0-g56eb29f \ No newline at end of file