New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brew bottle --merge --keep-old
broken if root_url specified
#4554
Labels
outdated
PR was locked due to age
Comments
Nice find. Any chance of a PR here? |
I'll start that process; will probably take a few weeks. |
Actually yes, looks like that got approved when I was on vacation :) |
I just ran into this issue as well. |
I've made an attempt at solving this in scpeters@5d4df3b, but now it's inserting double
|
fixed in scpeters@9f9bb7c I'll submit a PR |
scpeters
added a commit
to scpeters/brew
that referenced
this issue
Sep 12, 2018
Don't strip the : from root_url when using --keep-old. Closes Homebrew#4554.
6 tasks
ghost
assigned scpeters
Sep 12, 2018
ghost
added
in progress
Maintainers are working on this
and removed
help wanted
We want help addressing this
labels
Sep 12, 2018
see #4892 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew
command and reproduced the problem with multiple formulae?brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?Skipped some of these the bug is fairly clear from the source of homebrew itself:
To reproduce, build a bottle with a root url including URI scheme, and with
--json
. Then try to usebrew bottle --merge --json
.This will fail, as the
:
gets removed from the old root url here:brew/Library/Homebrew/dev-cmd/bottle.rb
Line 450 in b993c77
As can be demonstrated by:
... and can be verified by inserting
p
statements here:brew/Library/Homebrew/dev-cmd/bottle.rb
Line 465 in b993c77
--keep-old
will fail ashttps//example.com
!==https://example.com
The text was updated successfully, but these errors were encountered: