Bug 26905 - preup.sh/postup.sh für Components dokumentieren
preup.sh/postup.sh für Components dokumentieren
Status: NEW
Product: UCS extended documentation
Classification: Unclassified
Component: Developer documentation
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Docu maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-25 14:13 CEST by Sönke Schwardt-Krummrich
Modified: 2016-10-21 18:55 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Development Internal
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 Sönke Schwardt-Krummrich univentionstaff 2012-04-25 14:13:01 CEST
Die Funktionsweise von preup.sh/postup.sh für Components sollte dokumentiert werden:

---[Bug 21127 Comment 1]---
Der Updater (Python-Bibliotheken und Programme) wurden so umgestellt, daß bei
Release-Updates nun auch all/preup.sh- und all/postup.sh-Skripte in Komponenten
beachtet werden. Diese werden doppelt aufgerufen, einmal vor dem eigentlichen
Skript des Releases und einmal nach dem Skript, so daß sich folgende
Aufrufreihenfolge ergibt:

 $component[*]/preup.sh pre "$next_release_version"
 $release/preup.sh
 $component[*]/preup.sh post "$next_release_version"
 apt-get [dist-]upgrade
 $component[*]/postup.sh pre "$next_release_version"
 $release/postup.sh
 $component[*]/postup.sh post "$next_release_version"

---[cut]---