87fcced | Antoine R. Dumont (@ardumont) | 08 June 2016, 13:09:54 UTC | 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 | Antoine R. Dumont (@ardumont) | 08 June 2016, 13:09:18 UTC | 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 | Antoine R. Dumont (@ardumont) | 08 June 2016, 13:08:08 UTC | 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 | Antoine R. Dumont (@ardumont) | 26 May 2016, 10:33:12 UTC | Optimize walk for edge cases | 26 May 2016, 10:56:11 UTC |
a91bf69 | Antoine R. Dumont (@ardumont) | 26 May 2016, 09:57:58 UTC | Add tests about new use cases Combination of: - validation on files - ignore empty folder | 26 May 2016, 09:57:58 UTC |
22b9fca | Antoine R. Dumont (@ardumont) | 25 May 2016, 21:33:14 UTC | 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 | Antoine R. Dumont (@ardumont) | 25 May 2016, 21:26:57 UTC | Add optional clean up round-trip to remove empty folders | 25 May 2016, 21:26:57 UTC |
ca235a0 | Antoine R. Dumont (@ardumont) | 24 May 2016, 14:51:37 UTC | d/control: Ignore filesystem tests | 24 May 2016, 15:00:54 UTC |
aae146d | Antoine R. Dumont (@ardumont) | 23 May 2016, 13:28:48 UTC | 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 | Antoine R. Dumont (@ardumont) | 23 May 2016, 13:27:07 UTC | swh.model.git - update - Secure paths removal | 23 May 2016, 13:27:44 UTC |
0fbf74e | Nicolas Dandrimont | 08 April 2016, 11:53:31 UTC | identifiers: support authors with only a Full Name field | 08 April 2016, 11:53:31 UTC |
16155c4 | Antoine R. Dumont (@ardumont) | 05 April 2016, 15:08:23 UTC | 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 | Antoine R. Dumont (@ardumont) | 05 April 2016, 12:09:34 UTC | Add real use cases for the git computation update tests | 05 April 2016, 12:09:50 UTC |
d5d5bee | Antoine R. Dumont (@ardumont) | 05 April 2016, 12:08:48 UTC | Improve docstrings | 05 April 2016, 12:08:54 UTC |
0fc6af8 | Antoine R. Dumont (@ardumont) | 02 April 2016, 15:32:06 UTC | 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 | Antoine R. Dumont (@ardumont) | 01 April 2016, 12:53:46 UTC | 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 | Antoine R. Dumont (@ardumont) | 01 April 2016, 09:45:07 UTC | 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 | Antoine R. Dumont (@ardumont) | 01 April 2016, 07:30:54 UTC | Only compute root_tree_key's directory hash when needed | 01 April 2016, 07:32:15 UTC |
cdf2b70 | Antoine R. Dumont (@ardumont) | 01 April 2016, 07:30:21 UTC | Refactor - Improve test git class definition | 01 April 2016, 07:30:35 UTC |
97be2fd | Antoine R. Dumont (@ardumont) | 31 March 2016, 18:41:14 UTC | Fix: Delete paths below the path removal deletion | 31 March 2016, 18:41:14 UTC |
eb99dbf | Antoine R. Dumont (@ardumont) | 31 March 2016, 14:39:50 UTC | Update git hash computation on changed paths only | 31 March 2016, 17:23:12 UTC |
3cebfce | Antoine R. Dumont (@ardumont) | 31 March 2016, 11:18:52 UTC | Clean up after test | 31 March 2016, 11:18:52 UTC |
4bb18b2 | Antoine R. Dumont (@ardumont) | 31 March 2016, 11:18:39 UTC | Module import order | 31 March 2016, 11:18:39 UTC |
604f4f0 | Antoine R. Dumont (@ardumont) | 31 March 2016, 08:27:11 UTC | Update docstring on swh.model.git module | 31 March 2016, 08:27:56 UTC |
18086c1 | Nicolas Dandrimont | 30 March 2016, 15:59:07 UTC | identifier: Don't break on None metadata for revisions | 30 March 2016, 15:59:07 UTC |
4b13d16 | Nicolas Dandrimont | 30 March 2016, 13:04:28 UTC | test_identifiers: add test for negative UTC | 30 March 2016, 13:04:28 UTC |
a09e9b4 | Nicolas Dandrimont | 30 March 2016, 12:03:04 UTC | 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 | Nicolas Dandrimont | 29 March 2016, 16:07:04 UTC | test_identifiers: add tests for empty vs. null messages | 29 March 2016, 16:07:04 UTC |
e56b58a | Nicolas Dandrimont | 29 March 2016, 15:53:30 UTC | test_identifiers: this gpg signature is not from Linus | 29 March 2016, 15:53:30 UTC |
faf0840 | Nicolas Dandrimont | 29 March 2016, 15:37:06 UTC | identifiers: support None messages in revisions and releases | 29 March 2016, 15:51:54 UTC |
f62bc76 | Nicolas Dandrimont | 29 March 2016, 13:07:44 UTC | 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 | Nicolas Dandrimont | 29 March 2016, 13:06:29 UTC | test_identifiers: proper revision w/gpgsig test naming and refactor | 29 March 2016, 13:06:29 UTC |
f7bc587 | Nicolas Dandrimont | 29 March 2016, 13:02:10 UTC | identifiers: import symbols from hashutil directly | 29 March 2016, 13:02:10 UTC |
c3d9439 | Antoine R. Dumont (@ardumont) | 24 March 2016, 09:36:21 UTC | '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 | Antoine R. Dumont (@ardumont) | 22 March 2016, 17:58:45 UTC | Use of optional gpgsig in git commit sha1 computation | 22 March 2016, 17:58:45 UTC |
020a555 | Antoine R. Dumont (@ardumont) | 22 March 2016, 16:18:06 UTC | Respect initial key convention (_ delimited) | 22 March 2016, 16:18:06 UTC |
963e393 | Antoine R. Dumont (@ardumont) | 22 March 2016, 16:17:19 UTC | Let the key/value of extra-headers be encoded when needed | 22 March 2016, 16:17:19 UTC |
fbd4e67 | Antoine R. Dumont (@ardumont) | 22 March 2016, 14:25:15 UTC | Use of optional extra-headers in git commit sha1 computation | 22 March 2016, 14:32:15 UTC |
bd5494f | Antoine R. Dumont (@ardumont) | 22 March 2016, 14:21:48 UTC | Add README-dev.md which explicits the sha1 computations | 22 March 2016, 14:21:48 UTC |
d84035a | Antoine R. Dumont (@ardumont) | 22 March 2016, 10:01:05 UTC | Fix exception message typos | 22 March 2016, 10:01:05 UTC |
696d23e | Antoine R. Dumont (@ardumont) | 21 March 2016, 13:44:40 UTC | Override locally the default flags | 21 March 2016, 14:17:44 UTC |
5ca1bda | Antoine R. Dumont (@ardumont) | 21 March 2016, 11:09:16 UTC | Allow filtering unwanted directory when computing git hash | 21 March 2016, 14:17:25 UTC |
2a0107e | Antoine R. Dumont (@ardumont) | 21 March 2016, 11:04:53 UTC | Move from swh.loader.dir.git to swh.model.git | 21 March 2016, 11:04:53 UTC |
100d537 | Antoine R. Dumont (@ardumont) | 27 January 2016, 13:18:37 UTC | Release name is now in bytes T270 | 27 January 2016, 13:18:37 UTC |
96fb46f | Nicolas Dandrimont | 16 December 2015, 17:29:47 UTC | .gitignore: add packaging stuff | 16 December 2015, 17:29:47 UTC |
fbbd044 | Nicolas Dandrimont | 16 December 2015, 16:25:38 UTC | swh.model.hashutil: Implement missing swh.core.hashutil functionality | 16 December 2015, 16:25:38 UTC |
e92e3c5 | Nicolas Dandrimont | 07 December 2015, 17:24:36 UTC | setup.py: Install tests | 07 December 2015, 17:26:51 UTC |
c9e33a1 | Nicolas Dandrimont | 07 December 2015, 17:04:21 UTC | Run tests during build | 07 December 2015, 17:04:45 UTC |
1bc7aa8 | Nicolas Dandrimont | 07 December 2015, 14:41:39 UTC | Fix changelog | 07 December 2015, 14:41:39 UTC |
67ab6a8 | Nicolas Dandrimont | 07 December 2015, 14:39:47 UTC | Don't disable tests in package build | 07 December 2015, 14:39:47 UTC |
5937f96 | Nicolas Dandrimont | 07 December 2015, 10:41:27 UTC | identifiers: remove debug prints | 07 December 2015, 10:41:27 UTC |
a3a3098 | Nicolas Dandrimont | 30 November 2015, 16:24:26 UTC | identifiers: release revision -> target + target_type First step towards T68. | 30 November 2015, 16:24:26 UTC |
0591d54 | Nicolas Dandrimont | 30 November 2015, 16:23:50 UTC | identifiers: release comment -> message | 30 November 2015, 16:23:50 UTC |
45a1f7d | Nicolas Dandrimont | 30 November 2015, 13:40:55 UTC | identifiers: move dates to the root of the objects | 30 November 2015, 13:40:55 UTC |
56891b9 | Nicolas Dandrimont | 30 November 2015, 10:20:14 UTC | identifiers: make the content identifier all its hashes | 30 November 2015, 10:20:14 UTC |
ba2b9b5 | Nicolas Dandrimont | 26 November 2015, 15:00:01 UTC | test_identifiers: add tests for utilities | 26 November 2015, 15:00:01 UTC |
4405ce7 | Nicolas Dandrimont | 26 November 2015, 14:59:40 UTC | identifiers: fix formatting of docstring | 26 November 2015, 14:59:40 UTC |
c6c0aed | Nicolas Dandrimont | 26 November 2015, 14:27:53 UTC | identifiers: add release identifier computation | 26 November 2015, 14:27:53 UTC |
ddf3f53 | Nicolas Dandrimont | 26 November 2015, 14:27:29 UTC | identifiers: add revision identifier computation | 26 November 2015, 14:27:29 UTC |
468da2e | Nicolas Dandrimont | 26 November 2015, 14:26:26 UTC | test_identifiers: split content and directory tests | 26 November 2015, 14:26:26 UTC |
0589ba7 | Nicolas Dandrimont | 25 November 2015, 17:35:49 UTC | Add content and directory identifier computations | 25 November 2015, 17:35:49 UTC |
72650bd | Nicolas Dandrimont | 24 November 2015, 17:07:04 UTC | validators: add tests for validate_content | 24 November 2015, 17:07:04 UTC |
2a5a7d1 | Nicolas Dandrimont | 24 November 2015, 15:49:14 UTC | fields: make sure exceptions are printable | 24 November 2015, 15:49:14 UTC |
7a0fa96 | Nicolas Dandrimont | 24 November 2015, 14:39:44 UTC | fields.simple: add bytes validation function | 24 November 2015, 14:39:44 UTC |
c165335 | Nicolas Dandrimont | 24 November 2015, 14:28:13 UTC | fields.compound: add tests | 24 November 2015, 14:28:13 UTC |
8b6c77a | Nicolas Dandrimont | 24 November 2015, 13:08:55 UTC | fields.simple: Add missing license header | 24 November 2015, 13:08:55 UTC |
d41664a | Nicolas Dandrimont | 24 November 2015, 13:07:38 UTC | tests.fields: proper naming of unittest cases | 24 November 2015, 13:07:38 UTC |
660acc0 | Nicolas Dandrimont | 24 November 2015, 13:03:26 UTC | fields.simple: add tests | 24 November 2015, 13:03:26 UTC |
33d4944 | Nicolas Dandrimont | 24 November 2015, 12:47:05 UTC | fields.hashes: add tests for validate_sha* | 24 November 2015, 12:47:05 UTC |
3fdd3fc | Nicolas Dandrimont | 24 November 2015, 12:33:02 UTC | 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 | Nicolas Dandrimont | 23 November 2015, 15:30:09 UTC | swh.model.validators: Add hash validation | 23 November 2015, 15:35:21 UTC |
59742ac | Nicolas Dandrimont | 23 November 2015, 13:28:02 UTC | swh.model.hashutil: Add hashing utilities to swh.model | 23 November 2015, 13:28:02 UTC |
76eb364 | Nicolas Dandrimont | 23 November 2015, 11:11:06 UTC | Initial commit of the swh.model skeleton | 23 November 2015, 11:14:25 UTC |