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

sort by:
Revision Author Date Message Commit Date
c423aba Updated backport on buster-swh from debian/0.7.3-1_swh1 (unstable-swh) 27 October 2020, 15:08:32 UTC
8b14e88 Merge tag 'debian/0.7.3-1_swh1' into debian/buster-swh 27 October 2020, 15:08:31 UTC
975092f Updated debian changelog for version 0.7.3 27 October 2020, 15:06:50 UTC
780a4d6 Update upstream source from tag 'debian/upstream/0.7.3' Update to upstream version '0.7.3' with Debian dir 52148284bb73fc33b424821f1624f3f539a5e6d3 27 October 2020, 15:06:50 UTC
8ba04bd New upstream version 0.7.3 27 October 2020, 15:06:49 UTC
4e3fdc0 Throw fewer deprecation warnings for the RawExtrinsicMetadata id attr This avoids throwing the deprecation warning when id and target are present and have the same value, which makes a from_dict / to_dict round-trip throw no deprecation warnings. 27 October 2020, 14:38:26 UTC
c316577 Updated backport on buster-swh from debian/0.7.2-1_swh1 (unstable-swh) 27 October 2020, 09:43:02 UTC
be6754a Merge tag 'debian/0.7.2-1_swh1' into debian/buster-swh 27 October 2020, 09:43:01 UTC
00fa01b Updated debian changelog for version 0.7.2 27 October 2020, 09:41:19 UTC
4f8392b New upstream version 0.7.2 27 October 2020, 09:41:18 UTC
b953555 Update upstream source from tag 'debian/upstream/0.7.2' Update to upstream version '0.7.2' with Debian dir 3d28dbc49bced19e4411f3c3f60af57d08510a4a 27 October 2020, 09:41:18 UTC
9da17a5 Rename the RawExtrinsicMetadata id field to target This backwards-compatible change prepares the transition to give RawExtrinsicMetadata an `id` field that is computed intrinsically from its contents (using the HashableObject mixin). 26 October 2020, 15:57:49 UTC
498a107 Update the HashableObject interface to take the object itself This will enable a gradual enhancement of the functions in identifiers.py to take model objects directly, and return the bytes of the hash instead of an hex representation. 23 October 2020, 15:12:34 UTC
aa84d8d CONTRIBUTORS: Add Antoine Cezar 23 October 2020, 12:48:18 UTC
2b869aa swh identify: add --exclude 23 October 2020, 09:21:35 UTC
9224c8c Make revision/release identifiers explicitly the hash of a manifest This collapses the shared logic between these two identifier computations into a few more explicit steps: - generate data for the manifest (in either identifier computation); - format the manifest (in the new format_manifest function); - hash the manifest (in the new hash_manifest function). This will enable reusing this logic for more object types, as well as stronger typing for the manifest computation. 14 October 2020, 16:49:54 UTC
5972312 Updated backport on buster-swh from debian/0.7.1-1_swh1 (unstable-swh) 12 October 2020, 10:20:22 UTC
5c20290 Merge tag 'debian/0.7.1-1_swh1' into debian/buster-swh 12 October 2020, 10:20:22 UTC
604ae3e Updated debian changelog for version 0.7.1 12 October 2020, 10:19:10 UTC
d0e3797 Update upstream source from tag 'debian/upstream/0.7.1' Update to upstream version '0.7.1' with Debian dir 7e580ad70508156c42e6cc2a3b98a9d95aee1a5a 12 October 2020, 10:19:10 UTC
a456586 New upstream version 0.7.1 12 October 2020, 10:19:09 UTC
a251df2 Add a 'unique_key' method on model objects that returns a value suitable for unicity constraints. Motivation: * this is somewhat more of a model concern than a journal/kafka concern IMO * this is one step toward adding support for non-model objects in KafkaJournalWriter Implementation of the unique_key methods comes from `swh.journal.serializers.object_key`. 08 October 2020, 09:17:35 UTC
b6c190b Updated backport on buster-swh from debian/0.7.0-1_swh1 (unstable-swh) 07 October 2020, 10:49:03 UTC
cfa63d9 Merge tag 'debian/0.7.0-1_swh1' into debian/buster-swh 07 October 2020, 10:49:02 UTC
2c70016 Updated debian changelog for version 0.7.0 07 October 2020, 10:47:55 UTC
2ba43f0 Update upstream source from tag 'debian/upstream/0.7.0' Update to upstream version '0.7.0' with Debian dir 61c3aaf791f4b23b6e9369720b4f00ecc2ba94b6 07 October 2020, 10:47:54 UTC
da14cc6 New upstream version 0.7.0 07 October 2020, 10:47:54 UTC
bdfde82 cli: make SWHIDParamType return SWHID type instead of string 05 October 2020, 08:29:06 UTC
fe3ec55 tox.ini: pin black to the pre-commit version (19.10b0) to avoid flip-flops 02 October 2020, 14:23:49 UTC
362ebf6 Merge the two test_identifiers.py files. I created one in the wrong directory and didn't see the existing one. 29 September 2020, 10:48:29 UTC
c2a11c6 Updated backport on buster-swh from debian/0.6.7-3_swh1 (unstable-swh) 25 September 2020, 16:48:51 UTC
a95e77e Merge tag 'debian/0.6.7-3_swh1' into debian/buster-swh 25 September 2020, 16:48:50 UTC
e8267ec d/control: fix a typo and bump version 25 September 2020, 16:46:35 UTC
eb1ebcb Bump version 25 September 2020, 15:05:56 UTC
b51f8bd d/control: add missing dependencies 25 September 2020, 13:40:06 UTC
da981bb Updated debian changelog for version 0.6.7 25 September 2020, 13:32:18 UTC
149c327 New upstream version 0.6.7 25 September 2020, 13:32:17 UTC
3de77d2 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
be8f1a5 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 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 python: Reorder imports with isort Related to T2610 17 September 2020, 15:57:03 UTC
5bda22f pre-commit: Add isort hook and configuration Related to T2610 17 September 2020, 15:57:02 UTC
eff3c63 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 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 model: Fix "unused 'type: ignore' comment" error with mypy 0.782 25 August 2020, 13:32:51 UTC
c85990b 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 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
98e240f Updated backport on buster-swh from debian/0.6.6-1_swh1 (unstable-swh) 07 August 2020, 08:25:26 UTC
a8c771c Merge tag 'debian/0.6.6-1_swh1' into debian/buster-swh 07 August 2020, 08:25:25 UTC
83864e6 Updated debian changelog for version 0.6.6 07 August 2020, 08:22:35 UTC
fe39e21 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 New upstream version 0.6.6 07 August 2020, 08:22:32 UTC
d1db7b9 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 model: Add Sha1 alias Related to T645 07 August 2020, 07:50:45 UTC
cd9d24c Updated backport on buster-swh from debian/0.6.5-1_swh1 (unstable-swh) 06 August 2020, 18:04:14 UTC
7e8ef9a Merge tag 'debian/0.6.5-1_swh1' into debian/buster-swh 06 August 2020, 18:04:13 UTC
98dab82 Updated debian changelog for version 0.6.5 06 August 2020, 18:01:05 UTC
f429f0a 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 New upstream version 0.6.5 06 August 2020, 18:01:02 UTC
09dcc04 model: Add final object_type field on metadata related model objects 06 August 2020, 17:00:21 UTC
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
back to top