6.10.2.20 ReleaseUpdateEvent
Optional
The model works without this entity.
6.10.2.20.1 Purpose¶
One download or update: an installation moving from one build to another, or a signed-in person downloading an installer from the download page before any enrolment exists. For private software this is the record of who downloaded what.
6.10.2.20.2 Questions it answers¶
- How did an installation update, and did the update succeed?
- How much did it download?
- Who downloaded an installer of a private application, and when?
6.10.2.20.3 Fields¶
| Field | Type | Cardinality | Description |
|---|---|---|---|
id |
string (uuid) |
1..1 |
Key. |
installation |
ReleaseInstallation | 0..1 |
Empty for the download of an installer from the download page, before any enrolment. |
from_build |
ReleaseBuild | 0..1 |
Empty on the first installation. |
to_build |
ReleaseBuild | 1..1 |
|
method |
enum | 1..1 |
Values: chunks, patch, full. |
bytes_downloaded |
integer |
1..1 |
|
outcome |
enum | 1..1 |
Values: success, failed, rolled_back. |
error_code |
string |
0..1 |
|
occurred_at |
datetime |
1..1 |
|
user |
User | 0..1 |
Who downloaded, for the organization audience; the record that matters for private software. |
moonitoring_user |
MoonitoringUser | 0..1 |
Who downloaded, for the moonitoring audience. |
tester |
ReleaseTester | 0..1 |
Set when the download passed as a tester. |
platform |
ReleasePlatform | 0..1 |
The platform of the installer downloaded through a download link. |
6.10.2.20.4 Relationships¶
References
ReleaseUpdateEvent.installation→ ReleaseInstallation (0..1)ReleaseUpdateEvent.from_build→ ReleaseBuild (0..1)ReleaseUpdateEvent.to_build→ ReleaseBuild (1..1)ReleaseUpdateEvent.user→ User (0..1)ReleaseUpdateEvent.moonitoring_user→ MoonitoringUser (0..1)ReleaseUpdateEvent.tester→ ReleaseTester (0..1)ReleaseUpdateEvent.platform→ ReleasePlatform (0..1)
6.10.2.20.5 Rules & constraints¶
- One download or update, by an installation or, for the first download of an installer, by a signed-in person.
- A download link records one event when it answers, for every audience:
to_build, platform, method full, the size of the installer asbytes_downloaded, outcome success, and no installation, user or tester. - Who it was is known only at enrolment (ReleaseInstallation), so for private software these events count downloads; they no longer say who downloaded.