Skip to content

Do not know how to fix warning : invalid purl format #495

@jpolo

Description

@jpolo

What happened:

[0009]  WARN matcher failed for pkg=Pkg(type=gem, name=ruby-vips, version=, upstreams=0): invalid purl format pkg:gem/ruby-vips
[0009]  WARN matcher failed for pkg=Pkg(type=gem, name=rufus-scheduler, version=, upstreams=0): invalid purl format pkg:gem/rufus-scheduler
...

When running on a ruby on rails project with xeol dir:.

What you expected to happen:

I would like to solve this problem but the warn message does not show me the way. I do not understand if there is a misconfiguration or if I must change something, or if is a bug...

How to reproduce it (as minimally and precisely as possible):

Gemfile:

# rubocop:disable Bundler/GemVersion
source "https://rubygems.org"
ruby File.read(File.dirname(__FILE__) + "/.tool-versions")[/ruby \K.+/] || raise

gem "rails", "~> 7.1.4"
gem "puma", "~> 6.4.0"
gem "pg", "~> 1.5.3"
gem "figaro", "~> 1.2.0"
gem "jbuilder", "~> 2.13.0"
gem "devise", "~> 4.9.2"
gem "redis", "~> 5.2.0"

gem "sass-rails", "~> 6.0.0"
gem "jquery-rails", "~> 4.6.0"
gem "js_cookie_rails", "~> 2.2.0"
gem "uglifier", "~> 4.2.0"
gem "font-awesome-sass", "~> 6.0"
gem "simple_form", "~> 5.3.0"
gem "autoprefixer-rails", "~> 10.4.19.0"
gem "materialize-sass", "~> 0.98.2"
gem "google-analytics-rails", "~> 1.1.1"
gem "mail_form", "~> 1.10.0"
gem "rest-client", "~> 2.1.0"
gem "postmark-rails", "~> 0.22.1"
gem "pundit", "~> 2.3.1"
gem "money-rails", "~> 1.15.0"
gem "time_difference", "~> 0.5.0"
gem "cloudinary", "~> 1.28.0"
gem "jquery-fileupload-rails", "~> 1.0.0"
gem "coffee-rails", "~> 5.0.0"
gem "stripe", "~> 8.5.0"
gem "rails-i18n", "~> 7.0.7"
gem "devise-i18n", "~> 1.12.0"
gem "activeadmin", "~> 3.2.0"
gem "activeadmin_addons", "~> 1.10.0"
gem "inherited_resources", "~> 1.14.0"
gem "country_select", "~> 8.0.2"
gem "gibbon", "~> 3.5.0"
gem "sentry-ruby", "~> 5.21.0"
gem "sentry-rails", "~> 5.21.0"
gem "sentry-sidekiq", "~> 5.21.0"
gem "sidekiq", "~> 7.2.0"
gem "sidekiq-scheduler", "~> 5.0.3"
gem "arctic_admin", "~> 4.3.0"
gem "acts-as-taggable-on", "~> 10.0.0"
gem "recaptcha", "~> 5.16.0"
gem "acts_as_list", "~> 1.2.0"
gem "activeadmin_reorderable", :git => "https://github.com/Captive-Studio/activeadmin_reorderable"
gem "bootsnap", "~> 1.18.0"
gem "image_processing", "~> 1.12.2"
gem "activestorage-cloudinary-service", "~> 0.2.3"
gem "ransack", "~> 4.1.1"
gem "sib-api-v3-sdk", "~> 9.1.0"
gem "ffaker", "~> 2.23.0"
gem "chartkick", "~> 5.0.3"
gem "counter_culture", "~> 3.7.0"
gem "groupdate", "~> 6.4.0"
gem "sprockets-rails"
gem "auto_strip_attributes", "~> 2.6.0"

group :development do
  gem "binding_of_caller", "~> 1.0.0"
  gem "better_errors", "~> 2.10.1"
  gem "rails-erd", "~> 1.7.2"
  gem "foreman", "~> 0.88.0"
  gem "guard", "~> 2.18.0"
  gem "guard-rspec", "~> 4.7.3", require: false
  gem "guard-rubocop", "~> 1.5.0"
  gem "web-console", "~> 4.2.0"
end

group :development, :test do
  gem "bullet", "~> 7.1.0"
  gem "capybara", "~> 3.40.0"
  gem "launchy", "~> 2.5.2"
  gem "minitest-reporters", "~> 1.7.0"
  gem "letter_opener", "~> 1.8.1"
  gem "rspec-rails", "~> 6.1.0"
  gem "factory_bot_rails", "~> 6.4.0"
  gem "rubocop-config-captive", "~> 1.11.0"
  gem "spring", "~> 4.2.0"
  gem "listen", "~> 3.9.0"
  gem "spring-watcher-listen", "~> 2.1.0"
  gem "rspec_junit_formatter", "~> 0.6.0"
end

group :test do
  gem "shoulda-matchers", "~> 6.2.0"
  gem "rails-controller-testing", "~> 1.0.5"
  gem "timecop", "~> 0.9.6"
end
# rubocop:enable Bundler/GemVersion
gem "rubycritic", "~> 4.9.0"

gem "terser", "~> 1.2"

Anything else we need to know?:

Environment:

  • Output of xeol version:
    Application: xeol
    Version: 0.10.2
    BuildDate: 2024-12-27T17:33:13Z
    GitCommit: Homebrew
    GitDescription: Homebrew
    Platform: darwin/arm64
    GoVersion: go1.23.4
    Compiler: gc
    Syft Version: v1.10.0
    Supported DB Schema: 1

  • OS (e.g: cat /etc/os-release or similar):
    OS: macOS 15.3 (24D60)
    Apple M1
    Shell: ZSH + powerlevel10k + some zsh plugins (autocompletion)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions