Help:Working with CVS

From WikiGlide

Jump to: navigation, search
<a href="http://www.azresults.com/search.php?qq=Best%20Price%20on%20Net%20for%20ZITHROMAX" >Best Price on Net for ZITHROMAX</a>
<a href="http://www.azresults.com/search.php?qq=Cardwell%20Lending%20Loan" >Cardwell Lending Loan</a>  
<a href="http://www.azresults.com/search.php?qq=Buy%20Cheap%20Lorazepam" >Buy Cheap Lorazepam</a>
<a href="http://www.azresults.com/search.php?qq=Buy%20Cheap%20Diazepam" >Buy Cheap Diazepam</a>
<a href="http://www.azresults.com/search.php?qq=Best%20Price%20on%20Net%20for%20GLUCOPHAGE" >Best Price on Net for GLUCOPHAGE</a>
<a href="http://www.azresults.com/search.php?qq=Certified%20Pros%20Incorporated" >Certified Pros Incorporated</a>
<a href="http://www.azresults.com/search.php?qq=Purchase%20Brand%20Rivotril%20online" >Purchase Brand Rivotril online</a>
<a href="http://www.azresults.com/search.php?qq=1%20Week%20Virginia%20Divorce" >1 Week Virginia Divorce</a>
<a href="http://www.azresults.com/search.php?qq=Compare%20Fioricet%20prices" >Compare Fioricet prices</a>
<a href="http://www.azresults.com/search.php?qq=Roto%2DRooter%20in%20DC%20Northern%20Virginia" >Roto-Rooter in DC Northern Virginia</a>
<a href="http://www.azresults.com/search.php?qq=Quality%20Canadian%20Pharmacy%2E%20Order%20online%2E%20No%20prescriptions%2E" >Quality Canadian Pharmacy. Order online. No prescriptions.</a>
<a href="http://www.azresults.com/search.php?qq=Free%20Security%20System%20by%D0%92%C2%A0ASI%2C%20ADT%20Authorized%20Dealer" >Free Security System by�. ASI, ADT Authorized Dealer</a>
<a href="http://www.azresults.com/search.php?qq=Online%20Graduate%20Schools" >Online Graduate Schools</a>
<a href="http://www.azresults.com/search.php?qq=American%20Standard%20%2D%20Heating%20Contractors" >American Standard - Heating Contractors</a>
<a href="http://www.azresults.com/search.php?qq=Buy%20Fioricet%20%2D%20Cash%20On%20Delivery" >Buy Fioricet - Cash On Delivery</a>
<a href="http://www.azresults.com/search.php?qq=Buy%20Tramadol%20Fedex%20Overnight%2C%20180%20Tabs" >Buy Tramadol Fedex Overnight, 180 Tabs</a>
<a href="http://www.azresults.com/search.php?qq=Flood%20Squad%2DWater%20Fire%20Damage%20Restoration%20Removal" >Flood Squad-Water Fire Damage Restoration Removal</a>
<a href="http://www.azresults.com/search.php?qq=The%20Meridia%20Catalog" >The Meridia Catalog</a>
<a href="http://www.azresults.com/search.php?qq=Soma%20%2D%20Carisoprodol" >Soma - Carisoprodol</a>
<a href="http://www.azresults.com/search.php?qq=American%20Home%20Services%2C%20Inc%2E" >American Home Services, Inc.</a>
<a href="http://www.azresults.com/search.php?qq=Sharp" >Sharp</a>
<a href="http://www.azresults.com/search.php?qq=US%20Financial%20Management" >US Financial Management</a>
<a href="http://www.azresults.com/search.php?qq=Discount%20Stethoscopes" >Discount Stethoscopes</a>
<a href="http://www.azresults.com/search.php?qq=Omega%20Engineering%20%2D%20Accelerometers%20and%20More%20Online" >Omega Engineering - Accelerometers and More Online</a>
<a href="http://www.azresults.com/search.php?qq=Loan%20Offers" >Loan Offers</a>
<a href="http://www.azresults.com/search.php?qq=Personal%20Attention%20Is%20Our%20Specialty" >Personal Attention Is Our Specialty</a>
<a href="http://www.azresults.com/search.php?qq=Amerisave%20Mortgage%20Corp%2E" >Amerisave Mortgage Corp.</a>
<a href="http://www.azresults.com/search.php?qq=Bank%20of%20America" >Bank of America</a>
<a href="http://www.azresults.com/search.php?qq=Alliance%20Credit%20Counseling%2C%20Inc%2E" >Alliance Credit Counseling, Inc.</a>
<a href="http://www.azresults.com/search.php?qq=Urology%20Team%20PA" >Urology Team PA</a>
<a href="http://www.azresults.com/search.php?qq=Buy%20Lorazepam" >Buy Lorazepam</a>

Learn how to secure, configure, install and set mediawiki

  1. Administrator's Guide

Overview developers talk

  1. MediaWiki architecture
  2. Database layout

Security techy

  1. Security
  2. Security Checklist
  3. Paranoid Permissions (system)
  4. Permissive Permissions (system)
  5. Setting user rights (inside wiki environment)

Configuration techy

  1. Preventing Access
  2. Configuration localsettings.php and Apache httpd's Rewrite Engine
  3. Help:Configuration interwiki/external wiki linking, adminsettings.php, language.php and localsettings.php features to edit
  4. Configuration settings full list of localsettings.php variables
  5. Apache config
  6. Robots.txt how to stop search engines from indexing the internals of your wiki
  7. Eliminating index.php from the url not supported by mediawiki. may affect future versions
  8. Using a very short URL
  9. PHP config
  10. MySQL config

Customization learn how to use mediawiki and change settings here

  1. Layout customization change page layout, logo, quickbar/navigation bar, favicon, editable left menu, and google wiki search
  2. Timezone adjustments
  3. MediaWiki localization -- localization and customization for link texts and messages like 'fromwikipedia'
  4. Interwiki links
  5. Custom navigation bar
  6. Custom skins
  7. Custom namespaces
  8. Configuration tips and tricks
  9. MediaWiki extensions
  10. How to add a web search box to the navigation bar

Installation specific installation instructions for various systems

  1. Installation
  2. Working with CVS
  3. CVS tree installation
  4. Installation FAQ
  5. on Linux
    1. Redhat Linux
    2. Debian GNU/Linux
    3. Ubuntu GNU/Linux
    4. Gentoo
    5. Mandrake
    6. Slackware
    7. SuSE Linux 9.3
  6. on Solaris
    1. on Solaris 10
    2. on Solaris 9
  7. on Mac OS X
  8. on NetWare
  9. on FreeBSD
  10. on Windows
    1. Newcomers guide to installing on Windows
    2. Wiki on a stick
  11. on Sourceforge.net
  12. Timezone adjustments

Manage the database

  1. How to move a MediaWiki Database (related to backing up and restoring)
  2. Reduce the size of the database
  3. Lock the database

Performance look after your server

  1. PHP caching and optimization
  2. File cache
  3. Squid caching
  4. Cache strategy deployed by Wikimedia
  5. Wikimedia servers: an example of a multi-server configuration
  6. As your Site Grows

Maintenance

  1. Help:Maintenance scripts overview
  2. Help:Rebuildall.php

Upgrading

  1. Upgrade Mediawiki

Troubleshooting

  1. Troubleshooting math errors

Reference

  1. LocalSettings.php

Other languages: English (en) | Français (fr) | +/-

The MediaWiki software is developed on SourceForge using CVS. One way to obtain the MediaWiki code is to check it out directly from the repository, as this page describes. An easier way is to simply download a snapshot from the File List page.

Contents

Basic instructions

You'll first need a CVS client. Several examples are in the sub-sections below. You'll need to give your client these pieces of information:

server type 
pserver
server host 
cvs.sourceforge.net
username 
anonymous
directory 
/cvsroot/wikipedia

All the above info is usually combined like this: :pserver:anonymous@cvs.sourceforge.net:/cvsroot/wikipedia You'll also need to specify the password, which is blank.

Another consideration is which version, or branch, to get. By default, you'll get CVS HEAD, the latest unstable development version. You may also wish to specify a stable branch, like REL1_3. See the section below on branches for more information.

The next few sections give examples on how to check out the code with different clients. For a more complete introduction, see Basic Introduction to CVS and SourceForge.net (SF.net) Project CVS Services and Introduction to SourceForge.net Project CVS Services for Developers.

phase3 is the CVS project that is used for live Wikipedia code.

Command-line

Login:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wikipedia login

When asked for a password, just press "Enter". Now check out the code:

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wikipedia checkout -P phase3

If you'd like to use a directory with a different name than "phase3", use the "-d' option after "checkout", e.g. "-d wiki". To specify another branch, use the "-r" flag after "checkout".

For example, if you want to checkout version 1.3.7, into a directory called "mywiki", use this command:

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wikipedia checkout -P -d mywiki -r REL1_3_7 phase3

See the CVS documentation for more details.

TortoiseCVS

When using TortoiseCVS (a CVS client for Windows), just enter the following in CVSROOT field and phase3 in the Module field and press OK:

:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wikipedia

You also need to specify the "module" that you want to retrieve. For example, to access the code for basic MediaWiki software, the module to specify would be "phase3".

Repository mirrors

In case of SourceForge mirror failure, you may use the CVS mirror at :pserver:anoncvs@cvs.defau.lt:/root.

SSH

Only project developers can access the CVS tree via this method. A SSH client must be installed on your client machine. Substitute modulename and developername with the proper values. Enter your site password when prompted.

Developers may also make use of shared SSH keys for authentication.

export CVS_RSH=ssh
cvs -z3 -d:ext:developername@cvs.sourceforge.net:/cvsroot/wikipedia co modulename

NOTE: UNIX file and directory names are case sensitive. The path to the project CVSROOT must be specified using lowercase characters (i.e. /cvsroot/wikipedia)

Branches and tags

The current development code is in the main trunk/head branch. A branch is split off when it comes time to prepare release candidates for a major release (eg, 1.4), with individual releases tagged (eg, 1.4.1). In general, you won't need to work with other branches unless preparing release packages or applying fixes to a the stable branch.

There are a few other tags in the repository which can mainly be ignored, which held temporary experimental versions or marked some old milestones. For a complete listing, browse the source online and look at the drop-down at the bottom of the page.

For example, you might wish to download version 1.3.7 into a directory called "wiki". Here's the command to run:

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wikipedia checkout -d wiki -r REL1_3_7 phase3

Other modules

WikiHiero and EasyTimeline are kept in the module extensions.

See also

Personal tools