home *** CD-ROM | disk | FTP | other *** search
- To use the AROS CVS Server:
-
- Changes since the last version: It seems that with a CVS later than 1.8.1,
- you must always prepend :pserver: (even for the login !).
-
- 1. Create a passwort with "crypt":
-
- > make crypt
- > crypt my_password
- Encrypting my_password: cbEVHg0j9uNRs
-
- 1b) If you have an Amiga and you have AmiTCP (you can get a Demo from
- AmiNET), you can use that one to generate a password. To use the CVS
- server, you must have some way to connect to the Internet, anyway, so it
- might be a good idea to install AmiTCP (no idea if Miami works, too.
- Anyone ?).
-
- > cd AmiTCP:bin
- > login username
- > passwd
- Old password: *******
- New password: *****
- Retype new password: *****
-
- (replace the "*" by your password). After this, open the file AmiTCP:db/passwd
- and look for "username". The encrypted password can be found in the second
- field:
-
- username|hrGxherytY|1000|1000|name|home:|shell
- ^^^^^^^^^^
-
- This is the password you can send to me (see next section).
-
- NOTE: Don't forget to change the password back to your original password,
- or clear the password field if you didn't have an AmiTCP password !
- If you don't want to mess with your original user, do this:
-
- username|hrGxherytY|1000|1000|name|home:|shell
-
- make a copy of the line
-
- username|hrGxherytY|1000|1000|name|home:|shell
- username|hrGxherytY|1000|1000|name|home:|shell
-
- erase the password and change the login name and user id:
-
- username|hrGxherytY|1000|1000|name|home:|shell
- aros||1001|1000|name|home:|shell
-
- login:
-
- > login aros
- > passwd
- Old password:
-
- Just press Return here
-
- New password: ******
- Retype new password: ******
-
- And then type the AROS password twice. After that, edit the passwd-file
- again:
-
- username|hrGxherytY|1000|1000|name|home:|shell
- aros|xyJSD87sdfk|1001|1000|name|home:|shell
-
- Now you can send me the password ("xyJSD87sdfk") and simply delete the
- dummy "aros" user. That's it :-)
-
- 2. Mail that password to
-
- digulla@wi-pc44.fh-konstanz.de
- Subject: Access to AROS CVS Server
-
- Please add <my_login, eg. digulla> <password, eg. cbEVHg0j9uNRs>
-
- 3. Wait until I confirm this. While you wait, look for CVS 1.8.1 and
- install it. If you have an Amiga, install ADE. They have a working
- CVS (Thanks Lennard).
-
- 4. When you got my reply and you have CVS 1.8.1, use this to login:
-
- > cvs -d :pserver:user@wi-pc44.fh-konstanz.de:/home/AROS/CVS login
-
- where "user" is your login, eg. digulla:
-
- > cvs -d :pserver:digulla@wi-pc44.fh-konstanz.de:/home/AROS/CVS login
-
- This asks you for your password. Type it in and if there is no error
- displayed, you are connected.
-
- NOTE: It seems that the protocol for CVS has changed. Version of CVS
- upto 1.8.1 and earlier need not have ":pserver:" before the login name,
- but later versions require it. If you have problems to login, try to omit
- ":pserver:" or prepend it. If CVS wants it, you will get an error reading
- "cvs login: can only use pserver method with `login' command".
-
- 5. Now you can use _any_ CVS command as if the main source tree was
- on your local host. To get a complete copy of the current tree, use:
-
- > cvs -d :pserver:user@wi-pc44.fh-konstanz.de:/home/AROS/CVS checkout AROS
-
- (don“t forget to substitute user by your login !)
-
- 6. What can I do now ? Well, you can edit any file or create any number
- of new files. To send me your changes, you must commit them, namely with:
-
- > cvs -d :pserver:user@wi-pc44.fh-konstanz.de:/home/AROS/CVS commit [<file>]
-
- where <file> is the name of a file you want to update on MY host. If
- you don't specify a certain file, CVS will update all files in the CURRENT
- DIRECTORY and ALL SUB-DIRECTORIES. This command is the last one to really
- make the change here on my host. All other commands simply change the
- state at YOUR place.
-
- 7. What do I do it I have a new file ? Then you must register it with
- "cvs ... add <file>", eg.
-
- > cvs -d :pserver:user@wi-pc44.fh-konstanz.de:/home/AROS/CVS add some_new_file.c
-
- This won't do anything here at my place but simply tell CVS at YOUR
- place that there is a new file. The next "cvs ... commit" then registers
- your new file here.
-
- 8. All right but what when others change files ? In this case, nothing
- happens. CVS won't notice you or update your files. To tell CVS to look
- for new files and changes by other people (ie. make YOUR files uptodate),
- use
-
- > cvs -d :pserver:user@wi-pc44.fh-konstanz.de:/home/AROS/CVS update [<file>]
-
- As usual, give a file if you want only this file to be checked and updated
- or nothing and CVS will check all files in this dir and all subdirs.
-
- 9. What happens when two people edit the same file ? Good question. The
- answer is that I don't know exactly. What I know is that no changes will
- be lost. CVS will always keep a backup copy of the original file (it is
- kinda smart; it will notice when you try to change a file someone else
- has already changed), so there is no chance that your changes might be
- made in a file edited by someone else in the mean time. CVS will try
- to figure out what the differences are between your version and the one
- you used as a starting point and the version now in the repository and
- also the version you used as a starting point. Then these diffs are
- compared, too. If CVS doesn't find any places where both diffs show
- changes (ie. you edited somewhere at the end of the file and the other
- guy edited at the beginning), it will simply merge both diffs and create
- a new version with BOTH YOUR changes and the changes of the other person.
- If CVS cannot resolve all every change, it does as best as it can and
- then offers you a file which contains the rest: Your changes and the
- changes of the other person. Then you have to manually clean this up
- and after that CVS will use this file as the new version. At least that's
- what the manual says :)
-
- 10. And now the goodie for all those who read upto here: You don't need
- to type the looong line above every time. If you use csh or similar
- (to find out, try it. If it says "setenv: command not found" then you
- don't :), use this:
-
- > setenv CVSROOT :pserver:user@wi-pc44.fh-konstanz.de:/home/AROS/CVS
-
- on the other shells, the command looks like this:
-
- > export CVSROOT=:pserver:user@wi-pc44.fh-konstanz.de:/home/AROS/CVS
-
- (have you thought to replace "user" by your login ?)
-
- NOTE: This must be done _after_ the login !! If you do it before, CVS
- will try to use an existing login to login :)
-
- After this, you can omit the "-d :pserver..." and just type, for example:
-
- > cvs help
-
- Have a lot of fun :)
-