4e60ea2 | Antoine R. Dumont (@ardumont) | 20 December 2018, 15:09:51 UTC | requirements: Bump to latest swh-loader-tar | 20 December 2018, 15:09:51 UTC |
8c647a8 | Antoine R. Dumont (@ardumont) | 20 December 2018, 15:06:14 UTC | deposit.loader: Fix clash in variable names | 20 December 2018, 15:06:14 UTC |
446cad5 | Antoine R. Dumont (@ardumont) | 20 December 2018, 15:00:26 UTC | deposit.tests: Add missing default configuration | 20 December 2018, 15:00:26 UTC |
fb46af3 | Valentin Lorentz | 05 December 2018, 14:01:30 UTC | Update class names. | 05 December 2018, 14:05:09 UTC |
d17dff9 | Valentin Lorentz | 27 November 2018, 17:49:52 UTC | Remove Storage mock. Summary: Depends on D716, D717, D718, D719, D720. Reviewers: #reviewers Differential Revision: https://forge.softwareheritage.org/D721 | 05 December 2018, 14:05:09 UTC |
3e27942 | David Douard | 28 November 2018, 11:14:56 UTC | settings: make settings/production importable with incomplete conf so that autodoc can run smoothly. | 29 November 2018, 09:30:14 UTC |
6ffe923 | David Douard | 22 November 2018, 10:44:36 UTC | doc: update index to match new swh-doc format related to T1330 | 23 November 2018, 12:50:11 UTC |
c223890 | David Douard | 12 November 2018, 09:01:49 UTC | docs: use relative path to image files in figure rst directives absolute paths won't work when building the doc from swh-docs (because the root path is not relative to seh-deposit/doc in this case). | 12 November 2018, 12:32:00 UTC |
87d38c9 | David Douard | 08 November 2018, 10:10:57 UTC | Fix docstring's rst syntax | 08 November 2018, 10:10:57 UTC |
3e9ea55 | Antoine R. Dumont (@ardumont) | 07 November 2018, 15:55:12 UTC | tox: Adapt configuration to make the coverage report work | 07 November 2018, 15:58:39 UTC |
dbaf832 | David Douard | 29 October 2018, 09:35:57 UTC | tox: activate coverage | 29 October 2018, 09:35:57 UTC |
963ce38 | David Douard | 24 October 2018, 16:16:06 UTC | Add a tox file We need to explicitely specify the location where pytest looks for tests to prevent the kind of nasty error described here: https://tox.readthedocs.io/en/latest/example/pytest.html#known-issues-and-limitations Also note that migrations scripts are excluded from flake8 in the tox file. related to T1247. | 24 October 2018, 17:21:47 UTC |
c8b91f6 | David Douard | 24 October 2018, 16:04:44 UTC | tests: assertEquals -> assertEqual | 24 October 2018, 17:20:37 UTC |
bd44391 | David Douard | 24 October 2018, 15:55:53 UTC | tests: replace nose with pytest We do use the pytest-django plugin to manage the django db setup magic, so with this change, we can run tests without an existing db, or starting a postgres db dedicated to the tests using pifpaf. related to T1261 | 24 October 2018, 17:20:37 UTC |
0657fb2 | David Douard | 23 October 2018, 17:06:53 UTC | Fix a typo in setup.py tests_require != test_requires | 23 October 2018, 17:06:53 UTC |
bbeaedb | Nicolas Dandrimont | 23 October 2018, 14:48:14 UTC | Don't run pytest in the docs directory | 23 October 2018, 14:48:14 UTC |
097d262 | Nicolas Dandrimont | 12 October 2018, 13:09:18 UTC | Rename test methods to test_ to allow pytest collection Summary: Part of T1261 Test Plan: Still running 104 tests after the change Reviewers: ardumont Differential Revision: https://forge.softwareheritage.org/D525 | 12 October 2018, 13:15:40 UTC |
820f1ac | David Douard | 05 October 2018, 09:44:20 UTC | add build/ and dist/ to gitignore | 08 October 2018, 09:12:07 UTC |
3dfdecf | David Douard | 05 October 2018, 09:43:06 UTC | setup: prepare for pypi upload related to T1242 | 08 October 2018, 09:11:33 UTC |
a4bd92b | Antoine Pietri | 05 October 2018, 10:21:17 UTC | Add requirements-test.txt | 05 October 2018, 10:21:18 UTC |
3c94d48 | Valentin Lorentz | 01 October 2018, 12:30:56 UTC | Fix dependencies. Django 2.0 removed `django.core.urlresolvers` (which was replaced/deprecated in favor of `django.urls` in 1.10). Django_nose is also needed to run tests. | 02 October 2018, 09:38:19 UTC |
f40cdfe | Stefano Zacchiroli | 01 October 2018, 13:50:51 UTC | docs: add title and brief module description | 01 October 2018, 13:51:05 UTC |
000ba80 | Stefano Zacchiroli | 01 October 2018, 13:50:44 UTC | docs: fix typos | 01 October 2018, 13:51:05 UTC |
132727d | Antoine R. Dumont (@ardumont) | 01 October 2018, 13:02:43 UTC | requirements-test.txt: Add missing test requirement | 01 October 2018, 13:23:55 UTC |
50999a5 | Morane Otilia Gruenpeter | 01 October 2018, 09:45:03 UTC | docs: update with comments in T914 typo | 01 October 2018, 10:09:21 UTC |
0de5403 | Antoine R. Dumont (@ardumont) | 28 September 2018, 13:15:09 UTC | docs/Makefile: Excluding deposit settings from autodoc generation autodoc tries to import discovered modules independently from their runtime use. As swh/deposit/settings holds multiple runtime settings (including production), this wrongly tries to load the production one. This fixes all html documentation generation. Close T1182 Close D447 | 28 September 2018, 13:37:58 UTC |
18fbccd | Antoine R. Dumont (@ardumont) | 27 September 2018, 09:30:06 UTC | docs: Fix some sphink warnings | 27 September 2018, 09:30:06 UTC |
7cbc6ca | Antoine R. Dumont (@ardumont) | 27 September 2018, 09:26:04 UTC | docs: Fix autodoc generation problem autodoc tries to import discovered modules independently from their runtime use. As swh/deposit/settings holds multiple runtime settings (including production), this wrongly tries to load the production one. This only fixes the local html documentation generation. This does not fix the global html documentation generation though. Related T1182 | 27 September 2018, 09:26:04 UTC |
da91e04 | Antoine R. Dumont (@ardumont) | 17 September 2018, 14:22:58 UTC | api.converters: Move common convertion code to converters module | 17 September 2018, 14:23:47 UTC |
1499f99 | Antoine R. Dumont (@ardumont) | 17 September 2018, 14:16:46 UTC | private/deposit_list: Simplify the fields listing required | 17 September 2018, 14:16:46 UTC |
d1da7fc | Antoine R. Dumont (@ardumont) | 17 September 2018, 14:14:02 UTC | private/deposit_list: Send status_detail as flattened error message | 17 September 2018, 14:15:56 UTC |
79c8696 | Antoine R. Dumont (@ardumont) | 12 September 2018, 13:57:44 UTC | private.deposit_list: Make the endpoint private Related T1169 | 12 September 2018, 13:57:44 UTC |
c0ebcaa | Antoine R. Dumont (@ardumont) | 10 September 2018, 13:42:33 UTC | Add api endpoint to list deposits with pagination Related T1169 | 12 September 2018, 12:41:51 UTC |
a0b24b2 | Antoine R. Dumont (@ardumont) | 12 September 2018, 12:36:09 UTC | tests.api: Simplify response data read | 12 September 2018, 12:36:36 UTC |
fc4a329 | Antoine R. Dumont (@ardumont) | 04 September 2018, 16:29:12 UTC | api.deposit_status: Factorize behavior | 04 September 2018, 16:29:12 UTC |
aeeab63 | Antoine R. Dumont (@ardumont) | 04 September 2018, 13:31:15 UTC | api/deposit_status: Fix unexpected type error Ids can be other types than string, join will not work on those. This commit fixes it. | 04 September 2018, 13:31:15 UTC |
a90ba7e | Antoine R. Dumont (@ardumont) | 24 July 2018, 13:02:10 UTC | setup.py: Add test dependencies declaration This does the dependencies declaration the same way the python3-swh.lister package does it. | 30 August 2018, 08:57:50 UTC |
df8ade1 | Morane Otilia Gruenpeter | 28 August 2018, 13:04:54 UTC | docs: minor language modifications | 28 August 2018, 13:04:54 UTC |
19ca52e | Antoine R. Dumont (@ardumont) | 24 July 2018, 10:21:10 UTC | deposit.utils: Fix the potential metadata information loss Close T1154 | 24 July 2018, 12:10:14 UTC |
a70a2ad | Antoine R. Dumont (@ardumont) | 24 July 2018, 08:38:48 UTC | deposit.utils: Capture the wrong merge behavior in a test to fix Related T1154 | 24 July 2018, 10:23:18 UTC |
6fd67e8 | Antoine R. Dumont (@ardumont) | 24 July 2018, 08:32:32 UTC | private/deposit_read: Use list comprehension to simplify reading | 24 July 2018, 10:23:18 UTC |
285a8ab | Morane Otilia Gruenpeter | 05 July 2018, 09:42:39 UTC | Update sparse/metadata deposit specs | 23 July 2018, 14:25:24 UTC |
9124206 | Morane Otilia Gruenpeter | 18 June 2018, 14:50:09 UTC | Update sparse-deposit and metadata-deposit specs | 23 July 2018, 14:25:24 UTC |
5f99d69 | Morane Otilia Gruenpeter | 16 May 2018, 15:23:46 UTC | docs: update example meta-deposit | 23 July 2018, 14:25:24 UTC |
b822bfb | Morane Otilia Gruenpeter | 16 May 2018, 15:22:38 UTC | docs: Add swh xml schema for sparse and meta deposits | 23 July 2018, 14:25:24 UTC |
f96c11c | Morane Otilia Gruenpeter | 07 May 2018, 14:46:25 UTC | docs: Update specs for the sparse-deposit and meta-deposit | 23 July 2018, 14:25:24 UTC |
7801772 | Antoine R. Dumont (@ardumont) | 23 July 2018, 13:53:17 UTC | docs: Update documentation about persistent id with context Related T1152 | 23 July 2018, 13:53:17 UTC |
f264ef1 | Antoine R. Dumont (@ardumont) | 23 July 2018, 12:31:13 UTC | d/control: Bump to latest dependency | 23 July 2018, 12:31:13 UTC |
2c4c484 | Antoine R. Dumont (@ardumont) | 23 July 2018, 10:17:55 UTC | deposit/loader: Add missing origin_url transmission step | 23 July 2018, 11:26:29 UTC |
393fdce | Antoine R. Dumont (@ardumont) | 20 July 2018, 14:03:34 UTC | swh.deposit.client: Simplify client parsing This unifies the way we parse xml server side and client side. Related D396#inline-1961 | 20 July 2018, 14:07:02 UTC |
b583238 | Antoine R. Dumont (@ardumont) | 20 July 2018, 13:26:10 UTC | api/deposit_status: Make swh-id be a directory id derivative Add the synthetic revision id as ancillary information Related T1152 | 20 July 2018, 13:29:24 UTC |
17f4711 | Antoine R. Dumont (@ardumont) | 19 July 2018, 13:07:40 UTC | swh.deposit.models: Keep deposit request's raw metadata Close T1153 | 19 July 2018, 15:34:35 UTC |
8b5f539 | Antoine R. Dumont (@ardumont) | 19 July 2018, 12:24:49 UTC | test_deposit_read_metadata: cosmetic: Fix missing space | 19 July 2018, 12:24:49 UTC |
1e0c67b | Antoine R. Dumont (@ardumont) | 17 July 2018, 14:05:52 UTC | bin: Migrate internal script to use the deposit client | 17 July 2018, 14:05:52 UTC |
6367c2e | Antoine R. Dumont (@ardumont) | 17 July 2018, 10:31:53 UTC | deposit_check: Clarify docstring | 17 July 2018, 10:31:53 UTC |
d475ce2 | Antoine R. Dumont (@ardumont) | 17 July 2018, 10:23:05 UTC | test_deposit_check: Add more tests around invalid archive scenario | 17 July 2018, 10:23:05 UTC |
867e24a | Antoine R. Dumont (@ardumont) | 16 July 2018, 14:21:55 UTC | private/deposit_check: Regroup error message together | 16 July 2018, 14:39:48 UTC |
23850ff | Antoine R. Dumont (@ardumont) | 16 July 2018, 14:21:40 UTC | test_deposit_check: Add missing test case (missing archive) | 16 July 2018, 14:39:48 UTC |
5ad0e51 | Antoine R. Dumont (@ardumont) | 16 July 2018, 13:46:36 UTC | docs: Update deposit with status rejected documentation Related T1123 | 16 July 2018, 13:50:27 UTC |
e5b9164 | Antoine R. Dumont (@ardumont) | 16 July 2018, 08:58:48 UTC | swh.deposit.models: Reuse status variable | 16 July 2018, 08:58:48 UTC |
490e188 | Antoine R. Dumont (@ardumont) | 13 July 2018, 16:06:06 UTC | deposit_status: Update the deposit status endpoint As possibly multiple associated archive(s) check(s) can happen now. Related T1123 | 14 July 2018, 09:03:40 UTC |
f29e3f4 | Antoine R. Dumont (@ardumont) | 13 July 2018, 15:35:36 UTC | deposit_check: Add test around deposit with 1 archive rejection Related T1123 | 13 July 2018, 15:57:04 UTC |
fd3d908 | Antoine R. Dumont (@ardumont) | 13 July 2018, 14:13:24 UTC | deposit_check: Reject deposit containing a single archive Related T1123 | 13 July 2018, 14:15:03 UTC |
9b4eb1e | Antoine R. Dumont (@ardumont) | 13 July 2018, 12:01:34 UTC | api.private: Refactor common behavior for reading metadata | 13 July 2018, 12:01:34 UTC |
9dc5dd8 | Antoine R. Dumont (@ardumont) | 13 July 2018, 11:50:53 UTC | api.private: Refactor common behavior for reading deposit requests | 13 July 2018, 11:50:53 UTC |
8b1d190 | Antoine R. Dumont (@ardumont) | 13 July 2018, 11:49:47 UTC | deposit.tests: Do not override external identifier in metadata | 13 July 2018, 11:49:47 UTC |
6317a5a | Antoine R. Dumont (@ardumont) | 10 July 2018, 13:52:11 UTC | deposit_check: Fix url_fields beeing too wildly populated We were adding all tested fields tested while we wanted only to keep the ones matching 'url'. Related T1010 | 10 July 2018, 15:49:00 UTC |
2c5b177 | Antoine R. Dumont (@ardumont) | 10 July 2018, 13:09:31 UTC | api.status: Open detail status on rejected deposit for client So far, the status detail was generic. In case of rejected deposit, we now provide the detailed explanation of the failed checks. Related T1010 | 10 July 2018, 15:49:00 UTC |
838ce7e | Antoine R. Dumont (@ardumont) | 10 July 2018, 08:39:19 UTC | deposit_check: Fix missing space in summary Related T1010 | 10 July 2018, 08:40:48 UTC |
333c5d7 | Antoine R. Dumont (@ardumont) | 10 July 2018, 08:39:00 UTC | test_deposit_check: Remove dead code | 10 July 2018, 08:39:00 UTC |
95a7aaa | Antoine R. Dumont (@ardumont) | 09 July 2018, 13:59:07 UTC | deposit_check: Improve details in failing checks Close T1010 | 09 July 2018, 16:11:50 UTC |
aeaab02 | Antoine R. Dumont (@ardumont) | 06 July 2018, 10:31:14 UTC | swh.deposit.parsers: Simplify current xml parsing This takes care of current limitations: - duplicated elements are stored as list (and no longer dropped) - drop extra namespace in key names - it's generic Close T1131 | 06 July 2018, 10:32:48 UTC |
e989e3b | Antoine R. Dumont (@ardumont) | 06 July 2018, 07:21:18 UTC | swh.deposit.parsers: Update docstring | 06 July 2018, 10:32:48 UTC |
d9870db | Antoine R. Dumont (@ardumont) | 05 July 2018, 16:54:15 UTC | swh.deposit.parsers: Do not lose information during parsing Related T1131 | 06 July 2018, 10:32:44 UTC |
9e1943d | Antoine R. Dumont (@ardumont) | 03 July 2018, 09:26:47 UTC | swh.deposit.tests: Make sure failing tests are complete As in making sure they are checking the right failures. Related T1010#20870 | 03 July 2018, 09:29:52 UTC |
1739058 | Antoine R. Dumont (@ardumont) | 02 July 2018, 13:20:56 UTC | deposit_update: Fix check error during update with wrong mimetype Multiple things went wrong, which explains the issue in production: - the internal representation is expected to be a tuple for the post (not an HttpResponse instance) - the tests were failing on the expected bad status for the wrong reason (bad deposit status was used, 'ready' instead of 'partial', an update can only take place on 'partial' deposit) - the tests were differents but tested the same endpoint either way (only put was called) Related P279 Related T1010#20869 Related T1010#20870 | 02 July 2018, 14:25:06 UTC |
b9a0b5c | Antoine Lambert | 29 June 2018, 09:55:45 UTC | deposit_read: Persistent identifier representation has changed | 29 June 2018, 09:55:45 UTC |
7e535ab | Antoine R. Dumont (@ardumont) | 03 May 2018, 13:10:45 UTC | Make the deposit's scheduler configuration adjustable Related T1034 | 03 May 2018, 13:10:45 UTC |
1fd184f | Antoine Lambert | 16 March 2018, 15:31:35 UTC | settings.development: Do not disable existing loggers as it silents Sphinx output | 16 March 2018, 15:31:35 UTC |
735b248 | Antoine R. Dumont (@ardumont) | 07 March 2018, 09:52:55 UTC | deposit/loader: Let the default date (now) be set in core | 07 March 2018, 09:52:55 UTC |
5572e3f | Antoine R. Dumont (@ardumont) | 07 March 2018, 09:42:58 UTC | deposit/loader: Simplify and move to prepare_origin_visit method | 07 March 2018, 09:43:29 UTC |
5526f83 | Antoine R. Dumont (@ardumont) | 06 March 2018, 15:04:00 UTC | d/*: Bump dependency to latest ones | 06 March 2018, 15:07:15 UTC |
d01bc06 | Antoine R. Dumont (@ardumont) | 06 March 2018, 15:03:45 UTC | deposit/loader: Add prepare_origin method implementation | 06 March 2018, 15:07:12 UTC |
cd80d1c | Antoine R. Dumont (@ardumont) | 12 February 2018, 10:20:35 UTC | d/control: Bump requirements up for new swh.loader.tar Related T565 | 12 February 2018, 10:20:35 UTC |
15704b5 | Nicolas Dandrimont | 06 February 2018, 13:48:19 UTC | Bump requirements up for new swh.loader.core | 06 February 2018, 13:48:19 UTC |
9f34f3a | Nicolas Dandrimont | 06 February 2018, 13:47:58 UTC | tests: Add noqa for assertXyzOk methods | 06 February 2018, 13:47:58 UTC |
7e953f6 | Antoine R. Dumont (@ardumont) | 02 February 2018, 08:13:02 UTC | swh.deposit.loader: Replace occurrences with snapshot Related T565 | 02 February 2018, 08:13:02 UTC |
e79c30a | Antoine R. Dumont (@ardumont) | 01 February 2018, 16:55:23 UTC | swh.deposit.api.private: Fix revision message missing client name | 01 February 2018, 16:55:23 UTC |
f79c0e5 | Morane Otilia Gruenpeter | 01 February 2018, 15:43:26 UTC | docs: simplify endpoints and delete all sword text | 01 February 2018, 15:43:26 UTC |
43dcea8 | Antoine R. Dumont (@ardumont) | 30 January 2018, 17:58:41 UTC | swh.loader: Be consistent in returning loader result in task | 30 January 2018, 18:03:41 UTC |
6620254 | Antoine R. Dumont (@ardumont) | 30 January 2018, 11:18:23 UTC | swh.deposit.client: Explicit private api client | 30 January 2018, 11:18:23 UTC |
3fc9ef9 | Antoine R. Dumont (@ardumont) | 30 January 2018, 10:59:59 UTC | swh.deposit.client.cli: Fix flag compatibility issue | 30 January 2018, 10:59:59 UTC |
188c002 | Antoine R. Dumont (@ardumont) | 29 January 2018, 17:09:03 UTC | swh.deposit.api: Simplify collection name retrieval | 29 January 2018, 17:09:03 UTC |
6520c50 | Antoine R. Dumont (@ardumont) | 29 January 2018, 16:40:05 UTC | swh.deposit.client.cli: Strip error message if any | 29 January 2018, 16:40:05 UTC |
1bd241a | Antoine R. Dumont (@ardumont) | 29 January 2018, 16:36:41 UTC | swh.deposit.client.cli: Fix default deposit server as swh's | 29 January 2018, 16:36:41 UTC |
fbed974 | Antoine R. Dumont (@ardumont) | 29 January 2018, 15:14:11 UTC | swh.deposit.client.cli: Be consistent in returned error messages Related T882 | 29 January 2018, 15:14:11 UTC |
91acb79 | Antoine R. Dumont (@ardumont) | 29 January 2018, 14:00:24 UTC | docs: Update getting-started | 29 January 2018, 14:00:24 UTC |
0096813 | Antoine R. Dumont (@ardumont) | 29 January 2018, 13:41:47 UTC | swh.deposit.client: Check deposit status before trying to update it | 29 January 2018, 13:41:47 UTC |
48e883b | Antoine R. Dumont (@ardumont) | 29 January 2018, 12:41:47 UTC | swh.deposit.client: Remove noqa comment | 29 January 2018, 12:41:47 UTC |
2578636 | Antoine R. Dumont (@ardumont) | 29 January 2018, 12:39:28 UTC | swh.deposit.client: Fix corner cases on cli | 29 January 2018, 12:39:28 UTC |