|
|
SourceForge development for GordianKnot
quot;
(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: 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-gt;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 -gt; 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 -gt; 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.good tutorial - thanx (i would have needed that the day before yesterday... :b )!
how do i prevent certain files from being updated (GordianKnot.dof, GordianKnot.dsk ), i always have to reset the path variables?
wef.
good tutorial - thanx (i would have needed that the day before yesterday... :b )!sorry Didn't have time before...
how do i prevent certain files from being updated (GordianKnot.dof, GordianKnot.dsk ),I think simplest solution for all of us will be remove them from CVS at all (or put in another dir, just for new developers). It's delphi related anyway...
i always have to reset the path variables?which variables are you talking about ?
(if PATH, then it should be set on the system level only once: MyComputer -gt; Properties -gt; Advanced -gt; Environment variables)Originally posted by len0x
which variables are you talking about ?
Project -gt; Options -gt; Directories
all dirs (like output, unit output) are stored in the *.dof file.
to some other dir, from which that can be copied just once , and not updated anymore...
the cygwin install is a bit heavy weight just for cvs access putty (~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
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
Originally posted by irasnyd
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.
irasnyd
Yes you dont use ssh or even need to login if you are not a dveloper only checkouts can be done.cvs/?group_id=77391 see quot;Anonymous CVS Accessquot;
DaveEL
Next time you update, they will be removed, so make backup first
Originally posted by len0x
Next time you update, they will be removed, so make backup first
Should probably put a sourceforge file release up for them for people who havn't got the source before.
DaveEL
Delphi will create them automatically anyway, and ppl will have to change the path settings as well...
ok cool couldn't remember what was stored in those extentions but as you told people to backup i thought they were needed.
DaveEL
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... |
|