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

sort by:
Revision Author Date Message Commit Date
7a4473f Updated backport on buster-swh from debian/2.6.1-1_swh1 (unstable-swh) 16 June 2021, 10:04:50 UTC
2c915c9 Merge tag 'debian/2.6.1-1_swh1' into debian/buster-swh 16 June 2021, 10:04:50 UTC
305c5d0 Updated debian changelog for version 2.6.1 16 June 2021, 10:03:28 UTC
1c4c4a6 Update upstream source from tag 'debian/upstream/2.6.1' Update to upstream version '2.6.1' with Debian dir de4cc1005c62c873540e9c8b8067233771377a1f 16 June 2021, 10:03:25 UTC
abfab0a New upstream version 2.6.1 16 June 2021, 10:03:23 UTC
e09446a encode exclude patterns before extracting regex objects - add typing annotation to avoid such error in the future Fixes T3383 15 June 2021, 16:23:43 UTC
4c96a21 Updated backport on buster-swh from debian/2.6.0-1_swh1 (unstable-swh) 15 June 2021, 14:57:29 UTC
2561338 Merge tag 'debian/2.6.0-1_swh1' into debian/buster-swh 15 June 2021, 14:57:28 UTC
7260168 Updated debian changelog for version 2.6.0 15 June 2021, 14:56:10 UTC
3e09109 Update upstream source from tag 'debian/upstream/2.6.0' Update to upstream version '2.6.0' with Debian dir a5928cf48b5ed5e74f56196c93fd182d82f7589a 15 June 2021, 14:56:08 UTC
b5e4052 New upstream version 2.6.0 15 June 2021, 14:56:07 UTC
8ec0cf6 Add a TimestampWithTimezone.to_datetime() method 15 June 2021, 09:22:38 UTC
428c170 Fix normalize_timestamp() for datetime < epoch with microsecond>0 the problem was for datetime<epoch, the timestamp is negative, but since it's a float that includes the microseconds, if both are true (< epoch and microsecond > 0), then the computed (int) timestamp was off by one. Add dedicated tests for this. 15 June 2021, 09:22:38 UTC
ae50e43 cli: add recursive option 11 June 2021, 14:25:24 UTC
8540c67 mypy: Fix errors with release >= v0.900 09 June 2021, 13:36:37 UTC
443af78 Updated backport on buster-swh from debian/2.5.1-1_swh1 (unstable-swh) 20 May 2021, 13:42:34 UTC
9624c5d Merge tag 'debian/2.5.1-1_swh1' into debian/buster-swh 20 May 2021, 13:42:33 UTC
02cf7a3 Updated debian changelog for version 2.5.1 20 May 2021, 13:40:27 UTC
d2773eb Update upstream source from tag 'debian/upstream/2.5.1' Update to upstream version '2.5.1' with Debian dir 7de8b2d4d70f1a04bd64715de0a11f2f538c8fe1 20 May 2021, 13:40:17 UTC
e38c659 New upstream version 2.5.1 20 May 2021, 13:40:16 UTC
4808fc2 Fix snapshot entries in swh_model_data test data make sure the snapshot id in OriginVisitStatus refers to existing Snapshot objects. 19 May 2021, 13:21:18 UTC
76325b4 Updated backport on buster-swh from debian/2.5.0-1_swh1 (unstable-swh) 11 May 2021, 10:09:03 UTC
d8c81be Merge tag 'debian/2.5.0-1_swh1' into debian/buster-swh 11 May 2021, 10:09:03 UTC
f66c641 Updated debian changelog for version 2.5.0 11 May 2021, 10:07:48 UTC
2c8ffdf Update upstream source from tag 'debian/upstream/2.5.0' Update to upstream version '2.5.0' with Debian dir 05035d9eb3380a44d4daa228462b7349d05b90b7 11 May 2021, 10:07:47 UTC
4b9ef2d New upstream version 2.5.0 11 May 2021, 10:07:46 UTC
96cc355 tox: Disable coverage in py3-minimal If run after py3-full, it overwrites the full coverage info, so most lines are incorrectly reported as uncovered in Phabricator diffs. 11 May 2021, 09:24:43 UTC
8c904dc identifiers: Expose git_object instead of manifest The git_object is what will be actually useful to the vault. It's also easier to test, because test_identifier.py has the entire git_object in its test data. 11 May 2021, 08:59:28 UTC
523ab64 identifiers: Expose manifest computation Before this commit, manifests were only computed internally before hashing, so they were not available to outside modules. This makes testing the module very painful, because identifier functions can only be tested by checking the hash; so test failures did not show mismatches between the computed manifest and the expected one. Additionally, the 'git bare cooker' of the vault is likely to use these as well, as it needs to format git objects in the same format. 11 May 2021, 08:33:36 UTC
1d2dfcb Updated backport on buster-swh from debian/2.4.2-1_swh1 (unstable-swh) 06 May 2021, 12:36:54 UTC
0e483b1 Merge tag 'debian/2.4.2-1_swh1' into debian/buster-swh 06 May 2021, 12:36:54 UTC
41cada7 Updated debian changelog for version 2.4.2 06 May 2021, 12:35:43 UTC
2e10147 Update upstream source from tag 'debian/upstream/2.4.2' Update to upstream version '2.4.2' with Debian dir 196d5f227c50e9b78022da184ababc6ee414f976 06 May 2021, 12:35:42 UTC
7e77c2b New upstream version 2.4.2 06 May 2021, 12:35:41 UTC
31cb72e Blacklist attr 21.1.0 There is a regression that breaks attr.evolve() when updating attributes that contain an attr class; which we use (eg. for Person or TimestampWithTimezone). v21.2.0 is expected to fix the issue, but won't be released immediately: https://github.com/python-attrs/attrs/issues/804#issuecomment-833471190 06 May 2021, 12:18:22 UTC
df036ef docs/persistent-identifiers: Add guidelines for fixing invalid SWHIDs. 30 April 2021, 11:01:02 UTC
a0de33d Updated backport on buster-swh from debian/2.4.1-1_swh1 (unstable-swh) 29 April 2021, 12:24:44 UTC
a49fc8d Merge tag 'debian/2.4.1-1_swh1' into debian/buster-swh 29 April 2021, 12:24:43 UTC
fc27f48 Updated debian changelog for version 2.4.1 29 April 2021, 12:23:21 UTC
cb52cfc Update upstream source from tag 'debian/upstream/2.4.1' Update to upstream version '2.4.1' with Debian dir e9d4ffb7ab9423c2de37dacd4c8c388935711fd5 29 April 2021, 12:23:20 UTC
fae3159 New upstream version 2.4.1 29 April 2021, 12:23:20 UTC
f7e9d5c tox: Add sphinx environments to check sane doc build Enable to check package documentation can be built without producing sphinx warnings. The sphinx environment is designed to be used in continuous integration in order to prevent breaking documentation build when committing changes. The sphinx-dev environment is designed to be used inside a full swh development environment. Related to T3258 28 April 2021, 12:01:35 UTC
446bd2b Fix swh_model_data hardcoded id values and add a test to keep them correct. 23 April 2021, 15:24:08 UTC
1f6b3b9 swh_model_data: add parents to test revision 15 April 2021, 14:37:01 UTC
8d0352c Fix various Sphinx warnings 15 April 2021, 08:20:39 UTC
36349b9 Updated backport on buster-swh from debian/2.4.0-1_swh1 (unstable-swh) 13 April 2021, 13:32:29 UTC
ba7bac3 Merge tag 'debian/2.4.0-1_swh1' into debian/buster-swh 13 April 2021, 13:32:28 UTC
13c5695 Updated debian changelog for version 2.4.0 13 April 2021, 13:31:22 UTC
07e6f54 Update upstream source from tag 'debian/upstream/2.4.0' Update to upstream version '2.4.0' with Debian dir e87ccb4fa17d1fa370c7d13de36ba753221112db 13 April 2021, 13:31:21 UTC
c0e9822 New upstream version 2.4.0 13 April 2021, 13:31:21 UTC
74b024f identifiers: Fix parsing of SWHID qualifier value containing '=' According to the SWHID specification, it is not forbidden for a qualifier value to contain a '=' character (for instance in origin URL). So update parsing code to handle that special case. 13 April 2021, 12:02:33 UTC
15d5bab identifiers: Fix some invalid ValidationError template string formats Some ValidationError exceptions could not be serialized to string due to these format errors. Related to T3234 13 April 2021, 10:43:55 UTC
f2dba17 docs: Ask readers to install swh.model[cli] to fully use swh-identify Otherwise, they will get an error asking them to install Click (or Dulwich if Click installed and they use -t snapshot) 12 April 2021, 11:18:58 UTC
27a05d6 tox: Check swh-identify can run even if Dulwich isn't installed 12 April 2021, 11:18:58 UTC
c62f13f swh-identify: Hide tracebacks if Click or Dulwich is not installed And show nice human-readable errors instead 09 April 2021, 13:14:52 UTC
eeedac7 Remove accidental dependency of 'swh-identify' on swh-core Was added in be8f1a559d8209710a08ca48d93b7f513fa1c42f 08 April 2021, 14:16:42 UTC
9523be0 Model test data: add Release with no author/date Some releases don't have authors and date fields, this case should be checked in the tests. 26 March 2021, 11:05:51 UTC
ad0f2fc Updated backport on buster-swh from debian/2.3.0-1_swh1 (unstable-swh) 19 March 2021, 16:18:56 UTC
5f5d4f9 Merge tag 'debian/2.3.0-1_swh1' into debian/buster-swh 19 March 2021, 16:18:56 UTC
fb90825 Updated debian changelog for version 2.3.0 19 March 2021, 16:17:48 UTC
dc1ae42 Update upstream source from tag 'debian/upstream/2.3.0' Update to upstream version '2.3.0' with Debian dir 226b10fe808b4f706ee02cac31636de44440044f 19 March 2021, 16:17:48 UTC
7f124d8 New upstream version 2.3.0 19 March 2021, 16:17:47 UTC
af5e461 Truncate RawExtrinsicMetadata.discovery_date to a second This truncation is already enshrined at the identifier level. Truncate the object itself as well, to reduce the possibility multiple different metadata objects with the same identifier. 18 March 2021, 09:57:02 UTC
fff6c8b Updated backport on buster-swh from debian/2.2.0-1_swh1 (unstable-swh) 15 March 2021, 09:36:37 UTC
92c141a Merge tag 'debian/2.2.0-1_swh1' into debian/buster-swh 15 March 2021, 09:36:37 UTC
2250107 Updated debian changelog for version 2.2.0 15 March 2021, 09:35:25 UTC
377d1df New upstream version 2.2.0 15 March 2021, 09:35:24 UTC
95a9570 Update upstream source from tag 'debian/upstream/2.2.0' Update to upstream version '2.2.0' with Debian dir 15ac67e7278dc66e127e288ac4589a3d1bc460fb 15 March 2021, 09:35:24 UTC
975e989 model: Add a swhid() method to RawExtrinsicMetadata. All other hashable objects but ExtId have one. It will be used by swh-deposit. 12 March 2021, 12:58:37 UTC
51eb539 Updated backport on buster-swh from debian/2.1.0-1_swh1 (unstable-swh) 11 March 2021, 13:22:58 UTC
3af651f Merge tag 'debian/2.1.0-1_swh1' into debian/buster-swh 11 March 2021, 13:22:57 UTC
7826f5a Updated debian changelog for version 2.1.0 11 March 2021, 13:21:40 UTC
c217bb1 Update upstream source from tag 'debian/upstream/2.1.0' Update to upstream version '2.1.0' with Debian dir 6b5419fe87be223d70c9630dfdc5de683ccac7f3 11 March 2021, 13:21:39 UTC
da9fc11 New upstream version 2.1.0 11 March 2021, 13:21:39 UTC
71be461 Add an ExtID object this object aims at being able to keep in the SWH Archive an SWHID <-> External object ID map, e.g. to be able to keep track of Mercurial ids so the Mercurial loader can be made more efficient. Related to T2849. 10 March 2021, 09:39:28 UTC
fca3658 Fix MetadataAuthority.from_dict() was modifying the dict given as argument. 08 March 2021, 15:15:08 UTC
86059ff Updated backport on buster-swh from debian/2.0.0-1_swh1 (unstable-swh) 05 March 2021, 09:15:51 UTC
5efcc5b Merge tag 'debian/2.0.0-1_swh1' into debian/buster-swh 05 March 2021, 09:15:51 UTC
10e7002 Updated debian changelog for version 2.0.0 05 March 2021, 09:14:35 UTC
41cb402 Update upstream source from tag 'debian/upstream/2.0.0' Update to upstream version '2.0.0' with Debian dir 40768420e535abdbc97e85502bba4b26414a1ea8 05 March 2021, 09:14:34 UTC
d66a180 New upstream version 2.0.0 05 March 2021, 09:14:33 UTC
2185f93 model: Remove override of RawExtrinsicMetadata.unique_key(), so it now returns the hash. 04 March 2021, 14:22:13 UTC
48c556d Updated backport on buster-swh from debian/1.0.1-1_swh1 (unstable-swh) 04 March 2021, 14:12:20 UTC
fccdd9b Merge tag 'debian/1.0.1-1_swh1' into debian/buster-swh 04 March 2021, 14:12:20 UTC
7a691b3 Updated debian changelog for version 1.0.1 04 March 2021, 14:11:09 UTC
87a5e63 Update upstream source from tag 'debian/upstream/1.0.1' Update to upstream version '1.0.1' with Debian dir 1d3154e2d3c122633977ccf26667b87beed97a02 04 March 2021, 14:11:08 UTC
ae3b03f New upstream version 1.0.1 04 March 2021, 14:11:08 UTC
4386330 identifiers: Properly define the behavior of raw_extrinsic_metadata on negative timestamps. The rounding algorithm wasn't specified 04 March 2021, 10:19:33 UTC
3ce4125 identifiers: Change the manifest format of raw_extrinsic_metadata to use integer instead of ISO8601 Serializing as ISO8601 makes the hash brittle, because the database may change the timezone silently and/or lose precision in the microseconds. As we do not need precise timestamp, using an integer is good enough, and is consistant with the git format. The manifest also does not need to contain a timezone, as it only represents the timezone of the system that fetched this metadata, which is useless data. 04 March 2021, 10:19:33 UTC
fc808e1 model: Add 'id' field to RawExtrinsicMetadata So that they can be properly deduplicated and referenced. 04 March 2021, 10:17:44 UTC
f6eab95 identifiers: Add raw_extrinsic_metadata_identifier This will be used to compute an intrisic identifier for RawExtrinsicMetadata; which can be used for deduplication and refering to it like any other sha1_git instead of needed to use a tuple of its fields. 04 March 2021, 10:17:44 UTC
bf4ab43 identifiers: Remove the deprecated SWHID class Other packages don't use it anymore. 03 March 2021, 09:44:48 UTC
1e924e8 cli: stop using the deprecated SWHID class 03 March 2021, 09:44:27 UTC
ff33f60 Updated backport on buster-swh from debian/1.0.0-1_swh1 (unstable-swh) 02 March 2021, 08:19:54 UTC
2460762 Merge tag 'debian/1.0.0-1_swh1' into debian/buster-swh 02 March 2021, 08:19:53 UTC
294c57c Updated debian changelog for version 1.0.0 02 March 2021, 08:18:42 UTC
fa6d992 Update upstream source from tag 'debian/upstream/1.0.0' Update to upstream version '1.0.0' with Debian dir b4105a4c2fba097e2c03fbbbcfecf5612e3885d6 02 March 2021, 08:18:41 UTC
9cb4fa4 New upstream version 1.0.0 02 March 2021, 08:18:40 UTC
8e01199 Add CoreSWHID.to_extended() This is a useful shorthand when generating SWHIDs in tests. 01 March 2021, 09:06:58 UTC
31a8a0f RawExtrinsicMetadata: Use CoreSWHID instead of SWHID for contexts SWHID is deprecated; and CoreSWHID does not support qualifiers at all, so RawExtrinsicMetadata no longer needs to check there are no qualifiers. 01 March 2021, 09:06:58 UTC
back to top