-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Next steps for HOMEBREW_INSTALL_FROM_API
#13794
Comments
Is this something we expect to be fixed but just hasn't been yet? For a bottle installation, it should be able to use the
This is a good idea 👍🏻
No worries, thanks for opening this tracking issue! |
This requires us to build new bottles every time the |
Yeh, I think this is fine for changes we need to push to users. Don't think this needs a warning as long as maintainers are made aware with docs/Slack communication.
This seems overkill.
Why would a style change need rebottling?
That'd be great, thanks ❤️! |
I used the wrong words here. Most style changes that are truly only style changes should be fine as long as the old style isn't invalid ruby or anything like that. Really the issue is deprecations and stuff that, if not updated, might not be able to be understood by a brew version newer than the one that created the bottle.
We discussed this a bit on June 18 in Slack. I'll send a link over in slack to the messages. Here on GitHub, we discussed this in #12350, but there probably isn't anything in that discussion that didn't make it into the slack one. |
Gotcha 👍🏻 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I guess we need a new issue on https://github.com/Homebrew/homebrew-cask |
@hyuraku I am game to start working on these. |
@hyuraku and @p-linnane, thanks for taking the initiative on this! I think an issue in homebrew/cask would be great, but only once we've started the process and made sure all of its kinks are worked out (clearly from the past few days, we're not quite there yet 😅) The immediate next steps that I think we need to take to get this ready are:
I plan on working on both of these soon, but if anyone else is interested feel free to give it a go |
Understood, I will try to solve the other task. |
@Rylan12 |
We will once all casks are migrated to use |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I just realized that service blocks don't work with |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Another issue from way out in left field: https://github.com/orgs/Homebrew/discussions/4135 Cask install logs here: https://gist.github.com/gromgit/6a332888b9a77084cf40ae2e8c28d0c6 In a nutshell, the
With |
Uninstalling casks when |
I have another probably that is very likely related to this: when
By the way running |
@vincentisambart Can you dump your |
@MikeMcQuaid Today, a normal I should probably come back with Update: Thinking more about it, it might have mainly happened not for patch version changes but only revision version changes (the ones that happen not when the package itself changed but when its dependencies do). |
@vincentisambart Thanks. I may have fixed the underlying issue here. |
Possibly related? |
- There are some default libraries that contain test code that triggers our security scanners. Having homebrew installed should be sufficient for users. This will eventually be the default for all brew users anyway. See Homebrew/brew#13794 (comment)
- There are some default libraries that contain test code that triggers our security scanners. Having homebrew installed should be sufficient for users. This will eventually be the default for all brew users anyway. See Homebrew/brew#13794 (comment) - Update installed Go to 1.20 - Update Ruby to 2.7.7 - Update docker-compose to 2.16.0
Provide a detailed description of the proposed feature
Here are the tasks that need to be completed in order to consider
HOMEBREW_INSTALL_FROM_API
ready for official testing by maintainers and interested users:brew update
withHOMEBREW_INSTALL_FROM_API
#13795:brew update
should still update core and cask taps whenHOMEBREW_INSTALL_FROM_API
andHOMEBREW_DEVELOPER
are both set (allowing maintainers to test this and still maintain homebrew/core and homebrew/cask)HOMEBREW_INSTALL_FROM_API
#13815: AllowHOMEBREW_DEVELOPER
users to use all dev commands even withHOMEBREW_INSTALL_FROM_API
setif MacOS.version
blocks toon_system
blocks homebrew-cask#137512: Migrate all casks to useon_{macos_version}
blocks instead ofif MacOS.version
conditionalsHardware::CPU
methods that slipped through in formulae and caskson_system
rubocops #14301: Improve the rubocops to catch more casesHOMEBREW_INSTALL_FROM_API
#14304: UpdateCaskLoader
to load casks from their JSON API like we do with formulaeloaded_from_api
key inTab
#13842: I think it might be a good idea to mark in theINSTALL_RECEIPT.json
or.metadata
directory whether the formula/cask was installed from the API in case we run into issues and it's helpful to know how a formula was installed. But, this is a lower priority and might not even be needed at allformula.json
andcask.json
filesbrew search
fails when$HOMEBREW_INSTALL_FROM_API
is set #14009$HOMEBREW_INSTALL_FROM_API
is set #13890HOMEBREW_INSTALL_FROM_API
on developers. #14384post_install
block or a cask with a{pre,post}flight
block so that users know that some things may not work at the moment (or, in the case of formulae, they need to runbrew postinstall <formula>
)What is the motivation for the feature?
I'm back at school so my availability over the next several months will be much more limited and less consistent. I'm opening this tracking issue to help monitor progress over time.
How will the feature be relevant to at least 90% of Homebrew users?
Eventually,
HOMEBREW_INSTALL_FROM_API
will be the default for everyone.What alternatives to the feature have been considered?
None
The text was updated successfully, but these errors were encountered: