mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] license-yaml2csv.py fails on Debian 9 (stretch)
Date: Wed, 15 May 2019 08:38:36 +0200	[thread overview]
Message-ID: <3420835.i4fPDR0aaJ@ada> (raw)
In-Reply-To: <18773593.op8sZWWL4g@ada>

Hei hei,

Am Dienstag, 14. Mai 2019, 16:56:54 CEST schrieb Alexander Dahl:
> I tried to run license-yaml2csv.py today, just out of curiosity, but it does
> not work:
> 
> 
> adahl@ada /mnt/data/adahl/src/DistroKit (git)-[master] % /usr/local/lib/
> ptxdist-$(p version)/scripts/license-yaml2csv.py platform-v7a/report/misc/
> openssl/license-report.yaml
> Traceback (most recent call last):
>   File "/usr/local/lib/ptxdist-2019.05.0/scripts/license-yaml2csv.py", line
> 56, in <module>
>     value = record.get(field, None)
> AttributeError: 'str' object has no attribute 'get'

Well, it seems, that was the wrong input file. The followin works:

adahl@ada ~/src/DistroKit (git)-[master] % /usr/local/lib/ptxdist-$(ptxdist 
version)/scripts/license-yaml2csv.py platform-v7a/release/license-
compliance.yaml

To generate that yaml file, one has to call this:

  ptxdist make license-compliance-data

If you're interested in license report topics, there are more interesting make 
targets in rules/post/ptxd_make_license_report.make …

Thanks for reading. ;-)
Alex


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2019-05-15  6:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-14 14:56 Alexander Dahl
2019-05-15  6:38 ` Alexander Dahl [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=3420835.i4fPDR0aaJ@ada \
    --to=ada@thorsis.com \
    --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