Closed boozook closed 7 years ago
Thank you @fzzr- for your issue.
The offending method is Homebrew::Tools.extract_attributes
which expects to find a version
element but it seems now it's an url
element with arguments to parse.
A new scenario needs to added to the features/look_at_a_formula.feature file.
Based on what I can see, the version is fetched from the formula URL, and the version
method is used only when Homebrew fails at it.
I will then do the same and see.
Here is regular expression to extract the version from the URL for the majority of the formulas: (\d[\d\.\_]+\w?)(?:\.|-src|rc\d+)[\w\.]+$
.
I will also implement the case where the is a tag
key given to url
.
brewformulas.org/ipfs
But in the (formula) all is OK.