Skip to contentSkip to conversation

dev-manual: packages: clarify shared PR service constraint

PATCH In review [email protected] 2 participants 2 messages Feb 21, 2024 – Mar 4, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dev-manual: packages: clarify shared PR service constraint

From: Michael Opdenacker <[email protected]>

Explicit the problems previous described as "obvious".

---
 documentation/dev-manual/packages.rst | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
documentation/dev-manual/packages.rst +8 -3
index 0e991e409a..d90ff7110e 100644
@@ -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
#1 lore raw

Hi Michael,

Quoted 14 lines · Michael Opdenacker via lists.yoctoproject.org

From: Michael Opdenacker <[email protected]>

Explicit the problems previous described as "obvious".

---
  documentation/dev-manual/packages.rst | 11 ++++++++---
  1 file changed, 8 insertions(+), 3 deletions(-)
documentation/dev-manual/packages.rst +0 -0
index 0e991e409a..d90ff7110e 100644

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