https://forge.softwareheritage.org/source/swh-deposit.git

sort by:
Revision Author Date Message Commit Date
4e60ea2 requirements: Bump to latest swh-loader-tar 20 December 2018, 15:09:51 UTC
8c647a8 deposit.loader: Fix clash in variable names 20 December 2018, 15:06:14 UTC
446cad5 deposit.tests: Add missing default configuration 20 December 2018, 15:00:26 UTC
fb46af3 Update class names. 05 December 2018, 14:05:09 UTC
d17dff9 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 settings: make settings/production importable with incomplete conf so that autodoc can run smoothly. 29 November 2018, 09:30:14 UTC
6ffe923 doc: update index to match new swh-doc format related to T1330 23 November 2018, 12:50:11 UTC
c223890 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 Fix docstring's rst syntax 08 November 2018, 10:10:57 UTC
3e9ea55 tox: Adapt configuration to make the coverage report work 07 November 2018, 15:58:39 UTC
dbaf832 tox: activate coverage 29 October 2018, 09:35:57 UTC
963ce38 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 tests: assertEquals -> assertEqual 24 October 2018, 17:20:37 UTC
bd44391 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 Fix a typo in setup.py tests_require != test_requires 23 October 2018, 17:06:53 UTC
bbeaedb Don't run pytest in the docs directory 23 October 2018, 14:48:14 UTC
097d262 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 add build/ and dist/ to gitignore 08 October 2018, 09:12:07 UTC
3dfdecf setup: prepare for pypi upload related to T1242 08 October 2018, 09:11:33 UTC
a4bd92b Add requirements-test.txt 05 October 2018, 10:21:18 UTC
3c94d48 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 docs: add title and brief module description 01 October 2018, 13:51:05 UTC
000ba80 docs: fix typos 01 October 2018, 13:51:05 UTC
132727d requirements-test.txt: Add missing test requirement 01 October 2018, 13:23:55 UTC
50999a5 docs: update with comments in T914 typo 01 October 2018, 10:09:21 UTC
0de5403 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 docs: Fix some sphink warnings 27 September 2018, 09:30:06 UTC
7cbc6ca 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 api.converters: Move common convertion code to converters module 17 September 2018, 14:23:47 UTC
1499f99 private/deposit_list: Simplify the fields listing required 17 September 2018, 14:16:46 UTC
d1da7fc private/deposit_list: Send status_detail as flattened error message 17 September 2018, 14:15:56 UTC
79c8696 private.deposit_list: Make the endpoint private Related T1169 12 September 2018, 13:57:44 UTC
c0ebcaa Add api endpoint to list deposits with pagination Related T1169 12 September 2018, 12:41:51 UTC
a0b24b2 tests.api: Simplify response data read 12 September 2018, 12:36:36 UTC
fc4a329 api.deposit_status: Factorize behavior 04 September 2018, 16:29:12 UTC
aeeab63 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 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 docs: minor language modifications 28 August 2018, 13:04:54 UTC
19ca52e deposit.utils: Fix the potential metadata information loss Close T1154 24 July 2018, 12:10:14 UTC
a70a2ad deposit.utils: Capture the wrong merge behavior in a test to fix Related T1154 24 July 2018, 10:23:18 UTC
6fd67e8 private/deposit_read: Use list comprehension to simplify reading 24 July 2018, 10:23:18 UTC
285a8ab Update sparse/metadata deposit specs 23 July 2018, 14:25:24 UTC
9124206 Update sparse-deposit and metadata-deposit specs 23 July 2018, 14:25:24 UTC
5f99d69 docs: update example meta-deposit 23 July 2018, 14:25:24 UTC
b822bfb docs: Add swh xml schema for sparse and meta deposits 23 July 2018, 14:25:24 UTC
f96c11c docs: Update specs for the sparse-deposit and meta-deposit 23 July 2018, 14:25:24 UTC
7801772 docs: Update documentation about persistent id with context Related T1152 23 July 2018, 13:53:17 UTC
f264ef1 d/control: Bump to latest dependency 23 July 2018, 12:31:13 UTC
2c4c484 deposit/loader: Add missing origin_url transmission step 23 July 2018, 11:26:29 UTC
393fdce 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 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 swh.deposit.models: Keep deposit request's raw metadata Close T1153 19 July 2018, 15:34:35 UTC
8b5f539 test_deposit_read_metadata: cosmetic: Fix missing space 19 July 2018, 12:24:49 UTC
1e0c67b bin: Migrate internal script to use the deposit client 17 July 2018, 14:05:52 UTC
6367c2e deposit_check: Clarify docstring 17 July 2018, 10:31:53 UTC
d475ce2 test_deposit_check: Add more tests around invalid archive scenario 17 July 2018, 10:23:05 UTC
867e24a private/deposit_check: Regroup error message together 16 July 2018, 14:39:48 UTC
23850ff test_deposit_check: Add missing test case (missing archive) 16 July 2018, 14:39:48 UTC
5ad0e51 docs: Update deposit with status rejected documentation Related T1123 16 July 2018, 13:50:27 UTC
e5b9164 swh.deposit.models: Reuse status variable 16 July 2018, 08:58:48 UTC
490e188 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 deposit_check: Add test around deposit with 1 archive rejection Related T1123 13 July 2018, 15:57:04 UTC
fd3d908 deposit_check: Reject deposit containing a single archive Related T1123 13 July 2018, 14:15:03 UTC
9b4eb1e api.private: Refactor common behavior for reading metadata 13 July 2018, 12:01:34 UTC
9dc5dd8 api.private: Refactor common behavior for reading deposit requests 13 July 2018, 11:50:53 UTC
8b1d190 deposit.tests: Do not override external identifier in metadata 13 July 2018, 11:49:47 UTC
6317a5a 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 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 deposit_check: Fix missing space in summary Related T1010 10 July 2018, 08:40:48 UTC
333c5d7 test_deposit_check: Remove dead code 10 July 2018, 08:39:00 UTC
95a7aaa deposit_check: Improve details in failing checks Close T1010 09 July 2018, 16:11:50 UTC
aeaab02 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 swh.deposit.parsers: Update docstring 06 July 2018, 10:32:48 UTC
d9870db swh.deposit.parsers: Do not lose information during parsing Related T1131 06 July 2018, 10:32:44 UTC
9e1943d 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 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 deposit_read: Persistent identifier representation has changed 29 June 2018, 09:55:45 UTC
7e535ab Make the deposit's scheduler configuration adjustable Related T1034 03 May 2018, 13:10:45 UTC
1fd184f settings.development: Do not disable existing loggers as it silents Sphinx output 16 March 2018, 15:31:35 UTC
735b248 deposit/loader: Let the default date (now) be set in core 07 March 2018, 09:52:55 UTC
5572e3f deposit/loader: Simplify and move to prepare_origin_visit method 07 March 2018, 09:43:29 UTC
5526f83 d/*: Bump dependency to latest ones 06 March 2018, 15:07:15 UTC
d01bc06 deposit/loader: Add prepare_origin method implementation 06 March 2018, 15:07:12 UTC
cd80d1c d/control: Bump requirements up for new swh.loader.tar Related T565 12 February 2018, 10:20:35 UTC
15704b5 Bump requirements up for new swh.loader.core 06 February 2018, 13:48:19 UTC
9f34f3a tests: Add noqa for assertXyzOk methods 06 February 2018, 13:47:58 UTC
7e953f6 swh.deposit.loader: Replace occurrences with snapshot Related T565 02 February 2018, 08:13:02 UTC
e79c30a swh.deposit.api.private: Fix revision message missing client name 01 February 2018, 16:55:23 UTC
f79c0e5 docs: simplify endpoints and delete all sword text 01 February 2018, 15:43:26 UTC
43dcea8 swh.loader: Be consistent in returning loader result in task 30 January 2018, 18:03:41 UTC
6620254 swh.deposit.client: Explicit private api client 30 January 2018, 11:18:23 UTC
3fc9ef9 swh.deposit.client.cli: Fix flag compatibility issue 30 January 2018, 10:59:59 UTC
188c002 swh.deposit.api: Simplify collection name retrieval 29 January 2018, 17:09:03 UTC
6520c50 swh.deposit.client.cli: Strip error message if any 29 January 2018, 16:40:05 UTC
1bd241a swh.deposit.client.cli: Fix default deposit server as swh's 29 January 2018, 16:36:41 UTC
fbed974 swh.deposit.client.cli: Be consistent in returned error messages Related T882 29 January 2018, 15:14:11 UTC
91acb79 docs: Update getting-started 29 January 2018, 14:00:24 UTC
0096813 swh.deposit.client: Check deposit status before trying to update it 29 January 2018, 13:41:47 UTC
48e883b swh.deposit.client: Remove noqa comment 29 January 2018, 12:41:47 UTC
2578636 swh.deposit.client: Fix corner cases on cli 29 January 2018, 12:39:28 UTC
back to top