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

Help removing warnings #966

Open
josemigallas opened this issue Feb 3, 2023 · 2 comments
Open

Help removing warnings #966

josemigallas opened this issue Feb 3, 2023 · 2 comments

Comments

@josemigallas
Copy link

I would like to fix the following warnings, could anybody point me to some documentation or information about this things they talk about? They show up when running the following function:

cli = LicenseFinder::CLI::Main.new
cli.options = { "format" => "xml", "save" => path }
cli.report
WARNING:  licenses is empty, but is recommended.  Use a license identifier from
http://spdx.org/licenses or 'Nonstandard' for a nonstandard license.
WARNING:  no homepage specified
WARNING:  description and summary are identical
WARNING:  open-ended dependency on railties (>= 3.2) is not recommended
  if railties is semantically versioned, use:
    add_runtime_dependency 'railties', '~> 3.2'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
WARNING:  licenses is empty, but is recommended.  Use a license identifier from
http://spdx.org/licenses or 'Nonstandard' for a nonstandard license.
WARNING:  no homepage specified
WARNING:  description and summary are identical
WARNING:  open-ended dependency on railties (> 3.1) is not recommended
  if railties is semantically versioned, use:
    add_runtime_dependency 'railties', '~> 3.1', '> 3.1'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
WARNING:  licenses is empty, but is recommended.  Use a license identifier from
http://spdx.org/licenses or 'Nonstandard' for a nonstandard license.
WARNING:  no homepage specified
WARNING:  description and summary are identical
WARNING:  open-ended dependency on railties (> 3.1) is not recommended
  if railties is semantically versioned, use:
    add_runtime_dependency 'railties', '~> 3.1', '> 3.1'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
WARNING:  licenses is empty, but is recommended.  Use a license identifier from
http://spdx.org/licenses or 'Nonstandard' for a nonstandard license.
WARNING:  no homepage specified
WARNING:  description and summary are identical
WARNING:  open-ended dependency on railties (>= 3.2) is not recommended
  if railties is semantically versioned, use:
    add_runtime_dependency 'railties', '~> 3.2'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help

Thanks!

@cf-gitbot
Copy link
Collaborator

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@xtreme-shane-lattanzio
Copy link
Contributor

Hey @josemigallas I'm not really sure what you are trying to do but when using LF in other ruby code, we do something like:

lf_command = "GOPATH=#{lf_gopath} #{rvm_do} license_finder report --save='#{results_file_name}' #{prepare_flag} --project-path='#{project_path}' --format=json --columns=name version install_path licenses package_manager homepage --gradle_include_groups --maven_include_groups --sbt_include_groups --go_full_version --python-version=#{python_version(framework_flags)} --log_directory ~/lf_logs/#{lf_log_sub_path}"

and then execute the command. Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants