home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / misc / discuss / 2546 < prev    next >
Encoding:
Text File  |  1992-07-26  |  4.7 KB  |  118 lines

  1. Newsgroups: gnu.misc.discuss
  2. Path: sparky!uunet!fmrco!fmrco!asherman
  3. From: asherman@laser.fmrco.com (Aaron Sherman)
  4. Subject: Re: gnu CVS help wanted
  5. In-Reply-To: riepe@z.eecs.umich.edu's message of 20 Jul 92 22:24:52 GMT
  6. Message-ID: <ASHERMAN.92Jul26185956@laser.fmrco.com>
  7. Sender: news@fmrco.uucp
  8. Reply-To: asherman@fmrco.COM
  9. Organization: I-Kinetics, 19 Bishop-Allen Dr., Cambridge, MA
  10. References: <1992Jul20.222452.18125@zip.eecs.umich.edu>
  11. Date: Sun, 26 Jul 1992 23:59:56 GMT
  12. Lines: 104
  13.  
  14.  
  15. >>>>> riepe@z.eecs.umich.edu (Michael Anthony Riepe) said:
  16.  
  17. riepe> I am looking for someone who is willing to give me some help in using
  18. riepe> GNU cvs.  Please reply by e-mail, I doubt this is of general interest.
  19.  
  20. This has been asked (and answered via Email) enough times to warrent a
  21. post.
  22.  
  23. riepe> CVS seems ideal for my needs - I have an application that I
  24. riepe> would like to put under RCS control.  Its source is made up of a large
  25. riepe> directory hierarchy, and CVS seems like a good way to simplify the 
  26. riepe> archive system.  Unfortunately, I have been unable to create the
  27. riepe> initial CVS source repository, and would appreciate some help from
  28. riepe> someone who has used it before (none of the unix support counselors
  29. riepe> here at UM have ever even *heard* of CVS).
  30.  
  31. You need the "cvsinit" script which lives in the root of the source
  32. tree. This script lives in the top-level of the cvs 1.3 source tree.
  33. There are also docs about it in the "INSTALL" file.
  34.  
  35. riepe> The man page seems fairly complete in its discussion of the use of RCS
  36. riepe> on an existing source repository, but is not helpful at all in the
  37. riepe> process of creating the repository to begin with (Brian
  38. riepe> Berliner [author] are you listening?). 
  39.  
  40. Here are diffs to follow for the man-page and Makefile, so that
  41. information about cvsinit will be easier to find, and cvsinit will get
  42. installed when you install cvs (this is not the best way to do all of
  43. this. cvsinit should live in src, and be installed with the rest of
  44. the programs. Brian is making the assumption that cvsinit will only be
  45. run once, by the installer of CVS. This is only true if there is ONLY
  46. ONE repository on each system, which may not be the case for various
  47. reasons):
  48.  
  49. --- Makefile.in.orig    Sun Jul 26 18:34:37 1992
  50. +++ Makefile.in Sun Jul 26 18:37:45 1992
  51. @@ -121,9 +121,12 @@
  52.  clean-info:
  53.  install-info:
  54.  
  55. -install:
  56. +install: install-cvsinit
  57.         @for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $(MDEFINES) $@ || exit 1; cd ..; done
  58.  .PHONY: install
  59. +
  60. +install-cvsinit: cvsinit
  61. +       $(INSTALL) cvsinit $(bindir)/cvsinit
  62.  
  63.  tags:
  64.         @for dir in $(TSUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $(MDEFINES) $@ || exit 1; cd ..; done
  65.  
  66. --- man/cvs.1.orig    Thu Apr  9 23:05:16 1992
  67. +++ man/cvs.1    Sun Jul 26 18:53:51 1992
  68. @@ -50,6 +50,9 @@
  69.  This copy is called the source ``repository''; it contains all the
  70.  information to permit extracting previous software releases at any
  71.  time based on either a symbolic revision tag, or a date in the past.
  72. +.SP
  73. +Note: if you are creating a \fInew\fP source repository with \fBcvs\fP,
  74. +then you will want to see the \fIGETTING STARTED\fP section, below.
  75.  .SH "ESSENTIAL COMMANDS"
  76.  .B cvs
  77.  provides a rich variety of commands (\fIcvs_command\fP in the
  78. @@ -1810,6 +1813,34 @@
  79.  \fB\-l\fP, \fB\-P\fP, \fB\-p\fP, \fB\-Q\fP, \fB\-q\fP, and \fB\-r\fP
  80.  are also available with \fBupdate\fP.
  81.  .RE
  82. +.SH "GETTING STARTED"
  83. +To create a \fInew\fP \fBcvs\fP source repository (note, this is not for
  84. +adding a new tree to an existing repository):
  85. +.LP
  86. +Setup the master source repository.  Choose a directory with ample disk
  87. +space available for source files.  This is where the \fBRCS\fP ",v" files
  88. +will be stored.  Note that this should be some shared directory for your
  89. +site.  It should probably be auto-mounted, if you're running \fBNFS\fP.
  90. +.LP
  91. +Say you choose "/src/master" as the root of your source repository.
  92. +Run the \fBcvsinit\fP script to help you set it up.  It will ask you to
  93. +enter the path to your \fICVSROOT\fP area.  You would enter /src/master in
  94. +this example.
  95. +.SP
  96. +.RS 5
  97. +$ cvsinit
  98. +.RE
  99. +.SP
  100. +The \fBcvsinit\fP script will setup a reasonable \fICVSROOT\fP area to
  101. +start with.
  102. +It is also valuable to folks who already have a \fICVSROOT\fP area setup
  103. +from
  104. +using earlier releases of \fBCVS\fP.  It assumes that you have installed
  105. +\fBCVS\fP
  106. +already and that the \fBRCS\fP programs (co and ci) are in your
  107. +\fIPATH\fP.  There are many ways to customize \fBCVS\fP for your site.
  108. +Read the
  109. +\fBcvs(5)\fP manual page when you get the chance.
  110.  .SH "FILES"
  111.  For more detailed information on
  112.  .B cvs
  113. --
  114. --------
  115. Disclaimer: I am solely responsible for the content of this message.
  116. The views expressed here may not be the views of I-Kinetics, Fidelity,
  117. any of the Fidelity-owned corporations or my mother.
  118.