{% extends "moneta/base_package.html" %}{% load staticfiles i18n moneta %} {% block extrahead %} {% endblock %} {% block repo_content %}
--- # gem: --no-rdoc --no-ri # :verbose: true # :backtrace: false # :update_sources: true :sources: - {{ absolute_url }}{{ tab_info.0 }}{% if use_https %} cert = {% trans '/Path/to/your/ROOT/CA.pem' %}{% endif %}{% if upload_allowed %}
FILENAME=filename-version.gem {% curl %} --data-binary @$FILENAME {{ absolute_url }}{% url 'moneta:add_element_post' rid=repo.id %}\?filename=$FILENAME{% for state in tab_info.1 %}\&states={{ state }}{% endfor %}{% endif %} {% trans 'Run the following command to re-index packages after an upload:' %} {% with view=repo|auth_moneta_url:"force_index" %}
{% curl %} {{ absolute_url }}{% url view rid=repo.id repo_slug=repo.slug %}{% endwith %}