weixin_39819393 2020-11-29 10:38 采纳率: 0%
浏览 0

Handle upgrades that require upgrading multiple dependencies at once

From on May 31, 2017 10:0

On a lot of old repos, we see Gemfiles with something like the below:


gem "rails", "~> 4.1"
gem "sass-rails", "~> 4.1"

To upgrade either of the dependencies in the above Gemfile, we need to update both, because sass-rails version 5 depends on the rails version being 5.

The right way to handle the above is to put in a PR upgrading both of the above, with clear details of both updates.

Copied from original issue: dependabot/feedback#5

该提问来源于开源项目:dependabot/dependabot-core

  • 写回答

6条回答 默认 最新

  • weixin_39819393 2020-11-29 10:38
    关注

    From on October 28, 2017 23:10

    For now I'd just be happy with just the addition of a separate PR explaining the issue and listing the gems that are currently blocked from being updated. You can also point out that you hope to address this in the future. However currently this issue is just hidden from most users and they may think they are up to to date when they are actually not.

    Btw this is just my idea having no knowledge of how things work currently. I'd be happy with any low tech solution that stops the problem from being hidden.

    评论

报告相同问题?