summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-06-14 17:17:01 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-14 17:58:56 +0200
commitfd1794a737dba34ab35c2c712133ee0301608459 (patch)
tree51a753f6f8c14c5ffd4dd3c5635dfd4fd3abfe0e /web/html
parent815e437f0c1889167b4005941404e05bb742416e (diff)
downloadaur-fd1794a737dba34ab35c2c712133ee0301608459.tar.gz
aur-fd1794a737dba34ab35c2c712133ee0301608459.tar.xz
home: Add submitting packages section
Link to the ArchWiki and lists any SSH fingerprints configured in the AUR configuration file. Fixes FS#45322. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/home.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/web/html/home.php b/web/html/home.php
index 6b54af3a..3252876f 100644
--- a/web/html/home.php
+++ b/web/html/home.php
@@ -71,6 +71,28 @@ html_header( __("Home") );
?>
</p>
</div>
+ <h4><?= __('Submitting Packages') ?></h4>
+ <div class="article-content">
+ <p>
+ <?php
+ echo __(
+ 'Git over SSH is now used to submit packages to the AUR. See the %sSubmitting packages%s section of the Arch User Repository ArchWiki page for more details.',
+ '<a href="https://wiki.archlinux.org/index.php/Arch_User_Repository#AUR_4">',
+ '</a>'
+ );
+ ?>
+ </p>
+ <?php if (config_section_exists('fingerprints')): ?>
+ <p>
+ <?= __('The following SSH fingerprints are used for the AUR:') ?>
+ </p>
+ <ul>
+ <?php foreach (config_items('fingerprints') as $type => $fingerprint): ?>
+ <li><code><?= htmlspecialchars($type) ?></code>: <code><?= htmlspecialchars($fingerprint) ?></code></li>
+ <?php endforeach; ?>
+ </ul>
+ <?php endif; ?>
+ </div>
<h4><?= __('Discussion') ?></h4>
<div class="article-content">
<p>