Bug 36730 - Check description length
Check description length
Status: RESOLVED FIXED
Product: UCS Test
Classification: Unclassified
Component: App Center
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Dmitry Galkin
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-16 15:03 CET by Stefan Gohmann
Modified: 2016-10-12 07:28 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
applint (6.80 KB, text/plain)
2014-11-17 08:33 CET, Philipp Hahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2014-11-16 15:03:51 CET
From the ini documentation:
 # a short description of the application (max. 60 characters)

See http://docs.univention.de/developer-reference-3.2.html#app:iniFile

A test case should test the description length and the long description.



+++ This bug was initially created as a clone of Bug #36729 +++

The short description is too long which doesn't look very good when the App is installed. Some suggestions:

* Management-Server für KVM und Cloud-Instanzen
  DE: Virtualisierungsmanagement – lokal mit KVM oder in der Cloud
  EN: Virtualization management – locally with KVM or in the cloud

* Active Directory Takeover
  DE: Übertragung bestehender Active Directory Domänen nach UCS
  EN: transfer existing Active Directory domains to UCS

* Active Directory-kompatibler Domänencontroller
  DE: Umfassende Active Directory Funktionen auf Basis von Samba
  EN: Comprehensive Active Directory Functions based on Samba

* Active Directory-Verbindung
  DE: Integration von UCS in ein vorhandenes Active Directory
  EN: Integrates UCS with an existing Active Directory

* Amazon EC2 Cloud-Verbindung
  DE: Integriert Amazon EC2 mit dem UCS Virtualisierungsmanagement
  EN: Integrates Amazon EC2 with the UCS virtualization management

* Desktop-Umgebung (KDE)
  DE: Graphische Benutzeroberfläche für UCS

* DHCP-Server
  EN: Service for dynamic IP management within IPv4 networks

* Druckserver (CUPS)
  DE: Flexible Lösung zur Druckerverwaltung auf Basis von CUPS

* Fetchmail
  DE: Stellt bei Mailprovidern lagernde Mail unter UCS zu
  EN: Retrieve and deliver mail stored at a mail service provider

* Horde Groupware Webmail Edition
  DE: Umfassendes, freies, web-basiertes Groupwaresystem
  EN: Horde Webmail Edition is browser based communication suite

* KVM Virtualisierungsserver
  DE: KVM ist der verbreitete und erprobte Hypervisor für Linux
  EN: KVM is the leading and proven Linux Hypervisor

* Mailserver
  EN: Standard mail services with Postfix / Cyrus (SMTP/POP/IMAP)

* Netzwerküberwachung (Nagios)
  DE: System-, Netz- und Diensteüberwachung
  EN: Monitor systems, networks and services

* Proxyserver / Webcache (Squid)
  DE: Zwischenspeicherung und Zugriffssteuerung für das Web
  EN: Cache and access control for the web

* RADIUS
  EN: Networt access control for identities and endpoint devices

* RDP Server (xrdp)
  DE: Remote Desktop Dienst für den Zugriff auf UCS mit RDP
  EN: Remote desktop service to access UCS via RDP

* SAML identity provider
  DE: Integration von Google Apps, Salesforce etc. mit UCS-Domänen
  EN: Integrate Google Apps, Salesforce etc. with UCS domains

* Software-Installationsmonitor
  DE: Zentraler Monitor für Software und Stati auf UCS-Systemen
  EN: Central monitor for software package status on UCS systems

* UCS@school
  DE: Betrieb und Management von IT in Schulen und Klassenräumen
  EN: Manage and operate IT in schools and classrooms

* Univention Corporate Client 2.0
  DE: Managebares Betriebssystem für Clients auf Basis von Ubuntu
  EN: Manageble Client operating system based on Ubuntu

We should also rename the UVMM app to "Univention Virtual Machine Manager".
Comment 1 Philipp Hahn univentionstaff 2014-11-17 08:33:43 CET
Created attachment 6383 [details]
applint
Comment 2 Stefan Gohmann univentionstaff 2014-11-18 06:36:34 CET
These tests should be run through Jenkins. Please test only these apps which have been installed.
Comment 3 Dmitry Galkin univentionstaff 2014-12-01 12:45:52 CET
(In reply to Stefan Gohmann from comment #2)
> These tests should be run through Jenkins. Please test only these apps which
> have been installed.

Based on the code above:

r56346:
  * 20_appcenter/12_check_apps_ini_all_fields: check .ini files for description
    length, value types, required fields and values (Bug #36730).


By default checks only .ini files of the installed apps, but can be forced to check '--all' when run interactively. The path to a specific file or folder can be also give via '--path'.

root@master4:~# python 12_check_apps_ini_all_fields --help
Check Apps .ini files (Optional values, description length, allowed values,
allowed chars)

Options:
  -h, --help            show this help message and exit
  -q, --quiet           Decrease the verbosity.
  -p PATH, --path=PATH  An .ini file to check or a folder with *.ini. Will
                        check the '/var/cache/univention-management-
                        console/appcenter' if not specified.
  -a, --all             Force check of all Apps .ini. By default checks only
                        currently installed Apps.



There are still some Apps with "long" descriptions (over 60 (short) and 500 (long) chars).