Difference between revisions of "Contrib/Template"

From SME Server
Jump to navigationJump to search
(Created page with "{{Languages}} ===Maintainer=== YOURNAME === Version === {{#smeversion: {{lc:{{FULLPAGENAME}}}} }} === Description === === Installation === yum --ena...")
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Languages}}
 
{{Languages}}
 +
<!-- here we define the contrib name variable -->
 +
<!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want-->
 +
{{#vardefine:contribname| {{lc: {{#titleparts:  {{BASEPAGENAME}} |1}} }} }}
 +
{{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts:  {{BASEPAGENAME}} |1}} }} }}
 +
<!-- we define the language -->
 +
{{#vardefine:lang| {{lc:  {{#titleparts:    {{PAGENAME}} | | -1}}  }} |en }}
 +
{{Infobox contribs
 +
|name={{#var:contribname}}
 +
|image={{#var:contribname}}.jpg
 +
|description_image= {{#var:contribname}} logo
 +
|maintainer= maintainer
 +
|licence=
 +
|url= https://wiki.koozali.org
 +
|category= Category you want
 +
|tags=File,this,with,a,list,of,tags
 +
}}
  
 
===Maintainer===
 
===Maintainer===
[[User:YOURUSER|YOURNAME]]  
+
<!-- here you need to file your username and name -->
 +
[[User:YOURUSERNAME|YOURNAME]]  
  
 
=== Version ===
 
=== Version ===
{{#smeversion: {{lc:{{FULLPAGENAME}}}} }}
+
<!-- keep this first element as is, you can add some if needed -->
 +
{{#smeversion: {{#var:smecontribname}} }}
 +
{{#smeversion: {{#var:contribname}} }}
  
 +
=== Description ===
 +
<!-- add a description here -->
  
=== Description ===
 
  
 +
=== Installation ===
 +
<tabs container style="display: inline-block;" ><tab name="For SME 10">
 +
yum --enablerepo=smecontribs install {{#var:smecontribname}}
 +
</tab><tab name="For SME 9">
 +
yum --enablerepo=smecontribs install {{#var:smecontribname}}
 +
signal-event post-upgrade
 +
signal-event reboot
 +
</tab><tab name="For SME 8">
 +
yum --enablerepo=smecontribs install {{#var:smecontribname}}
 +
signal-event post-upgrade
 +
signal-event reboot
 +
</tab></tabs>
  
 +
=== Configuration ===
 +
you can list the available configuration with the following command :
 +
config show {{#var:contribname}}
  
=== Installation ===
+
Some of the properties are not shown, but are defaulted in a template or a script. Here a more comprehensive list with default and expected values :
yum --enablerepo=smecontribs install {{lc:{{FULLPAGENAME}}}}
+
{| class="wikitable"
 +
!property
 +
!default
 +
!values
 +
!
 +
|-
 +
|DbName
 +
|nextcloud
 +
|string
 +
|for mysql db
 +
|-
 +
|DbPassword
 +
|GENERATED
 +
|string
 +
|for mysql db
 +
|-
 +
|DbUser
 +
|nextcloud
 +
|string
 +
|for mysql db
 +
|-
 +
|access
 +
|private
 +
|private, public
 +
|
 +
|-
 +
|status
 +
|enabled
 +
|enabled,disabled
 +
|}
  
  
  
 
=== Uninstall ===
 
=== Uninstall ===
  yum remove {{lc:{{FULLPAGENAME}}}}
+
  yum remove {{#var:smecontribname}}  {{#var:contribname}}
  
 
=== Bugs ===
 
=== Bugs ===
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
+
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title= bugzilla}}
and select the {{lc:{{FULLPAGENAME}}}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{lc:{{FULLPAGENAME}}}}|title=this link}}
+
and select the {{#var:smecontribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:smecontribname}}|title=this link}}
  
Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component={{lc:{{FULLPAGENAME}}}} |noresultsmessage=No open bugs found.}}  
+
Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component={{#var:smecontribname}} |noresultsmessage=No open bugs found.}}  
  
 
===Changelog===
 
===Changelog===
 
Only released version in smecontrib are listed here.
 
Only released version in smecontrib are listed here.
  
{{ #smechangelog: {{lc:{{FULLPAGENAME}}}} }}
+
{{ #smechangelog: {{#var:smecontribname}} }}
  
 +
 +
<!-- list of category you want to see this page in -->
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 +
 +
<!-- Please keep there the template revision  number as is -->
 +
[[contribtemplate::2| ]]
 +
[[contriblang:: {{#var:lang}} | ]]

Latest revision as of 21:59, 17 August 2022




contrib
NeedImage.svg
contrib logo
Maintainermaintainer
Urlhttps://wiki.koozali.org
Category

Category you want

Tags Filethiswithalistoftags


Maintainer

YOURNAME

Version

smeserver-contrib
The latest version of smeserver-contrib is available in the SME repository, click on the version number(s) for more information.


contrib
The latest version of contrib is available in the SME repository, click on the version number(s) for more information.


Description

Installation

yum --enablerepo=smecontribs install smeserver-contrib
yum --enablerepo=smecontribs install smeserver-contrib
signal-event post-upgrade
signal-event reboot
yum --enablerepo=smecontribs install smeserver-contrib
signal-event post-upgrade
signal-event reboot

Configuration

you can list the available configuration with the following command :

config show contrib

Some of the properties are not shown, but are defaulted in a template or a script. Here a more comprehensive list with default and expected values :

property default values
DbName nextcloud string for mysql db
DbPassword GENERATED string for mysql db
DbUser nextcloud string for mysql db
access private private, public
status enabled enabled,disabled


Uninstall

yum remove smeserver-contrib  contrib

Bugs

Please raise bugs under the SME-Contribs section in bugzilla

and select the smeserver-contrib component or use this link


Below is an overview of the current issues for this contrib:

No open bugs found.

Changelog

Only released version in smecontrib are listed here.