* [PATCH 1/3] isar-sstate: add well-known task for dpkg-source
@ 2026-09-22 9:09 'Felix Moessbauer' via isar-users
2026-09-22 9:09 ` [PATCH 2/3] isar-sstate: add well-known task for apt tasks 'Felix Moessbauer' via isar-users
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: 'Felix Moessbauer' via isar-users @ 2026-09-22 9:09 UTC (permalink / raw)
To: isar-users; +Cc: adriaan.schmidt, Felix Moessbauer
These currently accumulate under others, but this is a well known isar
task. We now map them to the deb entry.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
scripts/isar-sstate | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/scripts/isar-sstate b/scripts/isar-sstate
index 767661f6..9e78e8f7 100755
--- a/scripts/isar-sstate
+++ b/scripts/isar-sstate
@@ -803,14 +803,14 @@ def sstate_info(target, verbose, filter, arch, **kwargs):
archs = list(set([f.arch for f in all_files]))
print(f"INFO: found the following archs: {archs}")
- key_task = {'deb': 'dpkg_build',
- 'rootfs': 'rootfs_install',
- 'bootstrap': 'bootstrap'}
+ key_task = {'deb': ['dpkg_build', 'dpkg_source'],
+ 'rootfs': ['rootfs_install'],
+ 'bootstrap': ['bootstrap']}
recipes = {k: [] for k in key_task.keys()}
others = []
for pn in set([f.pn for f in all_files]):
tasks = set([f.task for f in all_files if f.pn == pn])
- ks = [k for k, v in key_task.items() if v in tasks]
+ ks = [k for k, v in key_task.items() if any(t in tasks for t in v)]
if len(ks) == 1:
recipes[ks[0]].append(pn)
elif len(ks) == 0:
@@ -820,7 +820,7 @@ def sstate_info(target, verbose, filter, arch, **kwargs):
for k, entries in recipes.items():
print(f"Cache entries for {k}:")
for pn in entries:
- artifacts = [f for f in all_files if f.pn == pn and f.task == key_task[k] and f.suffix in ['tgz', 'tar.zst']]
+ artifacts = [f for f in all_files if f.pn == pn and f.task in key_task[k] and f.suffix in ['tgz', 'tar.zst']]
print(f" - {pn}: {len(artifacts)} entries")
print("Other cache entries:")
for pn in others:
--
2.55.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260922090930.2322146-1-felix.moessbauer%40siemens.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/3] isar-sstate: add well-known task for apt tasks
2026-09-22 9:09 [PATCH 1/3] isar-sstate: add well-known task for dpkg-source 'Felix Moessbauer' via isar-users
@ 2026-09-22 9:09 ` 'Felix Moessbauer' via isar-users
2026-09-22 9:09 ` [PATCH 3/3] isar-sstate: show number of signature files on info 'Felix Moessbauer' via isar-users
2026-09-29 8:06 ` [PATCH 1/3] isar-sstate: add well-known task for dpkg-source Zhihang Wei
2 siblings, 0 replies; 4+ messages in thread
From: 'Felix Moessbauer' via isar-users @ 2026-09-22 9:09 UTC (permalink / raw)
To: isar-users; +Cc: adriaan.schmidt, Felix Moessbauer
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
scripts/isar-sstate | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/isar-sstate b/scripts/isar-sstate
index 9e78e8f7..130b73d1 100755
--- a/scripts/isar-sstate
+++ b/scripts/isar-sstate
@@ -805,7 +805,9 @@ def sstate_info(target, verbose, filter, arch, **kwargs):
key_task = {'deb': ['dpkg_build', 'dpkg_source'],
'rootfs': ['rootfs_install'],
- 'bootstrap': ['bootstrap']}
+ 'bootstrap': ['bootstrap'],
+ 'apt': ['cache', 'cache_config'],
+ }
recipes = {k: [] for k in key_task.keys()}
others = []
for pn in set([f.pn for f in all_files]):
--
2.55.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260922090930.2322146-2-felix.moessbauer%40siemens.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 3/3] isar-sstate: show number of signature files on info
2026-09-22 9:09 [PATCH 1/3] isar-sstate: add well-known task for dpkg-source 'Felix Moessbauer' via isar-users
2026-09-22 9:09 ` [PATCH 2/3] isar-sstate: add well-known task for apt tasks 'Felix Moessbauer' via isar-users
@ 2026-09-22 9:09 ` 'Felix Moessbauer' via isar-users
2026-09-29 8:06 ` [PATCH 1/3] isar-sstate: add well-known task for dpkg-source Zhihang Wei
2 siblings, 0 replies; 4+ messages in thread
From: 'Felix Moessbauer' via isar-users @ 2026-09-22 9:09 UTC (permalink / raw)
To: isar-users; +Cc: adriaan.schmidt, Felix Moessbauer
We currently only dump the number of artifacts on info. However, this
results in some entries where the entry itself is printed but it states
0 entries. This happens when only signatures are available. As the
isar-sstate script anyways has explicit support for signatures, we just
print the number of them as well.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
scripts/isar-sstate | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/isar-sstate b/scripts/isar-sstate
index 130b73d1..aadbaeac 100755
--- a/scripts/isar-sstate
+++ b/scripts/isar-sstate
@@ -823,7 +823,8 @@ def sstate_info(target, verbose, filter, arch, **kwargs):
print(f"Cache entries for {k}:")
for pn in entries:
artifacts = [f for f in all_files if f.pn == pn and f.task in key_task[k] and f.suffix in ['tgz', 'tar.zst']]
- print(f" - {pn}: {len(artifacts)} entries")
+ signatures = [f for f in all_files if f.pn == pn and f.task in key_task[k] and f.suffix in ['tgz.siginfo', 'tar.zst.siginfo']]
+ print(f" - {pn}: {len(artifacts)} entries ({len(signatures)} signatures)")
print("Other cache entries:")
for pn in others:
print(f" - {pn}")
--
2.55.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260922090930.2322146-3-felix.moessbauer%40siemens.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/3] isar-sstate: add well-known task for dpkg-source
2026-09-22 9:09 [PATCH 1/3] isar-sstate: add well-known task for dpkg-source 'Felix Moessbauer' via isar-users
2026-09-22 9:09 ` [PATCH 2/3] isar-sstate: add well-known task for apt tasks 'Felix Moessbauer' via isar-users
2026-09-22 9:09 ` [PATCH 3/3] isar-sstate: show number of signature files on info 'Felix Moessbauer' via isar-users
@ 2026-09-29 8:06 ` Zhihang Wei
2 siblings, 0 replies; 4+ messages in thread
From: Zhihang Wei @ 2026-09-29 8:06 UTC (permalink / raw)
To: Felix Moessbauer, isar-users; +Cc: adriaan.schmidt
Applied to next, thanks.
Zhihang
On 9/22/26 11:09, 'Felix Moessbauer' via isar-users wrote:
> These currently accumulate under others, but this is a well known isar
> task. We now map them to the deb entry.
>
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> ---
> scripts/isar-sstate | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/scripts/isar-sstate b/scripts/isar-sstate
> index 767661f6..9e78e8f7 100755
> --- a/scripts/isar-sstate
> +++ b/scripts/isar-sstate
> @@ -803,14 +803,14 @@ def sstate_info(target, verbose, filter, arch, **kwargs):
> archs = list(set([f.arch for f in all_files]))
> print(f"INFO: found the following archs: {archs}")
>
> - key_task = {'deb': 'dpkg_build',
> - 'rootfs': 'rootfs_install',
> - 'bootstrap': 'bootstrap'}
> + key_task = {'deb': ['dpkg_build', 'dpkg_source'],
> + 'rootfs': ['rootfs_install'],
> + 'bootstrap': ['bootstrap']}
> recipes = {k: [] for k in key_task.keys()}
> others = []
> for pn in set([f.pn for f in all_files]):
> tasks = set([f.task for f in all_files if f.pn == pn])
> - ks = [k for k, v in key_task.items() if v in tasks]
> + ks = [k for k, v in key_task.items() if any(t in tasks for t in v)]
> if len(ks) == 1:
> recipes[ks[0]].append(pn)
> elif len(ks) == 0:
> @@ -820,7 +820,7 @@ def sstate_info(target, verbose, filter, arch, **kwargs):
> for k, entries in recipes.items():
> print(f"Cache entries for {k}:")
> for pn in entries:
> - artifacts = [f for f in all_files if f.pn == pn and f.task == key_task[k] and f.suffix in ['tgz', 'tar.zst']]
> + artifacts = [f for f in all_files if f.pn == pn and f.task in key_task[k] and f.suffix in ['tgz', 'tar.zst']]
> print(f" - {pn}: {len(artifacts)} entries")
> print("Other cache entries:")
> for pn in others:
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/75b3a277-6f19-44a1-b792-a54d8115aab4%40ilbers.de.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-09-29 8:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-22 9:09 [PATCH 1/3] isar-sstate: add well-known task for dpkg-source 'Felix Moessbauer' via isar-users
2026-09-22 9:09 ` [PATCH 2/3] isar-sstate: add well-known task for apt tasks 'Felix Moessbauer' via isar-users
2026-09-22 9:09 ` [PATCH 3/3] isar-sstate: show number of signature files on info 'Felix Moessbauer' via isar-users
2026-09-29 8:06 ` [PATCH 1/3] isar-sstate: add well-known task for dpkg-source Zhihang Wei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox