[Savannah-hackers-public] Re: Recordings of my speeches

2006-11-28 Thread John Sullivan
Sylvain Beucler [EMAIL PROTECTED] writes:

 Hi,

 The audio-video Savannah project is:
 https://savannah.gnu.org/p/audio-video

 Its associated download area can be accessed through sftp/scp/rsync:
 https://savannah.gnu.org/forum/forum.php?forum_id=4691

 :)


 Any progress on your side?

We've made some steps; discussed a new arrangement for the web pages, started
accumulating urls of recordings to fetch..

Thanks for setting this up. So should we start transferring the files that
currently live in Nick's home directory to this new area? That will break the
current site at audio-video.gnu.org, right? 

-- 
John Sullivan
Program Administrator| Phone: (617)542-5942 x23
51 Franklin Street, 5th Fl.  | Fax:   (617)542-2652 
Boston, MA 02110-1301 USA| GPG:   AE8600B6




[Savannah-hackers-public] listhelper-assisted mailing lists

2006-11-28 Thread Sylvain Beucler
Hi,

I used the 'listhelper' anti-spam to 2 another lists (-cvs and
-icantrememberwhichone) - check
https://savannah.gnu.org/maintenance/ListHelperAntiSpam

This increases the number of Subject: post from X requires
moderation messages quite a bit, so I suggest the following
.procmailrc rule:

:0:
* ^Subject:.*post from.*requires.*
approvals

If those messages are a problem, we may try to find some solution.

-- 
Sylvain




[Savannah-hackers-public] Re: reliable, incremental git-cvs ?

2006-11-28 Thread Sylvain Beucler
On Tue, Nov 28, 2006 at 11:32:55AM +0100, Jim Meyering wrote:
 Sylvain Beucler [EMAIL PROTECTED] wrote:
  On Mon, Nov 27, 2006 at 10:41:49PM +0100, Jim Meyering wrote:
  Hi Sylvain,
 
  Do you know of a good way to sync a git repository to cvs?
  Ideally, it'd happen upon each commit or push, via a hook.
 
  Currently I'm manually invoking a tiny script based on
  git-cvsexportcommit.  I think it's based om an example I saw in git's
  Documentation dir or in a man page.
 
  Sylvain, in case you haven't been following bug-gnulib, we're planning to
  convert gnulib development from CVS to git.  But it doesn't always work.
  For example, it doesn't preserve executable bits on new files.  Yep,
  I need to fix and/or report that bug.  This is particularly relevant,
  because one of the conditions of switching gnulib, IMHO, must be to
  retain an automatically-up-to-date CVS repository.  That way, only
  developers who contribute regularly have to learn/use git.
  Everyone else can stick with CVS.
 
  Hi,
 
  Thanks for keeping me updated about this. Feel free to Cc:
  savannah-hackers-public@gnu.org about this anytime.
 
 Thanks for Cc'ing them.
 I've Cc'd bug-gnulib, too.
 
  I haven't investigated git-cvs pipelines, so I don't have much to
  say about it (do you mean uni- or bi-directional, btw?).
 
 One-way: git-cvs.  At least, that's my plan:
 to make the cvs repository read-only, except
 when being updated to reflect a git commit.
 
 FYI, here's my git-cvs script.
 (theoretically, a git commit hook would run this)
 
 #!/bin/sh
 # Push git changes (that are in the master repo) into the CVS repository.
 export GIT_DIR=/cu.git # git repo
 set -e
 cd /cu-cvs # checked out cvs working directory
 for sha1 in $(git-cherry cvs-head | sed -n 's/^+ //p'); do
   git-cvsexportcommit -c -p -v $sha1
   git-tag -f -m most recent version that has been sync'd to cvs cvs-head 
 $sha1
 done
 
  I saw this though:
  http://www.kernel.org/pub/software/scm/git/docs/git-cvsserver.html
 
 Yes, I've read about that.
 It may be an option if/when we're willing to dump the CVS
 repository altogether.  At least for now, I'd prefer to
 have the option to switch back to using good-ol' CVS if
 by some fluke, a problem arises.

That sounds reasonable :)


 On the other hand, if it's stable enough, it'd sure be simpler
 than having to hassle with sync'ing via commit hooks...
 
  Apparently this gives
  - a way to stick to the 'cvs' command-line when accessing a git repo
(export CVS_SERVER=git-cvsserver)
  - a way to access a git repo through the CVS pserver protocol
(I'd need to attach that daemon to another IP because Savannah's git
and cvs are on the same machine)
 
  Could that help?
 
  I can't guarantee I can set that up securely at Savannah but I can
  investigate the tools some more if that can help.
 
 That'd be great.
 If you could hook one up to coreutils, that might be a good test case...
 
 BTW, I've converted gnulib's (as of a day or two ago) CVS repo into a
 git repository (with proper User Name [EMAIL PROTECTED] labels), so if
 there's a way to put up a trial git repository, let me know...

I created a 'gnulib' repository, with temporarily denyNonFastforwards
= false so you can perform multiple upload tests there.

(I say temporarily because since the option essentially allows
removing history (i.e. overwriting heads/master arbitrarily), it can't
be enabled for a real repository).


I haven't setup an auto-packing commit hook so may need to have me do
that. I'm planning to add something like in post-update:

  export GIT_DIR=coreutils.git
  git-count-objects
  # If  5120k
  git repack
  git prune

-- 
Sylvain




[Savannah-hackers-public] Re: reliable, incremental git-cvs ?

2006-11-28 Thread Bob Proulx
Sylvain Beucler wrote:
 I haven't setup an auto-packing commit hook so may need to have me do
 that. I'm planning to add something like in post-update:
 
   export GIT_DIR=coreutils.git
   git-count-objects
   # If  5120k
   git repack
   git prune

A useful reference for update scripts is the update-hook-example.txt
example shipped with git.  Mostly it covers access control.  In
Debian's git-doc package this is normally installed in
/usr/share/doc/git-doc/howto/update-hook-example.txt.  There is a lot
of room for policy differences but that implements a nice access
policy.

Something that Carl set up for us is a cron task that does a full
repack (e.g. git-repack -q -a -d) periodically.  Also along with that
the cron task also touches up permissions to add extra protection to
the tags directory.  Here are some ideas.

  find $repodir/refs/tags -type d ! -perm -=t -print0 | xargs -r0 chmod +t
  find $repodir/refs/tags -type f ! -perm +a=w -print0 | xargs -r0 chmod a-w
  find $repodir/objects -type d ! -perm -=t -print0 | xargs -r0 chmod +t
  find $repodir/objects -type f ! -perm +a=w -print0 | xargs -r0 chmod a-w

Bob