svn commit: r242635 - in projects/portbuild: conf scripts
Mark Linimon
linimon at FreeBSD.org
Mon Nov 5 23:36:25 UTC 2012
Author: linimon (doc,ports committer)
Date: Mon Nov 5 23:36:24 2012
New Revision: 242635
URL: http://svnweb.freebsd.org/changeset/base/242635
Log:
Switch the canonical website references from CVS to SVN.
Modified:
projects/portbuild/conf/server.conf
projects/portbuild/scripts/processfail
projects/portbuild/scripts/processlogs
projects/portbuild/scripts/processlogs2
Modified: projects/portbuild/conf/server.conf
==============================================================================
--- projects/portbuild/conf/server.conf Mon Nov 5 23:20:48 2012 (r242634)
+++ projects/portbuild/conf/server.conf Mon Nov 5 23:36:24 2012 (r242635)
@@ -102,12 +102,13 @@ MASTER_URL="pointyhat-west.isc.FreeBSD.o
# vcs-specific definitions
#
+# XXX MCL 20121104 fix me!
VCS="cvs"
VCS_UPDATE_DATE="-Rq update -PdA -D"
VCS_UPDATE_TAG="-Rq update -PdA -r"
-VCSWEB="http://cvsweb.freebsd.org"
+VCSWEB="http://svnweb.freebsd.org/ports/head"
#
# www definitions (see processfail)
Modified: projects/portbuild/scripts/processfail
==============================================================================
--- projects/portbuild/scripts/processfail Mon Nov 5 23:20:48 2012 (r242634)
+++ projects/portbuild/scripts/processfail Mon Nov 5 23:36:24 2012 (r242635)
@@ -60,7 +60,7 @@ sort -r -n -k 4 -t \| failure > newfailu
IFS='|'
while read dir name ver date last count; do
echo "<tr>" >> $of
- echo "<td><a href=\"${VCSWEB}/ports/$dir\">$dir</a></td>" >> $of
+ echo "<td><a href=\"${VCSWEB}/$dir\">$dir</a></td>" >> $of
if [ -L ${pbd}/${arch}/${branch}/latest/${dir} ]; then
err=$(readlink ${pbd}/${arch}/${branch}/latest/${dir})
echo "<td><a href=\"${arch}-errorlogs/$(basename $(dirname ${err}))/$(basename ${err})\">$ver</a></td>" >> $of
@@ -69,7 +69,7 @@ while read dir name ver date last count;
fi
# echo "<td align=\"right\">$affby</td><td align=\"right\">$4 Kb</td>" >> $of
-# echo "<td><a href=\"${VCSWEB}/ports/$5\">$5</a></td>" >> $of
+# echo "<td><a href=\"${VCSWEB}/$5\">$5</a></td>" >> $of
# echo "<td><a href=\"mailto:$6\">$6</a></td>" >> $of
# echo "<td>" >> $of
Modified: projects/portbuild/scripts/processlogs
==============================================================================
--- projects/portbuild/scripts/processlogs Mon Nov 5 23:20:48 2012 (r242634)
+++ projects/portbuild/scripts/processlogs Mon Nov 5 23:36:24 2012 (r242635)
@@ -159,7 +159,7 @@ footer() {
#
# Create "default" output, sorted on portname
#
-header "<th>Port</th><th>Aff.</th><th>Size</th><th>CVS</th><th>Maintainer</th><th>Reason</th><th>Build date</th>"
+header "<th>Port</th><th>Aff.</th><th>Size</th><th>SVN</th><th>Maintainer</th><th>Reason</th><th>Build date</th>"
if [ ${n_logs} -gt 0 ]; then
sort .logs/.all | while read line; do
@@ -178,7 +178,7 @@ sort .logs/.all | while read line; do
affby="$3"
test "${affby}" = "0" -o "${affby}" = "-1" && affby=" "
echo "<td align=\"right\">${affby}</td><td align=\"right\">$4 Kb</td>" >> $of
- echo "<td><a href=\"${VCSWEB}/ports/$5\">$5</a></td>" >> $of
+ echo "<td><a href=\"${VCSWEB}/$5\">$5</a></td>" >> $of
echo "<td>$mailto</td>" >> $of
echo "<td>" >> $of
@@ -200,7 +200,7 @@ mv -f $of index.html
#
# Create output by category
#
-header "<th>CVS</th><th>Aff.</th><th>Size</th><th>Port</th><th>Maintainer</th><th>Reason</th><th>Build date</th>"
+header "<th>SVN</th><th>Aff.</th><th>Size</th><th>Port</th><th>Maintainer</th><th>Reason</th><th>Build date</th>"
if [ ${n_logs} -gt 0 ]; then
sort -t \| +4 .logs/.all | while read line; do
@@ -214,7 +214,7 @@ sort -t \| +4 .logs/.all | while read li
echo "<tr>" >> $of
- echo "<td><a href=\"${VCSWEB}/ports/$5\">$5</a></td>" >> $of
+ echo "<td><a href=\"${VCSWEB}/$5\">$5</a></td>" >> $of
affby="$3"
test "${affby}" = "0" -o "${affby}" = "-1" && affby=" "
@@ -241,7 +241,7 @@ mv -f $of index-category.html
#
# Create output by maintainer
#
-header "<th>Maintainer</th><th>Port</th><th>Aff.</th><th>Size</th><th>CVS</th><th>Reason</th><th>Build date</th>"
+header "<th>Maintainer</th><th>Port</th><th>Aff.</th><th>Size</th><th>SVN</th><th>Reason</th><th>Build date</th>"
if [ ${n_logs} -gt 0 ]; then
sort -t \| +5 .logs/.all | while read line; do
@@ -261,7 +261,7 @@ sort -t \| +5 .logs/.all | while read li
affby="$3"
test "${affby}" = "0" -o "${affby}" = "-1" && affby=" "
echo "<td align=\"right\">${affby}</td><td align=\"right\">$4 Kb</td>" >> $of
- echo "<td><a href=\"${VCSWEB}/ports/$5\">$5</a></td>" >> $of
+ echo "<td><a href=\"${VCSWEB}/$5\">$5</a></td>" >> $of
echo "<td>" >> $of
test "$9" = "broken" && echo "<font color=\"red\">[B]</font>" >> $of
@@ -282,7 +282,7 @@ mv -f $of index-maintainer.html
#
# Create output by error
#
-header "<th>Reason</th><th>Port</th><th>Aff.</th><th>Size</th><th>CVS</th><th>Maintainer</th><th>Build date</th>"
+header "<th>Reason</th><th>Port</th><th>Aff.</th><th>Size</th><th>SVN</th><th>Maintainer</th><th>Build date</th>"
if [ ${n_logs} -gt 0 ]; then
sort -t \| +7 .logs/.all | while read line; do
@@ -307,7 +307,7 @@ sort -t \| +7 .logs/.all | while read li
affby="$3"
test "${affby}" = "0" -o "${affby}" = "-1" && affby=" "
echo "<td align=\"right\">${affby}</td><td align=\"right\">$4 Kb</td>" >> $of
- echo "<td><a href=\"${VCSWEB}/ports/$5\">$5</a></td>" >> $of
+ echo "<td><a href=\"${VCSWEB}/$5\">$5</a></td>" >> $of
echo "<td>$mailto</td>" >> $of
date=`echo ${10} | sed -e "s/_/ /g"`
@@ -323,7 +323,7 @@ mv -f $of index-reason.html
#
# Create output by builddate
#
-header "<th>Build date</th><th>Port</th><th>Aff.</th><th>Size</th><th>CVS</th><th>Maintainer</th><th>Reason</th>"
+header "<th>Build date</th><th>Port</th><th>Aff.</th><th>Size</th><th>SVN</th><th>Maintainer</th><th>Reason</th>"
if [ ${n_logs} -gt 0 ]; then
sort -t \| +9 .logs/.all | while read line; do
@@ -346,7 +346,7 @@ sort -t \| +9 .logs/.all | while read li
affby="$3"
test "${affby}" = "0" -o "${affby}" = "-1" && affby=" "
echo "<td align=\"right\">${affby}</td><td align=\"right\">$4 Kb</td>" >> $of
- echo "<td><a href=\"${VCSWEB}/ports/$5\">$5</a></td>" >> $of
+ echo "<td><a href=\"${VCSWEB}/$5\">$5</a></td>" >> $of
echo "<td>$mailto</td>" >> $of
echo "<td>" >> $of
Modified: projects/portbuild/scripts/processlogs2
==============================================================================
--- projects/portbuild/scripts/processlogs2 Mon Nov 5 23:20:48 2012 (r242634)
+++ projects/portbuild/scripts/processlogs2 Mon Nov 5 23:36:24 2012 (r242635)
@@ -38,7 +38,7 @@ else
echo -n "$size KB" >>$of
echo -n "</td><td valign=\"top\">" >>$of
dir=$(sed -n -e '5p' $log.log | awk '{print $3}' | sed -e 's,^/[^/]*/[^/]*/,,')
- echo -n "<a href=\"${VCSWEB}/ports/$dir\">$dir</a>" >>$of
+ echo -n "<a href=\"${VCSWEB}/$dir\">$dir</a>" >>$of
echo -n "</td><td valign=\"top\">" >>$of
maint=$(sed -n -e '4p' $log.log | awk '{print $3}')
maints="$maints $maint"
More information about the svn-src-projects
mailing list