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 |
50880a5 | Jenkins for Software Heritage | 17 April 2020, 15:54:04 UTC | Updated debian changelog for version 0.0.67 | 17 April 2020, 15:54:04 UTC |
fb52dea | Jenkins for Software Heritage | 17 April 2020, 15:54:03 UTC | 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 | Jenkins for Software Heritage | 17 April 2020, 15:54:02 UTC | New upstream version 0.0.67 | 17 April 2020, 15:54:02 UTC |
d52549f | Stefano Zacchiroli | 17 April 2020, 15:42:16 UTC | 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 | Stefano Zacchiroli | 17 April 2020, 15:25:03 UTC | CLI: require explicit "-" to identify via stdin | 17 April 2020, 15:25:03 UTC |
6ac6cb7 | Stefano Zacchiroli | 17 April 2020, 15:11:38 UTC | SWHID doc: fix minor grammar issue hat tip to @rdicosmo for noticing | 17 April 2020, 15:11:38 UTC |
098f76a | Stefano Zacchiroli | 17 April 2020, 14:42:46 UTC | SWHID doc: fix link in CISE paper reference | 17 April 2020, 14:42:46 UTC |
36f921b | Stefano Zacchiroli | 17 April 2020, 14:23:13 UTC | identifiers.py: reference to SWHIDs using explicit anchors | 17 April 2020, 14:23:13 UTC |
94242ca | Stefano Zacchiroli | 17 April 2020, 14:22:41 UTC | swh identify: embrace SWHID naming in user-facing doc/messages | 17 April 2020, 14:22:41 UTC |
4c78d47 | Stefano Zacchiroli | 17 April 2020, 14:22:11 UTC | PID doc: embrace the SWHID naming | 17 April 2020, 14:22:11 UTC |
0ab482e | Stefano Zacchiroli | 17 April 2020, 14:21:46 UTC | PID doc: add reference to CISE paper | 17 April 2020, 14:21:46 UTC |
2ae347d | Stefano Zacchiroli | 16 April 2020, 14:25:09 UTC | doc: document identify CLI | 16 April 2020, 14:25:14 UTC |
a33a45b | Jenkins for Software Heritage | 10 April 2020, 14:48:17 UTC | Updated debian changelog for version 0.0.66 | 10 April 2020, 14:48:17 UTC |
670a57e | Jenkins for Software Heritage | 10 April 2020, 14:48:16 UTC | 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 | Jenkins for Software Heritage | 10 April 2020, 14:48:16 UTC | New upstream version 0.0.66 | 10 April 2020, 14:48:16 UTC |
401bc17 | Antoine R. Dumont (@ardumont) | 10 April 2020, 08:43:20 UTC | 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 | Antoine R. Dumont (@ardumont) | 10 April 2020, 08:43:04 UTC | model: Black formatting | 10 April 2020, 08:43:04 UTC |
c8d3093 | Jenkins for Software Heritage | 09 April 2020, 14:27:21 UTC | Updated debian changelog for version 0.0.65 | 09 April 2020, 14:27:21 UTC |
73f8559 | Jenkins for Software Heritage | 09 April 2020, 14:27:20 UTC | 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 | Jenkins for Software Heritage | 09 April 2020, 14:27:20 UTC | New upstream version 0.0.65 | 09 April 2020, 14:27:20 UTC |
94da010 | David Douard | 08 April 2020, 20:16:56 UTC | Add a pyproject.toml file to target py37 for black | 08 April 2020, 20:16:56 UTC |
bf3f1ce | David Douard | 08 April 2020, 14:53:06 UTC | 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 | Daniele Serafini | 07 April 2020, 15:28:09 UTC | from_disk: path parameter to dir_filter functions | 08 April 2020, 09:31:22 UTC |
c3469cf | Jenkins for Software Heritage | 03 April 2020, 13:03:34 UTC | Updated debian changelog for version 0.0.64 | 03 April 2020, 13:03:34 UTC |
eb552ad | Jenkins for Software Heritage | 03 April 2020, 13:03:33 UTC | New upstream version 0.0.64 | 03 April 2020, 13:03:33 UTC |
ff22882 | Jenkins for Software Heritage | 03 April 2020, 13:03:33 UTC | 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 | Antoine Lambert | 03 April 2020, 12:56:59 UTC | debian/control: Add new python3-attr-strict dependency | 03 April 2020, 12:56:59 UTC |
c7c1a57 | Antoine R. Dumont (@ardumont) | 01 April 2020, 14:28:50 UTC | 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 | Antoine Lambert | 02 April 2020, 10:44:45 UTC | 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 | Antoine Lambert | 01 April 2020, 21:43:44 UTC | 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 | David Douard | 23 March 2020, 09:31:03 UTC | 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 | David Douard | 23 March 2020, 09:30:00 UTC | model: small code improvement of SkippedContent.from_dict | 01 April 2020, 09:07:24 UTC |
6ce0f71 | David Douard | 23 March 2020, 09:27:52 UTC | model: fix SkippedContent origin to be a str instead of a reference to an Origin entity. | 01 April 2020, 09:07:24 UTC |
f513271 | David Douard | 23 March 2020, 09:32:39 UTC | 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 | David Douard | 12 March 2020, 15:01:55 UTC | 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 | David Douard | 12 March 2020, 13:27:23 UTC | tests: add low level tests for the Timestamp model entity | 01 April 2020, 08:57:07 UTC |
85ca7d7 | David Douard | 20 March 2020, 11:59:56 UTC | 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 | Jenkins for Software Heritage | 01 April 2020, 08:08:58 UTC | Updated debian changelog for version 0.0.63 | 01 April 2020, 08:08:58 UTC |
0ac432d | Jenkins for Software Heritage | 01 April 2020, 08:08:57 UTC | New upstream version 0.0.63 | 01 April 2020, 08:08:57 UTC |
ae3a091 | Jenkins for Software Heritage | 01 April 2020, 08:08:57 UTC | 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 | Antoine R. Dumont (@ardumont) | 25 March 2020, 17:00:03 UTC | model: Add new OriginVisitUpdate model object + test strategy (pairing with @vlorentz) Related to T2310 | 31 March 2020, 16:01:54 UTC |
accca60 | Roberto Di Cosmo | 30 March 2020, 12:13:59 UTC | Typo | 30 March 2020, 12:13:59 UTC |
b6e92ea | Roberto Di Cosmo | 30 March 2020, 12:11:55 UTC | Further clarifications in the PID extension | 30 March 2020, 12:11:55 UTC |
d14883e | Roberto Di Cosmo | 28 March 2020, 17:22:11 UTC | Clarify ambiguities in PID extensions | 28 March 2020, 17:22:11 UTC |
0767c81 | Roberto Di Cosmo | 28 March 2020, 14:16:04 UTC | Extend SWH PID definition with additional context qualifiers. | 28 March 2020, 14:16:04 UTC |
a4b5b5c | Jenkins for Software Heritage | 26 March 2020, 13:22:20 UTC | Updated debian changelog for version 0.0.62 | 26 March 2020, 13:22:20 UTC |
2957d3f | Jenkins for Software Heritage | 26 March 2020, 13:22:19 UTC | 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 | Jenkins for Software Heritage | 26 March 2020, 13:22:19 UTC | New upstream version 0.0.62 | 26 March 2020, 13:22:19 UTC |
4a2233c | Antoine Pietri | 23 March 2020, 18:09:47 UTC | identifiers: encode origin URLs in utf-8 | 23 March 2020, 18:09:47 UTC |
97af886 | David Douard | 11 March 2020, 15:10:08 UTC | 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 | David Douard | 11 March 2020, 14:41:49 UTC | 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 | David Douard | 11 March 2020, 14:39:32 UTC | 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 | David Douard | 11 March 2020, 14:01:23 UTC | 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 | David Douard | 11 March 2020, 12:15:32 UTC | 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 | Jenkins for Software Heritage | 05 March 2020, 11:07:51 UTC | Updated debian changelog for version 0.0.60 | 05 March 2020, 11:07:51 UTC |
e629bc3 | Jenkins for Software Heritage | 05 March 2020, 11:07:50 UTC | 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 | Jenkins for Software Heritage | 05 March 2020, 11:07:49 UTC | New upstream version 0.0.60 | 05 March 2020, 11:07:49 UTC |
a5a9f57 | Valentin Lorentz | 02 March 2020, 14:57:55 UTC | 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 | Nicolas Dandrimont | 02 March 2020, 13:03:58 UTC | 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 | Nicolas Dandrimont | 02 March 2020, 09:35:05 UTC | 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 | Jenkins for Software Heritage | 27 February 2020, 17:07:16 UTC | Updated debian changelog for version 0.0.59 | 27 February 2020, 17:07:16 UTC |
96c5821 | Jenkins for Software Heritage | 27 February 2020, 17:07:16 UTC | 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 | Jenkins for Software Heritage | 27 February 2020, 17:07:15 UTC | New upstream version 0.0.59 | 27 February 2020, 17:07:15 UTC |
cb075eb | Nicolas Dandrimont | 27 February 2020, 17:02:22 UTC | model.hypothesis: use the proper strategy name for building `Person`s | 27 February 2020, 17:03:18 UTC |
a9a42ea | Antoine R. Dumont (@ardumont) | 27 February 2020, 15:27:40 UTC | model.hypothesis: Fix person generation | 27 February 2020, 15:27:40 UTC |
e9506e1 | Antoine R. Dumont (@ardumont) | 27 February 2020, 14:34:40 UTC | d/changelog: Bump new release | 27 February 2020, 14:34:40 UTC |
87b10f6 | Antoine R. Dumont (@ardumont) | 27 February 2020, 14:33:50 UTC | d/control: Update runtime dependency | 27 February 2020, 14:33:50 UTC |
9c9b084 | Jenkins for Software Heritage | 27 February 2020, 14:20:21 UTC | Updated debian changelog for version 0.0.57 | 27 February 2020, 14:20:21 UTC |
0f2448d | Jenkins for Software Heritage | 27 February 2020, 14:20:20 UTC | New upstream version 0.0.57 | 27 February 2020, 14:20:20 UTC |
c2242b0 | Jenkins for Software Heritage | 27 February 2020, 14:20:20 UTC | Update upstream source from tag 'debian/upstream/0.0.57' Update to upstream version '0.0.57' with Debian dir b6fefac634efaca283f481b553074b3c49c16e6e | 27 February 2020, 14:20:20 UTC |
f7f18a3 | Valentin Lorentz | 27 February 2020, 14:12:07 UTC | Make attributes name and email of Person optional. Required by loaders, when they can't parse the fullname. | 27 February 2020, 14:12:07 UTC |
750d147 | Valentin Lorentz | 27 February 2020, 13:33:07 UTC | Add from_datetime and from_iso8601 constructors for TimestampWithTimezone. Will be used by loaders. | 27 February 2020, 14:10:31 UTC |
9cf7a04 | Valentin Lorentz | 24 February 2020, 14:59:14 UTC | Add method MerkleNode.iter_tree, to visit all nodes in the subtree of a node. | 27 February 2020, 13:26:12 UTC |
c0ce38e | Valentin Lorentz | 24 February 2020, 15:00:14 UTC | Take the value of MerkleNode.data into account to compute equality. It just makes more sense that way. eg. before this change, all leafs would be equal to each other. | 24 February 2020, 15:07:03 UTC |
6da524c | Valentin Lorentz | 20 February 2020, 15:50:23 UTC | Add to_model() method to from_disk.{Content,Directory}, to convert to canonical model objects. They will be used by loaders, so they can deal only with model objects, instead of having to do the same conversion themselves. This removes the `data` and `save_path` arguments of `from_file` and `from_disk`, as data loading is always deferred from now on. To access it, users are now expected to either open the data files themselves, or us `.to_model().with_data()`. | 24 February 2020, 15:06:24 UTC |
ad6a030 | Valentin Lorentz | 21 February 2020, 14:56:23 UTC | Fix tests of special devices. Regular files were created, as the 'mode' argument of os.mknod was missing. However, creating devices requires root; so we can't reasonably do that in tests. Instead, we're using /dev/null instead of creating one. And while we're at it, let's also use /dev/zero (which, if not handled properly, will result in an infinite read). | 21 February 2020, 15:03:11 UTC |
4c070f9 | Valentin Lorentz | 20 February 2020, 15:46:56 UTC | Sort from_disk.Directory entries. It should be cheap enough to do it, and it makes tests easier. | 21 February 2020, 12:39:05 UTC |
e109241 | Valentin Lorentz | 21 February 2020, 10:45:53 UTC | Add test for git directory entries order. | 21 February 2020, 12:39:05 UTC |
60c3aa1 | Valentin Lorentz | 20 February 2020, 15:42:48 UTC | Add support for skipping large contents in from_disk. It will be useful to loaders, as they currently load the entire content in memory before deciding to skip it. | 21 February 2020, 12:39:05 UTC |
a5b5818 | Nicolas Dandrimont | 18 February 2020, 11:03:29 UTC | Re-introduce the swh.core dependency in swh.model[cli] This allows the `swh identify` command to work again. Close T2288 | 18 February 2020, 11:03:29 UTC |
2c1e02b | Valentin Lorentz | 14 February 2020, 17:07:44 UTC | Add method BaseModel.hashes(). Can be useful to deduplicate code in swh-storage. | 14 February 2020, 17:07:44 UTC |
d136a62 | Jenkins for Software Heritage | 10 February 2020, 10:48:55 UTC | Updated debian changelog for version 0.0.56 | 10 February 2020, 10:48:55 UTC |
188b801 | Jenkins for Software Heritage | 10 February 2020, 10:48:54 UTC | New upstream version 0.0.56 | 10 February 2020, 10:48:54 UTC |
36f44f7 | Jenkins for Software Heritage | 10 February 2020, 10:48:54 UTC | Update upstream source from tag 'debian/upstream/0.0.56' Update to upstream version '0.0.56' with Debian dir e8fdc7e23d26a4e0a0e61c22110e23037624b29b | 10 February 2020, 10:48:54 UTC |
fcfbd4d | Valentin Lorentz | 07 February 2020, 15:52:58 UTC | Make OriginVisit.snapshot optional. It already is in practice. | 07 February 2020, 15:53:03 UTC |
98bdb69 | Jenkins for Software Heritage | 07 February 2020, 15:16:58 UTC | Updated debian changelog for version 0.0.55 | 07 February 2020, 15:16:58 UTC |
0299cb4 | Jenkins for Software Heritage | 07 February 2020, 15:16:57 UTC | Update upstream source from tag 'debian/upstream/0.0.55' Update to upstream version '0.0.55' with Debian dir 757a1994777f26411a82369bb5efa044e815d8eb | 07 February 2020, 15:16:57 UTC |
679f85b | Jenkins for Software Heritage | 07 February 2020, 15:16:57 UTC | New upstream version 0.0.55 | 07 February 2020, 15:16:57 UTC |
73053a6 | Valentin Lorentz | 07 February 2020, 15:08:19 UTC | Make 'visible' the default status for present Contents. | 07 February 2020, 15:08:19 UTC |
05b89f2 | Valentin Lorentz | 07 February 2020, 15:02:04 UTC | Make content length mandatory. The current postgresql model refuses NULL values. | 07 February 2020, 15:02:04 UTC |
ab31072 | Jenkins for Software Heritage | 06 February 2020, 12:18:05 UTC | Updated debian changelog for version 0.0.54 | 06 February 2020, 12:18:05 UTC |
ee67eab | Jenkins for Software Heritage | 06 February 2020, 12:18:04 UTC | Update upstream source from tag 'debian/upstream/0.0.54' Update to upstream version '0.0.54' with Debian dir bfe97b183746e3dc69c02c2e023a1b921944ae16 | 06 February 2020, 12:18:04 UTC |
4916c38 | Jenkins for Software Heritage | 06 February 2020, 12:18:03 UTC | New upstream version 0.0.54 | 06 February 2020, 12:18:03 UTC |