f2f7ee2 | Antoine R. Dumont (@ardumont) | 09 May 2019, 08:22:37 UTC | docs/sys-info: Update the documentation about deposit rescheduling | 09 May 2019, 08:22:37 UTC |
98b982a | Antoine R. Dumont (@ardumont) | 09 May 2019, 08:18:10 UTC | docs/sys-info: Update the admin command | 09 May 2019, 08:18:10 UTC |
8daf33b | Antoine R. Dumont (@ardumont) | 07 May 2019, 13:58:24 UTC | cli.admin: Fix help message typo | 07 May 2019, 14:24:37 UTC |
5155e72 | Antoine R. Dumont (@ardumont) | 07 May 2019, 13:57:01 UTC | cli.admin: Add an admin subcommand 'deposit reschedule' ``` swh deposit admin deposit reschedule --help ``` This commands is for admin use since it needs writable access | 07 May 2019, 14:24:37 UTC |
c41a20c | Antoine R. Dumont (@ardumont) | 07 May 2019, 11:27:05 UTC | models: Keep scheduler task ids reference on deposit model Related T1703 | 07 May 2019, 14:13:47 UTC |
02a2e91 | David Douard | 19 April 2019, 13:23:12 UTC | docs: update the getting-started document to use 'swh deposit upload' command | 06 May 2019, 13:33:12 UTC |
f5624c8 | David Douard | 19 April 2019, 12:34:39 UTC | cli: rename the 'deposit' subcommand as 'upload' to prevent the ugly 'swh deposit deposit' in favor of: swh deposit upload | 06 May 2019, 13:29:30 UTC |
c0b1d54 | David Douard | 19 April 2019, 12:16:05 UTC | cli: make the deposit cli command a subcommand of the main 'swh' one 'swh' being the new master command group (defined in swh.core); so: swh deposit --help works. The 'admin' (deposit server management) is only available if the swh.deposit[server] optional package is installed. Ensure the 'swh-deposit' still works for now. | 06 May 2019, 13:29:30 UTC |
bf2fb86 | David Douard | 19 April 2019, 12:12:48 UTC | cli: rename cli/deposit.py as cli/client.py to prevent a name clash in the swh.deposit.cli namespace. | 19 April 2019, 12:12:48 UTC |
d075c56 | Antoine R. Dumont (@ardumont) | 17 April 2019, 13:19:32 UTC | Remove unnecessary leftover check on no longer existing url fields Related D1421 Related T1648 | 17 April 2019, 13:27:05 UTC |
708beba | Antoine R. Dumont (@ardumont) | 16 April 2019, 09:58:28 UTC | cli.deposit: Add mandatory flags to generate the metadata xml Related T1650 | 17 April 2019, 13:27:05 UTC |
3b19233 | Antoine R. Dumont (@ardumont) | 17 April 2019, 12:17:49 UTC | tests: Reformat some deposit tests | 17 April 2019, 12:21:51 UTC |
793b0d1 | Antoine R. Dumont (@ardumont) | 17 April 2019, 11:45:53 UTC | deposit: Wrongly formatted xml should return a 400 bad request Both for multipart deposit and only-metadata (atom) deposit. This is a new kind of badly formatted which ended up in 500 internal error (server side). Related T1638 | 17 April 2019, 12:18:18 UTC |
45aeec4 | Antoine R. Dumont (@ardumont) | 17 April 2019, 09:45:05 UTC | utils: Enforce necessary setup for deposit and associated client Related T1648 | 17 April 2019, 09:45:42 UTC |
56e9037 | Antoine R. Dumont (@ardumont) | 16 April 2019, 17:07:43 UTC | check: Remove url and external_identifier from mandatory fields Related T1648 | 17 April 2019, 08:59:46 UTC |
3bff42e | Antoine R. Dumont (@ardumont) | 16 April 2019, 17:04:11 UTC | deposit_read: Compute origin-url from the deposit's setup We no longer read the metadata for that information Related T1648 | 17 April 2019, 08:59:46 UTC |
a7a7170 | Antoine R. Dumont (@ardumont) | 16 April 2019, 15:01:18 UTC | utils: Make parsing date result in a reasonable date | 16 April 2019, 17:25:32 UTC |
c183276 | Antoine R. Dumont (@ardumont) | 16 April 2019, 13:11:19 UTC | Refactor: Extract date utils manipulation function into utils module | 16 April 2019, 13:11:19 UTC |
00a8abd | Antoine R. Dumont (@ardumont) | 16 April 2019, 12:49:37 UTC | tests: Factorize metadata xml duplication to explicit tested date | 16 April 2019, 12:49:37 UTC |
0138edc | Antoine R. Dumont (@ardumont) | 16 April 2019, 12:38:18 UTC | deposit_read: Refactor to clarify intents and docstring | 16 April 2019, 12:38:18 UTC |
37b4871 | Antoine R. Dumont (@ardumont) | 13 April 2019, 10:22:03 UTC | loader: Use metadata date as author/committer date if provided Related T1637 | 16 April 2019, 11:45:39 UTC |
76b3ff6 | Antoine R. Dumont (@ardumont) | 15 April 2019, 16:49:23 UTC | deposit_status: Simplify the deposit status computation | 15 April 2019, 16:49:23 UTC |
93a168e | Antoine R. Dumont (@ardumont) | 15 April 2019, 13:34:56 UTC | Expose optional external id in deposit status endpoint As this is generated, this could be useful for client who wants to deposit further new version | 15 April 2019, 13:34:56 UTC |
3dd15b4 | Antoine R. Dumont (@ardumont) | 15 April 2019, 12:41:12 UTC | deposit.cli: Generate uuid as is | 15 April 2019, 13:30:29 UTC |
5549665 | Antoine R. Dumont (@ardumont) | 13 April 2019, 10:36:29 UTC | MANIFEST.in: Add missing requirements files to the manifest | 13 April 2019, 10:36:29 UTC |
45ab510 | Antoine R. Dumont (@ardumont) | 13 April 2019, 10:35:39 UTC | Address tox/flake8/pep warning about import deprecation warnings | 13 April 2019, 10:35:39 UTC |
2583b64 | Antoine R. Dumont (@ardumont) | 12 April 2019, 16:46:19 UTC | model: Migrate appropriately the DepositRequestType change | 13 April 2019, 09:14:03 UTC |
4ca0bae | Antoine R. Dumont (@ardumont) | 12 April 2019, 09:35:03 UTC | settings.production: Allow "allowed" hosts list update | 13 April 2019, 09:14:03 UTC |
3b5582d | Antoine R. Dumont (@ardumont) | 12 April 2019, 08:24:01 UTC | admin/user/create: If collection not provided, fallback to username as the collection name | 13 April 2019, 09:14:03 UTC |
647306d | Antoine R. Dumont (@ardumont) | 12 April 2019, 08:15:03 UTC | deposit.cli: Rename server part to admin This subcommand is really about admin commands | 13 April 2019, 09:14:03 UTC |
ae5ff69 | David Douard | 11 April 2019, 14:53:35 UTC | client: use a global logger | 13 April 2019, 09:14:03 UTC |
bccb601 | David Douard | 11 April 2019, 14:43:34 UTC | cli: kill the unneeded dry-run option | 13 April 2019, 09:14:03 UTC |
7866eea | David Douard | 11 April 2019, 14:41:42 UTC | config: do not overwrite the DJANGO_SETTINGS_MODULE if already defined | 13 April 2019, 09:14:03 UTC |
130bc96 | David Douard | 11 April 2019, 14:39:10 UTC | cli/admin/user: add a user existence check useful e.g. in docker entrypoint.sh. | 13 April 2019, 09:14:03 UTC |
968d08c | David Douard | 11 April 2019, 14:37:29 UTC | cli/admin/user: provide more information at creation namely provider-url and domain. | 13 April 2019, 09:14:03 UTC |
4639513 | David Douard | 11 April 2019, 14:34:49 UTC | model: kill DepositRequestType in favor a simpler Choice in DepositRequest. | 13 April 2019, 09:14:03 UTC |
f5bfbf5 | David Douard | 11 April 2019, 14:25:54 UTC | cli: fix service document parsing to retrieve collection | 13 April 2019, 09:14:03 UTC |
0dfada3 | David Douard | 11 April 2019, 11:38:10 UTC | cli: split the cli.py module in a package with submodules with the deposit (client) part in swh/deposit/cli/deposit.py and the server admin part in swh/deposit/cli/server.py. This later being optional (import statement can fail). | 13 April 2019, 09:14:03 UTC |
0e2c0ef | David Douard | 11 April 2019, 09:41:06 UTC | setup: extract server specific requirements in a dedicated 'server' extra | 13 April 2019, 09:14:03 UTC |
3a070ff | Nicolas Dandrimont | 12 April 2019, 10:03:08 UTC | Update coverage gitignore | 12 April 2019, 10:03:08 UTC |
e024f30 | Antoine R. Dumont (@ardumont) | 14 March 2019, 16:46:05 UTC | deposit.cli: Rename client subcommand to deposit | 14 March 2019, 16:51:12 UTC |
cba05aa | Antoine R. Dumont (@ardumont) | 12 March 2019, 20:01:27 UTC | swh.deposit.cli: Migrate client command as main cli subcommand | 12 March 2019, 20:49:44 UTC |
64e7901 | Antoine R. Dumont (@ardumont) | 12 March 2019, 16:09:02 UTC | deposit.cli: Allow to use --config-file to pass extra config file This is mostly for use in production. | 12 March 2019, 16:24:24 UTC |
0545d93 | Antoine R. Dumont (@ardumont) | 24 February 2019, 18:08:40 UTC | swh.manage: Migrate manage to swh/deposit subfolder | 24 February 2019, 18:08:40 UTC |
57f54dc | Antoine R. Dumont (@ardumont) | 24 February 2019, 09:01:59 UTC | settings.production: Improve error message when missing information | 24 February 2019, 09:01:59 UTC |
62af09b | Antoine R. Dumont (@ardumont) | 24 February 2019, 08:40:06 UTC | dev-info: Update according to latest configuration change Related D1161 Related T1533 | 24 February 2019, 08:40:06 UTC |
992f64c | Antoine R. Dumont (@ardumont) | 24 February 2019, 08:34:50 UTC | docs/sys-info: Update user creation routine documentation | 24 February 2019, 08:37:56 UTC |
515aede | Antoine R. Dumont (@ardumont) | 24 February 2019, 08:32:57 UTC | swh.deposit.cli: Document a tad further entrypoints | 24 February 2019, 08:36:38 UTC |
09dbcca | Antoine R. Dumont (@ardumont) | 24 February 2019, 08:25:46 UTC | swh-deposit user create: Create user's collection if need be | 24 February 2019, 08:35:54 UTC |
2e932c4 | Antoine R. Dumont (@ardumont) | 24 February 2019, 08:06:00 UTC | swh.deposit.cli: Add list subcommands (user, collection) | 24 February 2019, 08:35:42 UTC |
77a36c4 | Antoine R. Dumont (@ardumont) | 24 February 2019, 07:59:06 UTC | swh.deposit.cli: Use simple click.echo call | 24 February 2019, 07:59:06 UTC |
3ec8840 | Antoine R. Dumont (@ardumont) | 24 February 2019, 07:58:16 UTC | swh.deposit.cli: Add collection subtask | 24 February 2019, 07:58:16 UTC |
92ebfa6 | Antoine R. Dumont (@ardumont) | 24 February 2019, 07:23:33 UTC | setup.py: Expose the 2 cli entrypoints and avoid the clash names | 24 February 2019, 07:23:33 UTC |
ce40f37 | Antoine R. Dumont (@ardumont) | 24 February 2019, 07:06:22 UTC | swh.deposit.cli: Transform create_user into a main cli | 24 February 2019, 07:23:17 UTC |
822ab1d | Antoine R. Dumont (@ardumont) | 20 February 2019, 16:35:01 UTC | settings.production: Remove useless comment | 20 February 2019, 16:35:01 UTC |
d78aa00 | Antoine R. Dumont (@ardumont) | 19 February 2019, 16:25:47 UTC | settings.prod: Use SWH_CONFIG_FILENAME to load & check swh config And check production configuration file is ok. Fail if not. Related T1533 | 20 February 2019, 15:24:07 UTC |
63f699e | Antoine R. Dumont (@ardumont) | 19 February 2019, 13:28:16 UTC | requirements-swh.txt: Update minimal version required for loader-tar | 19 February 2019, 13:28:16 UTC |
7b06750 | Antoine R. Dumont (@ardumont) | 19 February 2019, 11:17:26 UTC | Remove debian packaging from master branch Related T1532 | 19 February 2019, 11:17:26 UTC |
be7aeb9 | Antoine R. Dumont (@ardumont) | 14 February 2019, 20:14:29 UTC | deposit.loader.checker: Fix logger initialization Related P360 | 14 February 2019, 20:14:46 UTC |
3e26744 | Antoine R. Dumont (@ardumont) | 04 February 2019, 10:43:34 UTC | swh/manage: Fix flake8 warning | 04 February 2019, 10:43:34 UTC |
8f92f18 | David Douard | 17 January 2019, 15:03:38 UTC | Bump dependency on swh-scheduler 0.0.39 | 17 January 2019, 15:03:38 UTC |
e276cc8 | David Douard | 17 January 2019, 15:03:09 UTC | Rewrite celery tasks as a decorated function as well as the tests of the task. Requires swh-scheduler >= 0.0.39 | 17 January 2019, 15:03:09 UTC |
de5cf1a | Antoine R. Dumont (@ardumont) | 20 December 2018, 16:41:21 UTC | loader.scheduler: Remove non production code | 20 December 2018, 16:41:21 UTC |
cdf911d | Antoine R. Dumont (@ardumont) | 20 December 2018, 16:41:07 UTC | deposit.loader.tasks: Add tests | 20 December 2018, 16:41:07 UTC |
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 |