www-es-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU-traductores] gnudist:/home/www/html/server/standards/README.savanna


From: gnudist's file diff daemon
Subject: [GNU-traductores] gnudist:/home/www/html/server/standards/README.savannah.html -- recent changes
Date: Mon, 12 Mar 2001 05:32:40 -0800 (PST)

This is an automated report from gnudist.
Recent changes to /home/www/html/server/standards/README.savannah.html:

  44 -rw-rw-r--   1 webcvs   www         43284 Mar 11 12:55 
/home/www/html/server/standards/README.savannah.html

diff  -u  
/home/diffmon/old_file_dir/gnudist:!home!www!html!server!standards!README.savannah.html.gz
 /home/www/html/server/standards/README.savannah.html
--- /tmp/diffmon8151    Mon Mar 12 05:32:40 2001
+++ /home/www/html/server/standards/README.savannah.html        Sun Mar 11 
12:55:54 2001
@@ -48,9 +48,10 @@
 
 </p><li><a href="#Import%20repositories">Import repositories</a>: 
 <li><a href="#Sources%20CVS%20repositories">Sources CVS repositories</a>: 
+<li><a href="#Source%20CVS%20tarbals">Source CVS tarbals</a>: 
 <li><a href="#Web%20CVS%20repositories">Web CVS repositories</a>: 
 <li><a href="#Web%20CVS%20Symbolic%20links">Web CVS Symbolic links</a>: 
-<li><a href="#Web%20CVS%20top%20level%20directories">Web CVS top level 
directories</a>: 
+<li><a href="#Sync%20of%20www.gnu.or%20on%20commit">Sync of www.gnu.or on 
commit</a>: 
 <li><a href="#Web%20CVS%20and%20Projects">Web CVS and Projects</a>:
 
 <p>Database
@@ -165,9 +166,10 @@
 <ul>
 <li><a href="#Import%20repositories">Import repositories</a>: 
 <li><a href="#Sources%20CVS%20repositories">Sources CVS repositories</a>: 
+<li><a href="#Source%20CVS%20tarbals">Source CVS tarbals</a>: 
 <li><a href="#Web%20CVS%20repositories">Web CVS repositories</a>: 
 <li><a href="#Web%20CVS%20Symbolic%20links">Web CVS Symbolic links</a>: 
-<li><a href="#Web%20CVS%20top%20level%20directories">Web CVS top level 
directories</a>: 
+<li><a href="#Sync%20of%20www.gnu.or%20on%20commit">Sync of www.gnu.or on 
commit</a>: 
 <li><a href="#Web%20CVS%20and%20Projects">Web CVS and Projects</a>: 
 </ul>
 
@@ -195,7 +197,7 @@
 
 <p><hr>
 Node:<a name="Sources%20CVS%20repositories">Sources CVS repositories</a>,
-Next:<a rel=next href="#Web%20CVS%20repositories">Web CVS repositories</a>,
+Next:<a rel=next href="#Source%20CVS%20tarbals">Source CVS tarbals</a>,
 Previous:<a rel=previous href="#Import%20repositories">Import repositories</a>,
 Up:<a rel=up href="#CVS%20repositories">CVS repositories</a>
 <br>
@@ -245,9 +247,25 @@
 user/password pairs that are in the Savannah database.
 
 <p><hr>
+Node:<a name="Source%20CVS%20tarbals">Source CVS tarbals</a>,
+Next:<a rel=next href="#Web%20CVS%20repositories">Web CVS repositories</a>,
+Previous:<a rel=previous href="#Sources%20CVS%20repositories">Sources CVS 
repositories</a>,
+Up:<a rel=up href="#CVS%20repositories">CVS repositories</a>
+<br>
+
+<h2>Source CVS tarbals</h2>
+
+<p>The sf_backup script builds tarbals for each repository in the
+/subversions/cvs/software directory. Those tarbals are stored in
+the /subversions/cvs/software.backups directory and linked with the
+savannah.gnu.org:/cvs.backups URL. The tarbals are generated daily,
+only if at least one file in the repository is more recent than the
+tarbal.
+
+<p><hr>
 Node:<a name="Web%20CVS%20repositories">Web CVS repositories</a>,
 Next:<a rel=next href="#Web%20CVS%20Symbolic%20links">Web CVS Symbolic 
links</a>,
-Previous:<a rel=previous href="#Sources%20CVS%20repositories">Sources CVS 
repositories</a>,
+Previous:<a rel=previous href="#Source%20CVS%20tarbals">Source CVS tarbals</a>,
 Up:<a rel=up href="#CVS%20repositories">CVS repositories</a>
 <br>
 
@@ -283,7 +301,7 @@
 
 <p><hr>
 Node:<a name="Web%20CVS%20Symbolic%20links">Web CVS Symbolic links</a>,
-Next:<a rel=next href="#Web%20CVS%20top%20level%20directories">Web CVS top 
level directories</a>,
+Next:<a rel=next href="#Sync%20of%20www.gnu.or%20on%20commit">Sync of 
www.gnu.or on commit</a>,
 Previous:<a rel=previous href="#Web%20CVS%20repositories">Web CVS 
repositories</a>,
 Up:<a rel=up href="#CVS%20repositories">CVS repositories</a>
 <br>
@@ -309,28 +327,57 @@
 be ignored.
 
 <p><hr>
-Node:<a name="Web%20CVS%20top%20level%20directories">Web CVS top level 
directories</a>,
+Node:<a name="Sync%20of%20www.gnu.or%20on%20commit">Sync of www.gnu.or on 
commit</a>,
 Next:<a rel=next href="#Web%20CVS%20and%20Projects">Web CVS and Projects</a>,
 Previous:<a rel=previous href="#Web%20CVS%20Symbolic%20links">Web CVS Symbolic 
links</a>,
 Up:<a rel=up href="#CVS%20repositories">CVS repositories</a>
 <br>
 
-<h2>Web CVS top level directories</h2>
+<h2>Sync of www.gnu.or on commit</h2>
 
-<p>The /subversions/cvs/gnuweb/CVSROOT/loginfo file contains triggers that
+<p>The /subversions/cvs/gnuweb/CVSROOT/loginfo file contains a trigger that
 update the gnudist.gnu.org:/home/www/html directory whenever a commit
 is done. There is a single CVSROOT for all the projects that have a
 web repository.
 
-<p>When a top level directory is added in the webcvs repository a line
-must be added in the loginfo file to run webcvs whenever something is
-changed in this directory. This must be done manualy. Hopefully adding
-new top level directories is not a frequent operation and adding this
-is not too much overhead for the Savannah maintainer.
+<p>The /subversions/sourceforge/src/savannah/gnuscripts/sf_www_sync.c
+program was derived from the /usr/local/bin/webcvs.c program. It is
+called on each commit to keep the www.gnu.org web site in sync with
+the CVS repository.
+
+<p>The idea is to runs a cvs update -l (to prevent recursion) in the
+directory where the commit was done. Since the command will be called
+once for each directory where a commit did some action there is no
+need for recursion.
+
+<p>The %{s} argument given in the loginfo file is a single argument that
+lists the directory and all the files involved. As a special case if the
+directory was added the file list is replaced by '- New directory'. This
+is lame since adding the files -, New and directory will produce the
+same effect, but it's unlikely.
+
+<p>There are three cases to take in account:
+
+<ul>
+
+<li>commit that modify the top level directory files:
+cd topdir ; cvs update -l
+
+<li>commit that adds a new directory:
+cd topdir ; cvs update 'new directory'
+
+<li>commit that modify files in a subdirectory:
+cd topdir/subdirectory ; cvs update -l
+
+</ul>
+
+<p>In order to prevent security compromision the directory name is quoted.
+
+<p>The traces of all the updates are kept in /var/log/sf_sync_www.log.
 
 <p><hr>
 Node:<a name="Web%20CVS%20and%20Projects">Web CVS and Projects</a>,
-Previous:<a rel=previous href="#Web%20CVS%20top%20level%20directories">Web CVS 
top level directories</a>,
+Previous:<a rel=previous href="#Sync%20of%20www.gnu.or%20on%20commit">Sync of 
www.gnu.or on commit</a>,
 Up:<a rel=up href="#CVS%20repositories">CVS repositories</a>
 <br>
 
@@ -675,6 +722,10 @@
 <dd>Modification of the the system files from the mysql database information
 so that CVS can work properly.
 
+<br><dt><code>/var/log/sf_sync_www.log</code>
+<dd>Loginfo and update information generated by the sf_sync_www program. 
+This file <code>must</code> be read-write for everyone.
+
 </dl>
 
 <p><hr>
@@ -941,7 +992,7 @@
 <li>/etc/cron.d/savannah: <a href="#Savannah%20crontab">Savannah crontab</a>
 <li>/subversions/cvs/gnuweb: <a href="#Web%20CVS%20repositories">Web CVS 
repositories</a>
 <li>/subversions/sourceforge: <a href="#Installation">Installation</a>
-<li>/webcvs CVSROOT: <a href="#Web%20CVS%20top%20level%20directories">Web CVS 
top level directories</a>
+<li>/webcvs CVSROOT: <a href="#Sync%20of%20www.gnu.or%20on%20commit">Sync of 
www.gnu.or on commit</a>
 <li>Automatic migration: <a href="#Migration">Migration</a>
 <li>backups of the database: <a href="#Database%20Backups">Database Backups</a>
 <li>change html_cvs value: <a href="#Web%20CVS%20repositories">Web CVS 
repositories</a>
@@ -952,6 +1003,7 @@
 <li>CVS: <a href="#Introduction">Introduction</a>
 <li>CVS and symbolic links: <a href="#Web%20CVS%20Symbolic%20links">Web CVS 
Symbolic links</a>
 <li>CVS commit notification: <a href="#Sources%20CVS%20repositories">Sources 
CVS repositories</a>
+<li>CVS tarbals: <a href="#Source%20CVS%20tarbals">Source CVS tarbals</a>
 <li>disable Web CVS repository: <a href="#Web%20CVS%20repositories">Web CVS 
repositories</a>, <a href="#Sources%20CVS%20repositories">Sources CVS 
repositories</a>
 <li>document root: <a href="#Installation">Installation</a>
 <li>DOCUMENT_ROOT: <a href="#Installation">Installation</a>
@@ -967,29 +1019,29 @@
 <li>Savannah project: <a href="#Installation">Installation</a>
 <li>Savannah root directory: <a href="#Installation">Installation</a>
 <li>sf_aliases: <a href="#Mails%20and%20aliases">Mails and aliases</a>
-<li>sf_backup: <a href="#Database%20Backups">Database Backups</a>
+<li>sf_backup: <a href="#Database%20Backups">Database Backups</a>, <a 
href="#Source%20CVS%20tarbals">Source CVS tarbals</a>
 <li>sf_cvs: <a href="#Users%20and%20CVS%20synchronization">Users and CVS 
synchronization</a>, <a href="#Installation">Installation</a>
 <li>sf_migrate: <a href="#Migration">Migration</a>, <a 
href="#Installation">Installation</a>
 <li>sf_pass: <a href="#Migration">Migration</a>, <a 
href="#Installation">Installation</a>
+<li>sf_sync_www: <a href="#Sync%20of%20www.gnu.or%20on%20commit">Sync of 
www.gnu.or on commit</a>
 <li>sf_www: <a href="#Web%20CVS%20and%20Projects">Web CVS and Projects</a>
 <li>skill: <a href="#Skill%20List">Skill List</a>
 <li>SourceForge: <a href="#Top">Top</a>
 <li>SourceForge fork rationale: <a href="#Top">Top</a>
 <li>SourceForge installation guide: <a href="#Introduction">Introduction</a>
 <li>symbolic links: <a href="#Web%20CVS%20Symbolic%20links">Web CVS Symbolic 
links</a>
+<li>sync of www.gnu.org sync from /webcvs: <a 
href="#Sync%20of%20www.gnu.or%20on%20commit">Sync of www.gnu.or on commit</a>
 <li>This guide on www.gnu.org: <a 
href="#Publishing%20this%20document">Publishing this document</a>
 <li>useradd: <a href="#NGROUPS_MAX">NGROUPS_MAX</a>
 <li>usermod: <a href="#NGROUPS_MAX">NGROUPS_MAX</a>
 <li>web CVS projects rationale: <a href="#Web%20CVS%20and%20Projects">Web CVS 
and Projects</a>
-<li>Web CVS synchronization: <a 
href="#Web%20CVS%20top%20level%20directories">Web CVS top level directories</a>
-<li>Web CVS top level directories: <a 
href="#Web%20CVS%20top%20level%20directories">Web CVS top level directories</a>
 <li>webmaster documentation: <a href="#Web%20CVS%20and%20Projects">Web CVS and 
Projects</a>
 <li>webmasters in www: <a href="#Web%20CVS%20repositories">Web CVS 
repositories</a>
 <li>webproject group: <a href="#Web%20CVS%20repositories">Web CVS 
repositories</a>
 <li>website license: <a href="#Web%20CVS%20repositories">Web CVS 
repositories</a>, <a href="#Sources%20CVS%20repositories">Sources CVS 
repositories</a>
 <li>www special project: <a href="#Web%20CVS%20and%20Projects">Web CVS and 
Projects</a>, <a href="#Web%20CVS%20repositories">Web CVS repositories</a>
 <li>www.gnu.org in CVS: <a href="#Web%20CVS%20repositories">Web CVS 
repositories</a>
-<li>www.gnu.org sync from /webcvs: <a 
href="#Web%20CVS%20top%20level%20directories">Web CVS top level directories</a>
+<li>www.gnu.org sync from /webcvs: <a 
href="#Sync%20of%20www.gnu.or%20on%20commit">Sync of www.gnu.or on commit</a>
 </ul>
 
 
@@ -1003,9 +1055,10 @@
 <ul>
 <li><a href="#Import%20repositories">Import repositories</a>
 <li><a href="#Sources%20CVS%20repositories">Sources CVS repositories</a>
+<li><a href="#Source%20CVS%20tarbals">Source CVS tarbals</a>
 <li><a href="#Web%20CVS%20repositories">Web CVS repositories</a>
 <li><a href="#Web%20CVS%20Symbolic%20links">Web CVS Symbolic links</a>
-<li><a href="#Web%20CVS%20top%20level%20directories">Web CVS top level 
directories</a>
+<li><a href="#Sync%20of%20www.gnu.or%20on%20commit">Sync of www.gnu.or on 
commit</a>
 <li><a href="#Web%20CVS%20and%20Projects">Web CVS and Projects</a>
 </ul>
 <li><a href="#Database">Database</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]