https://github.com/SoftwareHeritage/swh-model

sort by:
Revision Author Date Message Commit Date
4638d89 Updated backport on buster-swh from debian/0.6.4-1_swh1 (unstable-swh) 06 August 2020, 16:50:04 UTC
f7c7f6e Merge tag 'debian/0.6.4-1_swh1' into debian/buster-swh 06 August 2020, 16:50:04 UTC
c1c8fab Updated debian changelog for version 0.6.4 06 August 2020, 16:47:15 UTC
d65d62b Update upstream source from tag 'debian/upstream/0.6.4' Update to upstream version '0.6.4' with Debian dir 3feb45a7955c550be2cc804911831b4a7428b182 06 August 2020, 16:47:13 UTC
72a08c1 New upstream version 0.6.4 06 August 2020, 16:47:11 UTC
37cdd84 setup.py: Really use the correct keyword Related to T2105 06 August 2020, 16:43:30 UTC
3b2e6c0 setup.py: Use the correct keywords Related to T2105 06 August 2020, 16:13:47 UTC
88bc7c8 setup.py: Migrate from vcversion from setuptools-scm Related to T2105 04 August 2020, 12:18:55 UTC
dab3d72 setup.py: Migrate from vcversion from setuptools-scm Related to T2105 04 August 2020, 12:06:52 UTC
8694c99 Updated backport on buster-swh from debian/0.6.1-1_swh1 (unstable-swh) 31 July 2020, 08:54:18 UTC
697087c Merge tag 'debian/0.6.1-1_swh1' into debian/buster-swh 31 July 2020, 08:54:18 UTC
9ab7d0b Updated debian changelog for version 0.6.1 31 July 2020, 08:51:42 UTC
4f7afaf Update upstream source from tag 'debian/upstream/0.6.1' Update to upstream version '0.6.1' with Debian dir fdf03c84555da48922061de4e72119fbac71b00b 31 July 2020, 08:51:41 UTC
e639a14 New upstream version 0.6.1 31 July 2020, 08:51:39 UTC
08632e7 Add missing object_type class attributes on MetadataAuthority, MetadataFetcher, and RawExtrinsicMetadata. 30 July 2020, 15:25:49 UTC
f9fc106 add ImmutableDict.__repr__ It can help in pytest's diffs 30 July 2020, 13:41:29 UTC
b58d901 Fix incorrectly typed null constants in extra_headers byte strings 29 July 2020, 10:46:18 UTC
8f609e5 Import Mapping from collections.abc instead of collections to fix a deprecationg warning. 29 July 2020, 10:46:09 UTC
81f9fbc Declare pytest markers to prevent warnings 29 July 2020, 10:41:12 UTC
15c3841 Updated backport on buster-swh from debian/0.6.0-1_swh1 (unstable-swh) 20 July 2020, 10:50:54 UTC
cf73426 Merge tag 'debian/0.6.0-1_swh1' into debian/buster-swh 20 July 2020, 10:50:53 UTC
5a8702c Updated debian changelog for version 0.6.0 20 July 2020, 10:49:27 UTC
6da5b49 Update upstream source from tag 'debian/upstream/0.6.0' Update to upstream version '0.6.0' with Debian dir 6ec0655eab06eabec5fc4ae57da2ada6fef40bf7 20 July 2020, 10:49:26 UTC
26a9ad3 New upstream version 0.6.0 20 July 2020, 10:49:25 UTC
3b2d72c Rename MetadataAuthorityType.DEPOSIT to MetadataAuthorityType.DEPOSIT_CLIENT. D3560 20 July 2020, 09:35:27 UTC
bf43536 Rework dia -> pdf pipeline for inkscape 1.0 - Use dia directly to convert from .dia to .svg (inkscape would use dia via a plugin anyway) - Add proper runes to detect inkscape >= 1 and use the export options for that. 09 July 2020, 17:35:21 UTC
41142f6 Updated backport on buster-swh from debian/0.5.0-1_swh1 (unstable-swh) 08 July 2020, 15:25:23 UTC
1c45beb Merge tag 'debian/0.5.0-1_swh1' into debian/buster-swh 08 July 2020, 15:25:22 UTC
3cf95d7 Updated debian changelog for version 0.5.0 08 July 2020, 15:23:52 UTC
df6ebf6 Update upstream source from tag 'debian/upstream/0.5.0' Update to upstream version '0.5.0' with Debian dir c111ef899fc4093736b1efc9323461869db09568 08 July 2020, 15:23:51 UTC
b98ed48 New upstream version 0.5.0 08 July 2020, 15:23:50 UTC
0547a51 identifiers: Add to_dict method to SWHID class 08 July 2020, 14:18:40 UTC
52ef52e Use attr instead of NamedTuple to generate SWHID. As NamedTuple inherits from tuple, msgpack serializes it like a tuple, which makes it indistinguishable from a tuple when deserializing, which is an issue for the RPC API. 07 July 2020, 15:34:41 UTC
bea256e Make SWHID immutable and hashable. 07 July 2020, 13:12:44 UTC
06837d5 Implement ImmutableDict.__hash__. 07 July 2020, 13:10:53 UTC
c4dad17 Allow passing an ImmutableDict as argument to ImmutableDict's constructor. It allows easy conversion of Union[ImmutableDict, Dict] to ImmutableDict. 07 July 2020, 13:04:54 UTC
9e475a7 Implement to_dict and from_dict for metadata-related classes. 07 July 2020, 11:31:05 UTC
af0dd1a Add a new ImmutableDict class, and use it in model objects. So they are truly immutable now. 07 July 2020, 11:31:05 UTC
78fc5f7 Add raw metadata to the model. This will allow swh-storage to have a signature for *_metadata_add that is consistent with other *_add endpoints. 07 July 2020, 09:48:19 UTC
a4ac474 Updated backport on buster-swh from debian/0.4.0-1_swh1 (unstable-swh) 06 July 2020, 12:18:18 UTC
b03218e Merge tag 'debian/0.4.0-1_swh1' into debian/buster-swh 06 July 2020, 12:18:17 UTC
fb1291d Updated debian changelog for version 0.4.0 06 July 2020, 12:16:52 UTC
29d3869 Update upstream source from tag 'debian/upstream/0.4.0' Update to upstream version '0.4.0' with Debian dir 893a7b17ab26f448f7c269752543c1775b072045 06 July 2020, 12:16:51 UTC
0197527 New upstream version 0.4.0 06 July 2020, 12:16:50 UTC
a7d9aca Extract the extra_headers from metadata on the Revision model class Add a new extra_headers attribute on Revision and use it for computing the revision's id instead of extract it from the metadata field. Only accept (bytes, bytes) as extra_header. Add a post init hook to Revision to initialize this new attribute from given metadata, if any, for bw compat. Also amend the revision_d hyptothesis strategy to generate extra_headers. 06 July 2020, 09:57:55 UTC
7d5e71e Updated backport on buster-swh from debian/0.3.8-1_swh1 (unstable-swh) 03 July 2020, 14:12:15 UTC
6bc2859 Merge tag 'debian/0.3.8-1_swh1' into debian/buster-swh 03 July 2020, 14:12:14 UTC
e7c7882 Updated debian changelog for version 0.3.8 03 July 2020, 14:10:51 UTC
03c7ff6 Update upstream source from tag 'debian/upstream/0.3.8' Update to upstream version '0.3.8' with Debian dir 6542410c69982a1fbb034862d80255f390caa5b1 03 July 2020, 14:10:50 UTC
b85ee8b New upstream version 0.3.8 03 July 2020, 14:10:49 UTC
2f2e9bd debian/control: Add python3-deprecated build dependency 03 July 2020, 14:05:59 UTC
1ff0516 identifiers: Rename some functions and types related to SWHIDs When Software Heritage persistent identifiers were introduced, they were not yet abbreviated as SWHIDs. Now that abbreviation is growing adoption, rename some functions and types in swh.model.identifiers for consistency: - PersistentId -> SWHID - persistent_identifier -> swhid - parse_persistent_identifier -> parse_swhid Backward compatibility with previous naming is maintained but deprecation warnings are introduced to encourage the use of the new names. Numerous variables in swh.model codebase have also been renamed accordingly. Also rework and improve documentation. 03 July 2020, 12:11:32 UTC
ddd61c7 Updated backport on buster-swh from debian/0.3.7-1_swh1 (unstable-swh) 02 July 2020, 13:18:56 UTC
34d0b78 Merge tag 'debian/0.3.7-1_swh1' into debian/buster-swh 02 July 2020, 13:18:55 UTC
052c9b5 Updated debian changelog for version 0.3.7 02 July 2020, 13:17:32 UTC
877d570 Update upstream source from tag 'debian/upstream/0.3.7' Update to upstream version '0.3.7' with Debian dir 4b528677b5793bfff8d84d77383fe7aeffb13664 02 July 2020, 13:17:31 UTC
3641b4f New upstream version 0.3.7 02 July 2020, 13:17:30 UTC
8863b5c Refactor common loader behavior within from_disk.iter_directory 02 July 2020, 13:09:50 UTC
363b165 Unify object_type some more within the merkle and from_disk modules 02 July 2020, 13:03:04 UTC
e531604 Updated backport on buster-swh from debian/0.3.6-1_swh1 (unstable-swh) 01 July 2020, 13:50:10 UTC
7694ba5 Merge tag 'debian/0.3.6-1_swh1' into debian/buster-swh 01 July 2020, 13:50:09 UTC
a123664 Updated debian changelog for version 0.3.6 01 July 2020, 13:48:43 UTC
bf23470 Update upstream source from tag 'debian/upstream/0.3.6' Update to upstream version '0.3.6' with Debian dir b0b3790969b9e2899982cecf19527c203935ecfb 01 July 2020, 13:48:42 UTC
f44f3d3 New upstream version 0.3.6 01 July 2020, 13:48:42 UTC
6f9d37b Updated backport on buster-swh from debian/0.3.5-2_swh1 (unstable-swh) 30 June 2020, 10:48:27 UTC
8e570ca Merge tag 'debian/0.3.5-2_swh1' into debian/buster-swh 30 June 2020, 10:48:27 UTC
6c8aba7 d/changelog: Bump new version 30 June 2020, 10:41:43 UTC
c73d19f d/control: Add missing dependency 30 June 2020, 10:27:13 UTC
83ed584 Updated debian changelog for version 0.3.5 30 June 2020, 09:31:43 UTC
7adce06 Update upstream source from tag 'debian/upstream/0.3.5' Update to upstream version '0.3.5' with Debian dir 94038e94a4a7870e94ddd3c21607eb5765f55955 30 June 2020, 09:31:43 UTC
bf5fff2 New upstream version 0.3.5 30 June 2020, 09:31:42 UTC
40a40f5 model.OriginVisit: Drop obsolete fields Related to T2310 29 June 2020, 09:08:06 UTC
e632abe Tag model entities with their "object_type" this aims at preventing constant usage of isinstance() based dispatch code when writing generic code handling model entities. For example, the "object_type" argument of JournalWriter.write_addition() has become superflous now we only pass model entities, etc. This idea comes olasd's reading of mypy doc: https://mypy.readthedocs.io/en/latest/literal_types.html#tagged-unions This comes with a refactoring of from_dict.DiskBackedContent to make it *not* inherit from model.Content: object_type being Final, it cannot be overloaded. 24 June 2020, 15:39:02 UTC
959c8f9 Updated backport on buster-swh from debian/0.3.4-1_swh1 (unstable-swh) 24 June 2020, 08:48:39 UTC
8730c9e Merge tag 'debian/0.3.4-1_swh1' into debian/buster-swh 24 June 2020, 08:48:39 UTC
7476df0 Updated debian changelog for version 0.3.4 24 June 2020, 08:47:12 UTC
bf605ea Update upstream source from tag 'debian/upstream/0.3.4' Update to upstream version '0.3.4' with Debian dir e334e0831ed8569265e5d10f4d9516a48cf060af 24 June 2020, 08:47:11 UTC
619f595 New upstream version 0.3.4 24 June 2020, 08:47:10 UTC
661b7c2 OriginVisitStatus: Allow "created" status Related to T2310 24 June 2020, 07:16:50 UTC
636f8c2 model.OriginVisit: Make obsolete fields optional Related to T2310 23 June 2020, 15:29:53 UTC
f349bdc swh.model.model.OriginVisit: Drop the dateutil.parser.parse use 22 June 2020, 08:14:30 UTC
1f0d4f1 Updated backport on buster-swh from debian/0.3.3-1_swh1 (unstable-swh) 17 June 2020, 07:42:13 UTC
a6bf91a Merge tag 'debian/0.3.3-1_swh1' into debian/buster-swh 17 June 2020, 07:42:12 UTC
210be0a Updated debian changelog for version 0.3.3 17 June 2020, 07:40:51 UTC
c18be24 Update upstream source from tag 'debian/upstream/0.3.3' Update to upstream version '0.3.3' with Debian dir 9db77e99e1d97178ca2fa7289a0004b6147bdb0f 17 June 2020, 07:40:50 UTC
60b9fa0 New upstream version 0.3.3 17 June 2020, 07:40:49 UTC
ba0c4e1 model.hypothesis_strategies: Make metadata always none on origin_visit This is not used. This is broken storage wise (origin-visit-add does not deal correctly with it and it so happens there is no test around it). And finally, this will soon go away with T2310. 16 June 2020, 17:10:53 UTC
735e461 Updated backport on buster-swh from debian/0.3.2-1_swh1 (unstable-swh) 16 June 2020, 08:47:20 UTC
7c9252d Merge tag 'debian/0.3.2-1_swh1' into debian/buster-swh 16 June 2020, 08:47:19 UTC
c5b0fe9 Updated debian changelog for version 0.3.2 16 June 2020, 08:45:55 UTC
2804a1d Update upstream source from tag 'debian/upstream/0.3.2' Update to upstream version '0.3.2' with Debian dir dab2ec29758546752e72a90100424daa98318438 16 June 2020, 08:45:54 UTC
809c7c1 New upstream version 0.3.2 16 June 2020, 08:45:54 UTC
f723eb1 Fix the model: Revision.message can be None And adapt the revisions_d() strategy accordingly. 16 June 2020, 08:35:02 UTC
b70b281 Fix message generation in hypothesis strategy releases_d() This can be None, according to the model. 16 June 2020, 08:35:02 UTC
5c5f34f Use the optional() strategy instead of one_of(none(), ...) when possible for the sake of consistency. 16 June 2020, 08:34:54 UTC
3c13ffe Updated backport on buster-swh from debian/0.3.1-1_swh1 (unstable-swh) 15 June 2020, 07:53:34 UTC
3e39e60 Merge tag 'debian/0.3.1-1_swh1' into debian/buster-swh 15 June 2020, 07:53:33 UTC
7f408d3 Updated debian changelog for version 0.3.1 15 June 2020, 07:52:09 UTC
11cf649 New upstream version 0.3.1 15 June 2020, 07:52:08 UTC
7d81311 Update upstream source from tag 'debian/upstream/0.3.1' Update to upstream version '0.3.1' with Debian dir c220a7827eb7e16e523e5ae2dfd279c01e471c4a 15 June 2020, 07:52:08 UTC
back to top