Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ Dawn of Time
➜ Installing/compiling the server
➜ This may be a little advanced but...
|
This may be a little advanced but...
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Viruz
(19 posts) Bio
|
| Date
| Thu 07 Feb 2002 11:28 PM (UTC) |
| Message
| I am working on DoT on 2 different OS' Win2k using VC++ to compile it and OpenBSD 3.0
I love working on both platforms for developing but I was wondering if there would be an easy way to syncronise code from one machine to another.
ie:
if I like the changes I made in VC++ and want to make them live on my OBSD all I would like to do is move over the code that was modified and not move over everything. so if i just modified 1 file or 5 files(and dont remember which ones i modified) just move them and not all the other files.
And vice versa too .
I hope this makes sense.
My open BSD box only runs ftp and ssh (no samba or anything else) , my win2k box has no servers installed. | | Top |
|
| Posted by
| Kalahn
United Kingdom (138 posts) Bio
|
| Date
| Reply #1 on Thu 07 Feb 2002 11:55 PM (UTC) |
| Message
| Depends how nicely you want to sync them.
One way is to network the openbsd and win2k machine, have the win2k machine. Have a single code source on the openbsd machine using samba for win2k to access the files on the openbsd box.
Or you could use cvs which is a bit cleaner, combine cvs and wincvs into visual studio etc.
What you are trying to do is totally possible though,
- Kal |
Kalahn
Developer of the Dawn of Time codebase
http://www.dawnoftime.org/ | | Top |
|
| Posted by
| Viruz
(19 posts) Bio
|
| Date
| Reply #2 on Fri 08 Feb 2002 12:02 AM (UTC) |
| Message
| Since I would like it to be clean probably cvs would be right.. and also I have no clue on how to set up samba :)
would you have any pointers on setting up CVS?
Sites documentation etc..?
| | Top |
|
| Posted by
| Balo
(8 posts) Bio
|
| Date
| Reply #3 on Fri 08 Feb 2002 04:39 AM (UTC) |
| Message
| Assuming you have a firewall in place Samba is extremely simple to set up , Just make sure you have the windows networking ports blocked to the outside world.
I don’t remember off the top of my head which examples or tutorials I used, but a simple search on Google will yield many sources of information on this subject. I think it took me all of 20 minutes to set up, My Mud runs on A FreeBSD machine and I do most of my coding using MSVC on My Win2K machine via the samba share, I also use CVS and I cant stress how useful this is, CVS is a great tool , its saved me hours of work.
Learning how to set up and use CVS is a little more complex than Samba , but there are many good sources of info available, once again I recommend a search on Google.
-Balo-
IMP Stormbringer MUD
telnet://stormbringer.sytes.net:4500
http://www.stormbringer.sytes.net | | Top |
|
| Posted by
| Viruz
(19 posts) Bio
|
| Date
| Reply #4 on Fri 08 Feb 2002 06:12 AM (UTC) |
| Message
| Well I got samba set up , not as painfull as i thought. I am behind a router with only mud ports open so windows networking is non existant to the outside world.
I will try this setup and see if I can use this setup to succesfully edit and compile files on both machines.
The reson I wanted to do this is while at work I ssh into my box to fiddle with source code and it would be nice to have one set of code to work on rather than 2 sets and having to remember what files i changed..
well give it a go, thanks all
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #5 on Fri 08 Feb 2002 08:52 AM (UTC) |
| Message
| I would have thought that the simple way to synchronise code changes would be to do a "diff" on the whole directory, and then run "patch" on the resulting file on the other machine.
Also, check out "rsync" which synchronises files between two machines. From "man rsync" ...
The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files across the network link, using an efficient checksum-search algorithm described in the technical report that accompanies this package.
I presume you could run rsync on the Win2K PC using Cygwin.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Viruz
(19 posts) Bio
|
| Date
| Reply #6 on Fri 08 Feb 2002 09:01 AM (UTC) |
| Message
| I guess since I have the source directory from my BSD box mapped as a shared drive I could as easily run a diff program and compare both directories, essentially doing just what you said but a little differently.
dunno still experimenting.
| | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
23,786 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top