3cf95d7 | Jenkins for Software Heritage | 08 July 2020, 15:23:52 UTC | Updated debian changelog for version 0.5.0 | 08 July 2020, 15:23:52 UTC |
df6ebf6 | Jenkins for Software Heritage | 08 July 2020, 15:23:51 UTC | 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 | Jenkins for Software Heritage | 08 July 2020, 15:23:50 UTC | New upstream version 0.5.0 | 08 July 2020, 15:23:50 UTC |
0547a51 | Antoine Lambert | 08 July 2020, 14:18:40 UTC | identifiers: Add to_dict method to SWHID class | 08 July 2020, 14:18:40 UTC |
52ef52e | Valentin Lorentz | 07 July 2020, 15:34:41 UTC | 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 | Valentin Lorentz | 07 July 2020, 13:12:44 UTC | Make SWHID immutable and hashable. | 07 July 2020, 13:12:44 UTC |
06837d5 | Valentin Lorentz | 07 July 2020, 13:10:53 UTC | Implement ImmutableDict.__hash__. | 07 July 2020, 13:10:53 UTC |
c4dad17 | Valentin Lorentz | 07 July 2020, 13:04:54 UTC | 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 | Valentin Lorentz | 03 July 2020, 15:10:08 UTC | Implement to_dict and from_dict for metadata-related classes. | 07 July 2020, 11:31:05 UTC |
af0dd1a | Valentin Lorentz | 03 July 2020, 15:08:19 UTC | 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 | Valentin Lorentz | 02 July 2020, 15:53:13 UTC | 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 |
fb1291d | Jenkins for Software Heritage | 06 July 2020, 12:16:52 UTC | Updated debian changelog for version 0.4.0 | 06 July 2020, 12:16:52 UTC |
29d3869 | Jenkins for Software Heritage | 06 July 2020, 12:16:51 UTC | 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 | Jenkins for Software Heritage | 06 July 2020, 12:16:50 UTC | New upstream version 0.4.0 | 06 July 2020, 12:16:50 UTC |
a7d9aca | David Douard | 01 July 2020, 13:13:59 UTC | 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 |
e7c7882 | Jenkins for Software Heritage | 03 July 2020, 14:10:51 UTC | Updated debian changelog for version 0.3.8 | 03 July 2020, 14:10:51 UTC |
03c7ff6 | Jenkins for Software Heritage | 03 July 2020, 14:10:50 UTC | 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 | Jenkins for Software Heritage | 03 July 2020, 14:10:49 UTC | New upstream version 0.3.8 | 03 July 2020, 14:10:49 UTC |
2f2e9bd | Antoine Lambert | 03 July 2020, 14:05:59 UTC | debian/control: Add python3-deprecated build dependency | 03 July 2020, 14:05:59 UTC |
1ff0516 | Antoine Lambert | 03 July 2020, 10:18:38 UTC | 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 |
052c9b5 | Jenkins for Software Heritage | 02 July 2020, 13:17:32 UTC | Updated debian changelog for version 0.3.7 | 02 July 2020, 13:17:32 UTC |
877d570 | Jenkins for Software Heritage | 02 July 2020, 13:17:31 UTC | 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 | Jenkins for Software Heritage | 02 July 2020, 13:17:30 UTC | New upstream version 0.3.7 | 02 July 2020, 13:17:30 UTC |
8863b5c | Antoine R. Dumont (@ardumont) | 02 July 2020, 09:57:44 UTC | Refactor common loader behavior within from_disk.iter_directory | 02 July 2020, 13:09:50 UTC |
363b165 | Antoine R. Dumont (@ardumont) | 02 July 2020, 08:58:43 UTC | Unify object_type some more within the merkle and from_disk modules | 02 July 2020, 13:03:04 UTC |
a123664 | Jenkins for Software Heritage | 01 July 2020, 13:48:43 UTC | Updated debian changelog for version 0.3.6 | 01 July 2020, 13:48:43 UTC |
bf23470 | Jenkins for Software Heritage | 01 July 2020, 13:48:42 UTC | 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 | Jenkins for Software Heritage | 01 July 2020, 13:48:42 UTC | New upstream version 0.3.6 | 01 July 2020, 13:48:42 UTC |
6c8aba7 | Antoine R. Dumont (@ardumont) | 30 June 2020, 10:41:43 UTC | d/changelog: Bump new version | 30 June 2020, 10:41:43 UTC |
c73d19f | Antoine R. Dumont (@ardumont) | 30 June 2020, 10:26:17 UTC | d/control: Add missing dependency | 30 June 2020, 10:27:13 UTC |
83ed584 | Jenkins for Software Heritage | 30 June 2020, 09:31:43 UTC | Updated debian changelog for version 0.3.5 | 30 June 2020, 09:31:43 UTC |
7adce06 | Jenkins for Software Heritage | 30 June 2020, 09:31:43 UTC | 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 | Jenkins for Software Heritage | 30 June 2020, 09:31:42 UTC | New upstream version 0.3.5 | 30 June 2020, 09:31:42 UTC |
40a40f5 | Antoine R. Dumont (@ardumont) | 22 June 2020, 16:15:32 UTC | model.OriginVisit: Drop obsolete fields Related to T2310 | 29 June 2020, 09:08:06 UTC |
e632abe | David Douard | 13 May 2020, 15:03:01 UTC | 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 |
7476df0 | Jenkins for Software Heritage | 24 June 2020, 08:47:12 UTC | Updated debian changelog for version 0.3.4 | 24 June 2020, 08:47:12 UTC |
bf605ea | Jenkins for Software Heritage | 24 June 2020, 08:47:11 UTC | 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 | Jenkins for Software Heritage | 24 June 2020, 08:47:10 UTC | New upstream version 0.3.4 | 24 June 2020, 08:47:10 UTC |
661b7c2 | Antoine R. Dumont (@ardumont) | 24 June 2020, 07:13:01 UTC | OriginVisitStatus: Allow "created" status Related to T2310 | 24 June 2020, 07:16:50 UTC |
636f8c2 | Antoine R. Dumont (@ardumont) | 23 June 2020, 15:29:53 UTC | model.OriginVisit: Make obsolete fields optional Related to T2310 | 23 June 2020, 15:29:53 UTC |
f349bdc | Antoine R. Dumont (@ardumont) | 22 June 2020, 08:14:30 UTC | swh.model.model.OriginVisit: Drop the dateutil.parser.parse use | 22 June 2020, 08:14:30 UTC |
210be0a | Jenkins for Software Heritage | 17 June 2020, 07:40:51 UTC | Updated debian changelog for version 0.3.3 | 17 June 2020, 07:40:51 UTC |
c18be24 | Jenkins for Software Heritage | 17 June 2020, 07:40:50 UTC | 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 | Jenkins for Software Heritage | 17 June 2020, 07:40:49 UTC | New upstream version 0.3.3 | 17 June 2020, 07:40:49 UTC |
ba0c4e1 | Antoine R. Dumont (@ardumont) | 16 June 2020, 17:10:53 UTC | 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 |
c5b0fe9 | Jenkins for Software Heritage | 16 June 2020, 08:45:55 UTC | Updated debian changelog for version 0.3.2 | 16 June 2020, 08:45:55 UTC |
2804a1d | Jenkins for Software Heritage | 16 June 2020, 08:45:54 UTC | 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 | Jenkins for Software Heritage | 16 June 2020, 08:45:54 UTC | New upstream version 0.3.2 | 16 June 2020, 08:45:54 UTC |
f723eb1 | David Douard | 16 June 2020, 08:04:58 UTC | Fix the model: Revision.message can be None And adapt the revisions_d() strategy accordingly. | 16 June 2020, 08:35:02 UTC |
b70b281 | David Douard | 16 June 2020, 08:03:37 UTC | Fix message generation in hypothesis strategy releases_d() This can be None, according to the model. | 16 June 2020, 08:35:02 UTC |
5c5f34f | David Douard | 16 June 2020, 08:02:17 UTC | Use the optional() strategy instead of one_of(none(), ...) when possible for the sake of consistency. | 16 June 2020, 08:34:54 UTC |
7f408d3 | Jenkins for Software Heritage | 15 June 2020, 07:52:09 UTC | Updated debian changelog for version 0.3.1 | 15 June 2020, 07:52:09 UTC |
11cf649 | Jenkins for Software Heritage | 15 June 2020, 07:52:08 UTC | New upstream version 0.3.1 | 15 June 2020, 07:52:08 UTC |
7d81311 | Jenkins for Software Heritage | 15 June 2020, 07:52:08 UTC | 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 |
a427e18 | David Douard | 11 June 2020, 15:00:50 UTC | Allow negative_utc to be None in normalize_timestamp() thus in TimestampWithTimezone.from_dict(). This is needed to help consuming existing (invalid) messages from kafka. Warning: tests added in this revision do not cover the whole normalize_timestamp() function. | 15 June 2020, 07:40:43 UTC |
e1e3321 | Jenkins for Software Heritage | 03 June 2020, 10:04:35 UTC | Updated debian changelog for version 0.3.0 | 03 June 2020, 10:04:35 UTC |
5a96bf0 | Jenkins for Software Heritage | 03 June 2020, 10:04:35 UTC | Update upstream source from tag 'debian/upstream/0.3.0' Update to upstream version '0.3.0' with Debian dir debf07387de123cf96eaad3d7d77bbfac925a2f7 | 03 June 2020, 10:04:35 UTC |
86e049e | Jenkins for Software Heritage | 03 June 2020, 10:04:34 UTC | New upstream version 0.3.0 | 03 June 2020, 10:04:34 UTC |
4711761 | Jenkins for Software Heritage | 03 June 2020, 09:33:46 UTC | Updated debian changelog for version 0.2.2 | 03 June 2020, 09:33:46 UTC |
56b22a4 | Jenkins for Software Heritage | 03 June 2020, 09:33:45 UTC | Update upstream source from tag 'debian/upstream/0.2.2' Update to upstream version '0.2.2' with Debian dir 51aef6acf2244bde6600fde8bbf280e818def7ee | 03 June 2020, 09:33:45 UTC |
98d0884 | Jenkins for Software Heritage | 03 June 2020, 09:33:44 UTC | New upstream version 0.2.2 | 03 June 2020, 09:33:44 UTC |
3d9f694 | David Douard | 25 May 2020, 11:17:00 UTC | Use Tuple instead of List in model declarations. This is a step forward having model objects, declared as frozen, immutable. This requires attrs_strict >= 0.0.7. | 03 June 2020, 09:32:05 UTC |
340656d | David Douard | 03 June 2020, 09:23:00 UTC | Fix origin_visit hypothesis strategies the visit attribute is expected to be strictly positive. | 03 June 2020, 09:23:00 UTC |
e202563 | Jenkins for Software Heritage | 29 May 2020, 15:43:45 UTC | Updated debian changelog for version 0.2.1 | 29 May 2020, 15:43:45 UTC |
d388855 | Jenkins for Software Heritage | 29 May 2020, 15:43:44 UTC | Update upstream source from tag 'debian/upstream/0.2.1' Update to upstream version '0.2.1' with Debian dir 4b98cf559c2be2a001dbedc9894b2431ce1b9373 | 29 May 2020, 15:43:44 UTC |
167e23c | Jenkins for Software Heritage | 29 May 2020, 15:43:43 UTC | New upstream version 0.2.1 | 29 May 2020, 15:43:43 UTC |
a95646f | David Douard | 29 May 2020, 15:14:31 UTC | Exclude [Skipped]Content.ctime from hash/eq computation this attribute is not an intrinsic property of a content object, so it should not be used when comparing or hashing. | 29 May 2020, 15:14:31 UTC |
99fc689 | Jenkins for Software Heritage | 25 May 2020, 08:11:07 UTC | Updated debian changelog for version 0.2.0 | 25 May 2020, 08:11:07 UTC |
00b195a | Jenkins for Software Heritage | 25 May 2020, 08:11:06 UTC | Update upstream source from tag 'debian/upstream/0.2.0' Update to upstream version '0.2.0' with Debian dir 8fcf4e24544576e706428aa2483d4697a23e8b3b | 25 May 2020, 08:11:06 UTC |
b2b91dc | Jenkins for Software Heritage | 25 May 2020, 08:11:06 UTC | New upstream version 0.2.0 | 25 May 2020, 08:11:06 UTC |
29312df | David Douard | 19 May 2020, 14:04:30 UTC | Add support for model object anonymization Simply add a BaseModel.anonymize() method. Default implementation returns None, meaning the object is not anonymizable. For Person, the method returns a Person whith hashed fullname (and unset name and email). For Revision and Release, the method returns an anonymized version of the object, i.e. with instance of Person replaced by anonymized ones. | 20 May 2020, 14:28:01 UTC |
cce3036 | Stefano Zacchiroli | 14 May 2020, 13:47:46 UTC | SWHID spec: fix typos ";;" which made some examples fail | 14 May 2020, 13:47:46 UTC |
a752554 | Jenkins for Software Heritage | 05 May 2020, 12:45:37 UTC | Updated debian changelog for version 0.1.1 | 05 May 2020, 12:45:37 UTC |
d6c330a | Jenkins for Software Heritage | 05 May 2020, 12:45:36 UTC | New upstream version 0.1.1 | 05 May 2020, 12:45:36 UTC |
e4fb052 | Jenkins for Software Heritage | 05 May 2020, 12:45:36 UTC | Update upstream source from tag 'debian/upstream/0.1.1' Update to upstream version '0.1.1' with Debian dir 8efde0d89250d5406f5e69344f46ff5813be3e6f | 05 May 2020, 12:45:36 UTC |
091498e | Valentin Lorentz | 05 May 2020, 10:03:39 UTC | Make aware_datetimes() generate only ISO8601-encodable datetimes. | 05 May 2020, 10:03:39 UTC |
a5bfa5e | Jenkins for Software Heritage | 30 April 2020, 20:31:00 UTC | Updated debian changelog for version 0.1.0 | 30 April 2020, 20:31:00 UTC |
7f87c08 | Jenkins for Software Heritage | 30 April 2020, 20:30:59 UTC | Update upstream source from tag 'debian/upstream/0.1.0' Update to upstream version '0.1.0' with Debian dir 89021e5f13fb098dd38980f92c2fd2b3c6a60948 | 30 April 2020, 20:30:59 UTC |
994d980 | Jenkins for Software Heritage | 30 April 2020, 20:30:59 UTC | New upstream version 0.1.0 | 30 April 2020, 20:30:59 UTC |
9f5d266 | Stefano Zacchiroli | 30 April 2020, 16:58:54 UTC | SWHID spec: full reread Reviewers: rdicosmo Reviewed By: rdicosmo Differential Revision: https://forge.softwareheritage.org/D3108 | 30 April 2020, 17:06:41 UTC |
b80b135 | Stefano Zacchiroli | 29 April 2020, 16:32:31 UTC | setup.py: add documentation link | 29 April 2020, 16:32:31 UTC |
08fd228 | Valentin Lorentz | 29 April 2020, 11:02:22 UTC | hypothesis_strategies: Generate aware datetimes instead of naive ones. Production should only use aware datetimes. | 29 April 2020, 11:02:22 UTC |
0fad886 | Stefano Zacchiroli | 28 April 2020, 14:57:47 UTC | doc: check-in IANA registration template for the "swh" URI scheme Closes T1003 | 29 April 2020, 07:34:30 UTC |
8367eec | Roberto Di Cosmo | 28 April 2020, 18:47:50 UTC | Restructure SWHID documentation in preparation for T2385 - merge grammars into a single one - explain better that SWHIDs are made up of core identifier + qualifiers - separate qualifier into context and fragment onex - add reference to swh-identify | 28 April 2020, 18:47:50 UTC |
f70f498 | Jenkins for Software Heritage | 28 April 2020, 14:10:36 UTC | Updated debian changelog for version 0.0.69 | 28 April 2020, 14:10:36 UTC |
0580702 | Jenkins for Software Heritage | 28 April 2020, 14:10:35 UTC | Update upstream source from tag 'debian/upstream/0.0.69' Update to upstream version '0.0.69' with Debian dir 064f9ef78e68b2eaa9457e3662088fa13d09be3d | 28 April 2020, 14:10:35 UTC |
46b0de5 | Jenkins for Software Heritage | 28 April 2020, 14:10:34 UTC | New upstream version 0.0.69 | 28 April 2020, 14:10:34 UTC |
f97d216 | Stefano Zacchiroli | 28 April 2020, 14:04:42 UTC | SWHID spec: bump version to 1.3 and add last modified date | 28 April 2020, 14:04:42 UTC |
d230938 | Stefano Zacchiroli | 28 April 2020, 14:04:19 UTC | SWHID spec: make SWHIDs plural where needed | 28 April 2020, 14:04:19 UTC |
1379385 | Stefano Zacchiroli | 27 April 2020, 13:17:50 UTC | SWHID spec: simplify and generalize escaping requirements | 27 April 2020, 13:17:50 UTC |
3ef4843 | Stefano Zacchiroli | 26 April 2020, 14:44:51 UTC | SWHID spec: add support for IRI Closes T2379 | 26 April 2020, 14:44:51 UTC |
56cf99a | Stefano Zacchiroli | 24 April 2020, 14:56:47 UTC | SWHID: deal with escaping in origin qualifiers | 24 April 2020, 14:56:47 UTC |
3f38808 | Stefano Zacchiroli | 24 April 2020, 08:11:41 UTC | SWHID doc: improve wording of intrinsic parts v. the rest | 24 April 2020, 08:11:45 UTC |
f360e9d | Jenkins for Software Heritage | 21 April 2020, 14:28:39 UTC | Updated debian changelog for version 0.0.68 | 21 April 2020, 14:28:39 UTC |
3de37fa | Jenkins for Software Heritage | 21 April 2020, 14:28:38 UTC | Update upstream source from tag 'debian/upstream/0.0.68' Update to upstream version '0.0.68' with Debian dir 49e76208808056a7b23a774ed785a299c53e8ed4 | 21 April 2020, 14:28:38 UTC |
968a989 | Jenkins for Software Heritage | 21 April 2020, 14:28:37 UTC | New upstream version 0.0.68 | 21 April 2020, 14:28:37 UTC |
1037e88 | David Douard | 21 April 2020, 12:49:14 UTC | Add a split_content argument to object_dicts() and objects() strategies Make it possible to generate Content and SkippedContent under different object types (namely "content" and "skipped_content"). Default to False to keep backward compat. | 21 April 2020, 12:49:14 UTC |
ebd3807 | David Douard | 21 April 2020, 09:33:32 UTC | Add a blacklist_types argument to object_dicts() and objects() hypothesis strategies so one can choose not to generate some of the object types. Blacklist "origin_visit_status" by default to prevent breaking dependent packages' tests. | 21 April 2020, 12:48:33 UTC |
bfba3bd | Antoine R. Dumont (@ardumont) | 20 April 2020, 14:46:17 UTC | Fix hypothesis strategies alias for origin visit update objects | 20 April 2020, 15:37:56 UTC |
e5227e2 | Antoine R. Dumont (@ardumont) | 20 April 2020, 15:37:50 UTC | setup: Update the minimum required runtime python3 version Related to T2367 | 20 April 2020, 15:37:56 UTC |