Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Make it possible to override base package URL location; switch default to GitHub #458
There was already a back-and-forth on this issue back in 3.x. There was a change merged into 3.0.4 which moved URL string interpolation from from the attributes file into the recipe. However, the way it was done broke the ability to override package URL and use a local mirror.
I believe the best approach is to do URL string interpolation in a recipe, while still allowing that to be overridden by an attribute if defined. It would look something like this:
Bintray URLs should require no substitution: https://dl.bintray.com/rabbitmq/rabbitmq-server-deb/rabbitmq-server_3.6.12-1_all.deb.