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

Migrate RecordPackageManagerVersion to RecordEcosystemVersions #145

Merged

Conversation

jeffwidman
Copy link
Member

This endpoint was renamed in dependabot/dependabot-core#7517 and the accompanying internal API change.

So the mock here needs updating. Also updated the struct.

Note that the smoke tests will not pass until they are also updated... but we're in a chicken-and-egg because they currently blow up because this endpoint isn't mocked.

@jeffwidman jeffwidman requested a review from a team as a code owner July 11, 2023 16:45
This endpoint was renamed in dependabot/dependabot-core#7517
and the accompanying internal API change.

So the mock here needs updating. Also updated the struct.
@jeffwidman jeffwidman force-pushed the update-RecordPackageManagerVersion-to-RecordEcosystemVersions branch from 3f6ceef to cad6c54 Compare July 11, 2023 16:47
@jeffwidman jeffwidman merged commit 8e90366 into main Jul 11, 2023
@jeffwidman jeffwidman deleted the update-RecordPackageManagerVersion-to-RecordEcosystemVersions branch July 11, 2023 17:25
jeffwidman added a commit that referenced this pull request Jul 11, 2023
I confused myself in the previous two PR's... the `Ecosystem` field is
actually removed, and the `PackageManager` field is replaced by the
`EcosystemVersions` field.

For background context:
* #145
* #146
* dependabot/dependabot-core#7492
* dependabot/dependabot-core#7517

Caught this discrepancy over here:
* https://github.com/dependabot/smoke-tests/pull/98/files#r1260099204
jeffwidman added a commit that referenced this pull request Jul 11, 2023
I confused myself in the previous two PR's... the `Ecosystem` field is
actually removed, and the top-level `PackageManager` field is replaced by the
`EcosystemVersions` field.

As explained in #146, there may
be an inner `PackageManager` field, which is optional. But no need to
map it out in the struct, at least not yet.

For background context:
* #145
* #146
* dependabot/dependabot-core#7492
* dependabot/dependabot-core#7517

Caught this discrepancy over here:
* https://github.com/dependabot/smoke-tests/pull/98/files#r1260099204
jeffwidman added a commit that referenced this pull request Jul 11, 2023
I confused myself in the previous two PR's... the `Ecosystem` field is
actually removed, and the top-level `PackageManager` field is replaced by the
`EcosystemVersions` field.

As explained in #146, there may
be an inner `PackageManager` field, which is optional. But no need to
map it out in the struct, at least not yet.

For background context:
* #145
* #146
* dependabot/dependabot-core#7492
* dependabot/dependabot-core#7517

Caught this discrepancy over here:
* https://github.com/dependabot/smoke-tests/pull/98/files#r1260099204
jeffwidman added a commit that referenced this pull request Jul 11, 2023
I confused myself in the previous two PR's... the `Ecosystem` field is
actually removed, and the top-level `PackageManager` field is replaced by the
`EcosystemVersions` field.

As explained in #146, there may
be an inner `PackageManager` field, which is optional. But no need to
map it out in the struct, at least not yet.

For background context:
* #145
* #146
* dependabot/dependabot-core#7492
* dependabot/dependabot-core#7517

Caught this discrepancy over here:
* https://github.com/dependabot/smoke-tests/pull/98/files#r1260099204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants