Skip to content
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

pkg installer: install cached API data. #15762

Merged
merged 1 commit into from
Jul 26, 2023
Merged

pkg installer: install cached API data. #15762

merged 1 commit into from
Jul 26, 2023

Conversation

MikeMcQuaid
Copy link
Member

@MikeMcQuaid MikeMcQuaid commented Jul 26, 2023

Continuing with the goals of making the installer:

  • more useful
  • entirely offline

Let's pre-download the API data from a brew update run and install it into the logged-in user's home directory.

While we're here, in the postinstall script:

  • use longer arguments for various commands
  • fix an issue with symlinking on Intel if /usr/local/bin doesn't already exist
  • unset bash -x and use -v on more commands instead

@MikeMcQuaid MikeMcQuaid force-pushed the pkg_api_cache branch 4 times, most recently from 47b24f7 to 5e4d3b6 Compare July 26, 2023 13:46
Continuing with the goals of making the installer:
- more useful
- entirely offline

Let's pre-download the API data from a `brew update` run and install it
into the logged-in user's home directory.

While we're here, in the `postinstall` script:
- use longer arguments for various commands
- fix an issue with symlinking on Intel if `/usr/local/bin` doesn't
  already exist
- unset `bash -x` and use `-v` on more commands instead
@MikeMcQuaid MikeMcQuaid added the critical Critical change which should be shipped as soon as possible. label Jul 26, 2023
@MikeMcQuaid MikeMcQuaid merged commit 03a25c3 into master Jul 26, 2023
25 checks passed
@MikeMcQuaid MikeMcQuaid deleted the pkg_api_cache branch July 26, 2023 14:48
@github-actions github-actions bot added the outdated PR was locked due to age label Aug 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Critical change which should be shipped as soon as possible. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants