[aur-dev] [PATCH 1/2] home: Add submitting packages section

Johannes Löthberg johannes at kyriasis.com
Sun Jun 14 12:41:13 UTC 2015


Links to ArchWiki and lists any SSH fingerprints configured in tho AUR
config file

Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
---
 web/html/home.php | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/web/html/home.php b/web/html/home.php
index 6b54af3..84df361 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 __(
+				'From AUR 4 Git is used to submit packages to the AUR over SSH. See the %sAUR4 section%s 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_key_exists('fingerprints')) {
+				echo __('Following are the SSH fingerprints for the AUR:');
+				echo '<ul>';
+				foreach (config_items('fingerprints') as $type => $fingerprint) {
+					echo "<ul>$type: $fingerprint</ul>";
+				}
+				echo '</ul>';
+			}
+			?>
+			</div>
 			<h4><?= __('Discussion') ?></h4>
 			<div class="article-content">
 			<p>
-- 
2.4.2


More information about the aur-dev mailing list