From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 2/2] scripts/lib: also create CSV lists on "ptxdist make license-report"
Date: Thu, 29 Mar 2018 15:51:08 +0200 [thread overview]
Message-ID: <20180329135108.qiuvesulvqo7plfr@pengutronix.de> (raw)
In-Reply-To: <1522325331.20104.25.camel@ws-apr.office.loc>
On Thu, Mar 29, 2018 at 02:08:51PM +0200, Andreas Pretzsch wrote:
> On Do, 2018-03-29 at 11:46 +0200, Michael Olbrich wrote:
> > > +ptxd_make_world_license_write_csv() {
> > > + local -r STRING_QUOTE='"'
> > > + local -r CSV_SEPARATOR='|'
> > > + local -a flags=( "${!pkg_license_flags[@]}" )
> > > + local l
> > > +
> > > + # not required, seems to be filtered before:
> > > + #case "${pkg_license}" in
> > > + #*ignore*)
> > > + # # ignore this package, e.g. do not list it in the report
> > > + # return 0
> > > + # ;;
> > > + #esac
>
> Any comment on this commented section ?
> Back then, I copied the logic from somewhere, but filtering was not
> required in a real run. Still, kept it as reference.
Just drop this. The license is in the csv, so the processing tool can
filter if necessary.
> I'll rework the patch as above over Easter time, plus
> - include section tag (see Denis' patch)
> - squash it into one with "add suffix _tex"
Sounds good, thanks.
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2018-03-29 13:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-28 20:23 [ptxdist] [PATCH 0/2] license-report: also create CSV lists Andreas Pretzsch
2018-03-28 20:23 ` [ptxdist] [PATCH 1/2] scripts/lib: make_world_license: add suffix "_tex" to ptxd_make_world_license_write Andreas Pretzsch
2018-03-28 20:23 ` [ptxdist] [PATCH 2/2] scripts/lib: also create CSV lists on "ptxdist make license-report" Andreas Pretzsch
2018-03-29 9:46 ` Michael Olbrich
2018-03-29 12:08 ` Andreas Pretzsch
2018-03-29 13:51 ` Michael Olbrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180329135108.qiuvesulvqo7plfr@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox