-
Notifications
You must be signed in to change notification settings - Fork 121
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
Make licensed status detect dependencies that have been removed #656
Comments
@Mathbl 👋 typically we expect that users will run the |
Indeed, cache will do the trick! Our use case is that our CI runs But, it can also be the dev responsibility to think about running the cache command when adding/removing dependency. You can close the issue if you feel like there is not much value for |
Ahhh I see what you mean now. From a usage perspective, would you want to see the |
Good question! In the case of a missing license/notice, it could cause legal issues, so throwing an error seems correct. For an extra license/notice from a previously removed dependency, I guess this is less problematic. If I only take our use case into account, I would like the CI build (running What do you think? |
I had the same thought, but I could also see a blocking error being annoying if this isn't a case that someone deeply cares about. Which means it's a good candidate for a configuration option! I'm going to make the default value be to warn rather than error so that it's not a breaking change from how the tool operates today, and we can consider flipping it so that the default is to raise an error in the next major version bump. WDYT? |
Configuration option seems like a great idea. Thank you 😃 |
Opened #657 which adds the configuration option to ignore, warn, or error on "stale" metadata files from |
@Japottatweet 👋 you can configure the option in the licensed configuration file. If the configuration option doesn't work please make sure you're using licensed v4.4.0 or greater 🙏 |
Hello,
Would it be possible for licensed status to detect when a record exists for a dependency, but that dependency is not present anymore?
Thanks!
The text was updated successfully, but these errors were encountered: