public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v2 1/1] avoid unspecific file names in download cache
@ 2025-12-15  7:42 'Felix Moessbauer' via isar-users
  2025-12-18 11:24 ` Anton Mikanovich
  0 siblings, 1 reply; 2+ messages in thread
From: 'Felix Moessbauer' via isar-users @ 2025-12-15  7:42 UTC (permalink / raw)
  To: isar-users; +Cc: Felix Moessbauer

With the recent introduction of the SBOM series, we also introduced
artifacts with unspecific names (only v<version>.tar.gz) in the download
cache. As this can easily lead to name collisions, we manually provide
the downloadfilename for the related artifacts.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
Changes since v1:
- use BPN instead of PN to avoid double-download on -native
  (a linter could have caught this, but we don't have one yet)

Felix

 .../recipes-support/python3-beartype/python3-beartype_0.19.0.bb | 2 +-
 .../python3-spdx-tools/python3-spdx-tools_0.8.3.bb              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/python3-beartype/python3-beartype_0.19.0.bb b/meta/recipes-support/python3-beartype/python3-beartype_0.19.0.bb
index b8bc2708..92a9ca12 100644
--- a/meta/recipes-support/python3-beartype/python3-beartype_0.19.0.bb
+++ b/meta/recipes-support/python3-beartype/python3-beartype_0.19.0.bb
@@ -18,7 +18,7 @@ DEBIAN_CHANGELOG_TIMESTAMP = "315532800"
 DESCRIPTION = "Unbearably fast near-real-time hybrid runtime-static type-checking in pure Python."
 
 SRC_URI = "\
-    https://github.com/beartype/beartype/archive/refs/tags/v0.19.0.tar.gz \
+    https://github.com/beartype/beartype/archive/refs/tags/v0.19.0.tar.gz;downloadfilename=${BPN}-${PV}.tar.gz  \
     file://rules \
     "
 SRC_URI[sha256sum] = "e7ad00eebf527d60f30e0b391209b561dabd2074b608c50e26c94c2d8250a6cd"
diff --git a/meta/recipes-support/python3-spdx-tools/python3-spdx-tools_0.8.3.bb b/meta/recipes-support/python3-spdx-tools/python3-spdx-tools_0.8.3.bb
index 30d090a9..6285f332 100644
--- a/meta/recipes-support/python3-spdx-tools/python3-spdx-tools_0.8.3.bb
+++ b/meta/recipes-support/python3-spdx-tools/python3-spdx-tools_0.8.3.bb
@@ -35,7 +35,7 @@ DEB_BUILD_OPTIONS += "nocheck"
 DESCRIPTION = "SPDX parser and tools."
 
 SRC_URI = "\
-    https://github.com/spdx/tools-python/archive/refs/tags/v0.8.3.tar.gz \
+    https://github.com/spdx/tools-python/archive/refs/tags/v0.8.3.tar.gz;downloadfilename=${BPN}-${PV}.tar.gz \
     file://rules \
     "
 SRC_URI[sha256sum] = "17cb0140adbaefb58819c9d5d56060dc6a70c673a854fa9bd882ecfa4e062a7f"
-- 
2.51.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/20251215074219.104455-1-felix.moessbauer%40siemens.com.

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

* Re: [PATCH v2 1/1] avoid unspecific file names in download cache
  2025-12-15  7:42 [PATCH v2 1/1] avoid unspecific file names in download cache 'Felix Moessbauer' via isar-users
@ 2025-12-18 11:24 ` Anton Mikanovich
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Mikanovich @ 2025-12-18 11:24 UTC (permalink / raw)
  To: Felix Moessbauer, isar-users

15/12/2025 09:42, 'Felix Moessbauer' via isar-users wrote:
> With the recent introduction of the SBOM series, we also introduced
> artifacts with unspecific names (only v<version>.tar.gz) in the download
> cache. As this can easily lead to name collisions, we manually provide
> the downloadfilename for the related artifacts.
>
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Applied to next, thanks.

-- 
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/0caacf76-90a9-4f39-be42-1c1c1d0c2810%40ilbers.de.

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

end of thread, other threads:[~2025-12-18 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-15  7:42 [PATCH v2 1/1] avoid unspecific file names in download cache 'Felix Moessbauer' via isar-users
2025-12-18 11:24 ` Anton Mikanovich

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