Commit Graph
18 Commits
Author SHA1 Message Date
Greg Von Kuster e01cc26dd1 Fixes and code cleanup for the tool shed's install and test framework. 2014-01-20 11:48:05 -05:00
Dannon Baker c1558e8205 One more simplejson/json fix that slipped through the merge. 2014-01-10 07:42:58 -05:00
Dannon Baker a40457ab09 Merge. 2014-01-10 07:40:02 -05:00
Dannon Baker 559ecb4ec8 Remove dependency on simplejson; convert everything over to using the json module in the python standard library. 2014-01-10 07:29:05 -05:00
Greg Von Kuster 3014265a07 Tool Shed API fixes and code cleanup. 2014-01-09 15:59:18 -05:00
Greg Von Kuster 00857760f0 Fixes for filtering repository revision to be tested by the Tool Shed's install and test framework, and a new Tool Shed API script to enable analyzing the the Tool Shed's install and test framework. 2013-12-03 15:16:14 -05:00
Greg Von Kuster f96fdc565f Fixes for the tool shed's install and test framework and enhancements to allow a configurable number of test runs to be stored and displayed. 2013-11-27 15:28:03 -05:00
Greg Von Kuster 6b431f44fc Enhance the Tool Shed API to enable importing a repository capsule. 2013-11-08 16:51:25 -05:00
Greg Von Kuster ba857229c9 Restrict diff file size to something reasonable when browsing changesets in the Tool shed, and add some additional logging and error handling when setting metadata on repositories in the tool shed and Galaxy. 2013-10-18 13:07:37 -04:00
Greg Von Kuster 8f2bdd7816 Allow for skipping specified repositories when setting metadata in the tool shed. 2013-10-17 11:18:05 -04:00
Greg Von Kuster c90c0e503b Enhance the Tool Shed API feature supporting resetting metadata on certain repositories to allow for individual repositories per request. 2013-10-16 16:29:00 -04:00
Greg Von Kuster a610d0d458 Enhance the Tool Shed and Galaxy APIs to support resetting metadata on repositories in the Tool Shed or installed into Galaxy respectively. When resetting repository metadata in the Tool Shed, if the API key is associated with an admin user, then setting the my_writable param value to True will restrict resetting metadata to only repositories that are writable by the user in addition to those repositories of type tool_dependency_definition. This param is ignored if the current user is not an admin user, in which case this same restriction is automatic. Also, when resetting metadata in the Tool Shed, repositories of type tool_dependency_definition are reset before repositories of type unrestricted. When setting metadata for installed repositories in Galaxy, neither repository types nor order are considered since these concepts are irrelevant in that environment. 2013-10-16 14:19:26 -04:00
Dannon Baker 0f120bd92c Strip trailing whitespace (and windows line endings) from all python files in lib 2013-08-29 23:39:52 -04:00
Greg Von Kuster ba17fe567b Enhance the generated name of the archive file created when exporting a tool shed repository. 2013-08-05 15:59:49 -04:00
Greg Von Kuster cf96dccddb Add the ability to export a specified repository revision from the tool shed to a gzip compressed archive saved locally. The ability to import this archive to the same or another tool shed is not yet implemented, but coming soon. All of the repository's repository dependencies can optionally be exported into the same archive. The archive includes a manifest.xml file that contains the order in whcih the repositories in the archive must be imported.
This feature is now available for any installable revision of a repository using the new "Export this revision" option in the Repository actions menu in the browser.  It is also available via the Tool Shed API using a command like the following:

export.py --url http://testtoolshed.g2.bx.psu.edu --name chemicaltoolbox --owner bgruening --revision 4133dbf7ff4d --export_repository_dependencies True --download_dir /tmp
2013-08-02 19:30:03 -04:00
Greg Von Kuster 97ec214602 Tool shed database migration script to alter the repository_metadata table by dropping the tool_test_errors column and adding columns tool_test_results, missing_test_components. 2013-04-25 09:36:52 -04:00
Greg Von Kuster 6267972180 Refactor several methods in Galaxy's admin_toolshed controller in preparation for supporting installing tool shed repositories via the tool shed and Galaxy APIs. 2013-03-23 10:44:46 -04:00
Greg Von Kuster d791d11683 Move the tool_shed_repository_revision_update.py api example script to ~/lib/tool_shed/scripts/api 2013-03-21 10:58:11 -04:00