{% extends "layouts/base.html" %} {% block title %} Upload files to {{ release.short_display_name }} ~ ATR {% endblock title %} {% block description %} Add files to a release candidate. {% endblock description %} {% block content %}

← Back to Compose {{ release.short_display_name }} COMPOSE

Upload to {{ release.project.short_display_name }} {{ release.version }}

Use the browser Use SVN Use rsync

File upload

Use this form to add files to this candidate draft.

{{ form.csrf_token }}
{{ form.file_data(class_="form-control" + (" is-invalid" if form.file_data.errors else "") ) }} Select the files to upload {% if form.file_data.errors %} {% for error in form.file_data.errors %}
{{ error }}
{% endfor %} {% endif %}
{{ form.file_name(class_="form-control" + (" is-invalid" if form.file_name.errors else "") ) }} Enter a file name to use when saving the file in the release candidate, only available when uploading a single file {% if form.file_name.errors %} {% for error in form.file_name.errors %}
{{ error }}
{% endfor %} {% endif %}
{{ form.submit(class_="btn btn-primary mt-3") }}

SVN upload

Import files from a publicly readable Subversion repository URL into this draft.

The import will be processed in the background using the svn export command. You can monitor progress on the Evaluate files page for this draft once the task is queued.

{{ svn_form.hidden_tag() }}
{{ svn_form.svn_url(class_="form-control") }} {% if svn_form.svn_url.description %} {{ svn_form.svn_url.description }} {% endif %} {% if svn_form.svn_url.errors -%}
{{ svn_form.svn_url.errors[0] }}
{%- endif %}
{{ svn_form.revision(class_="form-control") }} {% if svn_form.revision.description %} {{ svn_form.revision.description }} {% endif %} {% if svn_form.revision.errors -%}
{{ svn_form.revision.errors[0] }}
{%- endif %}
{{ svn_form.target_subdirectory(class_="form-control") }} {% if svn_form.target_subdirectory.description %} {{ svn_form.target_subdirectory.description }} {% endif %} {% if svn_form.target_subdirectory.errors -%}
{{ svn_form.target_subdirectory.errors[0] }}
{%- endif %}
{{ svn_form.submit(class_="btn btn-primary mt-3") }}

Rsync upload

Import files from a remote server using rsync with the following command:

rsync -av -e 'ssh -p 2222' ${YOUR_FILES}/ {{ asf_id }}@{{ server_domain }}:/{{ release.project.name }}/{{ release.version }}/
{% include "user-ssh-keys.html" %} {% endblock content %}