Difference between revisions of "App Center - .ini file"

From Univention Wiki

Jump to: navigation, search
(Englische Übersetzung)
Line 1: Line 1:
 
{{UCS 3.1 Development}}
 
{{UCS 3.1 Development}}
  
Diese Seite illustriert den Aufbau einer .ini-Datei wie sie pro Anwendung für Univention [[App Center]] hinterlegt wird. Zusätzlich zu den Informationen der .ini-Datei können im Repository-Verzeichnis der Komponente die folgenden Dateien (als reine Text-Dateien) abgelegt werden:
+
This page illustrates the structure of an .ini file as it is stored for each application in [[App Center/en|Univention App Center]]. In addition to the .ini file, the following files (as simple text files) can be stored in the repository directory for each application:
* README_UPDATE: Hinweise bei einem Update der Komponente, bspw. einem Verweis auf die Release-Notes sowie wichtigen Informationen, die bei einem Update unbedingt berücksichtig werden müssen.
+
* README_UPDATE: Notes and Tips for an update of the application, e.g. a reference to the release notes as well as important information that must be taken into account for the update.
* LICENSE_AGREEMENT: Wenn bei der Installation ein Lizenzvereinbarung angenommen werden muss, kann in dieser Datei der entsprechende Text angegeben werden.
+
* LICENSE_AGREEMENT: If a license agreement has to be accepted during the installation, the text can be given with this file.
  
Eine .ini-Datei mit exemplarischen Aufbau:
+
An example structure for the .ini file:
 
<syntaxhighlight lang=ini>
 
<syntaxhighlight lang=ini>
 
[Application]
 
[Application]

Revision as of 13:28, 22 October 2012

Template:UCS 3.1 Development

This page illustrates the structure of an .ini file as it is stored for each application in Univention App Center. In addition to the .ini file, the following files (as simple text files) can be stored in the repository directory for each application:

  • README_UPDATE: Notes and Tips for an update of the application, e.g. a reference to the release notes as well as important information that must be taken into account for the update.
  • LICENSE_AGREEMENT: If a license agreement has to be accepted during the installation, the text can be given with this file.

An example structure for the .ini file:

[Application]
# internal id
ID=application

# display name of the application
Name=The Application

# application version
Version=7.1


# a short description of the application (max. 60 characters)
Description=Lorem ipsum dolor sit amet, consetetur sadipscing elitr, se.

# a more complete description of the application (max. 500 characters)
# in order to use multiple lines, preceed lines with one or more white spaces
LongDescription=Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
 diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
 sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
 amet.  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
 nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
 diam voluptua. At vero eos et accusam et justo duo dolores et.

# applicable category
Categories=System

# reference to screenshot file (.png or .jpg file) (optional)
Screenshot=application_screenshot.jpg


# display name of the vendor
Vendor=Software GmbH

# website for more information
Website=http://www.software.com

# contact address for the client
Contact=sales@software.com


# other applications which cannot be installed at the same time (comma separated list)
# (optional)
ConflictedApps=fooapp,barapp

# system packages which conflict with the application (comma separated list)
# ... these are essential similar to those conflicts specified in the
# debian packages themselves, however, in order to show conflicts directly
# in the app center and without querying the debian package information,
# these can be specified in the .ini file, as well (optional)
ConflictedSystemPackages=mysql5,python2.5

# application packages to be installed (comma separated list)
DefaultPackages=univention-application

# pacakges that need to be installed on all master and backup systems (comma separated list),
# e.g., LDAP schema extension, UDM modules (optional)
# NOTE: these packages will be left installed on the system when the
#       app is being uninstalled
DefaultPackagesMaster=univention-application-schema

# German translations
[de]
Description=Lorem ipsum dolor sit amet, consetetur sadipscing elitr, se.
LongDescription=Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
 diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
 sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
 amet.  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
 nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
 diam voluptua. At vero eos et accusam et justo duo dolores et.
Personal tools