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

sort by:
Revision Author Date Message Commit Date
f2f7ee2 docs/sys-info: Update the documentation about deposit rescheduling 09 May 2019, 08:22:37 UTC
98b982a docs/sys-info: Update the admin command 09 May 2019, 08:18:10 UTC
8daf33b cli.admin: Fix help message typo 07 May 2019, 14:24:37 UTC
5155e72 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 models: Keep scheduler task ids reference on deposit model Related T1703 07 May 2019, 14:13:47 UTC
02a2e91 docs: update the getting-started document to use 'swh deposit upload' command 06 May 2019, 13:33:12 UTC
f5624c8 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 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 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 Remove unnecessary leftover check on no longer existing url fields Related D1421 Related T1648 17 April 2019, 13:27:05 UTC
708beba cli.deposit: Add mandatory flags to generate the metadata xml Related T1650 17 April 2019, 13:27:05 UTC
3b19233 tests: Reformat some deposit tests 17 April 2019, 12:21:51 UTC
793b0d1 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 utils: Enforce necessary setup for deposit and associated client Related T1648 17 April 2019, 09:45:42 UTC
56e9037 check: Remove url and external_identifier from mandatory fields Related T1648 17 April 2019, 08:59:46 UTC
3bff42e 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 utils: Make parsing date result in a reasonable date 16 April 2019, 17:25:32 UTC
c183276 Refactor: Extract date utils manipulation function into utils module 16 April 2019, 13:11:19 UTC
00a8abd tests: Factorize metadata xml duplication to explicit tested date 16 April 2019, 12:49:37 UTC
0138edc deposit_read: Refactor to clarify intents and docstring 16 April 2019, 12:38:18 UTC
37b4871 loader: Use metadata date as author/committer date if provided Related T1637 16 April 2019, 11:45:39 UTC
76b3ff6 deposit_status: Simplify the deposit status computation 15 April 2019, 16:49:23 UTC
93a168e 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 deposit.cli: Generate uuid as is 15 April 2019, 13:30:29 UTC
5549665 MANIFEST.in: Add missing requirements files to the manifest 13 April 2019, 10:36:29 UTC
45ab510 Address tox/flake8/pep warning about import deprecation warnings 13 April 2019, 10:35:39 UTC
2583b64 model: Migrate appropriately the DepositRequestType change 13 April 2019, 09:14:03 UTC
4ca0bae settings.production: Allow "allowed" hosts list update 13 April 2019, 09:14:03 UTC
3b5582d admin/user/create: If collection not provided, fallback to username as the collection name 13 April 2019, 09:14:03 UTC
647306d deposit.cli: Rename server part to admin This subcommand is really about admin commands 13 April 2019, 09:14:03 UTC
ae5ff69 client: use a global logger 13 April 2019, 09:14:03 UTC
bccb601 cli: kill the unneeded dry-run option 13 April 2019, 09:14:03 UTC
7866eea config: do not overwrite the DJANGO_SETTINGS_MODULE if already defined 13 April 2019, 09:14:03 UTC
130bc96 cli/admin/user: add a user existence check useful e.g. in docker entrypoint.sh. 13 April 2019, 09:14:03 UTC
968d08c cli/admin/user: provide more information at creation namely provider-url and domain. 13 April 2019, 09:14:03 UTC
4639513 model: kill DepositRequestType in favor a simpler Choice in DepositRequest. 13 April 2019, 09:14:03 UTC
f5bfbf5 cli: fix service document parsing to retrieve collection 13 April 2019, 09:14:03 UTC
0dfada3 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 setup: extract server specific requirements in a dedicated 'server' extra 13 April 2019, 09:14:03 UTC
3a070ff Update coverage gitignore 12 April 2019, 10:03:08 UTC
e024f30 deposit.cli: Rename client subcommand to deposit 14 March 2019, 16:51:12 UTC
cba05aa swh.deposit.cli: Migrate client command as main cli subcommand 12 March 2019, 20:49:44 UTC
64e7901 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 swh.manage: Migrate manage to swh/deposit subfolder 24 February 2019, 18:08:40 UTC
57f54dc settings.production: Improve error message when missing information 24 February 2019, 09:01:59 UTC
62af09b dev-info: Update according to latest configuration change Related D1161 Related T1533 24 February 2019, 08:40:06 UTC
992f64c docs/sys-info: Update user creation routine documentation 24 February 2019, 08:37:56 UTC
515aede swh.deposit.cli: Document a tad further entrypoints 24 February 2019, 08:36:38 UTC
09dbcca swh-deposit user create: Create user's collection if need be 24 February 2019, 08:35:54 UTC
2e932c4 swh.deposit.cli: Add list subcommands (user, collection) 24 February 2019, 08:35:42 UTC
77a36c4 swh.deposit.cli: Use simple click.echo call 24 February 2019, 07:59:06 UTC
3ec8840 swh.deposit.cli: Add collection subtask 24 February 2019, 07:58:16 UTC
92ebfa6 setup.py: Expose the 2 cli entrypoints and avoid the clash names 24 February 2019, 07:23:33 UTC
ce40f37 swh.deposit.cli: Transform create_user into a main cli 24 February 2019, 07:23:17 UTC
822ab1d settings.production: Remove useless comment 20 February 2019, 16:35:01 UTC
d78aa00 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 requirements-swh.txt: Update minimal version required for loader-tar 19 February 2019, 13:28:16 UTC
7b06750 Remove debian packaging from master branch Related T1532 19 February 2019, 11:17:26 UTC
be7aeb9 deposit.loader.checker: Fix logger initialization Related P360 14 February 2019, 20:14:46 UTC
3e26744 swh/manage: Fix flake8 warning 04 February 2019, 10:43:34 UTC
8f92f18 Bump dependency on swh-scheduler 0.0.39 17 January 2019, 15:03:38 UTC
e276cc8 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 loader.scheduler: Remove non production code 20 December 2018, 16:41:21 UTC
cdf911d deposit.loader.tasks: Add tests 20 December 2018, 16:41:07 UTC
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
back to top