Closed bernhardkaindl closed 7 months ago
Totals | |
---|---|
Change from base Build 8433749145: | 0.0% |
Covered Lines: | 677 |
Relevant Lines: | 712 |
Merging #99 (995ed1d) into master (d0e569d) will increase coverage by
10%
. Report is 19 commits behind head on master. The diff coverage isn/a
.
Do we also use master for Yangtze?
PBIS only lives in Yangtze now.
From the description we had a Yangtze release branch, why this PR just goes to Yangtze directly, to avoid confusing maser?
Do we also use master for Yangtze? PBIS only lives in Yangtze now. From the description we had a Yangtze release branch, why this PR just goes to Yangtze directly, to avoid confusing maser?
We already used master for the new Yangtze branch for Hotfix UPD-948 where the recommendation of multiple developers was to use the code from rt-next under the hope or under the condition that it was still compatible with Yangtze. Trying to check this on the master branch, only saw commits that removed old features, which as far as I have seen have been removed from CH mostly long before Yangtze. I even also looked at the commit messages of the previous Yangtze LCM branch (you can check it yourself), the only commit that I saw on that previous LCM branch that was not on the master branch was a commit that said is a "Backport" of collecting PBIS data and logs to Yangtze.
It seems that the term "Backport" was used very liberally (in my humble opinion is a slightly confusing way) because this is what the term "backport" actually means: https://en.wikipedia.org/wiki/Backporting
Backporting is the action of taking parts from a newer version of a software system or software component and porting them to an older version of the same software.
Instead, this commit reverted the removal of PBIS data and log collection because the previous commit removed it from master. But this is completely different from backporting as described above:
Backporting is the action of taking parts from a newer version of a software system or software component and porting them to an older version of the same software.
If that commit that was described as a backport back was really a revert of a removal (a re-add of functionality) had been really been a backport, the master branch would have had PBIS data and log collection support.
But because it had not, but the commit message said so by using the term backport, the review on whether this change needs to be re-applied for the next Yangtze hotfixes (starting with UPD-948), was fooled:
release/yangtze
in case the next hotfix is based on it (#100)master
branch in case the next hotfix is based on the master
branch again like UPD-948 was.The idea here is: In order to be able to cut a new release for Yangtze from master (XS8), master (XS8) must not be made incompatible with Yangtze. All needed code needs to be in the master branch. In this sense it is not confusing master, it is about fixing the usability if it for Yangtze hofixes like we did with UPD-948.
While this reverts the removal of PBIS support in the master branch (that master would not need now), it would make sense to apply revert the removal of it in master as well to be able to use the master branch as basis for future hotfixes again like we did for UPD-948 (StatusQuo): One example where it could be decided to do this gain would be syncing of RRDs to disk before capturing them which is planned for 8.2 CU1. It would involve backporting the larger patch of https://github.com/xenserver/status-report/pull/51 which resulted in an issue that needs https://github.com/xenserver/status-report/pull/88. Using master like UPD-948 did would be an option for this future release. But for this to be have no regressions, we should also apply this to master:
XS8 migrated from PowerBroker Identity Service (PBIS) to Samba Winbind, but Yangtze keeps using PBIS: https://docs.xenserver.com/en-us/xenserver/8/whats-new.html (CP-36092)
In 2021 the collection of PBIS was replaced by collecting Samba Winbind data and for the previous hotfix, with the release of v1.2.10 for 8.2 CU1, that removal of PBIS collection was re-added, but only in the branch for Yangtze. But the commit was labelled as Backport (Backport means: The change is ported from the trunk/head/master to an older branch), which it wasn't a backport at all (it was a revert, like this PR):
It reverted removing PBIS that was removed in master. This together with the recommendation to update
bugtool
in Yangtze using the master branch led to this revert not being included in the new, updated release branch for Yangtze: https://github.com/xenserver/status-report/tree/release/yangtzeFix this by forward-porting this revert of the PBIS removal (final commit of v1.2.10) to the new Yangtze branch for the next Yangtze hotfix: https://github.com/xenserver/status-report/compare/master...historic/yangtze/lcm
The aim of PR is to forward-port the "backport" to the master branch until the support for Yangtze ends to prevent this from happening in the future again, and then backport it to https://github.com/xenserver/status-report/tree/release/yangtze as it should have been done.