Skip to content
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

Followup improvements to the license review tool #9895

Merged
merged 8 commits into from
May 11, 2024

Conversation

radeusgd
Copy link
Member

@radeusgd radeusgd commented May 9, 2024

Pull Request Description

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • Unit tests have been written where possible.

@radeusgd radeusgd added the CI: No changelog needed Do not require a changelog entry for this PR. label May 9, 2024
@radeusgd radeusgd self-assigned this May 9, 2024
import org.enso.build.BenchTasks.*
import org.enso.build.BenchTasks._
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverting the * as requested by @hubertp, sorry the PR took so long

Comment on lines +129 to +136
// The configuration is not related to any known package, so we remove it
IO.delete(p)
Diagnostic.Warning(
s"Found legal review configuration for package ${p.getName}, but " +
s"no such dependency has been found. It seems that the " +
s"dependency has been removed, so the configuration has been " +
s"deleted. If you think this was mistake, please rely on " +
s"version control to bring it back."
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JaroslavTulach per your request - if I could not match a bumped version which could be renamed from the GUI, we assume the dependency was removed and automatically delete the obsolete directory.
The warning is emitted to let the user know but it's a Warning not Error so it does not fail the report check.

@radeusgd radeusgd requested a review from jdunkerley May 9, 2024 07:50
@radeusgd radeusgd added the CI: Ready to merge This PR is eligible for automatic merge label May 11, 2024
@mergify mergify bot merged commit 1d61c08 into develop May 11, 2024
38 checks passed
@mergify mergify bot deleted the wip/radeusgd/9122-followup-license-review-helpers branch May 11, 2024 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to perform routine license review actions from the report webpage
3 participants