Hi,

On Tue, Mar 27, 2018 at 09:43:35AM +0200, Michael Olbrich wrote:
> > > Is it possible to generate such a report? How?
> > 
> > This should probably be documented. You can get it via
> > 
> >    $ ptxdist make license-report
>
> That's currently the way to do this. It's not documented because I 
> actually want to hook this up somewhere. But I'm not sure where exactly.
>
> I want to move this stuff out of rules/post/ and do something similar to the 
> image rules. 
> And then hook up these new packages these packages somewhere. I'm not sure 
> 'world' 
> is the correct place, so a new command 'ptxdist license-report'?
> Any opinions on this?

Sounds ok for me. It might also be useful to only generate a license report 
including the target or 
host packages. In many cases only the target license report is of interest to 
the final customer.
So the command might look something like this:

'ptxdist license-report'   generates 2 reports: 1 for the target and 1 for the 
host packages
'ptxdist license-report target'   generates  1 report including the target 
packages only
'ptxdist license-report host'   generates  1 report including the host packages 
only

Also, it would be helpful to have a short-list with the package name, version 
and license 
type only, without all the license text. Maybe like this:

'ptxdist license-report target short'

foo, 1.0, BSD
bar, 2.8.1.5, GPLv2
...


Greets,
Michael


_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to