[aur-dev] [PATCH] Clarify that HTTPs clone URIs are for read-only access

Lukas Fleischer lfleischer at archlinux.org
Wed Jun 17 15:08:15 UTC 2015


Fixes FS#45335.

Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 web/template/pkg_details.php     | 2 +-
 web/template/pkgbase_details.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index ae49e24..90e5729 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -171,7 +171,7 @@ $sources = pkg_sources($row["ID"]);
 		<tr>
 			<th><?= __('Git Clone URL') . ': ' ?></th>
 			<td>
-				<a href="<?= $git_clone_uri_anon ?>"><?= $git_clone_uri_anon ?></a>
+				<a href="<?= $git_clone_uri_anon ?>"><?= $git_clone_uri_anon ?></a> (<?= __('read-only') ?>)
 				<?php if ($uid == $row["MaintainerUID"]): ?>
 				<br /> <a href="<?= $git_clone_uri_priv ?>"><?= $git_clone_uri_priv ?></a>
 				<?php endif; ?>
diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php
index fa24e12..9989369 100644
--- a/web/template/pkgbase_details.php
+++ b/web/template/pkgbase_details.php
@@ -122,7 +122,7 @@ $pkgs = pkgbase_get_pkgnames($base_id);
 		<tr>
 			<th><?= __('Git Clone URL') . ': ' ?></th>
 			<td>
-				<a href="<?= $git_clone_uri_anon ?>"><?= $git_clone_uri_anon ?></a>
+				<a href="<?= $git_clone_uri_anon ?>"><?= $git_clone_uri_anon ?></a> (<?= __('read-only') ?>)
 				<?php if ($uid == $row["MaintainerUID"]): ?>
 				<br /> <a href="<?= $git_clone_uri_priv ?>"><?= $git_clone_uri_priv ?></a>
 				<?php endif; ?>
-- 
2.4.3


More information about the aur-dev mailing list