Bug 38498 - Unify mail product specific UCRV names
Unify mail product specific UCRV names
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: Mail - Dovecot
UCS 4.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Daniel Tröder
Sönke Schwardt-Krummrich
:
Depends on:
Blocks: 34839
  Show dependency treegraph
 
Reported: 2015-05-09 08:44 CEST by Daniel Tröder
Modified: 2015-07-09 18:14 CEST (History)
2 users (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

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2015-05-09 08:44:58 CEST
As Cyrus and Dovecot packages are mutually exclusive there is no need to keep separate UCRV for the same thing:

"mail/cyrus/imap" and "mail/dovecot/imap" have the same meaning (start IMAP server) and could be "mail/imap". The same with "mail/cyrus/folder/spam" and "mail/dovecot/folder/spam" (folder name for spam mails) → "mail/folder/spam".

The unified UCRVs description would be moved to univention-mail-server.

Could the old UCRVs be deprecated? How could that be handled? Are there applications using these UCRVs?
Idea:
* Deprecated UCRVs are set to be read-only, with a note in the description.
* When installing and a old UCRV is found, its value is copied into the new UCRV.
* A "deprecation/migration/sync.py" script uses all specific and unified variables. Each time a unified variable is set, the old (product specific) one is set to the same value. If a old UCRV is set on the cmdline, the new one is also set and a deprecation msg is shown. Loops are no problem if 'set'ing takes only place if they differ.
Comment 1 Daniel Tröder univentionstaff 2015-05-12 12:50:37 CEST
Separate UCRVs allow us to add/remove functionality for both products separately.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2015-06-04 17:55:08 CEST
We keep the old cyrus UCR variables for now and add "duplicates" for dovecot
==> OK
Comment 3 Janek Walkenhorst univentionstaff 2015-07-09 18:14:15 CEST
<http://errata.univention.de/ucs/4.0/237.html>