Difference between revisions of "Contrib/Template"

From SME Server
Jump to navigationJump to search
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want-->
 
<!-- 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:contribname| {{lc: {{#titleparts:  {{BASEPAGENAME}} |1}} }} }}
 +
{{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts:  {{BASEPAGENAME}} |1}} }} }}
 
<!-- we define the language -->
 
<!-- we define the language -->
 
{{#vardefine:lang| {{lc:  {{#titleparts:    {{PAGENAME}} | | -1}}  }} |en }}
 
{{#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===
Line 11: Line 22:
  
 
=== Version ===
 
=== Version ===
<!-- keep this first element as is, you can add some for  -->
+
<!-- keep this first element as is, you can add some if needed -->
{{#smeversion: smeserver-{{#var:contribname}} }}
+
{{#smeversion: {{#var:smecontribname}} }}
 
{{#smeversion: {{#var:contribname}} }}
 
{{#smeversion: {{#var:contribname}} }}
  
Line 20: Line 31:
  
 
=== Installation ===
 
=== Installation ===
  yum --enablerepo=smecontribs install smeserver-{{#var:contribname}}
+
<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}}
 +
 
 +
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 :
 +
{| 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 smeserver-{{#var:contribname}}  {{#var:contribname}}
+
  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 smeserver-{{#var:contribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-{{#var:contribname}}|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=smeserver-{{#var:contribname}} |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: smeserver-{{#var:contribname}} }}
+
{{ #smechangelog: {{#var:smecontribname}} }}
  
  
Line 43: Line 100:
  
 
<!-- Please keep there the template revision  number as is -->
 
<!-- Please keep there the template revision  number as is -->
[[contribtemplate::1| ]]
+
[[contribtemplate::2| ]]
 
[[contriblang:: {{#var:lang}} | ]]
 
[[contriblang:: {{#var:lang}} | ]]

Latest revision as of 20: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.