ReactOS Source Code via SVN

Got a ReactOS tutorial to share? Drop it in here

Moderator: Moderator Team

Post Reply
frik85
Developer
Posts: 829
Joined: Fri Nov 26, 2004 7:48 pm
Location: Austria, Europe
Contact:

ReactOS Source Code via SVN

Post by frik85 »

ReactOS Source Code via SVN (CVS "successor")


Content
  • Get a Subversion client
    • Windows
    • Other OSs
  • Install TortoisesSVN
  • Checkout
  • Update (whole tree)
  • Update (certain part)
    • Check for Updates
    • Update your folder(s)
  • Export

SVN = Subversion
CVS = Concurrent Versions System


Get a Subversion client

RosWiki-Site: http://mok.lvcm.com/cgi-bin/reactos/roswiki?Subversion

Windows Sources for Linux, FreeBSD, NetBSD, OpenBSD, Solaris, MacOS X, Win32
I prefer the TortoisesSVN client and so I will show in this tutorial downloading the ReactOS source via TortoisesSVN.


Install TortoisesSVN

Checkout (only the first time)

Info
This will take a significant amount of bandwidth, disk space and time. I tried (test) it with an old 56k modem and it takes about 2 hours (on a Pentium 3 1000 MHz)! 280 MB on my disk and contain about 35000 files! But you only have to do this once!
  • Create a new folder (e.g. C:\Ros\Source\Trunk)
From: TortoisesSVN Manual wrote: There are some standard, recommended ways to organize a repository. Most people create a trunk directory to hold the "main line" of development, a >branches directory to contain branch copies, and a tagsdirectory to contain tag copies. If a repository holds only one project, then often people create these top-level directories:

/trunk
/branches
/tags
  • Click with the right mouse button on the folder (e.g. Trunk)
  • Click on "Checkout..."
  • Input "svn://svn.reactos.org/reactos/trunk"
    [old URI (02/2006): "svn://svn.reactos.org/audited/trunk/reactos"]
    [old URI (01/2005 - 12/2005): "svn://svn.reactos.com/trunk/reactos"]
  • Click "OK"
  • A window appear and show a long file list (tranfered files)
  • After some minutes the transfer is complete


Update (whole tree)

Info
This can take a some amount of bandwidth and disk space.
  • Click with the right mouse button on the folder (e.g. Trunk) and chose "Update"
  • TortoisesSVN download only newer files from the ReactOS server.


Update (only a certain part / folders)

Info
This can take a some amount of bandwidth and disk space.
  • Check for Updates
    • Select a folder or folders
    • Click with the right mouse button on the folder (e.g. Trunk)
    • Chose "TortoisesSVN" -> "Check for Updates" (only available if you select one folder)
    • TortoisesSVN search for updates and display a update list (no file transfer !!!)
  • Update your folder(s)
    • Click with the right mouse button on the folder (e.g. Trunk) and chose "Update" or "TortoisesSVN" -> "Update to Revision..."
    • TortoisesSVN download only newer files from the ReactOS server.

Export
Sometimes you may want a working copy without any of those ".svn" directories, e.g. to create a zipped tarball of your source. Instead of making a copy and then delete all those .svn directories manually, TortoiseSVN offers a export function.
  • Click with the right mouse button on the folder (e.g. Trunk) and chose "TortoisesSVN" -> "Export"
  • Chose a folder (e.g. C:\Ros\Source\20050102)
  • Now you are able to compile reactos (see tutorial on this site)


Don't forget reading the manual and the official homepage for more information.


License: GNU FDL (GNU Free Documentation License)

Klemens Friedl <frik85>
Last edited by frik85 on Sat May 13, 2006 8:35 pm, edited 2 times in total.
mrnt
Posts: 6
Joined: Wed Feb 01, 2006 6:10 pm

Post by mrnt »

hi,
i tried checkin' out the source code via SVN (i have installed Tortoise on Windows): at first it didn't work (the URL seemed uncorrect), then i tried the following URL:
svn://svn.reactos.org/reactos/trunk
and it seemed to work, but it requires authentication; i don't find any authentication information on this tutorial, i tired entering "guest" as username and no password (they are very common), but it didn't accept; so what should i enter? or did i miss the authentication instructions on the previous post?

thank you.

PS: of course i don't wanna do any commit, i'd like just to have read-only access to the source code; i don't like Doxygen, i find that examining source code on a local copy is much easier. :P
mrnt
Posts: 6
Joined: Wed Feb 01, 2006 6:10 pm

Post by mrnt »

mrnt wrote:i tried entering "guest" as username and no password (they are very common)
i also tried "guest"-"guest", of course it didn't work.
frik85
Developer
Posts: 829
Joined: Fri Nov 26, 2004 7:48 pm
Location: Austria, Europe
Contact:

Post by frik85 »

this URI will work: svn://svn.reactos.org/audited/trunk/reactos

EDIT: the URL is outdated, use this one instead: svn://svn.reactos.org/reactos/trunk
Last edited by frik85 on Sat May 13, 2006 8:33 pm, edited 1 time in total.
mrnt
Posts: 6
Joined: Wed Feb 01, 2006 6:10 pm

Post by mrnt »

thank you :)
tsg1zzn
Posts: 48
Joined: Tue Mar 21, 2006 7:21 pm

Post by tsg1zzn »

frik85 wrote:this URI will work: svn://svn.reactos.org/audited/trunk/reactos
Arrrgggggg I could hit myself. I've downloaded from svn://svn.reactos.ru/reactos/trunk for about an hour now, don't tell me I need to start all over again!!!!

I found that url here: http://www.reactos.org/wiki/index.php/R ... ep-by-step
frik85
Developer
Posts: 829
Joined: Fri Nov 26, 2004 7:48 pm
Location: Austria, Europe
Contact:

Post by frik85 »

tsg1zzn wrote:
frik85 wrote:this URI will work: svn://svn.reactos.org/audited/trunk/reactos
Arrrgggggg I could hit myself. I've downloaded from svn://svn.reactos.ru/reactos/trunk for about an hour now, don't tell me I need to start all over again!!!!

I found that url here: http://www.reactos.org/wiki/index.php/R ... ep-by-step
No, svn://svn.reactos.ru/reactos/trunk or svn://svn.reactos.org/reactos/trunk are okay. The other url is outdated.
tsg1zzn
Posts: 48
Joined: Tue Mar 21, 2006 7:21 pm

Post by tsg1zzn »

Puhhh
Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests