Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support newVersion and prevVersion for updates with multiple dependencies #402

Open
Nishnha opened this issue Jun 26, 2023 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@Nishnha
Copy link
Member

Nishnha commented Jun 26, 2023

Add support for the newVersion and prevVersion fields for updates with multiple dependencies.

Right now these fields are empty when there are multiple dependencies, so this affects both grouped updates and transitive dependency updates.

@Nishnha Nishnha added the enhancement New feature or request label Jun 26, 2023
@Nishnha
Copy link
Member Author

Nishnha commented Jun 26, 2023

I took an initial pass at resolving this for grouped updates with https://github.com/dependabot/fetch-metadata/compare/nishnha/grouped-updates-support...nishnha/support-version-info?expand=1

We can pull version info from the commit metadata, but we will need to make sure the commit message version string ends in a period for the regex we have in place to work.

Then we can check against the name of the dependency and hopefully return the correct newVersion and prevVersion

@inomdzhon
Copy link

I want this feature 😭😭😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants