Giter Club home page Giter Club logo

Comments (7)

greysteil avatar greysteil commented on May 22, 2024

Hey @OskarStark,

Thanks for reporting this - I totally rely on feedback like this to keep making Dependabot better.

I've just pushed this change that partly addresses the above - Dependabot will now keep the same digit length. In the case listed above, that would mean Dependabot wouldn't have updated your composer.json, just your composer.lock.

The change I've made doesn't stop Dependabot from updating your composer.json from ^2.5 to ^2.6, which I think is probably the behaviour you'd want anyway, except for if your repo is a library (in which case specifying it as such in the composer.json, or not committing the composer.lock, would trigger Dependabot's library behaviour and only update your composer.json if the new version was outside of your currently accepted range).

Make sense?

from dependabot-core.

OskarStark avatar OskarStark commented on May 22, 2024

Hey @greysteil glad to hear that feedback from you 👍

ofc I will test it as soon as I can. And yes I want to upgrade from to 2.6 and 2.7 if ^2.5 is specified.
But I don't want to go to up to 3.x in this case ;-)

I will provide feedback here!

from dependabot-core.

greysteil avatar greysteil commented on May 22, 2024

Awesome. If you haven't merged the duff PR, and have made any changes to its target branch (normally master) since it was created, then commenting @dependabot rebase? on it should update the composer.json changes.

from dependabot-core.

OskarStark avatar OskarStark commented on May 22, 2024

Hey @greysteil I closed the branches and me and/or dependabot closed some of these branches, so I could not reopen anymore :(

from dependabot-core.

greysteil avatar greysteil commented on May 22, 2024

Ah, OK. I've regenerated a few of those PRs for you with the new setup - let me know if that's any better!

from dependabot-core.

OskarStark avatar OskarStark commented on May 22, 2024

I received a PR, but with the old (wrong) logic I guess:
screenshot 2017-12-20 08 58 44

from dependabot-core.

greysteil avatar greysteil commented on May 22, 2024

OK, I've updated our logic to not update the composer.json for PHP if the range is allowable, and will keep it that way unless I start hearing users asking for updates that look like the ones above. I've also kicked off another set of updates for the bad PRs on your repos - if you have any bad PRs that are open there just close them and Dependabot will re-generate them using the new logic the following morning.

Thanks for the feedback on this!

from dependabot-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.