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

sort by:
Revision Author Date Message Commit Date
98bdb69 Updated debian changelog for version 0.0.55 07 February 2020, 15:16:58 UTC
0299cb4 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 New upstream version 0.0.55 07 February 2020, 15:16:57 UTC
73053a6 Make 'visible' the default status for present Contents. 07 February 2020, 15:08:19 UTC
05b89f2 Make content length mandatory. The current postgresql model refuses NULL values. 07 February 2020, 15:02:04 UTC
ab31072 Updated debian changelog for version 0.0.54 06 February 2020, 12:18:05 UTC
ee67eab 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 New upstream version 0.0.54 06 February 2020, 12:18:03 UTC
8ebbd21 Split Content class into two classes, for missing and non-missing contents. 05 February 2020, 10:26:41 UTC
440624e Updated debian changelog for version 0.0.53 03 February 2020, 15:01:26 UTC
6d3dc53 Update upstream source from tag 'debian/upstream/0.0.53' Update to upstream version '0.0.53' with Debian dir 9ae06f89508d79e2b8bd4b6010c5ee659f186a06 03 February 2020, 15:01:25 UTC
d944d52 New upstream version 0.0.53 03 February 2020, 15:01:25 UTC
4b779e1 test_model: Simplify and align model checks 30 January 2020, 15:43:50 UTC
b54adf7 model: Update revision date types to be optional Related to P589 30 January 2020, 15:37:07 UTC
57a0e08 cli: add support for reading a file content from stdin in 'swh identify' command This allows for example to type: curl -s https://archive.softwareheritage.org/browse/content/sha1_git:64582b78792cd6c2d67d35da5a11bb80886a6409/raw/ | swh identify swh:1:cnt:64582b78792cd6c2d67d35da5a11bb80886a6409 - 29 January 2020, 14:22:37 UTC
16e4425 model: Fix sphinx warning Related to T2188 17 January 2020, 17:25:40 UTC
7b6f474 hypothesis_strategies/snapshots: Explain last post-processing step 02 December 2019, 18:56:37 UTC
6b82f19 Updated debian changelog for version 0.0.52 29 November 2019, 15:30:57 UTC
21e8e58 Update upstream source from tag 'debian/upstream/0.0.52' Update to upstream version '0.0.52' with Debian dir 95c5716132b2b4cd84b3f5a5dd75bb25bf9f3654 29 November 2019, 15:30:57 UTC
30a3898 New upstream version 0.0.52 29 November 2019, 15:30:56 UTC
4e4c4ff model: Add automatic object identifier computation support Add support to automatically compute identifier in the following object models: Directory, Release, Revision, Snapshot. If the identifier is not provided as parameter, it will be computed when the model is initialized. 29 November 2019, 14:51:35 UTC
da64756 identifiers: Fix release_identifier for snapshot target 29 November 2019, 13:00:53 UTC
276a528 Add a pre-commit config file 21 November 2019, 12:47:13 UTC
c8ee973 Migrate tox.ini to extras = xxx instead of deps = .[testing] 21 November 2019, 12:46:11 UTC
3b26bf3 De-specify testenv:py3 Allows us to call tests on things other than python3, with the same settings. 21 November 2019, 12:45:48 UTC
1ff9e52 Include all requirements in MANIFEST.in 20 November 2019, 18:51:46 UTC
67e78eb PID doc: drop mention of ori PIDs they will remain for internal use only, so should not be mentioned in this public spec this reverts the documentation part of 67fade5f674a57fd8845ad57161a86a2d898d197 20 November 2019, 11:56:51 UTC
19be388 Add manual pytz dependency 30 October 2019, 16:56:52 UTC
f1747ef Add missing build-dependency on pytz 30 October 2019, 16:26:20 UTC
4d53696 Updated debian changelog for version 0.0.51 30 October 2019, 14:05:56 UTC
96036b2 Update upstream source from tag 'debian/upstream/0.0.51' Update to upstream version '0.0.51' with Debian dir 0807fecfe56a10d6de3e5d0c3819238a3053bb94 30 October 2019, 14:05:55 UTC
c33b928 New upstream version 0.0.51 30 October 2019, 14:05:55 UTC
0b9c5be Make OriginVisit.origin a string instead of a dict. 30 October 2019, 13:36:25 UTC
bf54b25 Updated debian changelog for version 0.0.50 30 October 2019, 08:32:50 UTC
7b61736 Update upstream source from tag 'debian/upstream/0.0.50' Update to upstream version '0.0.50' with Debian dir dd9155d8adbd0e75c08056bb9e558c368733b778 30 October 2019, 08:32:50 UTC
58a535d New upstream version 0.0.50 30 October 2019, 08:32:49 UTC
b064a0b Add a test data generator module currently provides mainly 2 generators: - gen_origins() - gen_contents() 29 October 2019, 15:43:15 UTC
7564596 model: make model entities frozen we do not really need them to be mutable, plus we gain their instances now being hashable, so we can add them in set() for example. 29 October 2019, 13:47:13 UTC
112d564 Add missing dependency on dulwich for tests 23 October 2019, 12:37:56 UTC
2ba6d1a Updated debian changelog for version 0.0.49 23 October 2019, 12:30:41 UTC
dd995ae Update upstream source from tag 'debian/upstream/0.0.49' Update to upstream version '0.0.49' with Debian dir 2751e4653a1b0de8dab5bc1ba1b7583d4c722b5d 23 October 2019, 12:30:40 UTC
f1a1593 New upstream version 0.0.49 23 October 2019, 12:30:40 UTC
4b79a2b 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 test_cli.py: fill in valid snapshot ID 20 October 2019, 19:23:53 UTC
8e3ee39 test_cli.py: drop unused NoQA marker 20 October 2019, 19:23:53 UTC
4a74205 swh identify -t snapshot: add support for symbolic refs 20 October 2019, 19:23:53 UTC
96a93f0 Updated debian changelog for version 0.0.48 18 October 2019, 15:11:01 UTC
d622ba6 Update upstream source from tag 'debian/upstream/0.0.48' Update to upstream version '0.0.48' with Debian dir 2a0299746fba2595a5d75107ee7c01bd1d04ef42 18 October 2019, 15:11:01 UTC
2c626ee New upstream version 0.0.48 18 October 2019, 15:11:00 UTC
b2c21d3 Don't export origin_visit['origin']['type'] 18 October 2019, 11:21:43 UTC
7a9fc39 model: Don't export origin['type'] 18 October 2019, 09:55:40 UTC
c103a6f tox.ini: Fix py3 environment to use packaged tests Related D2082 09 October 2019, 13:16:42 UTC
131298c swh.model: document how origin PIDs are computed 06 October 2019, 18:10:38 UTC
298c942 CONTRIBUTORS: add @DanSeraf 04 October 2019, 17:12:57 UTC
e7cf550 Merge branch 'arcpatch-D2058' 04 October 2019, 17:10:35 UTC
375832f PID: move validation checks to PersistentId constructor ... from test_persistent_identifier. Closes T1986 04 October 2019, 17:10:24 UTC
6e7c3da mypi.ini: remove left-over "false positive" comment from dulwich exclude 01 October 2019, 15:58:26 UTC
b2d8bbf 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 swh identify: add support to compute snapshot PIDs of on-disk git repo 01 October 2019, 14:19:32 UTC
febe800 tox: anticipate mypy run to just after flake8 28 September 2019, 11:28:12 UTC
4df24bf Updated debian changelog for version 0.0.47 27 September 2019, 08:22:54 UTC
2c11648 New upstream version 0.0.47 27 September 2019, 08:22:53 UTC
be9c58f Updated version 0.0.47 from 'debian/upstream/0.0.47' with Debian dir b53d1bfeb1add3e633bc7682554251e04c5bd5ca 27 September 2019, 08:22:53 UTC
340b001 init.py: switch to documented way of extending path make mypy 0.730 pass cleanly again 27 September 2019, 07:12:30 UTC
b8c88ad Updated debian changelog for version 0.0.46 20 September 2019, 13:53:46 UTC
dd705e3 New upstream version 0.0.46 20 September 2019, 13:53:45 UTC
e003793 Updated version 0.0.46 from 'debian/upstream/0.0.46' with Debian dir ec9ec5a8758255c5901a7cbc5800c3dde3493516 20 September 2019, 13:53:45 UTC
1295f45 MANIFEST.in: ship py.typed 20 September 2019, 13:49:10 UTC
a0a88ae Updated debian changelog for version 0.0.45 20 September 2019, 13:12:11 UTC
07bcc17 New upstream version 0.0.45 20 September 2019, 13:12:10 UTC
1380c49 Updated version 0.0.45 from 'debian/upstream/0.0.45' with Debian dir 294af68554d83dcc24b50caa2ff2b47702964d10 20 September 2019, 13:12:10 UTC
70e5d50 identifiers.py: do not inherit from on-the-fly namedtuple 20 September 2019, 10:13:58 UTC
54c6642 mypy: ignore django-stubs, needed only by hypothesis 20 September 2019, 10:05:34 UTC
267ffee mypy.ini: remove left-over sample section 20 September 2019, 09:28:21 UTC
491dcc5 typing: minimal changes to make a no-op mypy run pass 20 September 2019, 09:13:35 UTC
d70b486 fix indentation and spelling: make "make check" happy 15 September 2019, 08:51:46 UTC
ce65346 Updated debian changelog for version 0.0.44 04 September 2019, 13:08:00 UTC
9a4e285 Updated version 0.0.44 from 'debian/upstream/0.0.44' with Debian dir 13f2cc753f39dbbff732279ae6a48ecf4a9516e4 04 September 2019, 13:07:59 UTC
cfb04e2 New upstream version 0.0.44 04 September 2019, 13:07:59 UTC
e77c94d Fix Revision.from_dict to allow optional fields. 04 September 2019, 12:36:01 UTC
e99a5f2 Make Origin type optional. Needed by the replayer in swh-journal. 04 September 2019, 12:35:20 UTC
100eb6d docs: link pages together from a TOC 03 September 2019, 14:41:35 UTC
1791f38 Updated debian changelog for version 0.0.43 03 September 2019, 12:09:04 UTC
d2494dd Updated version 0.0.43 from 'debian/upstream/0.0.43' with Debian dir da13c61a77431bbfd0ffb08fff8fcdfed1989d4e 03 September 2019, 12:09:04 UTC
3e246b4 New upstream version 0.0.43 03 September 2019, 12:09:03 UTC
fd2e6da swh identify: add support for origin PIDs 23 August 2019, 16:57:49 UTC
880aff9 identifiers.py: add constants for 'swh:1' and sanitize namespace 23 August 2019, 16:34:45 UTC
9938380 Remove pointless validators. 23 August 2019, 11:55:34 UTC
84ee413 Updated debian changelog for version 0.0.42 22 August 2019, 12:12:22 UTC
5845dd6 Updated version 0.0.42 from 'debian/upstream/0.0.42' with Debian dir 2e23d1f94249265cf074e48e4d9f41f9aa7574e8 22 August 2019, 12:12:21 UTC
7d9d514 New upstream version 0.0.42 22 August 2019, 12:12:21 UTC
6df68b0 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 Add support for dangling snapshot branches. 22 August 2019, 12:00:43 UTC
4e26f7d Add missing fields status/type/snapshot/metadata to OriginVisit. 21 August 2019, 15:46:11 UTC
54957d2 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
3239834 Updated debian changelog for version 0.0.41 20 August 2019, 09:50:09 UTC
32ab92d Updated version 0.0.41 from 'debian/upstream/0.0.41' with Debian dir 61ff8c95c9f4d4dcb1f4f60fdc85584fb19af9ad 20 August 2019, 09:50:08 UTC
f8c6184 New upstream version 0.0.41 20 August 2019, 09:50:08 UTC
01a5d4c 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 Allow -1 as Content length. It denotes files whose length is unknown. 19 August 2019, 14:56:10 UTC
back to top