<%namespace file="/message.mako" import="render_msg" /> <%namespace file="/webapps/tool_shed/repository/common.mako" import="*" /> <%namespace file="/webapps/tool_shed/common/repository_actions_menu.mako" import="render_tool_shed_repository_actions" /> <% is_new = repository.is_new( trans.app ) %> <%! def inherit(context): if context.get('use_panels'): return '/webapps/tool_shed/base_panels.mako' else: return '/base.mako' %> <%inherit file="${inherit(context)}"/> <%def name="stylesheets()"> ${parent.stylesheets()} ${h.css( "libs/jquery/jquery.rating", "dynatree_skin/ui.dynatree" )} <%def name="javascripts()"> ${parent.javascripts()} ${h.js( "libs/jquery/jquery-ui", "libs/jquery/jquery.cookie", "libs/jquery/jquery.dynatree" )} ${common_javascripts(repository)} %if message: ${render_msg( message, status )} %endif ${render_tool_shed_repository_actions( repository=repository)}
Upload a single file or tarball. Uploading may take a while, depending upon the size of the file. Wait until a message is displayed in your browser after clicking the Upload button below.
Repository '${repository.name | h}'
Enter a url to upload your files. In addition to http and ftp urls, urls that point to mercurial repositories (urls that start with hg:// or hgs://) are allowed. This mechanism results in the tip revision of an external mercurial repository being added to the Tool Shed repository as a single new changeset. The revision history of the originating external mercurial repository is not uploaded to the Tool Shed repository.
<% if uncompress_file: yes_selected = 'selected' no_selected = '' else: yes_selected = '' no_selected = 'selected' %>
Supported compression types are gz and bz2. If Yes is selected, the uploaded file will be uncompressed. However, if the uploaded file is an archive that contains compressed files, the contained files will not be uncompressed. For example, if the uploaded compressed file is some_file.tar.gz, some_file.tar will be uncompressed and extracted, but if some_file.tar contains some_contained_file.gz, the contained file will not be uncompressed.
%if not is_new:
<% if remove_repo_files_not_in_tar: yes_selected = 'selected' no_selected = '' else: yes_selected = '' no_selected = 'selected' %>
This selection pertains only to uploaded tar archives, not to single file uploads. If Yes is selected, files that exist in the repository (relative to the root or selected upload point) but that are not in the uploaded archive will be removed from the repository. Otherwise, all existing repository files will remain and the uploaded archive files will be added to the repository.
%endif
%if commit_message:
%else: %endif
This is the commit message for the mercurial change set that will be created by this upload.
%if not repository.is_new( trans.app ):
Loading...
Select a location within the repository to upload your files by clicking a check box next to the location. The selected location is considered the upload point. If a location is not selected, the upload point will be the repository root.
%endif