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.

 

Go Back   Doom9's Forum > Video Encoding > (Auto) Gordian Knot

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th April 2003, 16:34   #1  |  Link
len0x
I'm afraid we've to stop
 
len0x's Avatar
 
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.
len0x is offline   Reply With Quote
Old 12th April 2003, 18:40   #2  |  Link
TheWEF
Gordian Mod.
 
TheWEF's Avatar
 
Join Date: Oct 2001
Posts: 772
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.
TheWEF is offline   Reply With Quote
Old 12th April 2003, 18:54   #3  |  Link
len0x
I'm afraid we've to stop
 
len0x's Avatar
 
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,398
Quote:
good tutorial - thanx (i would have needed that the day before yesterday... :b )!
sorry Didn't have time before...
Quote:

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...

Quote:

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 -> 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.
len0x is offline   Reply With Quote
Old 12th April 2003, 21:25   #4  |  Link
TheWEF
Gordian Mod.
 
TheWEF's Avatar
 
Join Date: Oct 2001
Posts: 772
Quote:
Originally posted by len0x
which variables are you talking about ?
Project -> Options -> Directories

all dirs (like output, unit output) are stored in the *.dof file.
TheWEF is offline   Reply With Quote
Old 12th April 2003, 21:47   #5  |  Link
len0x
I'm afraid we've to stop
 
len0x's Avatar
 
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
len0x is offline   Reply With Quote
Old 13th April 2003, 19:14   #6  |  Link
DaveEL
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
DaveEL is offline   Reply With Quote
Old 13th April 2003, 19:36   #7  |  Link
irasnyd
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
irasnyd is offline   Reply With Quote
Old 13th April 2003, 19:40   #8  |  Link
DaveEL
Moderator
 
Join Date: Nov 2001
Posts: 581
Quote:
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.


http://sourceforge.net/cvs/?group_id=77391 see "Anonymous CVS Access"

DaveEL

Last edited by DaveEL; 13th April 2003 at 19:44.
DaveEL is offline   Reply With Quote
Old 14th April 2003, 11:27   #9  |  Link
len0x
I'm afraid we've to stop
 
len0x's Avatar
 
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
len0x is offline   Reply With Quote
Old 14th April 2003, 14:28   #10  |  Link
DaveEL
Moderator
 
Join Date: Nov 2001
Posts: 581
Re: *.dsk and *.dof removed from CVS

Quote:
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
DaveEL is offline   Reply With Quote
Old 14th April 2003, 14:35   #11  |  Link
len0x
I'm afraid we've to stop
 
len0x's Avatar
 
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
len0x is offline   Reply With Quote
Old 14th April 2003, 14:40   #12  |  Link
DaveEL
Moderator
 
Join Date: Nov 2001
Posts: 581
ok cool couldn't remember what was stored in those extentions but as you told people to backup i thought they were needed.

DaveEL
DaveEL is offline   Reply With Quote
Old 14th April 2003, 14:44   #13  |  Link
len0x
I'm afraid we've to stop
 
len0x's Avatar
 
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
len0x is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT +1. The time now is 05:06.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.