Using Operations Center configured to pull upstream updates to a “staging” channel, I observed (last two updates) that when the update is part of the “staging” channel, the Changelog section is empty. Once I switch the update to the “stable” channel, the Changelog section is filled with it’s different sections.
Running the latest Operations Center (currently 0.10.1 from latest update)
// A changelog depends on the channel, since the prior version is taken from
// the channel. Fall back to the upstream channels, if the update is not
// assigned to any downstream channel.
does that means that since no other updates are in the “non-stable” channel (it is staging so they are being tested and then moved to stable), the changelog will be the diff from latest upstream ?
The Fall back to the upstream channels, if the update is not assigned to any downstream channel is confusing me.
Downstream channels are the channels, that the servers managed by Operations Center are fetching their updates from. Upstream channels are the channels Operations Center is fetching the updates from.
Since the changelog is always the delta between the version one is looking at and the previous version, it needs to determined, what the previous version is. By default, this is the previous version in the same downstream channel.
Now if there is no previous version in the downstream channel, that we can compare against, the logic falls back to comparing to the previous version based on the upstream channel.
Additionally, it is possible for an update to not be assigned to any downstream channel, where the same logic comes into play as well.