Make the location of the actual buildlog/errolog archives unambigious.

Add instructions for the symlinks that I previously missed.  Clarify a
few comments.
This commit is contained in:
Mark Linimon 2010-01-26 03:24:58 +00:00
parent 7a930f10bb
commit d904687e77
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=35246

View file

@ -21,6 +21,7 @@
<year>2007</year>
<year>2008</year>
<year>2009</year>
<year>2010</year>
<holder role="mailto:portmgr@FreeBSD.org">The &os; Ports
Management Team</holder>
</copyright>
@ -1897,6 +1898,7 @@ ln -s ../<replaceable>arch</replaceable>/<replaceable>branch</replaceable>/build
ln -s ../<replaceable>arch</replaceable>/<replaceable>branch</replaceable>/builds/latest/bak/logs <replaceable>arch</replaceable>-<replaceable>branch</replaceable>-full-logs
ln -s ../<replaceable>arch</replaceable>/<replaceable>branch</replaceable>/builds/latest/errors <replaceable>arch</replaceable>-<replaceable>branch</replaceable>-latest
ln -s ../<replaceable>arch</replaceable>/<replaceable>branch</replaceable>/builds/latest/logs <replaceable>arch</replaceable>-<replaceable>branch</replaceable>-latest-logs
ln -s ../<replaceable>arch</replaceable>/<replaceable>branch</replaceable>/builds/latest/bak/packages <replaceable>arch</replaceable>-<replaceable>branch</replaceable>-packages-full
ln -s ../<replaceable>arch</replaceable>/<replaceable>branch</replaceable>/builds/latest/packages <replaceable>arch</replaceable>-<replaceable>branch</replaceable>-packages-latest</screen>
</para>
</listitem>
@ -1924,18 +1926,32 @@ ln -s ../<replaceable>arch</replaceable>/<replaceable>branch</replaceable>/build
</listitem>
<listitem>
<screen>mkdir /var/portbuild/<replaceable>arch</replaceable></screen>
<screen>mkdir /var/portbuild/<replaceable>arch</replaceable>; cd /var/portbuild/<replaceable>arch</replaceable></screen>
</listitem>
<listitem>
<para>Create a new <application>zfs</application> filesystem
for backups:
<para>Create a new <application>zfs</application> filesystem:
<screen>zfs create -o mountpoint=/a/portbuild/<replaceable>arch</replaceable> a/portbuild/<replaceable>arch</replaceable></screen>
</para>
</listitem>
<listitem>
<para>Create a link for the webserver:
<para>Create a directory for buildlogs and errorlogs:
<screen>mkdir /dumpster/pointyhat/<replaceable>arch</replaceable>/archive</screen>
</para>
<note>
<para>It is possible that <filename>/dumpster/pointyhat</filename>
will not have enough space. In that case, create the archive
directory as
<filename>/dumpster/pointyhat/<replaceable>arch</replaceable>/archive</filename>
and symlink to that. (This needs to be sorted out.)
</para>
</note>
</listitem>
<listitem>
<para>Create a link to the above for the webserver:
<screen>ln -s /dumpster/pointyhat/<replaceable>arch</replaceable>/archive archive</screen>
</para>
</listitem>
@ -1963,13 +1979,13 @@ ln -s ../<replaceable>arch</replaceable>/<replaceable>branch</replaceable>/build
</listitem>
<listitem>
<para>(TBD if still needed?) Create
<para>(Apparently no longer needed?) Create
<filename>pnohang.<replaceable>arch</replaceable></filename>.</para>
</listitem>
<listitem>
<para>Create a fresh <filename>portbuild.conf</filename> file
from one of the others.</para>
from one of the ones for another architecture.</para>
</listitem>
<listitem>
@ -1998,12 +2014,6 @@ ln -s ../<replaceable>arch</replaceable>/<replaceable>branch</replaceable>/build
scripts needed.</para>
</listitem>
<listitem>
<para>Create a link for backups:
<screen>mkdir /dumpster/pointyhat/<replaceable>arch</replaceable>/archive</screen>
</para>
</listitem>
<listitem>
<para>Tell <application>qmanager</application> about the arch:
<screen>python /var/portbuild/evil/qmanager/qclient add_acl name=ports-<replaceable>arch</replaceable> uidlist=ports-<replaceable>arch</replaceable> gidlist=portmgr sense=1</screen></para>
@ -2019,6 +2029,12 @@ ln -s ../<replaceable>arch</replaceable>/<replaceable>branch</replaceable>/build
<filename>/var/portbuild/scripts/zexpire</filename>.</para>
</listitem>
<listitem>
<para>In the <filename>/var/portbuild/errorlogs/</filename>
directory, create one more link for the webserver:<screen>
ln -s ../<replaceable>arch</replaceable>/archive/buildlogs <replaceable>arch</replaceable>-buildlogs</screen>
</listitem>
<listitem>
<para>For each branch that will be supported, do the following:
</para>