Changes

From SME Server
Jump to navigationJump to search
Line 21: Line 21:     
[[File:Screenshot from 2023-06-02 19-10-15.png]]
 
[[File:Screenshot from 2023-06-02 19-10-15.png]]
 +
 +
# Clone the repo onto your local server.
 +
 +
git clone https://src.koozali.org/smecontribs/smeserver-<whatever>.git
 +
 +
# Either, patch the remaining issues using the git-post-create-repo.sh script from the smedev/smeserver-gitutils repo
 +
# OR do the following yourself:
 +
## Rename the spec file accordingly
 +
## Edit the change log in the spec file with the relevant date
 +
## Add in the external Wiki and Bugzilla link to the repo through the settings (on the gitea website)
 +
 +
At this point the repo should build to a valid (but mainly empty!) rpm.  Try it with
 +
 +
make mockbuild
 +
 +
Then add in your content and the rebuild, test, etc.
 +
 +
As you edit your repo, then remember to follow the git sequence of:
 +
 +
git add -A (or the infdividual file name)
 +
git status (to check you are only saving what you want)
 +
git commit -m "Comment as you will"
 +
git push
 +
 +
[[Note: In order for the repo to build an rpm sucessfully the smedev/common repo/directory needs to be either on the same directory level or the one above]]
 +
    
[[Category:Howto Developer]]
 
[[Category:Howto Developer]]

Navigation menu