Changes

From SME Server
Jump to navigationJump to search
Line 1: Line 1:  
<!-- Updated - July 2023 - Added latest smeserver-10-x86_64-base.cfg contents and git details
 
<!-- Updated - July 2023 - Added latest smeserver-10-x86_64-base.cfg contents and git details
   −
Updated Aug 2023 - Add Rocky 8 build details and notification of EL8 plague-client. -->
+
Updated Aug 2023 - Add Rocky 8 build details and notification of EL8 plague-client.
 +
 
 +
And added in instructions for pulling git repos down and mockbuilding locall.
 +
-->
 +
<nowiki>__TOC__</nowiki>
 +
 
 
Build yourself a Rock8 system, probably minimal, but any level will do.
 
Build yourself a Rock8 system, probably minimal, but any level will do.
   Line 250: Line 255:  
releasetypes are draft, prerelease or release. Note that a draft release is not visible unless you are logged in with write access to the repo.
 
releasetypes are draft, prerelease or release. Note that a draft release is not visible unless you are logged in with write access to the repo.
   −
==== Mockbuilding direct from the git repos. ====
+
==== Mockbuilding direct from the git repos ====
WIP
+
First create some sort of directory structure to hold the repo contents - this is what I use:<syntaxhighlight lang="shell">
 +
cd ~
 +
mkdir -p GITFiles
 +
cd GITFiles
 +
mkdir -p {smedev,smecontribs,smeserver}
 +
 
 +
</syntaxhighlight>and add in the common directory which provides an environment for the mockbuild .<syntaxhighlight lang="shell">
 +
cd smecontribs
 +
git clone https://src.koozali.org/smedev/common.git
 +
cd smeserver
 +
git clone https://src.koozali.org/smedev/common.git
 +
</syntaxhighlight>we then can add in the repo we want to work on (you get the git clone link by browsing to [https://src.koozali.org/smecontribs/smeserver-mailstats https://src.koozali.org] and then (e.g.) https://src.koozali.org/smecontribs/smeserver-mailstats, or you can "guess" the URL!<syntaxhighlight lang="shell">
 +
cd ~/GITFiles/smecontribs
 +
git clone https://src.koozali.org/smecontribs/smeserver-mailstats
 +
</syntaxhighlight>Then to mockbuild it  locally you can:<syntaxhighlight>
 +
cd ~/smecontribs/smeserver-mailstats
 +
make mockbuild
 +
</syntaxhighlight>after a lot of on screen messages you should finally see a positive outcome message.
 +
 
 +
If you want to pull down a complete set of repos for (e.g.) the core system, then by using one of the git-utils you can do this:<syntaxhighlight lang="shell">
 +
cd ~/GITFiles/smeserver
 +
git-list-all-org-repos.sh smeserver | xargs -I % sh -c 'git clone https://src.koozali.org/smeserver/%'
 +
</syntaxhighlight>
    
==Submitting jobs to the build system==
 
==Submitting jobs to the build system==

Navigation menu