e8267ec | David Douard | 25 September 2020, 15:38:47 UTC | d/control: fix a typo and bump version | 25 September 2020, 16:46:35 UTC |
eb1ebcb | David Douard | 25 September 2020, 15:05:56 UTC | Bump version | 25 September 2020, 15:05:56 UTC |
b51f8bd | David Douard | 25 September 2020, 13:40:06 UTC | d/control: add missing dependencies | 25 September 2020, 13:40:06 UTC |
da981bb | Jenkins for Software Heritage | 25 September 2020, 13:32:18 UTC | Updated debian changelog for version 0.6.7 | 25 September 2020, 13:32:18 UTC |
3de77d2 | Jenkins for Software Heritage | 25 September 2020, 13:32:17 UTC | Update upstream source from tag 'debian/upstream/0.6.7' Update to upstream version '0.6.7' with Debian dir ff33196235173497970db1401a7c8d6ad3f8d9ce | 25 September 2020, 13:32:17 UTC |
149c327 | Jenkins for Software Heritage | 25 September 2020, 13:32:17 UTC | New upstream version 0.6.7 | 25 September 2020, 13:32:17 UTC |
be8f1a5 | David Douard | 23 September 2020, 15:52:14 UTC | Adapt cli declaration entrypoint to swh.core 0.3 The addition of '-p no:pytest_swh_core' in pytest.ini is needed to prevent pytest from loading the pytest_swh_core plugin which we do not need here and which would require some more dependencies (e.g. requests). | 25 September 2020, 13:24:29 UTC |
e0b4b94 | Thibault Allançon | 18 September 2020, 14:49:15 UTC | model: remove deprecated and unused PID methods Use the new SWHID naming convention instead of SWH PID. | 18 September 2020, 15:05:02 UTC |
a273718 | Antoine Lambert | 17 September 2020, 15:56:18 UTC | python: Reorder imports with isort Related to T2610 | 17 September 2020, 15:57:03 UTC |
5bda22f | Antoine Lambert | 17 September 2020, 14:53:58 UTC | pre-commit: Add isort hook and configuration Related to T2610 | 17 September 2020, 15:57:02 UTC |
eff3c63 | Antoine Lambert | 17 September 2020, 11:56:04 UTC | pre-commit: Update flake8 hook configuration flake8 hook has been removed from https://github.com/pre-commit/pre-commit-hooks so now use the one from https://gitlab.com/pycqa/flake8 | 17 September 2020, 11:56:04 UTC |
7404486 | David Douard | 09 September 2020, 15:41:47 UTC | cli: speedup the `swh` cli command startup time move most import statements in functions. Related to T2575. | 10 September 2020, 14:19:18 UTC |
12fe1f7 | Antoine Lambert | 25 August 2020, 13:32:37 UTC | model: Fix "unused 'type: ignore' comment" error with mypy 0.782 | 25 August 2020, 13:32:51 UTC |
c85990b | Valentin Lorentz | 25 August 2020, 08:40:13 UTC | Tell pytest not to recurse in dotdirs. pytest wastes a lot of time in .hypothesis and .git; this commit excludes them. | 25 August 2020, 08:40:13 UTC |
6dd6ace | Valentin Lorentz | 14 August 2020, 12:12:29 UTC | model: Raise error on naive datetimes. We may unknowingly pass naive datetimes to the storage through them, causing the underlying DB to assign them a timezone that might not match the actual one. It already happens in swh.model and swh.loader.package tests. | 14 August 2020, 12:12:35 UTC |
83864e6 | Jenkins for Software Heritage | 07 August 2020, 08:22:35 UTC | Updated debian changelog for version 0.6.6 | 07 August 2020, 08:22:35 UTC |
fe39e21 | Jenkins for Software Heritage | 07 August 2020, 08:22:34 UTC | Update upstream source from tag 'debian/upstream/0.6.6' Update to upstream version '0.6.6' with Debian dir eb61da2c1a41951fa2201d289612aa6ab413e0b7 | 07 August 2020, 08:22:34 UTC |
883eab3 | Jenkins for Software Heritage | 07 August 2020, 08:22:32 UTC | New upstream version 0.6.6 | 07 August 2020, 08:22:32 UTC |
d1db7b9 | Antoine R. Dumont (@ardumont) | 06 August 2020, 23:41:13 UTC | model.Content.to_dict: Remove ctime entry when it's None Same as for the field data, it helps for code not yet migrated to use model object. | 07 August 2020, 07:53:31 UTC |
b1a16b1 | Antoine R. Dumont (@ardumont) | 07 August 2020, 07:46:40 UTC | model: Add Sha1 alias Related to T645 | 07 August 2020, 07:50:45 UTC |
98dab82 | Jenkins for Software Heritage | 06 August 2020, 18:01:05 UTC | Updated debian changelog for version 0.6.5 | 06 August 2020, 18:01:05 UTC |
f429f0a | Jenkins for Software Heritage | 06 August 2020, 18:01:04 UTC | Update upstream source from tag 'debian/upstream/0.6.5' Update to upstream version '0.6.5' with Debian dir 7a1ae68e371a5cff48050d2150975ec4179fbefd | 06 August 2020, 18:01:04 UTC |
0c09639 | Jenkins for Software Heritage | 06 August 2020, 18:01:02 UTC | New upstream version 0.6.5 | 06 August 2020, 18:01:02 UTC |
09dcc04 | Antoine R. Dumont (@ardumont) | 06 August 2020, 17:00:21 UTC | model: Add final object_type field on metadata related model objects | 06 August 2020, 17:00:21 UTC |
c1c8fab | Jenkins for Software Heritage | 06 August 2020, 16:47:15 UTC | Updated debian changelog for version 0.6.4 | 06 August 2020, 16:47:15 UTC |
d65d62b | Jenkins for Software Heritage | 06 August 2020, 16:47:13 UTC | 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 | Jenkins for Software Heritage | 06 August 2020, 16:47:11 UTC | New upstream version 0.6.4 | 06 August 2020, 16:47:11 UTC |
37cdd84 | Antoine R. Dumont (@ardumont) | 06 August 2020, 16:43:30 UTC | setup.py: Really use the correct keyword Related to T2105 | 06 August 2020, 16:43:30 UTC |
3b2e6c0 | Antoine R. Dumont (@ardumont) | 06 August 2020, 16:13:47 UTC | setup.py: Use the correct keywords Related to T2105 | 06 August 2020, 16:13:47 UTC |
88bc7c8 | Antoine R. Dumont (@ardumont) | 04 August 2020, 12:18:55 UTC | setup.py: Migrate from vcversion from setuptools-scm Related to T2105 | 04 August 2020, 12:18:55 UTC |
dab3d72 | Antoine R. Dumont (@ardumont) | 04 August 2020, 12:06:52 UTC | setup.py: Migrate from vcversion from setuptools-scm Related to T2105 | 04 August 2020, 12:06:52 UTC |
9ab7d0b | Jenkins for Software Heritage | 31 July 2020, 08:51:42 UTC | Updated debian changelog for version 0.6.1 | 31 July 2020, 08:51:42 UTC |
4f7afaf | Jenkins for Software Heritage | 31 July 2020, 08:51:41 UTC | 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 | Jenkins for Software Heritage | 31 July 2020, 08:51:39 UTC | New upstream version 0.6.1 | 31 July 2020, 08:51:39 UTC |
08632e7 | Valentin Lorentz | 30 July 2020, 15:25:49 UTC | Add missing object_type class attributes on MetadataAuthority, MetadataFetcher, and RawExtrinsicMetadata. | 30 July 2020, 15:25:49 UTC |
f9fc106 | Valentin Lorentz | 30 July 2020, 13:41:29 UTC | add ImmutableDict.__repr__ It can help in pytest's diffs | 30 July 2020, 13:41:29 UTC |
b58d901 | David Douard | 29 July 2020, 10:43:23 UTC | Fix incorrectly typed null constants in extra_headers byte strings | 29 July 2020, 10:46:18 UTC |
8f609e5 | David Douard | 29 July 2020, 10:42:03 UTC | Import Mapping from collections.abc instead of collections to fix a deprecationg warning. | 29 July 2020, 10:46:09 UTC |
81f9fbc | David Douard | 29 July 2020, 10:32:34 UTC | Declare pytest markers to prevent warnings | 29 July 2020, 10:41:12 UTC |
5a8702c | Jenkins for Software Heritage | 20 July 2020, 10:49:27 UTC | Updated debian changelog for version 0.6.0 | 20 July 2020, 10:49:27 UTC |
6da5b49 | Jenkins for Software Heritage | 20 July 2020, 10:49:26 UTC | 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 | Jenkins for Software Heritage | 20 July 2020, 10:49:25 UTC | New upstream version 0.6.0 | 20 July 2020, 10:49:25 UTC |
3b2d72c | Valentin Lorentz | 20 July 2020, 09:35:27 UTC | Rename MetadataAuthorityType.DEPOSIT to MetadataAuthorityType.DEPOSIT_CLIENT. D3560 | 20 July 2020, 09:35:27 UTC |
bf43536 | Nicolas Dandrimont | 09 July 2020, 17:35:21 UTC | 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 |
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 |