Skip to content

brew bottle creates bottles with incorrect filenames #4541

Discussion options

You must be logged in to vote

This is intentional. It's a weird quirk that someone can probably write the history of (it goes back to before I even was a maintainer), but backwards compatibility will appear somewhere in that story. It's difficult to change now without breaking existing workflows.

Note in the JSON you have:

          "filename": "hello-2.12_98.arm64_ventura.bottle.1.tar.gz",
          "local_filename": "hello--2.12_98.arm64_ventura.bottle.1.tar.gz",

local_filename is the filename that brew bottle outputs while filename is the name expected on standard HTTP remotes. That is the reason why there's two entries in the JSON.

It is the responsibility of the uploader to select the correct remote filename on y…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@charitybell
Comment options

Answer selected by charitybell
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants