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

sort by:
Revision Author Date Message Commit Date
bacb85c New upstream version 0.0.40 06 August 2019, 12:38:36 UTC
56eb29f Add a SHA1_SIZE constant for use by other packages. 05 August 2019, 08:56:02 UTC
d5f8c25 New upstream version 0.0.39 18 July 2019, 10:30:59 UTC
a92af53 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 add code of conduct document 11 July 2019, 14:30:26 UTC
67fade5 Add origin persistent identifiers. 10 July 2019, 13:39:22 UTC
d8f17f2 CONTRIBUTORS: add Ishan Bhanuka 28 June 2019, 07:42:00 UTC
dde39f5 Reformat docstring for max line length 27 June 2019, 16:43:42 UTC
1072884 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 New upstream version 0.0.38 18 June 2019, 11:50:13 UTC
b3250d2 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 New upstream version 0.0.37 13 June 2019, 14:40:15 UTC
d7ec4a6 cli: add support for --help on the 'identify' cli tool 11 June 2019, 08:06:30 UTC
0815880 setup: register the 'identify' cli subcommand 11 June 2019, 08:06:30 UTC
60c3f7d cli: the 'objects' argument is in fact mandatory 11 June 2019, 08:06:30 UTC
c3a7e4e Prevent Hypothesis from writing the null character in the 'reason' field. pgsql does not support it. 05 June 2019, 09:28:34 UTC
b42d35c Prevent generation of empty branch names. 03 June 2019, 14:29:29 UTC
6ef1dc1 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 New upstream version 0.0.36 26 April 2019, 11:57:44 UTC
fc3d3c1 Prevent from_dict() from changing its input dict. 26 April 2019, 11:33:29 UTC
efc7e72 Add a from_dict() method to model classes, that does the inverse of to_dict(). 16 April 2019, 08:17:44 UTC
868b8c3 Update coverage gitignore 12 April 2019, 10:03:09 UTC
c1fb1e9 New upstream version 0.0.35 11 April 2019, 10:08:14 UTC
fee3a41 Make sure timestamps can be represented by Python no matter the timezone 11 April 2019, 10:03:10 UTC
9b88cd1 New upstream version 0.0.34 10 April 2019, 07:45:30 UTC
54490c9 Limit Content.length to what the pgsql storage supports. 09 April 2019, 16:30:50 UTC
8156d57 New upstream version 0.0.33 09 April 2019, 15:11:50 UTC
f9641d2 Tune the model generation to work with the pgsql storage. 09 April 2019, 15:06:34 UTC
6909704 Check recursively that .to_dict() returns a nested dict. 08 April 2019, 13:14:13 UTC
9f80661 Remove debug prints. 08 April 2019, 13:13:36 UTC
c565e42 New upstream version 0.0.32 08 April 2019, 12:57:44 UTC
d1b2156 Add a model based using 'attrs' and Hypothesis strategies to generate it. 08 April 2019, 12:43:12 UTC
0e09c75 New upstream version 0.0.31 05 April 2019, 09:07:34 UTC
4d40f4d Make snapshot_identifier add the cycle to the exception's arguments when it detects one. 04 April 2019, 18:46:15 UTC
5ed0089 New upstream version 0.0.30 09 January 2019, 17:31:52 UTC
b8fadd1 doc: update index to match new swh-doc format related to T1330 23 November 2018, 12:52:35 UTC
a7ac5c9 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 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 New upstream version 0.0.29 31 October 2018, 17:26:32 UTC
fa140b2 Remove debian directory 29 October 2018, 15:07:38 UTC
4700b84 swh.model.hashutil: Remove deprecated hash_* function to the benefit of MultiHash api 25 October 2018, 11:52:22 UTC
33027d7 PID doc: add reference to iPRES 2018 paper 24 October 2018, 13:48:12 UTC
63ddc61 New upstream version 0.0.28 23 October 2018, 14:24:20 UTC
4e6bce9 swh.model.tests.test_cli: Fix pytest.mark.fr to pytest.mark.fs 23 October 2018, 14:23:54 UTC
33d2a5e d/rules: Update build instruction 23 October 2018, 14:23:54 UTC
01b195a d/control: Update build dependency 23 October 2018, 14:15:06 UTC
78f0c39 Don't run pytest in the docs directory 23 October 2018, 14:03:48 UTC
825fbbd 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 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 Add pytest.ini with doctest setting 23 October 2018, 13:19:36 UTC
a57183d Update gitignore to ignore pytest and hypothesis caches 23 October 2018, 09:57:31 UTC
7cb415e 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 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 tox: install requirements-test.txt in pyn py3 env 18 October 2018, 14:17:49 UTC
2aca1be add .tox to gitignore 18 October 2018, 13:24:52 UTC
0250497 add a simple tox file 18 October 2018, 13:23:22 UTC
b6c1ca3 tests: rename TestedMerkleLeaf and TestedMerkleNode classes so pytest does not think they are test classes. 18 October 2018, 13:23:00 UTC
0c95a59 tests: assertEquals -> assertEqual to clear deprecation warnings. 18 October 2018, 13:03:30 UTC
b210fdd tests: use pytest instead of nose related to T1261 18 October 2018, 12:57:43 UTC
7af882a Rename test methods to test_ to allow py.test collection Summary: Related to T1261 Test Plan: before and after: 138 tests passed (2 skipped) Reviewers: #reviewers! Differential Revision: https://forge.softwareheritage.org/D520 12 October 2018, 09:47:31 UTC
866548c tests: move dir-folder test data back here and ensure it is included in the source package. Related to T1265. 12 October 2018, 09:38:27 UTC
1032c73 setup: rename extra_requirements as blake2_requirements to prevent confusion with setup()'s "extras_require" argument. 08 October 2018, 10:09:08 UTC
01440f7 docs: add a basic README file 08 October 2018, 10:04:52 UTC
607e3a1 add build/ to the gitignore file 08 October 2018, 10:04:52 UTC
e9dd7ba setup: prepare for pypi upload related to T1242 08 October 2018, 10:04:52 UTC
8473446 Add requirements-test.txt 05 October 2018, 10:53:51 UTC
6d86b69 doc: use inkscape instead of dia to generate image files it makes life a bit easier for CI (less dependencies). 03 October 2018, 12:20:55 UTC
92e240e bin: Migrate swh-hashtree to swh-model This is a temporary move. This will eventually converge with swh.model.cli as the directory hashing ability overlaps. What's missing in the cli for now is the ability to filter patterns. This is mostly used to compute hashes on tree coming from multiple dvcs. This imposes the need to be able to filter pattern like .svn, .hg, etc... 03 October 2018, 09:12:22 UTC
6f5d74b docs: make sure images are built/cleaned on sphinx targets Related D454 03 October 2018, 09:07:43 UTC
94c1a97 docs: add title and brief module description 01 October 2018, 13:47:47 UTC
ac3b0f8 swh.model.hashutil: Remove extra length parameter This aligns the new api with the old one. 27 September 2018, 15:44:01 UTC
0119f4c swh.model: Do multiple reads with a fixed chunk size 27 September 2018, 12:28:05 UTC
3487025 hashutil: Migrate towards MultiHash api 21 September 2018, 13:32:55 UTC
0169e2c New upstream version 0.0.27 17 September 2018, 10:07:59 UTC
eb338cd hashutil: Clarify further the module dostring 17 September 2018, 09:41:17 UTC
8c26ddb hashutil: Update module and functions docstrings 17 September 2018, 09:31:22 UTC
5676bd6 hashutil: Remove unused variables 17 September 2018, 09:29:43 UTC
50e583f MultiHash.from_path: Use the length coming from os.path 17 September 2018, 09:29:43 UTC
7bfb0a8 swh.model.hashutil: Reuse hash_path's old definition Remove unused track_length parameter 17 September 2018, 09:29:43 UTC
4959a45 swh.model.hashutil: Mark hash_* function as deprecated And revert to their original behavior (returning only digest as bytes) 14 September 2018, 22:48:52 UTC
9084f96 hashutil: Improve MultiHash class from_* to compute hashes This allows calls like: - MultiHash.from_file(file_object).digest() - MultiHash.from_path(b'foo').hexdigest() - MultiHash.from_data(b'foo').bytehexdigest() 14 September 2018, 22:37:29 UTC
836198c swh.model.hashutil: Remove unnecessary endpoints 14 September 2018, 21:49:36 UTC
3b9e8e9 hashutil: Set the hash_names defaulting to swh default hash algo 14 September 2018, 21:32:31 UTC
0e71ebf hashutil: Add MultiHash to compute hashes of content in 1 roundtrip This is the first step to improve the hashutil module according to "the" plan [1]. In this regards, the hashutil exposes the same function as before. Internally though, they now uses a MultiHash instance. Related D410 [1] D410#7952 14 September 2018, 18:07:05 UTC
7f885ed swh.model.hashutil: Open hash_stream endpoint Related T421 13 September 2018, 23:42:22 UTC
5ca5dce hashutil: Allow option to require hexdigest instead of binary digest Related T421 13 September 2018, 23:41:56 UTC
d21f4a3 New upstream version 0.0.26 23 July 2018, 12:29:54 UTC
2034fed swh.model.identifiers: Open metadata in persistent_identifier method Related T1152 20 July 2018, 12:57:17 UTC
ad2c349 refactor CLI tests to avoid duplicate assertion pairs 12 July 2018, 14:22:36 UTC
07208f0 swh-identify: follow symlinks for CLI arguments (by default) ... and add an option to explicitly not follow them, if needed. Closes T1135 12 July 2018, 14:19:11 UTC
abffb22 cli.py: prefer os.fsdecode() over manual fiddling with locale.getpref... 12 July 2018, 14:01:47 UTC
89f8d11 swh-identify: add support for passing multiple CLI arguments Closes T1134 12 July 2018, 13:32:07 UTC
f539890 swh-identify: show filename in output (by default) with explicit option to hide it Closes T1133 12 July 2018, 13:00:24 UTC
f327f07 New upstream version 0.0.25 29 June 2018, 09:49:25 UTC
edcd365 identifiers: Improve persistent identifiers representation This commit changes the swh pids representation returned by the parse_persistent_identifier function from a dict to a named tuple. Also, the 'object_type' attribute of that named tuple now contains a full name instead of an abbreviated one. Closes T1112 Closes T1125 29 June 2018, 09:45:17 UTC
c1de56d New upstream version 0.0.24 22 June 2018, 13:38:32 UTC
5eb055d d/rules: Avoid fs tests during packaging 22 June 2018, 13:36:52 UTC
3803ac3 d/control: Add missing dependency 22 June 2018, 13:34:27 UTC
bd22f27 identifiers: Reuse ValidationError exception + update docstring Close T1104 Close D346 21 June 2018, 11:45:17 UTC
f2422d6 identifiers: Validate that inputs are correct Related T1104 21 June 2018, 11:45:17 UTC
back to top