public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] CI: Fix tar files mask in source test case
@ 2024-07-02  7:00 Anton Mikanovich
  2024-07-12  6:02 ` Uladzimir Bely
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Mikanovich @ 2024-07-02  7:00 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

As source packages can be compressed not just with gzip make file mask
little more generic to allow different compression types.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 testsuite/cibase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/cibase.py b/testsuite/cibase.py
index fd571c29..b2a804b7 100755
--- a/testsuite/cibase.py
+++ b/testsuite/cibase.py
@@ -241,7 +241,7 @@ class CIBaseTest(CIBuilder):
                 sfiles[target] = dict()
                 package = target.rsplit(':', 1)[-1]
                 isar_apt = CIUtils.getVars('REPO_ISAR_DB_DIR', target=target)
-                fpath = f'{package}/{package}*.tar.gz'
+                fpath = f"{package}/{package}*.tar.*"
                 targz = set(glob.glob(f'{isar_apt}/../apt/*/pool/*/*/{fpath}'))
                 if len(targz) < 1:
                     self.fail('No source packages found')
-- 
2.34.1


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

* Re: [PATCH] CI: Fix tar files mask in source test case
  2024-07-02  7:00 [PATCH] CI: Fix tar files mask in source test case Anton Mikanovich
@ 2024-07-12  6:02 ` Uladzimir Bely
  0 siblings, 0 replies; 2+ messages in thread
From: Uladzimir Bely @ 2024-07-12  6:02 UTC (permalink / raw)
  To: Anton Mikanovich, isar-users

On Tue, 2024-07-02 at 10:00 +0300, Anton Mikanovich wrote:
> As source packages can be compressed not just with gzip make file
> mask
> little more generic to allow different compression types.
> 
> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
> ---
>  testsuite/cibase.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/testsuite/cibase.py b/testsuite/cibase.py
> index fd571c29..b2a804b7 100755
> --- a/testsuite/cibase.py
> +++ b/testsuite/cibase.py
> @@ -241,7 +241,7 @@ class CIBaseTest(CIBuilder):
>                  sfiles[target] = dict()
>                  package = target.rsplit(':', 1)[-1]
>                  isar_apt = CIUtils.getVars('REPO_ISAR_DB_DIR',
> target=target)
> -                fpath = f'{package}/{package}*.tar.gz'
> +                fpath = f"{package}/{package}*.tar.*"
>                  targz =
> set(glob.glob(f'{isar_apt}/../apt/*/pool/*/*/{fpath}'))
>                  if len(targz) < 1:
>                      self.fail('No source packages found')
> -- 
> 2.34.1
> 

Applied to next.

-- 
Best regards,
Uladzimir.

-- 
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 on the web visit https://groups.google.com/d/msgid/isar-users/619cabc3d1f0b6365243db52f8e4e0d62e24fb51.camel%40ilbers.de.

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

end of thread, other threads:[~2024-07-12  6:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-02  7:00 [PATCH] CI: Fix tar files mask in source test case Anton Mikanovich
2024-07-12  6:02 ` Uladzimir Bely

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