Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

Renovate no longer detecting updates needed #325

Closed
Jamesking56 opened this issue Aug 7, 2019 · 7 comments
Closed

Renovate no longer detecting updates needed #325

Jamesking56 opened this issue Aug 7, 2019 · 7 comments

Comments

@Jamesking56
Copy link

What Renovate type are you using?
Renovate Docker via GitLab CI

Describe the bug
It seems as though Renovate is no longer creating any update MRs or commits in any of my projects, no config has changed to cause this.

Did you see anything helpful in debug logs?
Here is a full debug log of the last run, I can't see anything of interest:

https://gist.github.com/Jamesking56/4eb498039ef7084bd373037c15c352c3

To Reproduce
Steps to reproduce the behavior:

No idea

Expected behavior
I'm expecting Renovate to find some updates, as several of the projects definitely have outdated Composer dependencies

@rarkins
Copy link
Collaborator

rarkins commented Aug 7, 2019

Can you name at least one repository/manager/dependency combination that you expect updates for?

@Jamesking56
Copy link
Author

Jamesking56 commented Aug 7, 2019

@rarkins Well I have a few Laravel projects where the laravel/framework dependency is behind on the patch version, which should be getting updated.

@Jamesking56
Copy link
Author

I think I've worked out whats happening - I think I've borked a packageRules config.

How do I configure renovate to only do digest and patch updates for laravel/framework?

@rarkins rarkins transferred this issue from renovatebot/renovate Aug 10, 2019
@rarkins
Copy link
Collaborator

rarkins commented Aug 10, 2019

The first thing you need to do is enable patch-only updates for that package:

  {
    "packageNames": ["laravel/framework"],
    "separateMinorPatch": true
  }

Then, disable minor/major:

  {
    "packageNames": ["laravel/framework"],
    "updateTypes": ["minor", "major"],
    "enabled": false
  }

I don't recall if we do "digest" updates for PHP though.

@Jamesking56
Copy link
Author

Jamesking56 commented Aug 11, 2019

I've now got:

{
    "extends": [
        "config:base",
        ":preserveSemverRanges",
        ":automergeDigest",
        ":automergePatch",
        ":pinSkipCi",
        ":assignAndReview(Jamesking56)",
        ":rebaseStalePrs",
        "preview:dockerCompose"
    ],
    "packageRules": [
        {
            "packageNames": ["laravel/framework"],
            "updateTypes": ["minor", "major"],
            "enabled": false
        },
        {
            "packageNames": ["phpunit/phpunit"],
            "updateTypes": ["minor", "major"],
            "enabled": false
        },
        {
            "packageNames": ["node-sass"],
            "updateTypes": ["minor", "major"],
            "enabled": false
        }
    ],
    "dockerfile": {
        "enabled": false
    },
    "gitlabci": {
        "enabled": false
    }
}

Is this valid config?

@rarkins
Copy link
Collaborator

rarkins commented Aug 11, 2019

Looks ok but without separating minor from patch as I suggested then you won’t see any patches as they get classified as minor and then disabled too. By default Renovate treats patches and minor as the same.

@stale
Copy link

stale bot commented Aug 15, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed soon if no further activity occurs.

@stale stale bot added the wontfix label Aug 15, 2019
@stale stale bot closed this as completed Aug 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants