Changes

From SME Server
Jump to navigationJump to search
1,928 bytes added ,  18:45, 10 April 2014
Line 35: Line 35:  
plop
 
plop
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
====buildsys====
 +
 +
*If the package was available from upstream and it is to be included in our distro then it just needs copying on the buildsys, for instance this is how I added perl-Taint-Util
 +
 +
cp /mirrors/rpmforge/redhat/el6/en/i386/dag/RPMS/perl-Taint-Util-0.08-1.el6.rf.i686.rpm /build/smeserver/repo/testing/9/smetest/i386/RPMS/
 +
 +
*Releasing a contrib package
 +
After the make build command the build system will try and build your package. After a successful build it will be put in the smetest repository. You should be notified of the result of the build by e-mail.
 +
 +
Once a package is build successfully you should verify your changes, ideally you would have a bug to verify for each modification. After verification of all relevant changes and bugs you can release the package like this:
 +
<ol></li><li>Login to shell.contribs.org like this:
 +
 +
ssh username@shell.contribs.org
 +
</li><li>Navigate to the teams directory:
 +
 +
cd /teams
 +
</li><li>The teams directory contains a few directories of which two are relevant, the first is called updates which will hold the SME Server packages, the other is called contribs and will hold build contribs.
 +
Suppose we would like to release our contrib we would proceed like this:
 +
 +
cd contribs/7
 +
</li><li>Now copy the relevant package from smetest to smecontribs, old versions are removed automatically
 +
 +
cp smetest/package-name-version.rpm smecontribs/
 +
</li></ol>
 +
 +
{{Note box|Within a period of two hours the package should be moved to the smecontribs repository and be available as soon as the mirrors synchronize.}}
 +
 +
Once the server successfully builds it will automatically be pulled on the next repo update run
 +
(40 past the even hours MDT). The package will either be put into the smedev (new package) or smetest (exist in higher repo)  After verification the package is manually moved from smedev/smetest to smecontribs (for contribs)  or smeupdates-testing (for packages in base)
 +
 
====cours perl====
 
====cours perl====
 
http://www.dil.univ-mrs.fr/~chris/Perl/Generalites.htm
 
http://www.dil.univ-mrs.fr/~chris/Perl/Generalites.htm

Navigation menu