Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
12th April 2003, 16:34 | #1 | Link |
I'm afraid we've to stop
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,398
|
SourceForge development for GordianKnot
Here is a quick guide to CVS, SF and GordianKnot project.
Tools needed: 1) SSH client, for which I'll be using cygwin tools 2) CVS client, for which I'll be using WinCVS Step-by-Step: 1) Install Cygwin (get it here: http://www.cygwin.com/download.html)there is one important point - when you get to selection of packages to install - make sure you've selected OpenSSH, which actually has ssh client (at the time I was installing cygwin that package was not selected automatically) 2) run cygwin shell at least once 3) put the path to the /bin directory of cygwin into PATH system variable (first in the path preferable, so that any other ssh client you have will not interfere with new one) 4) make sure you can run ssh.exe from command line of windows 5) try to connect to the SF server like this: "ssh your_user_name@cvs.sourceforge.net" (It's important to try that at least one before start using WinCVS) It will prompt you to add servers key in to the list of aceptable hosts, say yes. then it asks you for a password and if you correctly enter it it will say that you don't have persmission to execute anything and disconnects you. That's FINE. 6) Install WinCVS (get it from here: http://www.wincvs.org/download.html) I'm still using 1.2 stable, but latest 1.3 should be fine as well... 7) Launch wincvs (it'll ask you for the default dir or something). Goto to Admin->preferences. On general tab: CVSRoot: username@cvs.sourceforge.net:/cvsroot/gordianknot Authentication: SSH server On Globals tab you should uncheck everything (especially Check-out read only) Press ok 8) You ready to use WinCVS CVS oprations 1) Checkout (should be done only once): in win CVS go to Create -> Check out module. Module name: gknot local folder: select anywhere on you hdd (directory gknot will be created suring checkout process ) Press OK. SSH.exe window pops up where it asks you for you password. After you enter it you should be able to see the progress of checkout in the log window. All other oprations will require entering password as well!! 2) Update Updates files from the server. Right click on the directory or particular file and say update. New version will be fetched from the server. 3) Commit If the file is modified locally is will be highlited in red and right click on it will give you an option to commit this file back to the server. (it will ask you for commit message as well) 4) Add You can add files or directories to CVS repository. (Menu: Modify -> add selection). after you added file, you still have to commit it. There are two types of files: text and binaries. Text files can be merged when updating (i.e. you modified something and then when committing you've got an error, that file is not up to date, then you update and changes from the server merged (almost everytime) to you local version and then you can commit). Binaries cannot be merged and hence local changes will be lost if server has new version of the file. *.dfm (form description) and *.ddp (don't know what it is) are commited in to SF project as binaries. So be careful when working with GUI parts of GK... Best solution is to lock the form you're working on, so that noone can modify it while you're working on it. (and obviously we have to orhanize our activites as GK developers) That's it for now, I'll write second part on how to make ssh not asking you for password everytime you're working with SF server later.
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ Last edited by len0x; 12th April 2003 at 18:50. |
12th April 2003, 18:54 | #3 | Link | |||
I'm afraid we've to stop
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,398
|
Quote:
Quote:
Quote:
(if PATH, then it should be set on the system level only once: MyComputer -> Properties -> Advanced -> Environment variables)
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ Last edited by len0x; 12th April 2003 at 19:06. |
|||
12th April 2003, 21:47 | #5 | Link |
I'm afraid we've to stop
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,398
|
yeah, I'll move those files
to some other dir, from which that can be copied just once , and not updated anymore...
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ |
13th April 2003, 19:14 | #6 | Link |
Moderator
Join Date: Nov 2001
Posts: 581
|
the cygwin install is a bit heavy weight just for cvs access putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/) includs plink which you can use to do the same thing.
just set the CVS_RSH enviroment variable to c:\path\to\plink.exe and it should work. DaveEL |
13th April 2003, 19:36 | #7 | Link |
Registered User
Join Date: Dec 2002
Location: CA, USA
Posts: 45
|
Is it possible to get the source from CVS even if you arent a developer?
I'd like to get it and see if I can do anything useful before I ask to become a developer. I signed up for a sourceforge.net account last night, and I can recieve email (irasnyd_at_users.sourceforge.net) but I cannot login via ssh. It keeps telling me access denied. I can however login to sourceforge, so I know my password is correct. Any ideas? irasnyd |
13th April 2003, 19:40 | #8 | Link | |
Moderator
Join Date: Nov 2001
Posts: 581
|
Quote:
http://sourceforge.net/cvs/?group_id=77391 see "Anonymous CVS Access" DaveEL Last edited by DaveEL; 13th April 2003 at 19:44. |
|
14th April 2003, 11:27 | #9 | Link |
I'm afraid we've to stop
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,398
|
*.dsk and *.dof removed from CVS
Next time you update, they will be removed, so make backup first
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ |
14th April 2003, 14:28 | #10 | Link | |
Moderator
Join Date: Nov 2001
Posts: 581
|
Re: *.dsk and *.dof removed from CVS
Quote:
DaveEL |
|
14th April 2003, 14:35 | #11 | Link |
I'm afraid we've to stop
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,398
|
that's not necessary
Delphi will create them automatically anyway, and ppl will have to change the path settings as well...
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ |
14th April 2003, 14:44 | #13 | Link |
I'm afraid we've to stop
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,398
|
@deveel
If you have running project already (with paths correctly set up), then if you back them up, then you don't have to change settings again.(just copy them back after CVS removes them).
For new checkouts it doesn't matter - you have to go through settings anyway...
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ |
Thread Tools | Search this Thread |
Display Modes | |
|
|