Skip to contentSkip to conversation

dev-manual: disk-space: improve wording for obsolete sstate cache files

PATCH Superseded [email protected] 2 participants 4 messages Sep 18, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dev-manual: disk-space: improve wording for obsolete sstate cache files

From: Michael Opdenacker <[email protected]>

Replace "duplicate" by "obsolete", more appropriate. "duplicate" probably comes from the "--remove-duplicated" option of the sstate-cache-management.sh script.

Improve other sentences too.

---
 documentation/dev-manual/disk-space.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
documentation/dev-manual/disk-space.rst +4 -4
index a84bef4511..5b6702f594 100644
@@ -23,12 +23,12 @@ final disk usage of 22 Gbytes instead of &MIN_DISK_SPACE; Gbytes. However,
 &MIN_DISK_SPACE_RM_WORK; Gbytes of initial free disk space are still needed to
 create temporary files before they can be deleted.
 
-Purging Duplicate Shared State Cache Files
-==========================================
+Purging Obsolete Shared State Cache Files
+=========================================
 
 After multiple build iterations, the Shared State (sstate) cache can contain
-duplicate cache files for a given package, consuming a substantial amount of
-disk space. However, only the most recent cache files are likeky to be reusable.
+multiple cache files for a given package, consuming a substantial amount of
+disk space. However, only the most recent ones are likeky to be reusable.
 
 The following command is a quick way to purge all the cache files which
 haven't been used for a least a specified number of days::
Signature · 1 line
2.34.1
#1 lore raw

Hi Michael,

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

From: Michael Opdenacker <[email protected]>

Replace "duplicate" by "obsolete", more appropriate. "duplicate" probably comes from the "--remove-duplicated" option of the sstate-cache-management.sh script.

Improve other sentences too.

---
  documentation/dev-manual/disk-space.rst | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)
documentation/dev-manual/disk-space.rst +0 -1
index a84bef4511..5b6702f594 100644
@@ -23,12 +23,12 @@ final disk usage of 22 Gbytes instead of &MIN_DISK_SPACE; Gbytes. However,
  &MIN_DISK_SPACE_RM_WORK; Gbytes of initial free disk space are still needed to
  create temporary files before they can be deleted.
 
-Purging Duplicate Shared State Cache Files

documentation/dev-manual/disk-space.rst final disk usage of 22 Gbytes instead of &MIN_DISK_SPACE; Gbytes. However, · line 32

Quoted 10 lines
documentation/dev-manual/disk-space.rst +4 -3
-==========================================
+Purging Obsolete Shared State Cache Files
+=========================================
 
  After multiple build iterations, the Shared State (sstate) cache can contain
-duplicate cache files for a given package, consuming a substantial amount of
-disk space. However, only the most recent cache files are likeky to be reusable.
+multiple cache files for a given package, consuming a substantial amount of
+disk space. However, only the most recent ones are likeky to be reusable.
 

s/likeky/likely/

s/reusable/reused/

?

Cheers,
Quentin

#2 lore raw

Hi Quentin,

Thanks for the review!

Quoted 32 lines · Quentin Schulz

Hi Michael,

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

From: Michael Opdenacker <[email protected]>

Replace "duplicate" by "obsolete", more appropriate. "duplicate" probably comes from the "--remove-duplicated" option of the sstate-cache-management.sh script.

Improve other sentences too.

---
  documentation/dev-manual/disk-space.rst | 8 ++++----

  1 file changed, 4 insertions(+), 4 deletions(-)
documentation/dev-manual/disk-space.rst +0 -0
index a84bef4511..5b6702f594 100644
@@ -23,12 +23,12 @@ final disk usage of 22 Gbytes instead of 
 &MIN_DISK_SPACE; Gbytes. However,

  &MIN_DISK_SPACE_RM_WORK; Gbytes of initial free disk space are still needed to create temporary files before they can be deleted.
  -Purging Duplicate Shared State Cache Files
-==========================================
+Purging Obsolete Shared State Cache Files
+=========================================
    After multiple build iterations, the Shared State (sstate) cache can contain -duplicate cache files for a given package, consuming a substantial amount of

Quoted 8 lines
Quoted 6 lines

-disk space. However, only the most recent cache files are likeky to be reusable.
+multiple cache files for a given package, consuming a substantial amount of
+disk space. However, only the most recent ones are likeky to be reusable.

s/likeky/likely/

Oops, fixed!

Quoted 2 lines

s/reusable/reused/

I was going to say that I prefer "reusable", but I guess you meant that the combination of "likely" and "reusable" is applying the possibility twice.

OK for "reused" too.

Thanks again!
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

Hi Michael,

Quoted 47 lines · Michael Opdenacker

Hi Quentin,

Thanks for the review!

Quoted 32 lines · Quentin Schulz

Hi Michael,

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

From: Michael Opdenacker <[email protected]>

Replace "duplicate" by "obsolete", more appropriate. "duplicate" probably comes from the "--remove-duplicated" option of the sstate-cache-management.sh script.

Improve other sentences too.

---
  documentation/dev-manual/disk-space.rst | 8 ++++----

  1 file changed, 4 insertions(+), 4 deletions(-)
documentation/dev-manual/disk-space.rst +0 -0
index a84bef4511..5b6702f594 100644
@@ -23,12 +23,12 @@ final disk usage of 22 Gbytes instead of 
 &MIN_DISK_SPACE; Gbytes. However,

  &MIN_DISK_SPACE_RM_WORK; Gbytes of initial free disk space are still needed to create temporary files before they can be deleted.
  -Purging Duplicate Shared State Cache Files
-==========================================
+Purging Obsolete Shared State Cache Files
+=========================================
    After multiple build iterations, the Shared State (sstate) cache can contain -duplicate cache files for a given package, consuming a substantial amount of

Quoted 8 lines
Quoted 6 lines

-disk space. However, only the most recent cache files are likeky to be reusable.
+multiple cache files for a given package, consuming a substantial amount of
+disk space. However, only the most recent ones are likeky to be reusable.

s/likeky/likely/

Quoted 7 lines

Oops, fixed!

Quoted 2 lines

s/reusable/reused/

I was going to say that I prefer "reusable", but I guess you meant that the combination of "likely" and "reusable" is applying the possibility twice.

All sstate-cache files are reusable, that's the purpose of a cache. However, only a few are likely to be reused, because the metadata when they were created and the current one are more likely to be the same or similar enough for the cache file to be reused.

Cheers,
Quentin