Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 14: Line 14:  
# Template-for-SMEServer-Core-Package  
 
# Template-for-SMEServer-Core-Package  
 
# Template-for-SMEServer-Contribs-Package  
 
# Template-for-SMEServer-Contribs-Package  
 +
In smedev there is a repo called ''[https://src.koozali.org/smedev/smeserver-gitutils smeserver-gitutils].''  The contents are scripts which due useful things to the gitea system.  Look at the readme for more information. Copy them all into a ~/bin directory (and set the PATH if necessary).
    +
== The procedure ==
 
[[File:Screenshot from 2024-03-15 10-37-24.png|thumb|The Create repo page in gitea. Note the Template name selected and the ticks in all the options at the bottom.|alt=|center]]When you do a create repositories in gitea, it will offer you these templates in the Template control on the form (see screenshot above)[[File:Screenshot from 2024-03-15 10-38-28.png|thumb|Contents of the repo after the create is done, showing files brought across from the template.  The spec file will need to be renamed by the next step.|alt=|center]]After you tell it to create the repo, the template contents will be copied across and the package (repo) name will be loaded into some of the file though the use of a meta character mechanism.[[File:Screenshot from 2024-03-15 11-52-13.png|thumb|Final contents after the git-post-create-repo.sh is run.|alt=|center]]
 
[[File:Screenshot from 2024-03-15 10-37-24.png|thumb|The Create repo page in gitea. Note the Template name selected and the ticks in all the options at the bottom.|alt=|center]]When you do a create repositories in gitea, it will offer you these templates in the Template control on the form (see screenshot above)[[File:Screenshot from 2024-03-15 10-38-28.png|thumb|Contents of the repo after the create is done, showing files brought across from the template.  The spec file will need to be renamed by the next step.|alt=|center]]After you tell it to create the repo, the template contents will be copied across and the package (repo) name will be loaded into some of the file though the use of a meta character mechanism.[[File:Screenshot from 2024-03-15 11-52-13.png|thumb|Final contents after the git-post-create-repo.sh is run.|alt=|center]]
  

Navigation menu