Re: repository surfing

2001-06-20 Thread Greg A. Woods

[ On Wednesday, June 20, 2001 at 17:04:40 (-0700), Schwenk, Jeanie wrote: ]
> Subject: repository surfing
>
> I've got two engineers here who want to be able to just view the files in
> the repository without checking them out.

Give them CVSweb.

-- 
Greg A. Woods

+1 416 218-0098  VE3TCP  <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Planix, Inc. <[EMAIL PROTECTED]>;   Secrets of the Weird <[EMAIL PROTECTED]>

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: repository surfing

2001-06-20 Thread Daniel Beckham

Personally, ViewCVS <http://viewcvs.sourceforge.net/> is a better product
IMO, but very close to the original CVSweb.  Of course both of them require
that you have an available server you can run apache on. (Or the equiv.)

At any rate, both do what you are looking for quite well.

And my 2 cents: I don't know how it is in your company, but these two
engineers sound like asses.  If they aren't heavy hitters or supervisors of
yours, I'd tell them to f**k off and check out a read only copy.  You have
work to do and it doesn't involve helping them be lazy SOB's.

=0)

Daniel

- Original Message -
From: "Greg A. Woods" <[EMAIL PROTECTED]>
To: "Schwenk, Jeanie" <[EMAIL PROTECTED]>
Cc: "Cvs (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 7:50 PM
Subject: Re: repository surfing


> [ On Wednesday, June 20, 2001 at 17:04:40 (-0700), Schwenk, Jeanie
wrote: ]
> > Subject: repository surfing
> >
> > I've got two engineers here who want to be able to just view the files
in
> > the repository without checking them out.
>
> Give them CVSweb.
>
> --
> Greg A. Woods
>
> +1 416 218-0098  VE3TCP  <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
> Planix, Inc. <[EMAIL PROTECTED]>;   Secrets of the Weird <[EMAIL PROTECTED]>
>
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
>


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: repository surfing

2001-06-20 Thread John Minnihan

The key here may be "What is the policy at this shop?"  If other engineers are
successfully managing their work using CVS, then educate your new engineers.
Else say "FI" and tell your management that these engineers are too stupid to
use CVS, and that you must now go spend $4k per seat to accommodate their
idiocy.  And $150k or up to implement it.  Oh, yeah - and about 9 - 18 months
until the implementation functions as expected.

All kidding aside... Engineers who have used CC in the past tend not to
understand CVS immediately (and vice versa), so education would go a long way
here.  Viewing the actual repository contents is meaningful only when
troubleshooting repo problems, and in fact, to the ill-informed causes "panic."
Those who view the repo directly tend to end up editing the files.  That renders

your repo nearly useless, so your two engineers could end up causing alot of
heartache.

There are numerous CVS functions or extensions by which you can review a file's
content and history:   cvsweb, freepository, wincvs, log, diff and history come
to mind.

[EMAIL PROTECTED] wrote:

> I've got two engineers here who want to be able to just view the files in
> the repository without checking them out.  These are ex-ClearCase users and,
> let me quote  "I could do that in ClearCase."

_
John Minnihan
mailto:[EMAIL PROTECTED]
http://www.freepository.com



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: repository surfing

2001-06-20 Thread Greg A. Woods

[ On Wednesday, June 20, 2001 at 21:28:26 (-0500), Daniel Beckham wrote: ]
> Subject: Re: repository surfing
>
> Personally, ViewCVS <http://viewcvs.sourceforge.net/> is a better product
> IMO, but very close to the original CVSweb.  Of course both of them require
> that you have an available server you can run apache on. (Or the equiv.)

There are so many variants of CVSweb and similar things that I'm no
longer sure which one I like best.

ViewCVS must be better though, if for no other reason than it's not
written in Perl!  ;-)

> And my 2 cents: I don't know how it is in your company, but these two
> engineers sound like asses.  If they aren't heavy hitters or supervisors of
> yours, I'd tell them to f**k off and check out a read only copy.  You have
> work to do and it doesn't involve helping them be lazy SOB's.

I had much the same sentiments.

However

As much as I don't like web-based applications, I do find CVSweb and the
like to be very conventient tools and I use them regularly (with a
text-only browser, i.e. "links").

On the other hand not much can beat a couple of xterms and an emacs
window or two for really digging into something.

Oh how I wish all my universe was smalltalk code

-- 
Greg A. Woods

+1 416 218-0098  VE3TCP  <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Planix, Inc. <[EMAIL PROTECTED]>;   Secrets of the Weird <[EMAIL PROTECTED]>

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: repository surfing

2001-06-21 Thread Daniel Beckham

- Original Message - 
From: "Greg A. Woods" <[EMAIL PROTECTED]>
To: "CVS-II Discussion Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 11:53 PM
Subject: Re: repository surfing


> ViewCVS must be better though, if for no other reason than it's not
> written in Perl!  ;-)

Now, now.. I'm a Perl monger myself.  No reason to get personal here.  8)




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: repository surfing

2001-06-21 Thread Alexander Kamilewicz

"Schwenk, Jeanie" wrote:
> 
> I've got two engineers here who want to be able to just view the files in
> the repository without checking them out.  These are ex-ClearCase users and,
> let me quote  "I could do that in ClearCase."  Yes, they are aware they can
> checkout read-only.  They don't want to have to checkout to view files.
> Yes, I know the repository is not where people should be, they could do
> unintentional damage.  "Doesn't matter." ... they want to look at the files
> in the repository without checking them out and without having 'all that
> junk' in the file.  One of them looked at a file (i.e. the filename,v) and
> was convinced we were using the wrong code.  The panic, however, was
> generated by the log section at the bottom of the file.
> 
> Is what they want possible?  I've only been cvs'ing for about a month now
> and I don't know everything.  Please feel free to just send a link if you
> know where the infomation is.  I'm also open to good arguments against
> allowing it.

Check out CVSWeb: http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/

Quite nice.

Yours,
Alex

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: repository surfing

2001-06-21 Thread Eric Siegerman

On Wed, Jun 20, 2001 at 05:04:40PM -0700, Schwenk, Jeanie wrote:
> I've got two engineers here who want to be able to just view the files in
> the repository without checking them out.  These are ex-ClearCase users and,
> let me quote  "I could do that in ClearCase." [...] One of them
> looked at a file (i.e. the filename,v)

Well, I don't know for sure, never having used ClearCase, but
from what people here have said, I *strongly* doubt it lets you
do this (or its logical equivalent, i.e. giving users direct,
unmediated access to its internal data structures).

But it sounds as though looking at the repo per se isn't what
these folks want; it's only a means to an end:

>  They don't want to have to checkout to view files.

One other way to provide this would be a WWW-based interface to
CVS.  There are a couple of these available; two are cvsweb and
bonsai:
http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/
http://www.mozilla.org/bonsai.html


> "Doesn't matter." ... they want to look at the files
> in the repository without checking them out and without having 'all that
> junk' in the file.

Point out to them that this is the logical equivalent of using
"more" on an Oracle database.  They just *think* they can get
away with it because it's a bit less obvious that the contents
are not meant for human consumption.


> I'm also open to good arguments against allowing it.

The best argument is to flat-out prevent it :-)  Move the repo to
a server on which they don't have general shell access.  Use CVS
client/server, with SSH as the connection mechanism.  I don't
recall how, but you can set SSH up so that the *only* command
they're allowed to run on that particular box is "cvs".  You
might even be able to restrict it to "cvs server", but I'm not
sure about that.

If they still insist, even with a WWW interface, then NFS-mount
the repo read-only on the machines they use.  That way, at least
they can't break anything.  (Using "more" on an Oracle database
is at least better than using vi or emacs :-)

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea.
- RFC 1925 (quoting an unnamed source)

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: repository surfing

2001-06-21 Thread Matthew Riechers

Eric Siegerman wrote:
>
> I don't
> recall how, but you can set SSH up so that the *only* command
> they're allowed to run on that particular box is "cvs".

You can set the user's shell to /usr/local/bin/cvs in /etc/passwd to get
this effect.

-Matt

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: repository surfing

2001-06-21 Thread Eric Siegerman

On Thu, Jun 21, 2001 at 01:57:32PM -0400, Matthew Riechers wrote:
> Eric Siegerman wrote:
> >
> > I don't
> > recall how, but you can set SSH up so that the *only* command
> > they're allowed to run on that particular box is "cvs".
> 
> You can set the user's shell to /usr/local/bin/cvs in /etc/passwd to get
> this effect.

Won't work.  It'll do the right restrictions, but it doesn't
invoke cvs with any arguments (specifically "server").

One could also make the user's .profile say
exec /usr/local/bin/cvs server
but I gather that's less than secure.  Not sure why; maybe a race
condition that lets you CTRL-C your way to an interactive shell?

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea.
- RFC 1925 (quoting an unnamed source)

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: repository surfing

2001-06-21 Thread Noel L Yap

This is described in the O'Reilly SSH book.  I think it was through the identity
file.

Noel


|+--->
||   |
||  mriechers@gdd|
||  s.com|
||   |
||  06/21/01 |
||  01:57 PM |
||   |
|+--->
  >|
  ||
  |   To: [EMAIL PROTECTED] |
  |   cc: (bcc: Noel L Yap)|
  |   Subject: Re: repository surfing  |
  >|






Eric Siegerman wrote:
>
> I don't
> recall how, but you can set SSH up so that the *only* command
> they're allowed to run on that particular box is "cvs".

You can set the user's shell to /usr/local/bin/cvs in /etc/passwd to get
this effect.

-Matt

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs




This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: repository surfing

2001-06-21 Thread Eric Siegerman

On Thu, Jun 21, 2001 at 06:39:09PM -0400, Ralph Mack wrote:
> What they are looking for is [...]
> an equivalent to ClearCase "dynamic views", where a view is
> implemented as a file system. By varying a short text configuration spec,
> the versions of files in the view auto-magically change.

Thanks for explaining this.

> AFAIK, ClearCase is the only SCM that implements views of versions of
> data as a file system.

People are on the case :-)

As it happens, just this week Petric Frank <[EMAIL PROTECTED]> posted
about his "cvsfs" project to implement something like this for
CVS (for Linux clients anyway).  Someone responded by mentioning
Katie, another system based on this idea (not CVS compatible,
afaik).  Neither is ready for prime time, but stand by.

http://sourceforge.net/projects/cvsfs/
http://www.netcraft.com.au/geoffrey/katie/

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea.
- RFC 1925 (quoting an unnamed source)

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: repository surfing

2001-06-21 Thread Gerhard Sittig

On Thu, Jun 21, 2001 at 13:57 -0400, Matthew Riechers wrote:
> Eric Siegerman wrote:
> >
> > I don't recall how, but you can set SSH up so that the *only*
> > command they're allowed to run on that particular box is
> > "cvs".
> 
> You can set the user's shell to /usr/local/bin/cvs in
> /etc/passwd to get this effect.

Or do something strange and read the doc ("man sshd" and search
for "AUTHORIZED_KEYS FILE FORMAT").


virtually yours   82D1 9B9C 01DC 4FB4 D7B4  61BE 3F49 4F77 72DE DA76
Gerhard Sittig   true | mail -s "get gpg key" [EMAIL PROTECTED]
-- 
 If you don't understand or are scared by any of the above
 ask your parents or an adult to help you.

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs