Re: [ptxdist] [PATCH] license-csv: Add rules to generate CSV license report.

2018-03-29 Thread Andreas Pretzsch
On Do, 2018-03-29 at 12:46 +, Denis OSTERLAND wrote: > > But I would refrain from including the URL (for now), simply as it > will > > include all sorts of characters, which then will require proper > > escaping. > > [...] > > > > Denis, what do you think ? > You are right, URL tend to be

Re: [ptxdist] [PATCH] license-csv: Add rules to generate CSV license report.

2018-03-29 Thread Michael Olbrich
On Thu, Mar 29, 2018 at 12:46:16PM +, Denis OSTERLAND wrote: > Am Donnerstag, den 29.03.2018, 14:08 +0200 schrieb Andreas Pretzsch: > > On Do, 2018-03-29 at 07:29 +, Denis OSTERLAND wrote: > > Extending the field list by section is a good point, thanks. Will do. > > > > But I would

Re: [ptxdist] [PATCH 2/2] scripts/lib: also create CSV lists on "ptxdist make license-report"

2018-03-29 Thread Michael Olbrich
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[@]}" ) > > >

Re: [ptxdist] [PATCH] license-csv: Add rules to generate CSV license report.

2018-03-29 Thread Denis OSTERLAND
Am Donnerstag, den 29.03.2018, 14:08 +0200 schrieb Andreas Pretzsch: > On Do, 2018-03-29 at 07:29 +, Denis OSTERLAND wrote: > > > > +++ b/scripts/lib/ptxd_make_license_csv.sh > > @@ -0,0 +1,16 @@ > > +#! /bin/bash > > +# > > +# Copyright (C) 2017 by Denis Osterland

Re: [ptxdist] [PATCH 2/2] scripts/lib: also create CSV lists on "ptxdist make license-report"

2018-03-29 Thread Andreas Pretzsch
On Do, 2018-03-29 at 11:46 +0200, Michael Olbrich wrote: > Please create separate ptxd_make_license_report_tex / > ptxd_make_license_report_csv functions that are called by > ptxd_make_license_report. Ok. > > +ptxd_make_world_license_write_csv_header() { > > + local -r STRING_QUOTE='"' > > +

Re: [ptxdist] [PATCH] license-csv: Add rules to generate CSV license report.

2018-03-29 Thread Andreas Pretzsch
On Do, 2018-03-29 at 07:29 +, Denis OSTERLAND wrote: > +++ b/scripts/lib/ptxd_make_license_csv.sh > @@ -0,0 +1,16 @@ > +#! /bin/bash > +# > +# Copyright (C) 2017 by Denis Osterland > +# > + > +ptxd_make_license_csv() { > + declare -A pkg_license_flags > +

Re: [ptxdist] [PATCH] license-csv: Add rules to generate CSV license report.

2018-03-29 Thread Michael Olbrich
On Thu, Mar 29, 2018 at 07:29:56AM +, Denis OSTERLAND wrote: > Generates CSV license report along with PDF license report. Something like this seems to be interesting for multiple users... :-) I prefer the other implementation. I'm sure we can extend the field list to match your use-case

Re: [ptxdist] [PATCH 2/2] scripts/lib: also create CSV lists on "ptxdist make license-report"

2018-03-29 Thread Michael Olbrich
On Wed, Mar 28, 2018 at 10:23:07PM +0200, Andreas Pretzsch wrote: > When calling "ptxdist make license-report", license reports for > both the target- and the host-tools-packages are created. > > Based upon the license info files created during the regular build > process, LaTeX files are

[ptxdist] [PATCH] pyserial3: version bump: 2.7 -> 3.4

2018-03-29 Thread Boerje Sewing
This uses the latest version of PySerial compatible with Python 3.4 and up. Signed-off-by: Boerje Sewing --- rules/pyserial3.make | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/pyserial3.make b/rules/pyserial3.make index

Re: [ptxdist] How to generate license report?

2018-03-29 Thread Denis OSTERLAND
We did something similar, some time ago. We have used make dependencies to generate csv along with pdf report. I have sent the patch to list. Regards Denis Am Mittwoch, den 28.03.2018, 22:31 +0200 schrieb Andreas Pretzsch: > On Di, 2018-03-27 at 09:26 +, Alm, Michael wrote: > > > > Also, it

[ptxdist] [PATCH] license-csv: Add rules to generate CSV license report.

2018-03-29 Thread Denis OSTERLAND
Generates CSV license report along with PDF license report. Signed-off-by: Denis Osterland --- rules/post/ptxd_make_license_csv.make | 14 ++ scripts/lib/ptxd_make_license_csv.sh | 16 2 files changed, 30 insertions(+) create mode 100644