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

fix: revert breaking changes from conditional dependencies #3612

Merged
merged 3 commits into from
Oct 22, 2021

Conversation

merceyz
Copy link
Member

@merceyz merceyz commented Oct 21, 2021

What's the problem this PR addresses?

#3575 introduced some breaking changes that could have been avoided

  • Cache.fetchPackageFromCache had its skipIntegrityCheck option moved from the third argument "options bag" to a fourth argument "options bag"
  • FetchOptions.skipIntegrityCheck was ignored by all the fetchers

How did you fix it?

  • Merge the fourth argument into the third argument
  • Respect FetchOptions.skipIntegrityCheck

Checklist

  • I have read the Contributing Guide.
  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@merceyz merceyz requested a review from arcanis as a code owner October 21, 2021 19:26
@merceyz merceyz requested a review from paul-soporan October 21, 2021 19:31
@merceyz merceyz changed the title fix: revert breaking change to cache and fetchers fix: revert breaking changes from conditional dependencies Oct 21, 2021
@merceyz merceyz force-pushed the merceyz/fix/revert-breaking-change branch from 6b54476 to 8dcf500 Compare October 21, 2021 19:42
@merceyz merceyz mentioned this pull request Oct 21, 2021
3 tasks
Copy link
Member

@paul-soporan paul-soporan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not pretty at all but I guess it's what we've got to do to avoid introducing breaking changes 😦.

Can you add a "cleanup all of this" entry to #3591 too?

@arcanis arcanis merged commit ed22a64 into master Oct 22, 2021
@arcanis arcanis deleted the merceyz/fix/revert-breaking-change branch October 22, 2021 14:32
@paul-soporan paul-soporan mentioned this pull request Nov 3, 2021
13 tasks
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