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

sort by:
Revision Author Date Message Commit Date
58c5a24 git: don't use double underscores for function names 14 February 2017, 17:35:14 UTC
7912710 identifiers: force timestamps as integers everywhere The subversion loader (T680) has shown that throwing floating point values around for timestamps is a mess waiting to happen. We now coerce all clients to send us timestamps as integer numbers of seconds and microseconds, avoiding data losses everywhere. 14 February 2017, 17:35:14 UTC
87444d4 requirements: split internal and external requirements in two separate files 09 February 2017, 13:32:05 UTC
2594832 Fix: echo -n to avoid adding an extra line 23 June 2016, 10:30:35 UTC
5c0be62 Open tools to check rev hash 23 June 2016, 09:33:21 UTC
cec445d d/rules: move to build_dir before tests 14 June 2016, 15:00:27 UTC
db20b20 Remove dead comment 13 June 2016, 14:23:36 UTC
b3c17c7 Remove print statement 13 June 2016, 14:22:35 UTC
5f7c931 Add tests on git.compute_hashes_from_directory - default - ignoring empty folders - ignore folder based on pattern in names 12 June 2016, 14:08:54 UTC
aa06697 Fix hash typos + remove print statement 12 June 2016, 13:33:34 UTC
843d814 Add missing tests on new api 12 June 2016, 09:29:05 UTC
1a2b969 Open children_hashes api function 11 June 2016, 00:20:22 UTC
05ac3c4 Remove dead code 10 June 2016, 23:58:18 UTC
8d2bf5a Rename walk_and_compute_sha1_from_directory_2 to compute_hashes_from_directory 10 June 2016, 23:54:08 UTC
87fcced Add objects_per_type api This permits to reuse the same logic for different clients (loader-dir, loader-tar, loader-svn) (Tests were lost) 08 June 2016, 13:43:52 UTC
17f0493 Open a new walk_and_compute_sha1_from_directory_2 api This actually is supposed to replace walk_and_compute_sha1_from_directory. The data structure used here is better at handling updates. (Code that actually got lost and rewritten - Tests are definitely lost though) 08 June 2016, 13:09:18 UTC
1af7aed Improve internal api regarding directory and tree hash computations Keep the old api (since i don't measure the impacts on other modules yet). + Improve docstring (Code that actually got lost and rewritten) 08 June 2016, 13:08:08 UTC
9b9ec94 Optimize walk for edge cases 26 May 2016, 10:56:11 UTC
a91bf69 Add tests about new use cases Combination of: - validation on files - ignore empty folder 26 May 2016, 09:57:58 UTC
22b9fca Try and detect the next existing parent to lookup from In some corner case, the changed paths can reference a previous ignored folder (thus not existing in the data structure) 25 May 2016, 21:36:54 UTC
1f98c67 Add optional clean up round-trip to remove empty folders 25 May 2016, 21:26:57 UTC
ca235a0 d/control: Ignore filesystem tests 24 May 2016, 15:00:54 UTC
aae146d swh.model.git - update - Deal with edge case about empty folder The empty folder was not previously in the objects structure. So we need to add it as child of its parent for the update. 24 May 2016, 11:48:13 UTC
dca0eaf swh.model.git - update - Secure paths removal 23 May 2016, 13:27:44 UTC
0fbf74e identifiers: support authors with only a Full Name field 08 April 2016, 11:53:31 UTC
16155c4 Fix some edge case on git hash update computation Enforce convention on directory name without trailing /. At the moment, the `git.walk_and_compute_sha1_from_directory` injected the rootdir with a possible trailing / (input from client). 05 April 2016, 15:14:39 UTC
3f63877 Add real use cases for the git computation update tests 05 April 2016, 12:09:50 UTC
d5d5bee Improve docstrings 05 April 2016, 12:08:54 UTC
0fc6af8 Add the length to the data returned Since we compute it anyway, better return it along with the result 02 April 2016, 15:32:06 UTC
97b0d9f Improve git hash update behavior Decrease the number of paths to compute to 1 common ancestor (if any): - Scan only that directory and rehash with new results (data changed) - Update the resulting objects with those new hashes. - Update from that directory to the rootdir the existing hashes computation 01 April 2016, 15:26:22 UTC
cd88163 Detect if we need to recompute all from disk anyway (change at the root level for example) 01 April 2016, 09:56:00 UTC
02e2357 Only compute root_tree_key's directory hash when needed 01 April 2016, 07:32:15 UTC
cdf2b70 Refactor - Improve test git class definition 01 April 2016, 07:30:35 UTC
97be2fd Fix: Delete paths below the path removal deletion 31 March 2016, 18:41:14 UTC
eb99dbf Update git hash computation on changed paths only 31 March 2016, 17:23:12 UTC
3cebfce Clean up after test 31 March 2016, 11:18:52 UTC
4bb18b2 Module import order 31 March 2016, 11:18:39 UTC
604f4f0 Update docstring on swh.model.git module 31 March 2016, 08:27:56 UTC
18086c1 identifier: Don't break on None metadata for revisions 30 March 2016, 15:59:07 UTC
4b13d16 test_identifiers: add test for negative UTC 30 March 2016, 13:04:28 UTC
a09e9b4 identifiers: proper support for negative utc offsets Move timestamp normalization to another function to make it more easily movable. 30 March 2016, 12:04:31 UTC
39c61bb test_identifiers: add tests for empty vs. null messages 29 March 2016, 16:07:04 UTC
e56b58a test_identifiers: this gpg signature is not from Linus 29 March 2016, 15:53:30 UTC
faf0840 identifiers: support None messages in revisions and releases 29 March 2016, 15:51:54 UTC
f62bc76 identifiers: enhance documentation of the revision_identifier function This function wasn't in sync with what's supposed to be our revision schema 29 March 2016, 15:35:47 UTC
dd1c4ba test_identifiers: proper revision w/gpgsig test naming and refactor 29 March 2016, 13:06:29 UTC
f7bc587 identifiers: import symbols from hashutil directly 29 March 2016, 13:02:10 UTC
c3d9439 'metadata' entry is expected to be json serializable so no bytes, and we enforce during the checksum computation function 24 March 2016, 09:37:00 UTC
aca1e40 Use of optional gpgsig in git commit sha1 computation 22 March 2016, 17:58:45 UTC
020a555 Respect initial key convention (_ delimited) 22 March 2016, 16:18:06 UTC
963e393 Let the key/value of extra-headers be encoded when needed 22 March 2016, 16:17:19 UTC
fbd4e67 Use of optional extra-headers in git commit sha1 computation 22 March 2016, 14:32:15 UTC
bd5494f Add README-dev.md which explicits the sha1 computations 22 March 2016, 14:21:48 UTC
d84035a Fix exception message typos 22 March 2016, 10:01:05 UTC
696d23e Override locally the default flags 21 March 2016, 14:17:44 UTC
5ca1bda Allow filtering unwanted directory when computing git hash 21 March 2016, 14:17:25 UTC
2a0107e Move from swh.loader.dir.git to swh.model.git 21 March 2016, 11:04:53 UTC
100d537 Release name is now in bytes T270 27 January 2016, 13:18:37 UTC
96fb46f .gitignore: add packaging stuff 16 December 2015, 17:29:47 UTC
fbbd044 swh.model.hashutil: Implement missing swh.core.hashutil functionality 16 December 2015, 16:25:38 UTC
e92e3c5 setup.py: Install tests 07 December 2015, 17:26:51 UTC
c9e33a1 Run tests during build 07 December 2015, 17:04:45 UTC
1bc7aa8 Fix changelog 07 December 2015, 14:41:39 UTC
67ab6a8 Don't disable tests in package build 07 December 2015, 14:39:47 UTC
5937f96 identifiers: remove debug prints 07 December 2015, 10:41:27 UTC
a3a3098 identifiers: release revision -> target + target_type First step towards T68. 30 November 2015, 16:24:26 UTC
0591d54 identifiers: release comment -> message 30 November 2015, 16:23:50 UTC
45a1f7d identifiers: move dates to the root of the objects 30 November 2015, 13:40:55 UTC
56891b9 identifiers: make the content identifier all its hashes 30 November 2015, 10:20:14 UTC
ba2b9b5 test_identifiers: add tests for utilities 26 November 2015, 15:00:01 UTC
4405ce7 identifiers: fix formatting of docstring 26 November 2015, 14:59:40 UTC
c6c0aed identifiers: add release identifier computation 26 November 2015, 14:27:53 UTC
ddf3f53 identifiers: add revision identifier computation 26 November 2015, 14:27:29 UTC
468da2e test_identifiers: split content and directory tests 26 November 2015, 14:26:26 UTC
0589ba7 Add content and directory identifier computations 25 November 2015, 17:35:49 UTC
72650bd validators: add tests for validate_content 24 November 2015, 17:07:04 UTC
2a5a7d1 fields: make sure exceptions are printable 24 November 2015, 15:49:14 UTC
7a0fa96 fields.simple: add bytes validation function 24 November 2015, 14:39:44 UTC
c165335 fields.compound: add tests 24 November 2015, 14:28:13 UTC
8b6c77a fields.simple: Add missing license header 24 November 2015, 13:08:55 UTC
d41664a tests.fields: proper naming of unittest cases 24 November 2015, 13:07:38 UTC
660acc0 fields.simple: add tests 24 November 2015, 13:03:26 UTC
33d4944 fields.hashes: add tests for validate_sha* 24 November 2015, 12:47:05 UTC
3fdd3fc Add a content validator - Add more field-specific validators - Move field-specific validators to a new fields submodule. - Move tests accordingly 24 November 2015, 12:33:02 UTC
3e4e0d7 swh.model.validators: Add hash validation 23 November 2015, 15:35:21 UTC
59742ac swh.model.hashutil: Add hashing utilities to swh.model 23 November 2015, 13:28:02 UTC
76eb364 Initial commit of the swh.model skeleton 23 November 2015, 11:14:25 UTC
back to top