Changes

Jump to navigation Jump to search
Update CVS server details
Line 1: Line 1:  +
{{Level|Developer}}
 
The simplest package modification is for someone to access the code via anonymous CVS and produce a patch to put into Bugzilla.
 
The simplest package modification is for someone to access the code via anonymous CVS and produce a patch to put into Bugzilla.
 
This can be done on SME 8 by installing only cvs as follows.
 
This can be done on SME 8 by installing only cvs as follows.
Line 35: Line 36:  
== Retrieve code ==
 
== Retrieve code ==
 
==== Getting the source code ====
 
==== Getting the source code ====
In this How-To we want to work on the package 'e-smith-base'. We first need to download (with CVS this is called retrieving) the code for 'e-smith-base' from the SME Server CVS repository at SourceForge, we can also retrieve the CVS for the smecontribs tree. For this issue the following commands:
+
In this How-To we want to work on the package 'e-smith-base'. We first need to download (with CVS this is called retrieving) the code for 'e-smith-base' from the SME Server CVS repository at koozali.org, we can also retrieve the CVS for the smecontribs tree. For this issue the following commands:
 
  cd ~/smeserver
 
  cd ~/smeserver
  cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smeserver checkout -P e-smith-base
+
  cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvs/smeserver checkout -P e-smith-base
    
For the 'smeserver-base' base from the contribs tree.
 
For the 'smeserver-base' base from the contribs tree.
 
  cd ~/smecontribs
 
  cd ~/smecontribs
  cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smecontribs checkout -P smeserver-base
+
  cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvs/smecontribs checkout -P smeserver-base
    
Next to a selective retrieve as per above, you can also retrieve the whole CVS tree.  
 
Next to a selective retrieve as per above, you can also retrieve the whole CVS tree.  
 
  cd ~/smeserver
 
  cd ~/smeserver
  cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P rpms  
+
  cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvs/smeserver co -P rpms  
    
For the SME contribs tree.
 
For the SME contribs tree.
 
  cd ~/smecontribs
 
  cd ~/smecontribs
  cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smecontribs co -P rpms  
+
  cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvs/smecontribs co -P rpms  
    
If you want to update/refresh the whole CVS tree smeserver or smecontribs, run the following from the rpms directory, or any lower directory with a CVS dir , issue
 
If you want to update/refresh the whole CVS tree smeserver or smecontribs, run the following from the rpms directory, or any lower directory with a CVS dir , issue
 
  cvs update -dPA
 
  cvs update -dPA
   −
Now change to the e-smith-base SME8 directory:
+
To work on the e-smith-base smeserver tree, change to the e-smith-base SME8 directory:
 
  cd ~/smeserver/rpms/e-smith-base/sme8
 
  cd ~/smeserver/rpms/e-smith-base/sme8
   Line 141: Line 142:  
To check the changes issue the following command which compares your updated spec file with the original one in CVS. This is an optional step, but helps catch errors in the spec file.
 
To check the changes issue the following command which compares your updated spec file with the original one in CVS. This is an optional step, but helps catch errors in the spec file.
   −
  cvs diff e-smith-base.spec
+
  cvs diff -u e-smith-base.spec
    
* Ensure that the changelog version really matches the RPM version.
 
* Ensure that the changelog version really matches the RPM version.
Line 172: Line 173:  
  * ? egregious file not part of CVS record for this dir
 
  * ? egregious file not part of CVS record for this dir
   −
* Ensure that the patch file has been added cvs add e-smith-base-5.2.0-test.patch
+
* Ensure that the patch file has been added
 +
cvs add e-smith-base-5.2.0-test.patch
 
* Ensure that your patch/files etc. are UNIX style and do not have DOS endings.
 
* Ensure that your patch/files etc. are UNIX style and do not have DOS endings.
    
Once you are satisfied and want to submit the package to CVS commit your changes. (Please use descriptive comments so that other developers are aware of what is happening. Comments will appear on the subject line of the commit email that get send to the other developers.):
 
Once you are satisfied and want to submit the package to CVS commit your changes. (Please use descriptive comments so that other developers are aware of what is happening. Comments will appear on the subject line of the commit email that get send to the other developers.):
 
  cvs commit -m 'your descriptive commit message here'
 
  cvs commit -m 'your descriptive commit message here'
 +
 +
for example
 +
cvs commit -m '* Wed Jan 23 2013 John Doe <jdoe@foo.net> 5.2.0-68.sme
 +
- just a test to see if I can do this [SME: 7129]'
    
==== If you have build access ====
 
==== If you have build access ====
Line 182: Line 188:  
  make tag
 
  make tag
 
  make build
 
  make build
 
+
[[Category:SME9-Development]]
<noinclude>[[Category:Howto]][[Category:SME9-Development]]
+
[[Category:SME Server Development Framework]]
 +
[[Category:Development Tools]]

Navigation menu