public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Felix Moessbauer <felix.moessbauer@siemens.com>
To: isar-users@googlegroups.com
Cc: adriaan.schmidt@siemens.com,
	Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH] isar-sstate info: make output more precise
Date: Tue, 27 Sep 2022 08:24:43 +0200	[thread overview]
Message-ID: <20220927062443.448456-1-felix.moessbauer@siemens.com> (raw)

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


             reply	other threads:[~2022-09-27  6:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-27  6:24 Felix Moessbauer [this message]
2022-10-06  9:38 ` Anton Mikanovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220927062443.448456-1-felix.moessbauer@siemens.com \
    --to=felix.moessbauer@siemens.com \
    --cc=adriaan.schmidt@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox