Difference between revisions of "CVS"

From LinuxMIPS
Jump to: navigation, search
(Give 2nd example for the linux-malta tree.)
(Various updates)
Line 1: Line 1:
 
'''CVS''' has ''finally'' been retired at linux-mips.org.  Currently the main project, the MIPS kernel, has been switched to [[git]]; others will follow.  The anonymous CVS server will stay running so people can continue to do ''cvs diff'' and other operations but the content of the archive is frozen.
 
'''CVS''' has ''finally'' been retired at linux-mips.org.  Currently the main project, the MIPS kernel, has been switched to [[git]]; others will follow.  The anonymous CVS server will stay running so people can continue to do ''cvs diff'' and other operations but the content of the archive is frozen.
 
'''Please disable rsyncing and other automated operations on the CVS archive.  The kernel CVS archive is frozen so there is no point in continuing to run those jobs.'''
 
  
 
== Anonymous CVS ==
 
== Anonymous CVS ==
  
For those who always want to stay on the bleeding edge, and want to avoid having to download patch files or full tarballs, we also have an anonymous CVS server.  Using CVS, you can checkout the Linux/MIPS source tree with the following commands where you insert linux, libc, gdb or faq for <repository>.
+
Using CVS, you can checkout the Linux/MIPS source tree with the following commands where you insert linux, libc, gdb or faq for <repository>.
 
   
 
   
     cvs -d :pserver:cvs@ftp.linux-mips.org:/home/cvs login
+
     cvs -d :pserver:cvs@cvs.linux-mips.org:/home/cvs login
 
     (Only needed the first time you use anonymous CVS, the password is "cvs")
 
     (Only needed the first time you use anonymous CVS, the password is "cvs")
     cvs -d :pserver:cvs@ftp.linux-mips.org:/home/cvs co -r <tag> <repository>
+
     cvs -d :pserver:cvs@cvs.linux-mips.org:/home/cvs co -r <tag> <repository>
  
 
The "linux" repository contains a ''linux_2_2'', ''linux_2_4'' branch and Linux 2.6 on the trunk.
 
The "linux" repository contains a ''linux_2_2'', ''linux_2_4'' branch and Linux 2.6 on the trunk.
  
There is a mailing list for information on what gets committed to this repository.
+
There used to be the ''linux-cvs'' and ''linux-cvs-patches'' mailing lists for information on what gets committed to this repository.  Due to freezing the CVS archive there won't be any further postings to these lists which thus have been deleted.  The archives however will be kept.
  
There is also the "malta/linux" repository which is a special tree especially tuned for stability on [[Mips_Malta|Malta]].  It's usually quite far behind the main linux repository and is being phased out in favor for full-blown Malta support in the main linux CVS tree. To checkout a stable 2.4 kernel use the tag ''MaltaRef_2_4'' and for 2.6 ''MaltaRef_2_6''.
+
There is also the "malta/linux" repository which is a special tree especially tuned for stability on [[Mips_Malta|Malta]].  It's usually quite far behind the main linux repository and is being phased out in favor for full-blown Malta support in the main linux CVS tree which in turn has been superseeded by the GIT tree. To checkout a stable 2.4 kernel use the tag ''MaltaRef_2_4'' and for 2.6 ''MaltaRef_2_6''.
  
More on a historical note, there also is a linux-2.0 repository.  The CVS Linux 2.0 version is a backport of the massive MIPS improvments during the 2.1 series which was created for [[Cobalt]] when it became clear that 2.2 would not be released in
+
More on a historical note, there also is a linux-2.0 repository.  The CVS Linux 2.0 version is a backport of the massive MIPS improvments during the 2.1 series which was created for [[Cobalt]] when it became clear that 2.2 would not be released in time to ship with the Cobalt products.  Thus it only supports early versions of the Cobalt MIPS hardware.  Of interest only to cyber archeologists.
time to ship with the Cobalt products.  Thus it only supports the Cobalt Qube and Raq.
+
  
 
== Web CVS ==
 
== Web CVS ==
Line 47: Line 44:
 
</pre>
 
</pre>
 
which will checkout the MaltaRef_2_6 branch from the linux-malta.git repository.
 
which will checkout the MaltaRef_2_6 branch from the linux-malta.git repository.
 +
 +
The RCS revision numbers of file versions are different between the CVS archive and the GIT-CVS archive.  This means you cannot just switch an existing checkout from the CVS to the GIT-CVS server.

Revision as of 16:54, 22 January 2009

CVS has finally been retired at linux-mips.org. Currently the main project, the MIPS kernel, has been switched to git; others will follow. The anonymous CVS server will stay running so people can continue to do cvs diff and other operations but the content of the archive is frozen.

Anonymous CVS

Using CVS, you can checkout the Linux/MIPS source tree with the following commands where you insert linux, libc, gdb or faq for <repository>.

    cvs -d :pserver:cvs@cvs.linux-mips.org:/home/cvs login
    (Only needed the first time you use anonymous CVS, the password is "cvs")
    cvs -d :pserver:cvs@cvs.linux-mips.org:/home/cvs co -r <tag> <repository>

The "linux" repository contains a linux_2_2, linux_2_4 branch and Linux 2.6 on the trunk.

There used to be the linux-cvs and linux-cvs-patches mailing lists for information on what gets committed to this repository. Due to freezing the CVS archive there won't be any further postings to these lists which thus have been deleted. The archives however will be kept.

There is also the "malta/linux" repository which is a special tree especially tuned for stability on Malta. It's usually quite far behind the main linux repository and is being phased out in favor for full-blown Malta support in the main linux CVS tree which in turn has been superseeded by the GIT tree. To checkout a stable 2.4 kernel use the tag MaltaRef_2_4 and for 2.6 MaltaRef_2_6.

More on a historical note, there also is a linux-2.0 repository. The CVS Linux 2.0 version is a backport of the massive MIPS improvments during the 2.1 series which was created for Cobalt when it became clear that 2.2 would not be released in time to ship with the Cobalt products. Thus it only supports early versions of the Cobalt MIPS hardware. Of interest only to cyber archeologists.

Web CVS

Via cvsweb, you have direct access to the new Linux/MIPS kernel sources, and a few other projects hosted in the same CVS archive. The intuitive interface allows you to follow the development at the click of your mouse.

XCVS

XCVS runs nightly and generates patches for CVS commits made in the previous day. You can search patches through a variety of searching criteria. Click here to explore.

CVS over Rsync

The CVS repository can also be fetched using rsync:

    rsync -avz --progress --stats rsync://ftp.linux-mips.org/cvs/linux /local/directory
    rsync -avz --progress --stats rsync://ftp.linux-mips.org/cvs/CVSROOT /local/directory

You can then check it out using:

    cvs -d/local/directory co linux  (optionally, throw in -r linux_X_Y_Z for a specific branch)

The Git CVS server

Git now has aquired the ability to deliver it's content over the venerable CVS protocol. While inferior in endless ways it's the easy way to stay uptodate for existing CVS users. Usage is slightly different, so here's a special cooking receipe. First, there is no need to do a cvs login, just use the username anonymous. Specify the git repository for the CVS repository and the git branch as the CVS module name. Example:

cvs -d :pserver:anonymous@git.linux-mips.org:/pub/scm/linux.git co -d linux -P master

This will checkout the git master branch from the linux.git repository into a local subdirectory named master. Similarly you can use this with the linux-malta.git repository like this:

cvs -d :pserver:anonymous@git.linux-mips.org:/pub/scm/linux-malta.git co -d linux -P MaltaRef_2_6

which will checkout the MaltaRef_2_6 branch from the linux-malta.git repository.

The RCS revision numbers of file versions are different between the CVS archive and the GIT-CVS archive. This means you cannot just switch an existing checkout from the CVS to the GIT-CVS server.