* [PR PATCH] syft: update to 0.80.0.
@ 2023-05-17 8:07 TeddyDD
2023-05-17 10:14 ` [PR REVIEW] " Piraty
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: TeddyDD @ 2023-05-17 8:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]
There is a new pull request by TeddyDD against master on the void-packages repository
https://github.com/TeddyDD/void-packages-1 update-syft
https://github.com/void-linux/void-packages/pull/43911
syft: update to 0.80.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/43911.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-syft-43911.patch --]
[-- Type: text/x-diff, Size: 1379 bytes --]
From 19dc4e1b7ddb1b8a68feb70494aab4d5f61a314f Mon Sep 17 00:00:00 2001
From: Daniel Lewan <vision360.daniel@gmail.com>
Date: Wed, 17 May 2023 10:06:57 +0200
Subject: [PATCH] syft: update to 0.80.0.
---
srcpkgs/syft/template | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/syft/template b/srcpkgs/syft/template
index 131419513315..298fa36ce50f 100644
--- a/srcpkgs/syft/template
+++ b/srcpkgs/syft/template
@@ -1,12 +1,28 @@
# Template file for 'syft'
pkgname=syft
-version=0.76.0
-revision=2
+version=0.80.0
+revision=1
build_style=go
+build_helper=qemu
go_import_path="github.com/anchore/syft/cmd/syft"
short_desc="SBOM generator CLI for container images, filesystems and more"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="Apache-2.0"
homepage="https://github.com/anchore/syft"
distfiles="https://github.com/anchore/syft/archive/refs/tags/v${version}.tar.gz"
-checksum=d8a439850aa93ebd6fc01c5514b3bd70ae73965c9fea172c26843fcc8d0b5307
+checksum=f53b05b2092118c02010c9be35c5a094834afbd057a2c0cbebe08333b52de76d
+
+post_build() {
+ local cli=$(find $GOPATH/bin -name syft)
+ for shell in bash fish zsh
+ do
+ vtargetrun "$cli" completion "$shell" >"completion.$shell"
+ done
+}
+
+post_install() {
+ for shell in bash fish zsh
+ do
+ vcompletion "completion.$shell" "$shell"
+ done
+}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR REVIEW] syft: update to 0.80.0.
2023-05-17 8:07 [PR PATCH] syft: update to 0.80.0 TeddyDD
@ 2023-05-17 10:14 ` Piraty
2023-05-17 13:19 ` [PR PATCH] [Updated] " TeddyDD
2023-05-17 23:15 ` [PR PATCH] [Merged]: " Piraty
2 siblings, 0 replies; 4+ messages in thread
From: Piraty @ 2023-05-17 10:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 233 bytes --]
New review comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/43911#discussion_r1196266334
Comment:
you may run this in post_install(), and `for ... ; do`. please look at `vhs` template
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] syft: update to 0.80.0.
2023-05-17 8:07 [PR PATCH] syft: update to 0.80.0 TeddyDD
2023-05-17 10:14 ` [PR REVIEW] " Piraty
@ 2023-05-17 13:19 ` TeddyDD
2023-05-17 23:15 ` [PR PATCH] [Merged]: " Piraty
2 siblings, 0 replies; 4+ messages in thread
From: TeddyDD @ 2023-05-17 13:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1246 bytes --]
There is an updated pull request by TeddyDD against master on the void-packages repository
https://github.com/TeddyDD/void-packages-1 update-syft
https://github.com/void-linux/void-packages/pull/43911
syft: update to 0.80.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/43911.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-syft-43911.patch --]
[-- Type: text/x-diff, Size: 1288 bytes --]
From 4513082e230299a009a9b808b0353d687b96f472 Mon Sep 17 00:00:00 2001
From: Daniel Lewan <vision360.daniel@gmail.com>
Date: Wed, 17 May 2023 10:06:57 +0200
Subject: [PATCH] syft: update to 0.80.0.
---
srcpkgs/syft/template | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/syft/template b/srcpkgs/syft/template
index 131419513315..e76deeba40c9 100644
--- a/srcpkgs/syft/template
+++ b/srcpkgs/syft/template
@@ -1,12 +1,21 @@
# Template file for 'syft'
pkgname=syft
-version=0.76.0
-revision=2
+version=0.80.0
+revision=1
build_style=go
+build_helper=qemu
go_import_path="github.com/anchore/syft/cmd/syft"
short_desc="SBOM generator CLI for container images, filesystems and more"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="Apache-2.0"
homepage="https://github.com/anchore/syft"
distfiles="https://github.com/anchore/syft/archive/refs/tags/v${version}.tar.gz"
-checksum=d8a439850aa93ebd6fc01c5514b3bd70ae73965c9fea172c26843fcc8d0b5307
+checksum=f53b05b2092118c02010c9be35c5a094834afbd057a2c0cbebe08333b52de76d
+
+post_install() {
+ syft="${DESTDIR}/usr/bin/syft"
+ for shell in bash fish zsh; do
+ vtargetrun ${syft} completion ${shell} >syft.${shell}
+ vcompletion syft.${shell} ${shell}
+ done
+}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Merged]: syft: update to 0.80.0.
2023-05-17 8:07 [PR PATCH] syft: update to 0.80.0 TeddyDD
2023-05-17 10:14 ` [PR REVIEW] " Piraty
2023-05-17 13:19 ` [PR PATCH] [Updated] " TeddyDD
@ 2023-05-17 23:15 ` Piraty
2 siblings, 0 replies; 4+ messages in thread
From: Piraty @ 2023-05-17 23:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]
There's a merged pull request on the void-packages repository
syft: update to 0.80.0.
https://github.com/void-linux/void-packages/pull/43911
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-05-17 23:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 8:07 [PR PATCH] syft: update to 0.80.0 TeddyDD
2023-05-17 10:14 ` [PR REVIEW] " Piraty
2023-05-17 13:19 ` [PR PATCH] [Updated] " TeddyDD
2023-05-17 23:15 ` [PR PATCH] [Merged]: " Piraty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).