[Smaug] Re: CVS Add/Commit (fwd)

Rick Moen rick@linuxmafia.com
Mon Jan 21 08:42:01 2002


Quoting Karsten Wade (phig@phig.org):

> Okay, I give.  There must be something I am missing.  

[...]

> Can another of the admins take a peek at how things are configured and
> fix them, or let me know where the CVS and shell access permissions
> are managed?

I noticed last night that SourceForge management seemed to have changed
my account to a CVS-only restricted shell.   It was one that initially
gave me a "no such directory" (paraphrasing) error on cvs checkins until
I had completed one successful ssh _shell_ login, which act apparently
created that account's home directory (/home/users/r/ri/rickmoen), and
thereby made the CVS directory error go away.  Possibly, that's what you
were referring to?

And, this morning, that account is back to having bash as its shell.
Strange.

Anyhow, one would not _want_ to "scp to the web dir".  To quote David A. 
Gatwood, in http://lists.svlug.org/archives//smaug/2001q4/000221.html :

> The Web server now points to a clean checkout of the CVS tree.  For
> security reasons, and to ensure that what is shown on the site always
> matches the tree, you can no longer modify content in the Web tree
> itself.  I've set up an automated script to update the site once an
> hour off of CVS.  Local changes will be -destroyed- automatically once
> an hour, so do -not- modify the live copy!

We use CVS for all site content for a very good reason:  If we need to
backtrack for any reason, or see what changes have been made by whom,
there's a clear revision history, with each version checked in and
available (http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/smaug-web/htdocs/).

Scp'ing files directly into the Smaug-web project-Web tree would defeat
the purpose of version control -- if David G.'s cron script weren't set
up to retroactively clobber any such circumvention.

-- 
Cheers,
Rick Moen                      "vi is my shepherd; I shall not font."
rick@linuxmafia.com                               -- Psalm 0.1 beta