Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 03-11-2004, 07:09 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
Cvs

anyone have any good links or insight on how this really works?

when you install cvs on a server, .. is the only way to access it via shell?

are there web interfaces to view stuff with?

i need to set one up, .. but i've never had any experience with it before.
__________________
Mike
sde is offline   Reply With Quote
Old 03-11-2004, 10:08 PM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,693
redhead is on a distinguished road
You can get CVS to work over any form of tunneling, and yes there are web interfaces, I dont have the time to search for them right now, but will get back to you.

Over ssh:
Code:
~ > setenv CVS_RSH ssh
~ > setenv CVSROOT your-domain.com:/var/CVSROOT
~ > cvs commit what_ever
I have been fidling with getting cvs working over ssh without a valid login shell, but havn't accomplished it yet, the next best thing, is to provide a chroot jail on the account, this however requires some patching of ssh.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 03-12-2004, 05:24 PM   #3 (permalink)
arockj
Registered User
 
arockj's Avatar
 
Join Date: Mar 2003
Posts: 13
arockj is on a distinguished road
I believe there are apache modules that allow you to view the code repository, but not edit the code.
arockj is offline   Reply With Quote
Old 03-15-2004, 07:16 PM   #4 (permalink)
technobard
Centurion Nova Prime
 
technobard's Avatar
 
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 285
technobard is on a distinguished road
There is a CVSWeb out there somewhere. It is a read-only interface to your source files.

If you haven't gotten that far, you might want to look at Subversion 1.0. It's the cvs replacement that has just come out recently. I believe it has a webdav module for accessing a repository via Apache 2.x.

It has a number of improvements over cvs. I haven't gotten around to using it myself, so if you decide to go this route, do a little research on your own first.
technobard is offline   Reply With Quote
Old 03-15-2004, 10:40 PM   #5 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
cvs can be used over a remote shell like ssh or locally.
if you want a web interface (read only) try cvsweb (wow, those links really pop out, don't they?)
there are several gui interfaces to cvs. for windows, tortoise cvs is one of the better ones.

if you want simplicity and ease of use, cvs is the way to go. it's trivial to set up a repository (no webserver/network/user configuration required, just one command). many people recommend "the newest thing" in source control without needing or understanding the features they are gaining and losing. cvs is the standard and it works well (being used currently by all bsd's, all of sourceforge, many linux developers [not torvalds, he uses bitkeeper], openbeos, and any clueful companies i've worked at).
joe_bruin is offline   Reply With Quote
Old 03-15-2004, 11:52 PM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
thanks for all the advice ..

and joe, it took you gettin on my case last time to fix the links .. after our last vb update something weird happened and i've been lazy to fix .. i'm glad you reminded me. it's on the todo list.
__________________
Mike
sde is offline   Reply With Quote
Old 03-16-2004, 09:02 PM   #7 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
we got subversion rockin!
__________________
Mike
sde is offline   Reply With Quote
Old 03-29-2004, 04:40 AM   #8 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,693
redhead is on a distinguished road
If you havn't found a solution yet, you might want to look at this: http://pecl.php.net/package/cvsclient it looks prommising in the future, especialy when they get commit/update/checkout working.

Befor that, theres always: http://viewcvs.sourceforge.net/
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Version Control Netrunner Lounge 7 03-07-2003 05:42 AM


All times are GMT -8. The time now is 01:12 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting