Closed jhheider closed 8 months ago
can you provide the example of why thanks
yeah... looking back at our exchange in discord, it was about the overloading of version.raw
at https://github.com/pkgxdev/brewkit/pull/196/files#diff-4580bd7f95073ce9a8e3d00278a10fe7d2411d1e52d64132691b1a97350e1090R117-R139. that would allow for the definition of a version.rewritten
key in that sequence of code that wouldn't necessarily require explicit support in useMoustaches (beyond the generalized case of allowing custom moustache implementations). this means consumers of libpkgx (such as brewkit) could inject their own moustached keys using libpkgx primatives for their specific use-case.
Closing since there are no explicit examples provided.
this would greatly simplify https://github.com/pkgxdev/brewkit/pull/196 which overloads version.raw to allow regexp rewriting in the URLs.