Repository navigation
Conversation
Support customize Types registry url from `TYPST_REGISTRY_URL` environment variable.
fd16c5e to
64fc8c5
Compare
Co-authored-by: Bastien Voirin <[email protected]>
|
Thanks for the PR. We do want to support custom registries and richer configuration down the road, but with a proper comprehensive design rather than with an ad-hoc env var that overrides the meaning of |
This PR is not about that. I did not want create custom registry. I want to allow Typst users configure URL of the Typst registry mirror. |
|
That's also in scope of the design work I'm talking about. I would just prefer to not ship a band-aid design. |
|
I may have been a bit hasty in suggesting changes, but this solution is very simple and it works well. Can you provide links to discuss issues or other suggestions for implementing this functionality? |
|
There's not a ton of concrete stuff yet, but most of what is there is spread out over the issues with the As for why not merge the simple solution: It's a general design philosophy of us to avoid shipping a band-aid fix in an area where we want to have richer functionality down the road. In my experience, it tends to invite many more small changes, which accumulate to an inconsistent design while also reducing the urgency to design a comprehensive solution (for mirrors / custom non-preview registries, Git dependencies, etc.) |
|
Thanks for the links and additional description of the principles of this project. I hope that waiting of the functionality that we have been talking about will not take very long. Judging by #1982, users already waiting for this for more than two years. |
Support for configuring the Typst registry URL from the
TYPST_REGISTRY_URLenvironment variable.Closes: #7602