dev-manual: packages: clarify shared PR service constraint
PATCH 1/1 dev-manual: packages: clarify shared PR service constraint
From: Michael Opdenacker <[email protected]>
Explicit the problems previous described as "obvious".
Signed-off-by Michael Opdenacker <[email protected]>
--- documentation/dev-manual/packages.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)
documentation/dev-manual/packages.rst +8 -3
@@ -205,9 +205,14 @@ history, see the The OpenEmbedded build system does not maintain :term:`PR` information as part of the shared state (sstate) packages. If you maintain an sstate feed, it's expected that either all your building systems that - contribute to the sstate feed use a shared PR Service, or you do not - run a PR Service on any of your building systems. Having some systems - use a PR Service while others do not leads to obvious problems. + contribute to the sstate feed use a shared PR service, or you do not + run a PR Service on any of your building systems. + + That's because if you had multiple machines sharing a PR service but + not their sstate feed, you could end up with "diverging" hashes for + the same output artefacts. When presented to the share PR service, + each would be considered as new and would increase the revision + number, causing many unnecessary package upgrades. For more information on shared state, see the ":ref:`overview-manual/concepts:shared state cache`"
Signature · 1 line
2.34.1
Hi Michael,
Quoted 14 lines · Michael Opdenacker via lists.yoctoproject.org
From: Michael Opdenacker <[email protected]>
Explicit the problems previous described as "obvious".
Signed-off-by Michael Opdenacker <[email protected]>--- documentation/dev-manual/packages.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)documentation/dev-manual/packages.rst +0
-0
documentation/dev-manual/packages.rst history, see the · line 210
Quoted 9 lines
documentation/dev-manual/packages.rst +3
-3@@ -205,9 +205,14 @@ history, see the The OpenEmbedded build system does not maintain :term:`PR` information as part of the shared state (sstate) packages. If you maintain an sstate feed, it's expected that either all your building systems that - contribute to the sstate feed use a shared PR Service, or you do not - run a PR Service on any of your building systems. Having some systems - use a PR Service while others do not leads to obvious problems. + contribute to the sstate feed use a shared PR service, or you do not + run a PR Service on any of your building systems. +
The first line makes service lowercase, while the second line is capitalized.
documentation/dev-manual/packages.rst history, see the · line 212
Quoted 2 lines
documentation/dev-manual/packages.rst +2
-0+ That's because if you had multiple machines sharing a PR service but > + not their sstate feed, you could end up with "diverging" hashes for + the same output artefacts. When presented to the share PR service,
Here lowercase as well, so I guess we wanted lowercase in the second (+) line above?
Cheers,
Quentin