diff --git a/PKG-INFO b/PKG-INFO index c6992a77247a84d374d1df9cd9c2d6114794e9f4..7ba91befce2b08558645765afd8b5fa4d35cc02b 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: swh.model -Version: 0.0.2 +Version: 0.0.3 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 c6992a77247a84d374d1df9cd9c2d6114794e9f4..7ba91befce2b08558645765afd8b5fa4d35cc02b 100644 --- a/swh.model.egg-info/PKG-INFO +++ b/swh.model.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: swh.model -Version: 0.0.2 +Version: 0.0.3 Summary: Software Heritage data model Home-page: https://forge.softwareheritage.org/diffusion/DMOD/ Author: Software Heritage developers diff --git a/swh/model/identifiers.py b/swh/model/identifiers.py index 311e58c6026a3e9d408f1d3c1fe56bb67ba7bd07..36bfa20cd3b1cb4bdfff3cdf9af67d33bc6de74e 100644 --- a/swh/model/identifiers.py +++ b/swh/model/identifiers.py @@ -285,7 +285,7 @@ def release_identifier(release): components = [ b'object ', identifier_to_str(release['target']).encode(), b'\n', b'type ', target_type_to_git(release['target_type']), b'\n', - b'tag ', release['name'].encode('utf-8'), b'\n', + b'tag ', release['name'], b'\n', ] if 'author' in release and release['author']: diff --git a/swh/model/tests/test_identifiers.py b/swh/model/tests/test_identifiers.py index bd3e874f929b382e28c6c940c4fd50d5c2007fc2..da221df0119ac512fcaeed6be635075e7afbff1d 100644 --- a/swh/model/tests/test_identifiers.py +++ b/swh/model/tests/test_identifiers.py @@ -293,7 +293,7 @@ class ReleaseIdentifier(unittest.TestCase): 'id': '2b10839e32c4c476e9d94492756bb1a3e1ec4aa8', 'target': b't\x1b"R\xa5\xe1Ml`\xa9\x13\xc7z`\x99\xab\xe7:\x85J', 'target_type': 'revision', - 'name': 'v2.6.14', + 'name': b'v2.6.14', 'author': { 'name': b'Linus Torvalds', 'email': b'torvalds@g5.osdl.org', @@ -317,7 +317,7 @@ wdLOnvj91G4wxYqrvThthbE= 'id': b'&y\x1a\x8b\xcf\x0em3\xf4:\xefv\x82\xbd\xb5U#mV\xde', 'target': '9ee1c939d1cb936b1f98e8d81aeffab57bae46ab', 'target_type': 'revision', - 'name': 'v2.6.12', + 'name': b'v2.6.12', 'message': b'''\ This is the final 2.6.12 release -----BEGIN PGP SIGNATURE----- diff --git a/version.txt b/version.txt index c895f93b9f88a13eab32fe79e4cd88d05ecd6b5d..8e4c4933219dfa8a181c33cba66c01f9f6f4939d 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v0.0.2-0-g96fb46f \ No newline at end of file +v0.0.3-0-g100d537 \ No newline at end of file