f1a1593 | Jenkins for Software Heritage | 23 October 2019, 12:30:40 UTC | New upstream version 0.0.49 | 23 October 2019, 12:30:40 UTC |
4b79a2b | Nicolas Dandrimont | 23 October 2019, 11:55:18 UTC | model: make to_dict() properly recursive Instead of relying on attr.asdict recursion, we do recursion ourselves. This simplifies a lot of the inherited to_dict() methods. | 23 October 2019, 12:22:15 UTC |
2e4558c | Stefano Zacchiroli | 20 October 2019, 07:38:54 UTC | test_cli.py: fill in valid snapshot ID | 20 October 2019, 19:23:53 UTC |
8e3ee39 | Stefano Zacchiroli | 20 October 2019, 07:38:07 UTC | test_cli.py: drop unused NoQA marker | 20 October 2019, 19:23:53 UTC |
4a74205 | Stefano Zacchiroli | 08 October 2019, 07:52:58 UTC | swh identify -t snapshot: add support for symbolic refs | 20 October 2019, 19:23:53 UTC |
2c626ee | Jenkins for Software Heritage | 18 October 2019, 15:11:00 UTC | New upstream version 0.0.48 | 18 October 2019, 15:11:00 UTC |
b2c21d3 | Nicolas Dandrimont | 17 October 2019, 12:42:35 UTC | Don't export origin_visit['origin']['type'] | 18 October 2019, 11:21:43 UTC |
7a9fc39 | Nicolas Dandrimont | 17 October 2019, 12:42:35 UTC | model: Don't export origin['type'] | 18 October 2019, 09:55:40 UTC |
c103a6f | Antoine R. Dumont (@ardumont) | 09 October 2019, 13:16:02 UTC | tox.ini: Fix py3 environment to use packaged tests Related D2082 | 09 October 2019, 13:16:42 UTC |
131298c | Stefano Zacchiroli | 06 October 2019, 18:10:38 UTC | swh.model: document how origin PIDs are computed | 06 October 2019, 18:10:38 UTC |
298c942 | Stefano Zacchiroli | 04 October 2019, 17:12:57 UTC | CONTRIBUTORS: add @DanSeraf | 04 October 2019, 17:12:57 UTC |
e7cf550 | Stefano Zacchiroli | 04 October 2019, 17:10:35 UTC | Merge branch 'arcpatch-D2058' | 04 October 2019, 17:10:35 UTC |
375832f | Daniele Serafini | 04 October 2019, 17:08:16 UTC | PID: move validation checks to PersistentId constructor ... from test_persistent_identifier. Closes T1986 | 04 October 2019, 17:10:24 UTC |
6e7c3da | Stefano Zacchiroli | 01 October 2019, 15:58:26 UTC | mypi.ini: remove left-over "false positive" comment from dulwich exclude | 01 October 2019, 15:58:26 UTC |
b2d8bbf | Stefano Zacchiroli | 01 October 2019, 15:56:57 UTC | setup.py: move CLI dependencies to a dedicated swh-model[cli] subpackage It is now possible to install swh-model without dulwich (and Click, FWIW). Users who want to use "swh identify" should "pip install swh-model[cli]". | 01 October 2019, 15:56:57 UTC |
a9af3e7 | Stefano Zacchiroli | 01 October 2019, 14:19:32 UTC | swh identify: add support to compute snapshot PIDs of on-disk git repo | 01 October 2019, 14:19:32 UTC |
febe800 | Stefano Zacchiroli | 28 September 2019, 11:28:12 UTC | tox: anticipate mypy run to just after flake8 | 28 September 2019, 11:28:12 UTC |
2c11648 | Jenkins for Software Heritage | 27 September 2019, 08:22:53 UTC | New upstream version 0.0.47 | 27 September 2019, 08:22:53 UTC |
340b001 | Stefano Zacchiroli | 27 September 2019, 07:12:30 UTC | init.py: switch to documented way of extending path make mypy 0.730 pass cleanly again | 27 September 2019, 07:12:30 UTC |
dd705e3 | Jenkins for Software Heritage | 20 September 2019, 13:53:45 UTC | New upstream version 0.0.46 | 20 September 2019, 13:53:45 UTC |
1295f45 | Stefano Zacchiroli | 20 September 2019, 13:49:10 UTC | MANIFEST.in: ship py.typed | 20 September 2019, 13:49:10 UTC |
07bcc17 | Jenkins for Software Heritage | 20 September 2019, 13:12:10 UTC | New upstream version 0.0.45 | 20 September 2019, 13:12:10 UTC |
70e5d50 | Stefano Zacchiroli | 20 September 2019, 10:13:58 UTC | identifiers.py: do not inherit from on-the-fly namedtuple | 20 September 2019, 10:13:58 UTC |
54c6642 | Stefano Zacchiroli | 20 September 2019, 10:05:34 UTC | mypy: ignore django-stubs, needed only by hypothesis | 20 September 2019, 10:05:34 UTC |
267ffee | Stefano Zacchiroli | 20 September 2019, 09:28:21 UTC | mypy.ini: remove left-over sample section | 20 September 2019, 09:28:21 UTC |
491dcc5 | Stefano Zacchiroli | 12 September 2019, 12:46:05 UTC | typing: minimal changes to make a no-op mypy run pass | 20 September 2019, 09:13:35 UTC |
d70b486 | Stefano Zacchiroli | 15 September 2019, 08:51:20 UTC | fix indentation and spelling: make "make check" happy | 15 September 2019, 08:51:46 UTC |
cfb04e2 | Jenkins for Software Heritage | 04 September 2019, 13:07:59 UTC | New upstream version 0.0.44 | 04 September 2019, 13:07:59 UTC |
e77c94d | Valentin Lorentz | 04 September 2019, 12:36:01 UTC | Fix Revision.from_dict to allow optional fields. | 04 September 2019, 12:36:01 UTC |
e99a5f2 | Valentin Lorentz | 04 September 2019, 12:35:20 UTC | Make Origin type optional. Needed by the replayer in swh-journal. | 04 September 2019, 12:35:20 UTC |
100eb6d | Antoine Pietri | 03 September 2019, 14:41:35 UTC | docs: link pages together from a TOC | 03 September 2019, 14:41:35 UTC |
3e246b4 | Jenkins for Software Heritage | 03 September 2019, 12:09:03 UTC | New upstream version 0.0.43 | 03 September 2019, 12:09:03 UTC |
fd2e6da | Stefano Zacchiroli | 23 August 2019, 16:57:49 UTC | swh identify: add support for origin PIDs | 23 August 2019, 16:57:49 UTC |
880aff9 | Stefano Zacchiroli | 23 August 2019, 16:24:25 UTC | identifiers.py: add constants for 'swh:1' and sanitize namespace | 23 August 2019, 16:34:45 UTC |
9938380 | Valentin Lorentz | 21 August 2019, 16:01:13 UTC | Remove pointless validators. | 23 August 2019, 11:55:34 UTC |
7d9d514 | Jenkins for Software Heritage | 22 August 2019, 12:12:21 UTC | New upstream version 0.0.42 | 22 August 2019, 12:12:21 UTC |
6df68b0 | Valentin Lorentz | 21 August 2019, 15:50:00 UTC | Remove release metadata from serialization if it's None. It kind of matches the current state of the postgresql storage, which does not support it. | 22 August 2019, 12:02:09 UTC |
52b617c | Valentin Lorentz | 21 August 2019, 15:40:01 UTC | Add support for dangling snapshot branches. | 22 August 2019, 12:00:43 UTC |
4e26f7d | Valentin Lorentz | 21 August 2019, 15:46:11 UTC | Add missing fields status/type/snapshot/metadata to OriginVisit. | 21 August 2019, 15:46:11 UTC |
54957d2 | Valentin Lorentz | 21 August 2019, 15:44:41 UTC | Make OriginVisit use datetime for its date. But keep support for deserializing from str, like swh-storage does. | 21 August 2019, 15:44:41 UTC |
f8c6184 | Jenkins for Software Heritage | 20 August 2019, 09:50:08 UTC | New upstream version 0.0.41 | 20 August 2019, 09:50:08 UTC |
01a5d4c | Valentin Lorentz | 19 August 2019, 12:35:41 UTC | Add a get_hash helper method to Content. Code manipulating a Content object may want to access a hash of configurable name; this method allows it to do that without using getattr directly. | 20 August 2019, 09:38:08 UTC |
19634f2 | Valentin Lorentz | 19 August 2019, 12:33:58 UTC | Allow -1 as Content length. It denotes files whose length is unknown. | 19 August 2019, 14:56:10 UTC |
9582985 | Valentin Lorentz | 19 August 2019, 12:33:13 UTC | Add optional 'ctime' field to Content. | 19 August 2019, 12:33:13 UTC |
767ed20 | Valentin Lorentz | 19 August 2019, 12:31:40 UTC | Generated content with status=hidden should have a data field. | 19 August 2019, 12:31:40 UTC |
bacb85c | Jenkins for Software Heritage | 06 August 2019, 12:38:36 UTC | New upstream version 0.0.40 | 06 August 2019, 12:38:36 UTC |
56eb29f | Valentin Lorentz | 05 August 2019, 08:56:02 UTC | Add a SHA1_SIZE constant for use by other packages. | 05 August 2019, 08:56:02 UTC |
d5f8c25 | Jenkins for Software Heritage | 18 July 2019, 10:30:59 UTC | New upstream version 0.0.39 | 18 July 2019, 10:30:59 UTC |
a92af53 | Valentin Lorentz | 18 July 2019, 08:52:36 UTC | Add a 'metadata' field to releases. Loaders use it, but it is ignored by the pg storage. However, as the Cassandra storage uses swh-model to validate its input, it refuses this input from the loaders (and journal). | 18 July 2019, 10:24:41 UTC |
68142a7 | Stefano Zacchiroli | 11 July 2019, 14:30:26 UTC | add code of conduct document | 11 July 2019, 14:30:26 UTC |
67fade5 | Valentin Lorentz | 29 May 2019, 14:15:39 UTC | Add origin persistent identifiers. | 10 July 2019, 13:39:22 UTC |
d8f17f2 | Stefano Zacchiroli | 28 June 2019, 07:42:00 UTC | CONTRIBUTORS: add Ishan Bhanuka | 28 June 2019, 07:42:00 UTC |
dde39f5 | Ishan Bhanuka | 27 June 2019, 04:20:16 UTC | Reformat docstring for max line length | 27 June 2019, 16:43:42 UTC |
1072884 | Ishan Bhanuka | 18 June 2019, 12:18:38 UTC | Add pyblake2 platform specific dependency Remove version checking code, pyblake2 is installed by default on python 3.6+ | 18 June 2019, 13:49:42 UTC |
53ad1d0 | Jenkins for Software Heritage | 18 June 2019, 11:50:13 UTC | New upstream version 0.0.38 | 18 June 2019, 11:50:13 UTC |
b3250d2 | Valentin Lorentz | 18 June 2019, 11:40:20 UTC | Remove dependency on swh-core. This is a fix to workaround pip's inability to correctly solve extra requirements (swh-model depends on swh-core[], but if other packages depend on swh-model and swh-core[http], the 'http' extra does not always get installed). | 18 June 2019, 11:40:56 UTC |
1bae3c9 | Jenkins for Software Heritage | 13 June 2019, 14:40:15 UTC | New upstream version 0.0.37 | 13 June 2019, 14:40:15 UTC |
d7ec4a6 | David Douard | 15 May 2019, 13:44:21 UTC | cli: add support for --help on the 'identify' cli tool | 11 June 2019, 08:06:30 UTC |
0815880 | David Douard | 15 May 2019, 13:31:13 UTC | setup: register the 'identify' cli subcommand | 11 June 2019, 08:06:30 UTC |
60c3f7d | David Douard | 15 May 2019, 13:30:06 UTC | cli: the 'objects' argument is in fact mandatory | 11 June 2019, 08:06:30 UTC |
c3a7e4e | Valentin Lorentz | 05 June 2019, 09:28:34 UTC | Prevent Hypothesis from writing the null character in the 'reason' field. pgsql does not support it. | 05 June 2019, 09:28:34 UTC |
b42d35c | Valentin Lorentz | 03 June 2019, 14:29:29 UTC | Prevent generation of empty branch names. | 03 June 2019, 14:29:29 UTC |
6ef1dc1 | Valentin Lorentz | 09 May 2019, 14:29:46 UTC | Explicitely implement from_dict instead of using introspection magic. There is more repetition, but it's easier to read and '%timeit Revision.from_dict(d)' is 5 times faster. | 10 May 2019, 08:25:55 UTC |
c8b6ab0 | Jenkins for Software Heritage | 26 April 2019, 11:57:44 UTC | New upstream version 0.0.36 | 26 April 2019, 11:57:44 UTC |
fc3d3c1 | Valentin Lorentz | 26 April 2019, 11:33:29 UTC | Prevent from_dict() from changing its input dict. | 26 April 2019, 11:33:29 UTC |
efc7e72 | Valentin Lorentz | 12 April 2019, 13:51:15 UTC | Add a from_dict() method to model classes, that does the inverse of to_dict(). | 16 April 2019, 08:17:44 UTC |
868b8c3 | Nicolas Dandrimont | 12 April 2019, 10:03:09 UTC | Update coverage gitignore | 12 April 2019, 10:03:09 UTC |
c1fb1e9 | Jenkins for Software Heritage | 11 April 2019, 10:08:14 UTC | New upstream version 0.0.35 | 11 April 2019, 10:08:14 UTC |
fee3a41 | Nicolas Dandrimont | 11 April 2019, 10:03:10 UTC | Make sure timestamps can be represented by Python no matter the timezone | 11 April 2019, 10:03:10 UTC |
9b88cd1 | Jenkins for Software Heritage | 10 April 2019, 07:45:30 UTC | New upstream version 0.0.34 | 10 April 2019, 07:45:30 UTC |
54490c9 | Valentin Lorentz | 09 April 2019, 16:30:50 UTC | Limit Content.length to what the pgsql storage supports. | 09 April 2019, 16:30:50 UTC |
8156d57 | Jenkins for Software Heritage | 09 April 2019, 15:11:50 UTC | New upstream version 0.0.33 | 09 April 2019, 15:11:50 UTC |
f9641d2 | Valentin Lorentz | 08 April 2019, 19:46:28 UTC | Tune the model generation to work with the pgsql storage. | 09 April 2019, 15:06:34 UTC |
6909704 | Valentin Lorentz | 08 April 2019, 13:14:13 UTC | Check recursively that .to_dict() returns a nested dict. | 08 April 2019, 13:14:13 UTC |
9f80661 | Valentin Lorentz | 08 April 2019, 13:13:36 UTC | Remove debug prints. | 08 April 2019, 13:13:36 UTC |
c565e42 | Jenkins for Software Heritage | 08 April 2019, 12:57:44 UTC | New upstream version 0.0.32 | 08 April 2019, 12:57:44 UTC |
d1b2156 | Valentin Lorentz | 05 April 2019, 17:15:16 UTC | Add a model based using 'attrs' and Hypothesis strategies to generate it. | 08 April 2019, 12:43:12 UTC |
0e09c75 | Jenkins for Software Heritage | 05 April 2019, 09:07:34 UTC | New upstream version 0.0.31 | 05 April 2019, 09:07:34 UTC |
4d40f4d | Valentin Lorentz | 04 April 2019, 18:46:15 UTC | Make snapshot_identifier add the cycle to the exception's arguments when it detects one. | 04 April 2019, 18:46:15 UTC |
5ed0089 | Jenkins for Software Heritage | 09 January 2019, 17:31:52 UTC | New upstream version 0.0.30 | 09 January 2019, 17:31:52 UTC |
b8fadd1 | David Douard | 22 November 2018, 10:59:54 UTC | doc: update index to match new swh-doc format related to T1330 | 23 November 2018, 12:52:35 UTC |
a7ac5c9 | David Douard | 12 November 2018, 13:12:01 UTC | make-doc: add an 'assets' make target for the doc used by the swh-docs to generate images and schemas when building the whole documentation. | 12 November 2018, 13:12:01 UTC |
c4a6c27 | David Douard | 09 November 2018, 10:57:03 UTC | Add :orphan: metadata to data-model and persistent-identifiers doc files to prevent sphinx from complaining about these not being included. | 09 November 2018, 10:57:03 UTC |
afab8bf | Nicolas Dandrimont | 31 October 2018, 17:26:32 UTC | New upstream version 0.0.29 | 31 October 2018, 17:26:32 UTC |
fa140b2 | Nicolas Dandrimont | 29 October 2018, 15:07:38 UTC | Remove debian directory | 29 October 2018, 15:07:38 UTC |
4700b84 | Antoine R. Dumont (@ardumont) | 25 October 2018, 11:40:46 UTC | swh.model.hashutil: Remove deprecated hash_* function to the benefit of MultiHash api | 25 October 2018, 11:52:22 UTC |
33027d7 | Stefano Zacchiroli | 24 October 2018, 13:48:12 UTC | PID doc: add reference to iPRES 2018 paper | 24 October 2018, 13:48:12 UTC |
63ddc61 | Antoine R. Dumont (@ardumont) | 23 October 2018, 14:24:20 UTC | New upstream version 0.0.28 | 23 October 2018, 14:24:20 UTC |
4e6bce9 | Antoine R. Dumont (@ardumont) | 23 October 2018, 14:20:24 UTC | swh.model.tests.test_cli: Fix pytest.mark.fr to pytest.mark.fs | 23 October 2018, 14:23:54 UTC |
33d2a5e | Antoine R. Dumont (@ardumont) | 23 October 2018, 14:15:19 UTC | d/rules: Update build instruction | 23 October 2018, 14:23:54 UTC |
01b195a | Antoine R. Dumont (@ardumont) | 23 October 2018, 14:15:06 UTC | d/control: Update build dependency | 23 October 2018, 14:15:06 UTC |
78f0c39 | Nicolas Dandrimont | 23 October 2018, 14:02:31 UTC | Don't run pytest in the docs directory | 23 October 2018, 14:03:48 UTC |
825fbbd | David Douard | 23 October 2018, 13:41:40 UTC | Fix rst formatting errors in hashutil.py Summary: to make sphinx happy. Test Plan: make -C docs Reviewers: ardumont Reviewed By: ardumont Differential Revision: https://forge.softwareheritage.org/D571 | 23 October 2018, 13:42:22 UTC |
2c1062a | David Douard | 23 October 2018, 12:33:01 UTC | docs: fix a rst formatting problem double back-quote (``) are not interpreted when inside a emphasis block. | 23 October 2018, 13:39:57 UTC |
af12e4c | Nicolas Dandrimont | 23 October 2018, 13:19:36 UTC | Add pytest.ini with doctest setting | 23 October 2018, 13:19:36 UTC |
a57183d | Nicolas Dandrimont | 15 October 2018, 11:36:32 UTC | Update gitignore to ignore pytest and hypothesis caches | 23 October 2018, 09:57:31 UTC |
7cb415e | David Douard | 23 October 2018, 07:28:40 UTC | tox: install test deps from setup.py file's [testing] extras This prevent from requiring a too much recent tox version to fire the tests, especially this allows to run tests using stretch's tox version. | 23 October 2018, 07:28:40 UTC |
f58f4c2 | Stefano Zacchiroli | 15 October 2018, 15:31:13 UTC | doc: document PID resolution possibilities other than Web UI / Promote "Resolution" to a new top-level section, because it's now rather voluminous. As part of this document the resolver limitations of identifiers.org, that get in the way of PID contextual information. Closes T1015 Closes T1223 | 19 October 2018, 12:49:56 UTC |
da77ac8 | David Douard | 18 October 2018, 14:16:20 UTC | tox: install requirements-test.txt in pyn py3 env | 18 October 2018, 14:17:49 UTC |
2aca1be | David Douard | 18 October 2018, 13:24:52 UTC | add .tox to gitignore | 18 October 2018, 13:24:52 UTC |