This reverts commit 081f6cdcd514396b1d396ce7d0eb40291a1a317c, reversing
changes made to 12d3a2a2d269e0a26565eb3e63552803f826f366.
This fails on some formulae with:
Error: Not Found
See:
https://github.com/Homebrew/homebrew-core/pull/52031
I was wanting to do this today to add `ruby@2.6` and it's a social
rather than technical requirement (i.e. we don't want users to mess
with their homebrew/core unless they know what they are doing) so allow
overriding with `HOMEBREW_DEVELOPER` set.
- This reverts commit 9fb1876101a1abac8e3bfcc9f4f6fadbf0921c7c and commit
f8863c8a3bbef32dc65c9b95a57b54d7fc26c27e.
- The `JENKINS_HOME` envvar appears to be unset on the Linux Jenkins
master that holds the BinTray credentials.
- It's bed time, we're too tired to be fixing forward!
Turn the output versioned formula from the form "name@version" to
"name-version", then following by appending the specific version
after it.
This solution ensures that separate extracted versions of a formulae
can exist alongside each other (e.g. 'python-2@2.7.17' and
'python-2@2.7.16').
- We recently removed Azure as a supported CI provider
(Homebrew/homebrew-test-bot PR 325), so `brew test-bot` won't run on
Azure any more.
- Homebrew CI is moving towards GitHub Actions as the standard.
- We have some Linux-only formulae that don't have bottles.
- Previously, bumping a Linux-only formula that didn't have a bottle
line - eg, `adoptopenjdk` which is `bottle :unneeded` - would fail:
```
Error: inreplace failed
/app/linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/adoptopenjdk.rb:
expected replacement of /^ sha256 ".+" => :x86_64_linux\n/m with "\2"
```
- We used to use `# tag "linux"` in Homebrew/linuxbrew-core for the ~50
Linux-only formulae. As of
6578a4aa86,
we're using `depends_on :linux` to have a consistent syntax between
Linux and macOS.
- Therefore, we have to change the search string for Linux-only formulae
that determines whether or not `brew bump-formula-pr` deletes the bottle
line.
Elide root_url only if it is precisely equal to the default root_url.
Eliding root_url when a prefix matches the default also elides
a custom root_url such as https://linuxbrew.bintray.com/bottles-bio.