Config-help: [Question] How to ignore Ruby versions

Created on 25 Apr 2019  路  3Comments  路  Source: renovatebot/config-help

Which Renovate are you using? CLI, App, or Pro

App

Which platform are you using? GitHub, GitLab, Bitbucket Azure DevOps

GitHub

Have you checked the logs? Don't forget to include them if relevant

The full logs can be found here. What _appears_ to be the relevant snippets:

DEBUG: migrated config
{
  ...
    "ignorePaths": [
      "spec/fixtures/**"
    ]
  }
}
DEBUG: Using file match: (^|/)\.ruby-version$ for manager ruby-version
DEBUG: Matched 2 file(s) for manager ruby-version: spec/fixtures/.ruby-version, spec/fixtures/yml2_2/.ruby-version
INFO: Found ruby-version package files

What is your question?

How do I force Renovate to ignore these two configuration files, as it seems the spec/fixtures/** path isn't working for the ruby-version manager?

The documentation for ruby-version is... somewhat lacking, so I'm unsure how to simply disable it if that's an option. (Although I would love the Ruby versions in Travis/Circle CI to be tracked!)

All 3 comments

I just discovered that the minimatch glob library ignores dotfiles by default. I have added an option to override that in Renovate so your glob pattern should now work once [email protected] goes live.

You could also disable ruby-version this way:

{
  "ruby-version": { "enabled: false }
}

The change I mentioned has now taken effect in your repo and the PR there is autoclosed. Thanks for bringing it to my attention

Thanks for fixing it so quickly as always!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sidharthachatterjee picture sidharthachatterjee  路  8Comments

piotr-s-brainhub picture piotr-s-brainhub  路  7Comments

dmt0 picture dmt0  路  10Comments

daern91 picture daern91  路  3Comments

billyto picture billyto  路  9Comments