Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Call To Power II > CtP2-Source Code Project > Need help with CVS
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
CivGroups
CTP2 Source Code Project (59): Not a Member - Join

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:34
  Old Post 16-07-2004 15:31 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Need help with CVS Support Apolyton, buy Civilization III: Complete

Hold your horses on external hosting, we might get what we need from Apolyton yet

We're working on getting a CVS server online but could use some assistence from people who have experience with it:

Does anyone know if there is some sort of web interface for CVS and how to get it to work? Getting CVS to work with a command line is easy enough, but then only Markos can access it. How do we make you guys access it as well? I can't really find anything on this on the CVS website...

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:34
  Old Post 16-07-2004 16:03
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Lose 30 kilos (of popups)

Well im sad to say that this is what is available

http://viewcvs.sourceforge.net/

Its a repository browser, as far as im informed there is no write access.

If we are to handle alle communications with the version control system over the web then we need subversion instead.

http://subversion.tigris.org/

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:34
  Old Post 16-07-2004 16:05
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Inflate your Upload Space

by the way, im likely to be wrong as im no expert on the subject

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:34
  Old Post 16-07-2004 16:08
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Tired of ads?

this might work though

http://list-archive.xemacs.org/xema...2/msg00611.html

Fromafar is offline Fromafar
Prince

May 2003
time: 06:34
  Old Post 16-07-2004 23:41
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Tired of ads?

No experience with CVS, unfortunately. If you are looking for a GUI, you may try http://www.wincvs.org/.

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:34
  Old Post 17-07-2004 00:31
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Re: Need help with CVS Full PM-box? Change here!

Hi,

quote:
Originally posted by Locutus
Does anyone know if there is some sort of web interface for CVS and how to get it to work?

Sorry, i know no good web interface for this, because most are designed for browsing only. The main problem for a full featured web interface is performing an update or a checkout, i.e. syncing all local copys with the newest from the repository, which has nobody solved so far afaik. Though, the most complete web interface i know is SandWeb.

quote:
Originally posted by Locutus
Getting CVS to work with a command line is easy enough, but then only Markos can access it. How do we make you guys access it as well? I can't really find anything on this on the CVS website...


For CVS, you have these options:


  1. run as a pserver pserver HOWTO
  2. tunnel through ssh ssh howto


Did you also think about subversion? Pros for subversion:

  • firewall friendly (accessible through http/webdav with apache2/mod_dav_svn)
  • atomic commits
  • efficient binary file handling
  • supports file renames
  • excellent cross-platform support


VCS Comparison (Aegis/arch useless for our purposes):
CVS and Subversion comparison table
Edit: forgot the Better SCM-Comparison, if you don't click on a link of the below links by accident
I don't think other VCS systems are useful for us, so just FYI:
The most common VCS, Even more SCMs for linux, also commercial ones.

I will also be ready with the first import of the import of the Altered source files thread into subversion soon, so you could then have a dump if you wish (quite some revisions before 05.06.2004 23:13:01 will be missing, but it's complete from that time on).

If you have any questions, feel free to ask.

Last edited by ctplinuxfan on 17-07-2004 at 00:44

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:34
  Old Post 17-07-2004 05:52 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton buy from Amazon

Guys, what is your impression of Chora, would that do? We already have some Horde software installed on Apolyton and have very good experiences with it, which makes Chora very attractive to use for us.

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:34
  Old Post 17-07-2004 15:30
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Enter the AD-FREE zone

Well chora looks splendid for what it does, it is one of the better web CVS reposetory browsers and i very much respect the horde framework.

It does however not fill our need for version control.
It would be a pain to sit and save each file by hand when you want to get the latest changes.
Apart from that i cant see how we are going to commit new changes to the repository.

The easy way through this would be to make a system account to witch we can log in, but i guess that it would be too much risc.

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:34
  Old Post 17-07-2004 17:13 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Browse Apolyton AD-FREE

Does subversion allow for commiting changes through a web interface? I can't find much info on this but what little I did find seems to suggest it can't.

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:34
  Old Post 17-07-2004 17:51
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Browse Apolyton AD-FREE

quote:
Originally posted by Locutus
Does subversion allow for commiting changes through a web interface? I can't find much info on this but what little I did find seems to suggest it can't.


Yes it does but it requires apache 2 to do the job.
Subversion actually has more features through the http daemon than through the normal daemon.

Here's a few links:

This is for the book:
http://svnbook.red-bean.com/

This is for the pages that describes the http daemon:
http://svnbook.red-bean.com/svnbook/ch06s04.html

I hope that this info is of use.
Klaus

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:34
  Old Post 17-07-2004 18:42
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Full PM-box? Change here!

quote:
Does subversion allow for commiting changes through a web interface? I can't find much info on this but what little I did find seems to suggest it can't.

AFAIK, Web interfaces to VCS are designed for viewing a repository, not for applying changes to it (this also applies to subversion). subversion supports WebDav/DeltaV, but i don't have a WebDav client, so i didn't test it. Is there a reason you strictly want a web interface?

Anyhow, forgot links on setting up subversion server:
SVNBook. For the rarer case setting up a apache2 hosted subversion server while keeping a apache1 main site, see here.

The user setup is straightforward for both subversion and cvs, install client and enter repository location/select access method.

PS: IMHO a web interface only makes sense for code review anyway, for it can't provide all benefits through the gui (e.g. updating local copies by only transfering differences, check out everything, using integrated solutions or programs like AnkhSVN, TortoiseSVN, WinCVS, etc.).

Last edited by ctplinuxfan on 17-07-2004 at 19:04

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:34
  Old Post 17-07-2004 19:30
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Suffering from ads?

quote:
Originally posted by ctplinuxfan

AFAIK, Web interfaces to VCS are designed for viewing a repository, not for applying changes to it (this also applies to subversion). subversion supports WebDav/DeltaV, but i don't have a WebDav client, so i didn't test it. Is there a reason you strictly want a web interface?

Anyhow, forgot links on setting up subversion server:
SVNBook. For the rarer case setting up a apache2 hosted subversion server while keeping a apache1 main site, see here.

The user setup is straightforward for both subversion and cvs, install client and enter repository location/select access method.

PS: IMHO a web interface only makes sense for code review anyway, for it can't provide all benefits through the gui (e.g. updating local copies by only transfering differences, check out everything, using integrated solutions or programs like AnkhSVN, TortoiseSVN, WinCVS, etc.).


as far as i can tell WebDav/DeltaV is for both getting and updating the repository and it is supported by alle subversion clients i have heard of.
From the client side the difference is subtle and easy to overlook as the client just use a different URL specifying http as protocol.
From the server side the difference is enormous and i think that this might be just what you are looking for.

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:34
  Old Post 17-07-2004 21:31 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton or Terrorists Win

Okay, what options are possible for remote access to a VCS server (either CVS or Subversion or even something else altogether) aside from a web interface? Note that security is an important concern for Apolyton, which means a pserver is as far as I can tell not an option. SSH might be an option, I'll look into that and discuss it with Markos. What other options are there, if any?

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:34
  Old Post 17-07-2004 22:07
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Avatar Enlargement: We've got the solution

quote:
Originally posted by Locutus
Okay, what options are possible for remote access to a VCS server (either CVS or Subversion or even something else altogether) aside from a web interface? Note that security is an important concern for Apolyton, which means a pserver is as far as I can tell not an option. SSH might be an option, I'll look into that and discuss it with Markos. What other options are there, if any?


thats pretty much it i think.

pserver or svndaemon is the conventional way to offer vcs anonymously or with normal build in authentication.
This requires an open port in the firewall to function.

If desired it is possible to add other forms of authentication such as ssh and maybe kerobos. I dont know the details but I think that it would give the users shell access as well.
This requires the firewall to be open to ssh or whatever method is being used.

Subversion offers the ability to access a repository via webserver and use the build in authentication (on a directory basis even) without the creation of a shell account.
This may or may not require another port to be opened in the firewall. It depends on what version af apache apolyton is running now or if they might be willing to upgrade the whole site if it is needed.

It all boils down to what program marcos trust the most, if any.

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:34
  Old Post 18-07-2004 03:18
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

quote:
Originally posted by Locutus
Okay, what options are possible for remote access to a VCS server?


For CVS, options are:


  • pserver via inetd/xinetd, run as non-priviliged user
    Port 2401,
    insecure
  • ssh tunneling cvs communication
    Port 22, shell accounts with group write privileges to repository,
    insecure if you don't consider all users to be "trusted"
  • like before, but using disabled accounts with ssh2 keys, and a COMMAND entry in ~/.ssh/authorized_keys running the pserver (maybe complicated for windows client setup),
    more secure
  • chrooted pserver via cvsd (optionally with ssh accounts like before),
    more secure
    Port 2401/TCP
  • chrooted pserver + ssh access through ssh+smrsh,
    also more secure


The last 2 options are the most prefered setups so far afaik, so i posted their links already.

For subversion:

  • run subversion server via inetd/xinetd
    Port 3690/TCP and 3690/UDP,
    perhaps a bit less insecure than standalone cvs pserver
  • run subversion server as standalone daemon process
    Port 3690/TCP and 3690/UDP, faster response than first option,
    same security level like before
  • tunnel via ssh (local users, same like cvs+ssh)
    Port 22, shell accounts with group write privileges to repository,
    insecure if you don't consider all users to be "trusted"
  • serve through apache2 via mod_dav_svn
    Port 80 or any other port,
    can be made as secure as a web server can be hardened, benefits of apache auth modules, optional ssl encryption
  • same like before (apache2 + subversion), but a running apache1 server proxies requests
    (internet -> DMZ -> apache1 -> apache2+subversion bound on localhost: portxyz or standalone server in DMZ),
    almost same security like before (additional apache1 threat )


All but the last scenarios should be in svnbook (link posted before).
The last is a good compromise scenario if you have an apache1 host you don't wish to migrate yet, but still want the benefits of a subversion repository served by apache2. And if you decide to migrate all to apache2 later, you have a testing oppurtunity as well. The link to this is the last here link in my previous post.

PS: Sorry, if my english isn't so good or sounds a bit rough, i think i need a vocabulary upgrade...

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:34
  Old Post 18-07-2004 05:22
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Increase the size of your Attachments

Great work ctplinuxfan

That was just the information I had in mind when I wrote my post, you just did it much better

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:34
Post  Old Post 18-07-2004 22:48 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

quote:
Originally posted by ctplinuxfan
PS: Sorry, if my english isn't so good or sounds a bit rough, i think i need a vocabulary upgrade...


In that case you can use my dictionary to upgrade.

-Martin

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:34
  Old Post 29-07-2004 16:30 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Tired of ads?

(Sorry for the delay, the birthday preparations kept me busy)


You're English is just fine ctplinuxfan, don't worry about that (and it's better than my German at any rate )

Thanks a ton for the info, that's an excellent overview.



So, if you guys had complete and utter freedom to install whatever you wanted on Apolyton, what would you want to install? What would you regard the best option? I'm sensing a strongly preference for subversion (correct me if I'm wrong though), but what method of access would you prefer?

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:34
  Old Post 30-07-2004 00:48
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Get a bigger avatar today!

Happy birthday!

I wasn't able to do anything either, my main harddisk screwed up and the os installation couldn't be recovered. Fortunately i had tons of data backups.

Though cvs is a great version control and it's server installation is quite easy for the non-chroot scenarios, i'd prefer subversion.

For the backups, cvs


  • uses text files to store revision-by-revision differences for each file managed by the repository
  • so it needs to be shutdown for backup purposes (else possible race condition: rewrite of a file or backup or partial backup of a begun commit)


subversion otoh

  • stores files and their revisions in a berkeley db
  • accesses to the repository are transactions (db: ACID)
  • supports hot-backups using hot-backup.py or svnadmin hotcopy,
    i.e. backups are automatable e.g. in a mixed scenario: weekly full repository dumps using crond and incremental revision-by-revision dumps using hot-backup.py as a post-commit hook of the server


It may be a good choice to make use of hot-backups, for the dumps are needed for server-upgrades anyway and subversion can automatically purge the pre transaction logs after the backup of a successful commit. O.k., the other reasons for backups are quite obvious.

Despite that, subversion has the best cross platform support so far and subversion clients can access the server through http. It should also be possible to replicate apolyton.net accounts for subversion, for it uses apaches auth mechanism for authorization.

For access methods, i would tend to setup an apache2 using mod_dav_svn (i.e. serve http and https only), for it should provide accessibility for anybody (if a proxy does not provide all needed extensions and nobody can be persuaded to add them, binding to a non-standard port like 81or using https should do the trick).

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:34
  Old Post 30-07-2004 04:15
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Support Apolyton buy from Amazon

I vote for subversion.
the above reasons are enough but i would like to add that subversion most likely would have a lower impact on bandwith useage as it uses only the diff to commit a new revision as opposed to cvs that needs to transmit the entire file. well in real life the difference is probably very small so it should not be a decisive factor.

any method of access would be fine for a client point of view, but it might be easyer to auth with apache using the existing user database to make sure that everyone has agreed to the license agreement.

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:34
  Old Post 31-07-2004 20:19
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

JFYI: subversion 1.1.0-rc1 is out. Even no dump was needed for update from 1.0.6.

In short, renames backtracing has been fixed and the svn client has noticable speed improvements, and quite some bugfixes.

The new fsfs fs-type however may not be an alternative to berkeley db, checkouts against HEAD require quite some time more, despite that server load would grow twice - oh - and its not tested that well, yet.

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:34
  Old Post 01-10-2004 00:56 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

Locutus: Any progress with this?

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:34.
Apolyton Time is 00:34.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0675 seconds (92.58% PHP - 7.42% MySQL) with 36 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net