<pre style='margin:0'>
Lawrence Velázquez (larryv) pushed a commit to branch master
in repository macports-www.
</pre>
<p><a href="https://github.com/macports/macports-www/commit/3f4acd2e2cd61fe80eb9c31ee63b04e3abd13c81">https://github.com/macports/macports-www/commit/3f4acd2e2cd61fe80eb9c31ee63b04e3abd13c81</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 3f4acd2 Switch portfile links from Trac to GitHub
</span>3f4acd2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3f4acd2e2cd61fe80eb9c31ee63b04e3abd13c81
</span>Author: Mojca Miklavec <mojca@macports.org>
AuthorDate: Fri Nov 4 12:30:25 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> Switch portfile links from Trac to GitHub
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also, users might expect the hyperlinked port name to go upstream, so
</span><span style='display:block; white-space:pre;color:#404040;'> move the portfile link to a "(source)" parenthetical.
</span>---
includes/common.inc | 2 ++
ports.php | 5 +++--
2 files changed, 5 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/includes/common.inc b/includes/common.inc
</span><span style='display:block; white-space:pre;color:#808080;'>index 7355738..8337197 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/includes/common.inc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/includes/common.inc
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,6 +16,8 @@ $macports_version_latest = '2.3.4';
</span>
# Some useful URL abstractions:
$trac_url = 'https://trac.macports.org/';
<span style='display:block; white-space:pre;background:#e0ffe0;'>+$github_url = 'https://github.com/macports/';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+$github_url_ports = $github_url . 'macports-ports/';
</span> $svn_url = 'https://svn.macports.org/repository/macports/';
$normal_downloads = 'https://distfiles.macports.org/MacPorts/';
$sf_downloads = 'http://downloads.sourceforge.net/project/macports/MacPorts/' . $macports_version_latest . '/';
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ports.php b/ports.php
</span><span style='display:block; white-space:pre;color:#808080;'>index d31b94b..7dc22a4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/ports.php
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ports.php
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -178,8 +178,9 @@
</span> $row = pg_fetch_assoc($result), $i++) {
/* Port name and Portfile URL */
<span style='display:block; white-space:pre;background:#ffe0e0;'>- print "<dt><b><a href=\"${trac_url}browser/trunk/dports/" . $row['path'] . "/Portfile\">" . htmlspecialchars($row['name'])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- . '</a></b> ' . htmlspecialchars($row['version']) . '</dt>';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ print '<dt><b>' . htmlspecialchars($row['name']) . '</b> ' . htmlspecialchars($row['version'])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ . ' <i>(<a href="' . htmlspecialchars($github_url_ports . 'blob/master' . $row['path'] . '/Portfile')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ . '">source</a>)</i></dt>';
</span>
print '<dd>';
/* Port short description */
</pre><pre style='margin:0'>
</pre>