984 Commits

Author SHA1 Message Date
Francois-Xavier Coudert
e84453419e install.sh: support macOS Ventura 2022-10-19 11:27:21 +02:00
Sean Molenaar
77146edc9f Merge pull request #704 from Homebrew/dependabot/github_actions/Vampire/setup-wsl-1.3.2
build(deps): bump Vampire/setup-wsl from 1.3.1 to 1.3.2
2022-10-17 15:20:46 +02:00
dependabot[bot]
9a329f534a build(deps): bump Vampire/setup-wsl from 1.3.1 to 1.3.2
Bumps [Vampire/setup-wsl](https://github.com/Vampire/setup-wsl) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/Vampire/setup-wsl/releases)
- [Commits](4304e1b2e7...8a65751d97)

---
updated-dependencies:
- dependency-name: Vampire/setup-wsl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 10:46:04 +00:00
Mike McQuaid
84a459cc0f Merge pull request #703 from gromgit/force-symlinks
install: force symlink creation
2022-10-10 12:52:51 +01:00
Adrian Ho
915b2c6aa3 install: force symlink creation
Several users have set `core.symlinks = false` at global level, likely in a WSL context. This breaks Aliases, among other things.

Also ensure consistency in `git config` invocations with `brew update*`.

Ref: https://github.com/Homebrew/homebrew-core/issues/112539
2022-10-08 22:11:15 +08:00
Mike McQuaid
c0ab7805bb install: only support default prefix on Linux.
The experience in a non-default experience is very poor. Let's not
encourage it.
2022-10-06 10:55:40 +01:00
Mike McQuaid
ba7c27bd65 Merge pull request #689 from gromgit/install/newline
install: add newline to profile before cmds
2022-09-27 15:13:01 +01:00
Adrian Ho
32ad487d34 install: add newline to profile before cmds
In case the profile doesn't already end in a newline.

Addresses #683.
2022-09-27 21:54:49 +08:00
Mike McQuaid
c75e7803fb Merge pull request #700 from Homebrew/remove-install-info
uninstall: remove use of `install-info`
2022-09-27 13:06:26 +01:00
Mike McQuaid
d90befb2fa Merge pull request #701 from Homebrew/disable
Disable deprecated scripts
2022-09-27 13:05:55 +01:00
Mike McQuaid
01a8366602 Disable deprecated scripts
These have been deprecated for over two years. Time to make them fail.
2022-09-27 12:47:40 +01:00
Mike McQuaid
cddfe84103 uninstall: remove use of install-info
These can be cleaned up by hand and `install-info` doesn't ship with
some versions of Linux and macOS Ventura.

Fixes #688
Closes #699
2022-09-27 12:45:36 +01:00
Mike McQuaid
4b43b8e6c3 Merge pull request #698 from Homebrew/sync-triage-config
Synchronize triage configuration
2022-09-22 16:06:10 +01:00
BrewTestBot
b9f9cede79 triage-issues.yml: update to match main configuration 2022-09-22 14:49:50 +00:00
Mike McQuaid
309e9d089e Merge pull request #692 from EricFromCanada/master
install: Improve Docker detection
2022-09-07 12:36:13 +01:00
EricFromCanada
eb943a56af Improve Docker detection 2022-09-07 01:03:27 -04:00
Mike McQuaid
5ee14d52b2 Merge pull request #691 from arhi/master
Added /usr/local to search path for M1 system
2022-09-06 11:52:08 +01:00
Bogdan Kecman
b6097ff92c brew style fix 2022-09-06 12:34:13 +02:00
Bogdan Kecman
c5682164b4 Added /usr/local to search path for M1 system (if upgraded to M1 from Intel homebrew will be installed in /usr/local and will be looked in /opt so look at /usr/local too) 2022-09-06 07:19:54 +02:00
Mike McQuaid
805136bcfc Merge pull request #687 from gromgit/posix_check
ensure scripts are not run in POSIX mode
2022-08-22 14:17:04 +01:00
Adrian Ho
61e3c015b0 ensure scripts are not run in POSIX mode
Closes #686.
2022-08-20 23:14:31 +08:00
Rylan Polster
c017ced9ca Merge pull request #681 from Homebrew/sync-triage-config
Synchronize triage configuration
2022-07-18 18:44:16 +02:00
BrewTestBot
002d32b616 triage-issues.yml: update to match main configuration 2022-07-18 16:13:42 +00:00
Mike McQuaid
3f6c584643 Merge pull request #678 from Homebrew/dependabot/github_actions/Vampire/setup-wsl-1.3.1
build(deps): bump Vampire/setup-wsl from 1.2.1 to 1.3.1
2022-07-05 11:55:40 +01:00
dependabot[bot]
c2959e6ebf build(deps): bump Vampire/setup-wsl from 1.2.1 to 1.3.1
Bumps [Vampire/setup-wsl](https://github.com/Vampire/setup-wsl) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/Vampire/setup-wsl/releases)
- [Commits](c003d9af98...4304e1b2e7)

---
updated-dependencies:
- dependency-name: Vampire/setup-wsl
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 10:28:17 +00:00
Mike McQuaid
9d6f09136c Merge pull request #673 from Homebrew/dependabot/github_actions/Vampire/setup-wsl-1.2.1
build(deps): bump Vampire/setup-wsl from 1.2.0 to 1.2.1
2022-06-21 14:43:35 +02:00
dependabot[bot]
a00dd8f33e build(deps): bump Vampire/setup-wsl from 1.2.0 to 1.2.1
Bumps [Vampire/setup-wsl](https://github.com/Vampire/setup-wsl) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/Vampire/setup-wsl/releases)
- [Commits](d4a53c5e36...c003d9af98)

---
updated-dependencies:
- dependency-name: Vampire/setup-wsl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 10:23:00 +00:00
Mike McQuaid
cc47b982a7 Merge pull request #669 from Huang-Libo/patch-1
Update uninstall.sh
2022-06-13 09:04:17 +01:00
Libo Huang
06ed7b0404 Fix shellcheck issues
https://www.shellcheck.net/wiki/SC2248 -- Prefer double quoting even when v..
  https://www.shellcheck.net/wiki/SC2250 -- Prefer putting braces around vari..
2022-06-12 18:56:20 +08:00
Huang-Libo
230d22ca2b Update uninstall.sh
Use the correct `brew` command in different arch ( according to `$homebrew_prefix_default` )
2022-06-12 18:11:18 +08:00
Mike McQuaid
1361c3ca6c Merge pull request #666 from kshired/add-non-interactive
uninstall.sh: add variable `NONINTERACTIVE` for non-interactive mode
2022-06-07 11:47:09 +01:00
SEONGILKIM
58b509316b uninstall.sh: fix indent from tab to spaces 2022-06-07 19:20:34 +09:00
kshired
44497ff3f2 uninstall.sh: remove useless backtick 2022-06-07 18:40:10 +09:00
kshired
bdefad0d76 uninstall.sh: change imply --force NONINTERACIVE is set. 2022-06-07 17:43:57 +09:00
kshired
bf79821cb9 uninstall.sh: fix single quote to double quote 2022-06-07 17:27:08 +09:00
kshired
0f79f99b61 README.md: add description for variable NONINTERACTIVE 2022-06-07 01:07:50 +09:00
kshired
33903d34e0 uninstall.sh: add variable NONINTERACTIVE for non-interactive mode 2022-06-07 01:02:10 +09:00
Mike McQuaid
70722cb5a3 Merge pull request #662 from Homebrew/install_el_capitan
install.sh: require macOS El Capitan.
2022-06-06 13:11:44 +01:00
Mike McQuaid
fcfea5bbf7 install.sh: require macOS El Capitan.
This will be a hard requirement in Homebrew 3.5.0:
https://github.com/Homebrew/brew/pull/13347
2022-05-30 14:39:43 +01:00
Mike McQuaid
aa39c5f23a Merge pull request #660 from Homebrew/dependabot/github_actions/Vampire/setup-wsl-1.2.0
build(deps): bump Vampire/setup-wsl from 1.1.0 to 1.2.0
2022-05-21 09:37:30 -04:00
Mike McQuaid
8169663270 Update .github/workflows/tests.yml 2022-05-21 09:18:20 -04:00
dependabot[bot]
86328984c8 build(deps): bump Vampire/setup-wsl from 1.1.0 to 1.2.0
Bumps [Vampire/setup-wsl](https://github.com/Vampire/setup-wsl) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/Vampire/setup-wsl/releases)
- [Commits](c8afb39d90...d4a53c5e36)

---
updated-dependencies:
- dependency-name: Vampire/setup-wsl
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-21 13:16:36 +00:00
Mike McQuaid
a266315278 Merge pull request #659 from turrisxyz/Dependabot-GitHub-Actions
chore: Included githubactions in the dependabot config
2022-05-21 09:16:10 -04:00
naveen
035a702194 chore: Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-20 23:36:32 +00:00
Mike McQuaid
8d6eb6e6ea Merge pull request #656 from turrisxyz/setup-permissions
chore: Set permissions for GitHub actions
2022-05-15 14:07:33 +01:00
Mike McQuaid
4189e74a1f Merge pull request #655 from carlocab/fix-PATH
Check for `brew` in `PATH` when displaying `PATH` instructions
2022-05-15 13:42:02 +01:00
naveen
908c6a794b chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-13 00:42:49 +00:00
Carlo Cabrera
32155c0ea4 Check for brew in PATH when displaying PATH instructions
Currently, we display instructions about adding `brew` to `PATH` when we
are running on ARM64 or on Linux. This isn't a terrible heuristic, but
we can do better by checking whether `brew` is in `PATH` instead.

Fixes https://twitter.com/TayIorRobinson/status/1524683234956750852.
2022-05-12 21:29:27 +08:00
Bo Anderson
e9bf7b900e Merge pull request #649 from clekili/patch-1
Move missing $USER handling to before usage
2022-04-29 00:53:20 +01:00
Can Lekili
87357e2b3e Move missing $USER handling to before usage
Fixes https://github.com/Homebrew/install/issues/648
2022-04-28 14:22:19 -04:00