Howto create a gitea repo and build an rpm

From SME Server
Revision as of 18:51, 2 June 2023 by Brianr (talk | contribs) (creation and use of a git repo to build SMEServer rpms.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This page is to help with the creation and use of a git repo (hosted on the projects gitea server).

An "empty" repo can be created using a template which presets all the necessary directories and files.

Then the repo can be populated with files, code, etc and then a single call to `make mockbuild` will generate a local rpm which can then be installed in a test SMEServer for testing and validation.

After this the repo can be entered into the SMEServer build system and therefore built automatically when required (or updated). This is WIP and TBA.

Creating the Repo on the gitea Server