* [ptxdist] [PATCH] ptxd_make_world_license: skip ignore in license report
@ 2022-04-26 15:32 Michael Tretter
2022-05-09 6:28 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Michael Tretter @ 2022-04-26 15:32 UTC (permalink / raw)
To: ptxdist; +Cc: mtr
The yaml contains packages with an ignored license. These packages are
removed from the license-compliance.pdf, but they must be removed from
the license-report.pdf as well.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
scripts/lib/ptxd_make_license_report.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lib/ptxd_make_license_report.sh b/scripts/lib/ptxd_make_license_report.sh
index 21135d0db9cd..24f833637de0 100644
--- a/scripts/lib/ptxd_make_license_report.sh
+++ b/scripts/lib/ptxd_make_license_report.sh
@@ -185,7 +185,7 @@ ptxd_make_license_report() {
ptxd_make_license_report_header
for pkg in ${@}; do
pkg_lic="${ptxd_package_license_association[${pkg}]}"
- if [ -z ${pkg_lic} ]; then
+ if [ -z ${pkg_lic} -o "${pkg_lic}" = "ignore" ]; then
continue
fi
pkg_lic="${pkg_lic}/${pkg}"
--
2.30.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] ptxd_make_world_license: skip ignore in license report
2022-04-26 15:32 [ptxdist] [PATCH] ptxd_make_world_license: skip ignore in license report Michael Tretter
@ 2022-05-09 6:28 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2022-05-09 6:28 UTC (permalink / raw)
To: ptxdist; +Cc: Michael Tretter
Thanks, applied as e1eac6754383f08b0f8dba65bb8671c78aa635cc.
Michael
[sent from post-receive hook]
On Mon, 09 May 2022 08:28:49 +0200, Michael Tretter <m.tretter@pengutronix.de> wrote:
> The yaml contains packages with an ignored license. These packages are
> removed from the license-compliance.pdf, but they must be removed from
> the license-report.pdf as well.
>
> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
> Message-Id: <20220426153249.1458376-1-m.tretter@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/scripts/lib/ptxd_make_license_report.sh b/scripts/lib/ptxd_make_license_report.sh
> index 21135d0db9cd..24f833637de0 100644
> --- a/scripts/lib/ptxd_make_license_report.sh
> +++ b/scripts/lib/ptxd_make_license_report.sh
> @@ -185,7 +185,7 @@ ptxd_make_license_report() {
> ptxd_make_license_report_header
> for pkg in ${@}; do
> pkg_lic="${ptxd_package_license_association[${pkg}]}"
> - if [ -z ${pkg_lic} ]; then
> + if [ -z ${pkg_lic} -o "${pkg_lic}" = "ignore" ]; then
> continue
> fi
> pkg_lic="${pkg_lic}/${pkg}"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-09 6:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-26 15:32 [ptxdist] [PATCH] ptxd_make_world_license: skip ignore in license report Michael Tretter
2022-05-09 6:28 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox