haskell-hvr / cabal-plan

Library and utility for processing cabal's plan.json file
https://hackage.haskell.org/package/cabal-plan
GNU General Public License v2.0
38 stars 25 forks source link

Local packages list license file and summary as `*MISSING*` #106

Open sellout opened 2 months ago

sellout commented 2 months ago

In projects with multiple local packages, when you bump the version numbers on them and one depends on the other, the generated license report will show the License Id and Description on the local dependency as *MISSING*.

Name Version SPDX License Id Description Also depended upon by
yaya 0.6.2.1 MISSING MISSING

This is because the newly bumped version hasn’t made it to Hackage yet. But hopefully the info can be gathered from the local package?

sellout commented 2 months ago

And if there’s a mechanism for looking up the info for local packages, then might as well include the license information for the package the report is based on, not just its dependencies.