public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] isar-sstate info: make output more precise
@ 2022-09-27  6:24 Felix Moessbauer
  2022-10-06  9:38 ` Anton Mikanovich
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Moessbauer @ 2022-09-27  6:24 UTC (permalink / raw)
  To: isar-users; +Cc: adriaan.schmidt, Felix Moessbauer

This patch renames the word "hits" to "entries" in isar-sstate info,
as this data refers to the cache entries and not to the entries that
have been hit in the last build.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 scripts/isar-sstate | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/isar-sstate b/scripts/isar-sstate
index c7672656..8908b09f 100755
--- a/scripts/isar-sstate
+++ b/scripts/isar-sstate
@@ -714,11 +714,11 @@ def sstate_info(target, verbose, **kwargs):
         else:
             print(f"WARNING: {pn} could be any of {ks}")
     for k, entries in recipes.items():
-        print(f"Cache hits for {k}:")
+        print(f"Cache entries for {k}:")
         for pn in entries:
-            hits = [f for f in all_files if f.pn == pn and f.task == key_task[k] and f.suffix == 'tgz']
-            print(f"  - {pn}: {len(hits)} hits")
-    print("Other cache hits:")
+            artifacts = [f for f in all_files if f.pn == pn and f.task == key_task[k] and f.suffix == 'tgz']
+            print(f"  - {pn}: {len(artifacts)} entries")
+    print("Other cache entries:")
     for pn in others:
         print(f"  - {pn}")
     return 0
-- 
2.30.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-06  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27  6:24 [PATCH] isar-sstate info: make output more precise Felix Moessbauer
2022-10-06  9:38 ` Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox