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

sort by:
Revision Author Date Message Commit Date
e202563 Updated debian changelog for version 0.2.1 29 May 2020, 15:43:45 UTC
d388855 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 New upstream version 0.2.1 29 May 2020, 15:43:43 UTC
a95646f 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 Updated debian changelog for version 0.2.0 25 May 2020, 08:11:07 UTC
00b195a 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 New upstream version 0.2.0 25 May 2020, 08:11:06 UTC
29312df 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 SWHID spec: fix typos ";;" which made some examples fail 14 May 2020, 13:47:46 UTC
a752554 Updated debian changelog for version 0.1.1 05 May 2020, 12:45:37 UTC
d6c330a New upstream version 0.1.1 05 May 2020, 12:45:36 UTC
e4fb052 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 Make aware_datetimes() generate only ISO8601-encodable datetimes. 05 May 2020, 10:03:39 UTC
a5bfa5e Updated debian changelog for version 0.1.0 30 April 2020, 20:31:00 UTC
7f87c08 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 New upstream version 0.1.0 30 April 2020, 20:30:59 UTC
9f5d266 SWHID spec: full reread Reviewers: rdicosmo Reviewed By: rdicosmo Differential Revision: https://forge.softwareheritage.org/D3108 30 April 2020, 17:06:41 UTC
b80b135 setup.py: add documentation link 29 April 2020, 16:32:31 UTC
08fd228 hypothesis_strategies: Generate aware datetimes instead of naive ones. Production should only use aware datetimes. 29 April 2020, 11:02:22 UTC
0fad886 doc: check-in IANA registration template for the "swh" URI scheme Closes T1003 29 April 2020, 07:34:30 UTC
8367eec 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 Updated debian changelog for version 0.0.69 28 April 2020, 14:10:36 UTC
0580702 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 New upstream version 0.0.69 28 April 2020, 14:10:34 UTC
f97d216 SWHID spec: bump version to 1.3 and add last modified date 28 April 2020, 14:04:42 UTC
d230938 SWHID spec: make SWHIDs plural where needed 28 April 2020, 14:04:19 UTC
1379385 SWHID spec: simplify and generalize escaping requirements 27 April 2020, 13:17:50 UTC
3ef4843 SWHID spec: add support for IRI Closes T2379 26 April 2020, 14:44:51 UTC
56cf99a SWHID: deal with escaping in origin qualifiers 24 April 2020, 14:56:47 UTC
3f38808 SWHID doc: improve wording of intrinsic parts v. the rest 24 April 2020, 08:11:45 UTC
f360e9d Updated debian changelog for version 0.0.68 21 April 2020, 14:28:39 UTC
3de37fa 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 New upstream version 0.0.68 21 April 2020, 14:28:37 UTC
1037e88 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 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 Fix hypothesis strategies alias for origin visit update objects 20 April 2020, 15:37:56 UTC
e5227e2 setup: Update the minimum required runtime python3 version Related to T2367 20 April 2020, 15:37:56 UTC
50880a5 Updated debian changelog for version 0.0.67 17 April 2020, 15:54:04 UTC
fb52dea Update upstream source from tag 'debian/upstream/0.0.67' Update to upstream version '0.0.67' with Debian dir 38a85874acad3f027b7dec8a4a4aed1314513a08 17 April 2020, 15:54:03 UTC
02464c6 New upstream version 0.0.67 17 April 2020, 15:54:02 UTC
d52549f CLI: add test for swh identify w/o args and user required=True to check that, as it is the preferred way 17 April 2020, 15:42:16 UTC
7b2cc1f CLI: require explicit "-" to identify via stdin 17 April 2020, 15:25:03 UTC
6ac6cb7 SWHID doc: fix minor grammar issue hat tip to @rdicosmo for noticing 17 April 2020, 15:11:38 UTC
098f76a SWHID doc: fix link in CISE paper reference 17 April 2020, 14:42:46 UTC
36f921b identifiers.py: reference to SWHIDs using explicit anchors 17 April 2020, 14:23:13 UTC
94242ca swh identify: embrace SWHID naming in user-facing doc/messages 17 April 2020, 14:22:41 UTC
4c78d47 PID doc: embrace the SWHID naming 17 April 2020, 14:22:11 UTC
0ab482e PID doc: add reference to CISE paper 17 April 2020, 14:21:46 UTC
2ae347d doc: document identify CLI 16 April 2020, 14:25:14 UTC
a33a45b Updated debian changelog for version 0.0.66 10 April 2020, 14:48:17 UTC
670a57e Update upstream source from tag 'debian/upstream/0.0.66' Update to upstream version '0.0.66' with Debian dir 5dc3c4da5fb7b38713071c51e0eb2e0ccc3189e9 10 April 2020, 14:48:16 UTC
d9ff893 New upstream version 0.0.66 10 April 2020, 14:48:16 UTC
401bc17 model: Rename OriginVisitUpdate to OriginVisitStatus This also adapts the hypothesis strategies, using the plural form origin_visit_statuses. That plural form is acceptable because in our context, the statuses are countable. Related to T2310 10 April 2020, 08:43:20 UTC
6f8c66c model: Black formatting 10 April 2020, 08:43:04 UTC
c8d3093 Updated debian changelog for version 0.0.65 09 April 2020, 14:27:21 UTC
73f8559 Update upstream source from tag 'debian/upstream/0.0.65' Update to upstream version '0.0.65' with Debian dir 186667db6d343fd83910bbd0aec7ddb83f5e6b75 09 April 2020, 14:27:20 UTC
789a5fa New upstream version 0.0.65 09 April 2020, 14:27:20 UTC
94da010 Add a pyproject.toml file to target py37 for black 08 April 2020, 20:16:56 UTC
bf3f1ce Enable black - blackify all the python files, - enable black in pre-commit, - add a black tox environment. 08 April 2020, 14:53:06 UTC
5d6883b from_disk: path parameter to dir_filter functions 08 April 2020, 09:31:22 UTC
c3469cf Updated debian changelog for version 0.0.64 03 April 2020, 13:03:34 UTC
eb552ad New upstream version 0.0.64 03 April 2020, 13:03:33 UTC
ff22882 Update upstream source from tag 'debian/upstream/0.0.64' Update to upstream version '0.0.64' with Debian dir 8a7feb21ef6754ee9319b12458178e009794d67e 03 April 2020, 13:03:33 UTC
7fbae6c debian/control: Add new python3-attr-strict dependency 03 April 2020, 12:56:59 UTC
c7c1a57 docs/data-model: Update visits chapter definition Hinting at the origin_visit_update model Related to T2310 02 April 2020, 14:32:02 UTC
64a7f62 model: Make message field optional in Release model A release may have an empty message, for instance those derived from a Mercurial repository. So make that field optional to avoid type validation errors. 02 April 2020, 12:00:30 UTC
074c210 hypothesis: Fix some issues in snapshots strategy and add tests Fix keyword parameters transmission to snapshots_d strategy. Ensure max_size constraint is respected when fixing snapshot aliases. 02 April 2020, 09:45:59 UTC
ca0f6a1 model: add support for ctime in [Skipped]Content.from_[data,dict]() With support for str representation of date. Mostly for testing purpose. 01 April 2020, 09:07:24 UTC
414a655 model: small code improvement of SkippedContent.from_dict 01 April 2020, 09:07:24 UTC
6ce0f71 model: fix SkippedContent origin to be a str instead of a reference to an Origin entity. 01 April 2020, 09:07:24 UTC
f513271 hypothesis: split hypothesis strategies as a dict + entity instance for each entity model `Model`, provide a `models_d` strategy that produces dicts suitable for using as argument for the `Model.from_dict` factory method, and reimplement the `models` generator using this former hypothesis generator. This is needed to help writing low level tests for model entities. 01 April 2020, 09:07:24 UTC
10b0699 model: improve a bit the TimestampWithTimezone model - add a validator for negative_utc (can be True iff offset is 0), - update the timestamps_with_timezone hypothesis strategy, - add low-level tests for it. 01 April 2020, 08:57:07 UTC
ac9d4c8 tests: add low level tests for the Timestamp model entity 01 April 2020, 08:57:07 UTC
85ca7d7 model: use attrs_static to enforce type validation of model objects This ensures all instanciated model entities have valid types for attributes. Related to T2308. 01 April 2020, 08:57:07 UTC
03188aa Updated debian changelog for version 0.0.63 01 April 2020, 08:08:58 UTC
0ac432d New upstream version 0.0.63 01 April 2020, 08:08:57 UTC
ae3a091 Update upstream source from tag 'debian/upstream/0.0.63' Update to upstream version '0.0.63' with Debian dir 279c24fac8517e2a8272d9494793afe688b4d950 01 April 2020, 08:08:57 UTC
e9a4c75 model: Add new OriginVisitUpdate model object + test strategy (pairing with @vlorentz) Related to T2310 31 March 2020, 16:01:54 UTC
accca60 Typo 30 March 2020, 12:13:59 UTC
b6e92ea Further clarifications in the PID extension 30 March 2020, 12:11:55 UTC
d14883e Clarify ambiguities in PID extensions 28 March 2020, 17:22:11 UTC
0767c81 Extend SWH PID definition with additional context qualifiers. 28 March 2020, 14:16:04 UTC
a4b5b5c Updated debian changelog for version 0.0.62 26 March 2020, 13:22:20 UTC
2957d3f Update upstream source from tag 'debian/upstream/0.0.62' Update to upstream version '0.0.62' with Debian dir b55f8a89978085d75b15a56406a3b3edd1fc2dc9 26 March 2020, 13:22:19 UTC
c4e61da New upstream version 0.0.62 26 March 2020, 13:22:19 UTC
4a2233c identifiers: encode origin URLs in utf-8 23 March 2020, 18:09:47 UTC
97af886 tests/identifiers: fix 'target', 'directory' and 'parents' object types These are expected to be bytes, not str. 12 March 2020, 13:28:22 UTC
56ae59c test/model: do not test direct instanciation of model objects this does not work in the general case since there is no (recursive) convertion of objects used as model object initialization. We can only check when using the from_dict() factory. 11 March 2020, 14:41:49 UTC
c746960 tests/models: use d.copy() instead of dict(d) for better clarity on the code author's intention. 11 March 2020, 14:39:32 UTC
f533f62 model: kill Origin.type attribute it was still here for bw-compat but should not be necessary any more. 11 March 2020, 14:01:23 UTC
0a6d7e0 Extract the dictify() function from BaseModel.to_dict() this function does not need to be a local function of the to_dict namespace. 11 March 2020, 12:15:32 UTC
f6a2f33 Updated debian changelog for version 0.0.60 05 March 2020, 11:07:51 UTC
e629bc3 Update upstream source from tag 'debian/upstream/0.0.60' Update to upstream version '0.0.60' with Debian dir e539ea7a60cb91c2d7ac920492493b9cdf43fc33 05 March 2020, 11:07:50 UTC
0930298 New upstream version 0.0.60 05 March 2020, 11:07:49 UTC
a5a9f57 Add classmethod Person.from_address, to parse from 'name <email>' strings. This will allow deduplicating code across loaders. 04 March 2020, 10:52:29 UTC
5ccf8a8 Draw contents from a byte string instead of generating arbitrary hashes This generates more realistic contents and avoids spurious HashCollisions when generating a set of objects using these hypothesis strategies, at the cost of slightly worse "boundary checking" (i.e. we won't check contents with a length > 4096 bytes). 02 March 2020, 15:22:59 UTC
ded150d Add a method to generate Content/SkippedContent from binary data This lets us generate Content objects directly from a bytestring, with the proper set of hashes auto-generated from the contents. 02 March 2020, 15:22:43 UTC
767548f Updated debian changelog for version 0.0.59 27 February 2020, 17:07:16 UTC
96c5821 Update upstream source from tag 'debian/upstream/0.0.59' Update to upstream version '0.0.59' with Debian dir b29a4e120d6f24180eb5e25a7728c43d443c41b7 27 February 2020, 17:07:16 UTC
d1faa06 New upstream version 0.0.59 27 February 2020, 17:07:15 UTC
back to top