Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tools:cvs [2007/01/24 09:40] mannitools:cvs [2013/08/27 01:52] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== CVS on Windows ====== ====== CVS on Windows ======
 +
 +**Since moving away from Sourceforge, we now use an SVN repository instead of CVS.**
 +
 +See [[faq:getsourcecode]] for SVN information.
  
 ===== What is CVS? ===== ===== What is CVS? =====
Line 36: Line 40:
  
 ==== Checking out the latest POPFile ==== ==== Checking out the latest POPFile ====
-After you have successfully installed TortoiseCVS, you have to decide where you want to store the CVS version of POPFile. Pick any directory on your system that you like, just don't use the directory where your working version of POPFile is installed. The CVS version may contain bugs and it is available for testing and further development, but not to get the latest stable version. (If you want to checkout files that correspond to a certain, stable POPFile release, see [[Tools/CVS#updatespecial| below]].) +After you have successfully installed TortoiseCVS, you have to decide where you want to store the CVS version of POPFile. Pick any directory on your system that you like, just don't use the directory where your working version of POPFile is installed. The CVS version may contain bugs and it is available for testing and further development, but not to get the latest stable version. (If you want to checkout files that correspond to a certain, stable POPFile release, see [[#updating_popfile_while_keeping_your_changes| below]].) 
  
 Once you have found and/or created a directory to store the CVS version, fire up windows explorer and right-click the entry for that folder. From the context menu choose "CVS Checkout...". Once you have found and/or created a directory to store the CVS version, fire up windows explorer and right-click the entry for that folder. From the context menu choose "CVS Checkout...".
  
-{{http://popfile.sourceforge.net/cvs1.png}}+{{cvs1.png|Screenshot: Checking out POPFile}}
  
 Fill out the fields like shown in the screen shot. Specifically, you need to detail which **Protocol** to use (Password server / pserver), which **server** is hosting the repository (cvs.sourceforge.net), how the **repository folder** is called (/cvsroot/popfile), what your **user name** is (anonymous), and which **module** you'd like to checkout (engine).  Fill out the fields like shown in the screen shot. Specifically, you need to detail which **Protocol** to use (Password server / pserver), which **server** is hosting the repository (cvs.sourceforge.net), how the **repository folder** is called (/cvsroot/popfile), what your **user name** is (anonymous), and which **module** you'd like to checkout (engine). 
Line 56: Line 60:
 If you do not want the latest code stored on the cvs servers, you can also get the file versions that correspond to a certain POPFile release. To do this, fill out the parameters on the "Module" tab as described above and then change to the "Revision" tab. Click on "Update list" to get a list of available POPFile versions and then select one from the drop-down list as shown on the screenshot below. If you do not want the latest code stored on the cvs servers, you can also get the file versions that correspond to a certain POPFile release. To do this, fill out the parameters on the "Module" tab as described above and then change to the "Revision" tab. Click on "Update list" to get a list of available POPFile versions and then select one from the drop-down list as shown on the screenshot below.
  
-{{http://popfile.sourceforge.net/cvs_checkout_revision.png}}+{{cvs_checkout_revision.png|checking out a certain version}}
  
 ===== Managing your own changes to the POPFile code ===== ===== Managing your own changes to the POPFile code =====
Line 68: Line 72:
 Some people tweak POPFile according to their needs. But what if a new version of POPFile is released? Are they supposed to install the latest version and then make all those changes again? Not with CVS! Instead of using the installer or zip file, use CVS to download a certain version as described above. Make your changes and enjoy.  Some people tweak POPFile according to their needs. But what if a new version of POPFile is released? Are they supposed to install the latest version and then make all those changes again? Not with CVS! Instead of using the installer or zip file, use CVS to download a certain version as described above. Make your changes and enjoy. 
  
-[#updatespecial] 
 If a new version of POPFile is released, wait until John has tagged the CVS files as belonging to that version and until the SourceForge CVS servers have those files ready. Then, to update to the new POPFile release while keeping your changes, perform the following steps: If a new version of POPFile is released, wait until John has tagged the CVS files as belonging to that version and until the SourceForge CVS servers have those files ready. Then, to update to the new POPFile release while keeping your changes, perform the following steps:
  
   * In Windows Explorer, right-click your POPFile folder to bring up the context menu.   * In Windows Explorer, right-click your POPFile folder to bring up the context menu.
   * Choose "CVS -> Update Special".   * Choose "CVS -> Update Special".
-{{http://popfile.sourceforge.net/cvs_context_menu.png}}+{{cvs_context_menu.png|explorer context menu with the cvs submenu expanded}}
   * Check "Get tag/branch/revision" and click on the "Update list" button.   * Check "Get tag/branch/revision" and click on the "Update list" button.
   * Choose the version you want to update to from the drop-down list.   * Choose the version you want to update to from the drop-down list.
-{{http://popfile.sourceforge.net/cvs_update_special.png}}+{{cvs_update_special.png}}
   * Click OK and let TortoiseCVS get the new files and merge your changes.   * Click OK and let TortoiseCVS get the new files and merge your changes.
   * After the update you will get a status window that ought to look something like the below screen shot:   * After the update you will get a status window that ought to look something like the below screen shot:
-{{http://popfile.sourceforge.net/cvs_merged_changes.png}}+{{cvs_merged_changes.png}}
  
 In the last screen shot you can see that Tortoise updated the "stopwords" file, but it also merged my changes into the file. The same is true for "Bayes.pm" which also contained modifications. "popfile.sql", "Logger.pm" and "Module.pm" also changed, but I had not tweaked them so I simply got and update. In the last screen shot you can see that Tortoise updated the "stopwords" file, but it also merged my changes into the file. The same is true for "Bayes.pm" which also contained modifications. "popfile.sql", "Logger.pm" and "Module.pm" also changed, but I had not tweaked them so I simply got and update.
- 
 
tools/cvs.1169631640.txt.gz · Last modified: 2008/02/08 19:49 (external edit)
Old revisions

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License