Skip to content

Support both old and new module versions in the module registry #588

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

Open
f0ssel opened this issue Apr 17, 2025 · 0 comments
Open

Support both old and new module versions in the module registry #588

f0ssel opened this issue Apr 17, 2025 · 0 comments
Assignees

Comments

@f0ssel
Copy link

f0ssel commented Apr 17, 2025

We need to decide on and implement how we can support serving old module versions from the coder/modules repo alongside new versions of those modules in the coder/registry repo. This includes handling the case where a module is moving from being hosted under the coder namespace to the partner or contributors namespace.

Some notes:

  • Because the module registry protocol has a service discover endpoint we could make a new version of the API using the new user namespaces and have the service discovery point to that if we want
  • We can also just move the modules to the new user namespaces and continue to serve the old versions from the coder namespace
  • We may be able to do some sort of hardcoded redirect for those modules to point to the new user namespace if terraform respects this, need to test
@f0ssel f0ssel added this to the Registry Profiles milestone Apr 17, 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

No branches or pull requests

2 participants