-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Report Debian package licenses in default report #1029
Conversation
This works, but we may need to re-think this as it completely messes up the table formatting to be unreadable with the default format -- something I was not expecting!! Let me (or if you want to, feel free @mukultaneja ) take a look at the PrettyTable python library and see if there's any way to wrap cells. |
@rnjudge, Please review the recent changes where I am using
|
@rnjudge Is this good to go? |
@mukultaneja did you have a chance to check if the PrettyTable library has a way to wrap text in cells? |
@rnjudge, I tried that but did not get many options except |
Hi @mukultaneja, sorry for the delay. I tested this with a non-debian image and I get an issue with the output. Each letter of the license is printed on a separate line. For photon:3.0: I think I know the fix, will comment in-line. Would also like you to add the following change in line 105 of default/generator.py file:
|
@rnjudge I have taken care of all your suggestions, please review the PR once again. |
@mukultaneja A few small nits in the formatting and this is ready to go. Also, can you please update your commit message? It currently says
|
Include Debian package licenses in the default report table and wrap the table column width at 45 characters so the table renders as a reasonable size. Resolved: #989 Signed-off-by: Mukul Taneja <[email protected]>
@rnjudge, Please review the changes! |
@mukultaneja LGTM! |
Adds a new column 'Pkg Licenses' in the table
to report package licenses as part of default
report
Resolved: #989
Signed-off-by: Mukul Taneja [email protected]