Commit Graph
837 Commits
Author SHA1 Message Date
Nicola Soranzo 4e7763d846 Add type annotations. Drop unused functions and re-exports. 2023-10-20 11:14:31 +01:00
Nicola Soranzo b85f2f10fa Fix get_users_with_repo_alert() call
Introduced in commit 1711e96dac .
2023-10-20 11:14:31 +01:00
John Davis 9c8d18fc2c Fix bug in SA statement: desc() applied to column, not statement 2023-10-19 10:39:25 -04:00
John Davis bf919c049c Fix SA2.0 usage in tool_shed.util.repository_util 2023-10-12 13:12:23 -04:00
John Davis 43500cf656 Fix SA2.0 usage in tool_shed.util.commit_util 2023-10-12 10:57:59 -04:00
John Davis b064064387 Fix SA2.0 usage in tool_shed.util.search_util 2023-10-12 10:57:59 -04:00
John Davis d4a0cce034 Fix SA2.0 usage in tool_shed.util.shed_index 2023-10-12 10:57:59 -04:00
John Davis 1711e96dac Fix SA2.0 usage in tool_shed.util.shed_util_common 2023-10-12 10:57:59 -04:00
John Davis a5a7d0675d Fix SA2.0 usage in tool_shed.util.metadata_util 2023-10-12 10:57:59 -04:00
John Davis a127685205 Improve function names for current users, groups, roles 2023-10-04 23:43:38 -04:00
John Davis fa07e87eae Optimize checking existing group by name 2023-10-04 23:43:38 -04:00
John Davis 316afb0b1d Optimize checking for existing role by name 2023-10-04 23:43:38 -04:00
John Davis ce9cdc9c29 Optimize email autocomplete string 2023-10-04 23:43:38 -04:00
John Davis e7884f2ea4 Fix SA2.0 usage in tool_shed.util.admin_util 2023-10-04 23:43:38 -04:00
John Chilton 7dc0b1378b WIP: modern tool shed frontend 2023-09-27 14:30:42 -04:00
John Chilton 04e75635f5 Option config_hg_for_dev... 2023-09-26 13:47:00 -04:00
John Chilton d1d629074b ToolShed API 2.0 2023-09-26 13:46:58 -04:00
John Chilton 698d58eed4 WIP: Implement dry_run in upload API. 2023-09-26 13:46:58 -04:00
John Chilton bb468a28cd Less encoding in toolshed app to adapt to functions... 2023-09-26 13:46:57 -04:00
John Chilton 9e7fafb8a5 Remove contact owner functionality from the tool shed - use github please. 2023-09-26 13:46:57 -04:00
John Chilton 5a4e950f08 metadata_generator: Typing has improved to the point that we can annotate this. 2023-09-26 13:46:56 -04:00
John Chilton 55564b67d7 Remove upload_point upload logic in tool shed.
Not used by planemo and not tested by any tests.
2023-09-26 13:46:56 -04:00
John Chilton b66a0bc175 More integration-y unit tests for tool shed... 2023-09-26 13:46:56 -04:00
John Chilton 8852f0733b Progress toward exercising less of the tool shed upload API.
So we can kill it.
2023-09-26 13:46:56 -04:00
John Chilton 2fa165781b Use repository manager to capture more of the upload process. 2023-09-26 13:46:55 -04:00
John Chilton e611a9566a Move generate_clone_url_for_repository_in_tool_shed into tool shed. 2023-09-26 13:46:55 -04:00
John Chilton 10ce48780b Refactor a tool_shed-only utility into tool shed code. 2023-09-26 13:46:53 -04:00
John Davis 7a0e66e96c Move get_user_by_username function to managers.users 2023-08-08 00:52:59 -04:00
John Davis b4e843cecb Fix select([foo]) in lib/tool_shed 2023-07-19 11:05:55 -04:00
John Davis 8d2998ffd1 Wrap session.flush in TS util.admin_util 2023-06-09 13:05:26 -04:00
John Davis c1236c1cba Wrap session.flush in TS util.repository_util 2023-06-09 13:05:26 -04:00
John Davis a000f3b929 Wrap session.flush in TS util.metadata_util 2023-06-09 13:05:26 -04:00
Martin Cech 4e8b2fed9b Merge pull request #15540 from jmchilton/shed_cleanup_2
Another round of easy tool shed cleanup.
2023-05-04 18:24:50 -04:00
Nicola Soranzo c210257e0d Fix new UP031 errors raised by ruff 0.0.262 2023-05-03 17:57:06 +01:00
Nicola Soranzo 64af46c4ae Fix new B018 errors raised by ruff 0.0.260 2023-04-13 16:53:01 +01:00
John Chilton 0a41523a27 Typing fixes 2023-04-08 16:34:07 -04:00
John Chilton 747b291398 Some initial typing for shed's metadata_util. 2023-04-08 16:34:06 -04:00
John Chilton 6aeb297942 Remove unused code in search_util. 2023-04-08 16:34:06 -04:00
John Chilton 79fd5915c3 More typing for repository_util. 2023-04-08 16:34:05 -04:00
John Chilton 18f73b5532 Some initial type checking for shed_util_common.py 2023-02-03 13:47:38 -05:00
John Chilton 5d49042db9 Remove unused code from shed_util_common.py 2023-02-03 13:47:38 -05:00
John Chilton 089d8abf2e Interface for tool shed trans... 2023-02-03 13:47:38 -05:00
John Chilton 8a74a550bc A little cleanup of suc. 2023-02-03 13:47:38 -05:00
John Chilton e0887dce68 Improved type signature for repository_util. 2023-02-03 13:47:38 -05:00
John Chilton 86d5ab6bb3 Typing for various tool shed utilities. 2023-02-03 13:47:38 -05:00
John Chilton e87697bb9d Refactor tool_util only used by tool_shed code into tool_shed. 2023-02-03 13:47:38 -05:00
John Chilton 03f3f0ee0a Improved dependency imports in readme_util. 2022-10-17 16:09:55 -04:00
John Davis b1c912f179 Merge pull request #14744 from jmchilton/cleanup_ts_dependency_structure
Small cleanups to shed package dependency structures
(integration test failure unrelated)
2022-10-07 11:26:42 -04:00
John Chilton 94c8218d48 setup service and fastapi layer for tool shed APIs... 2022-10-01 09:14:03 -04:00
John Chilton fe83d9e083 Move repository_util function into legacy code in only place used.
Eliminates a galaxy -> tool shed import and centralizes legacy code.
2022-09-30 14:04:26 -04:00