1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/a0eda112fa3b/ Changeset: a0eda112fa3b User: martenson Date: 2014-11-25 17:27:56+00:00 Summary: provide defaults for remote_repository_url and homepage_url, move the optional arguments to the end of the list Affected #: 2 files
diff -r 624c1f52f62771dda89de969eed67c94c4bfeef5 -r a0eda112fa3b6456a5ae663ff2ddcc0137c87714 lib/galaxy/webapps/tool_shed/controllers/repository.py --- a/lib/galaxy/webapps/tool_shed/controllers/repository.py +++ b/lib/galaxy/webapps/tool_shed/controllers/repository.py @@ -1084,12 +1084,12 @@ repository, message = repository_util.create_repository( trans.app, name, repository_type, - remote_repository_url, - homepage_url, description, long_description, user_id=trans.user.id, - category_ids=category_ids ) + category_ids=category_ids, + remote_repository_url=remote_repository_url, + homepage_url=homepage_url ) trans.response.send_redirect( web.url_for( controller='repository', action='manage_repository', message=message,
diff -r 624c1f52f62771dda89de969eed67c94c4bfeef5 -r a0eda112fa3b6456a5ae663ff2ddcc0137c87714 lib/tool_shed/util/repository_util.py --- a/lib/tool_shed/util/repository_util.py +++ b/lib/tool_shed/util/repository_util.py @@ -120,7 +120,7 @@ tool_dependencies ) return repo_info_dict
-def create_repository( app, name, type, remote_repository_url, homepage_url, description, long_description, user_id, category_ids=[] ): +def create_repository( app, name, type, description, long_description, user_id, category_ids=[], remote_repository_url=None, homepage_url=None ): """Create a new ToolShed repository""" sa_session = app.model.context.current # Add the repository record to the database.
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
galaxy-commits@lists.galaxyproject.org