Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: make cache key consistent (and configurable) #38

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

Merged
merged 2 commits into from
Aug 13, 2022

Conversation

damienwebdev
Copy link
Member

@damienwebdev damienwebdev commented Aug 13, 2022

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Currently, in MageOS, there's a strong use-case for cache-busting the internal composer cache if there's a need to fixup broken composer packages. While, rare, it happens. We need to support cache-busting by consumers.

Fixes: N/A

What is the new behavior?

You can now defined a composer_cache_key (a string) which allows you to change/bust the cache as you wish.

Does this PR introduce a breaking change?

  • Yes
  • No

@damienwebdev damienwebdev merged commit cbbba62 into main Aug 13, 2022
@damienwebdev damienwebdev deleted the configurable_cache_key branch August 13, 2022 18:39
@gray-bot gray-bot mentioned this pull request Mar 25, 2025
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.

1 participant