1006 Commits

Author SHA1 Message Date
mleosu
17d0bd5a3a Changes default git repos to local url
Some checks failed
CI / tests (macOS-latest, bash) (push) Has been cancelled
CI / tests (ubuntu-latest, bash) (push) Has been cancelled
CI / tests (windows-latest, wsl-bash {0}) (push) Has been cancelled
fixes issues with using https to use http

Keep supporting catalina

Changes default git repos to local url

fixes issues with using https to use http

Keep supporting catalina

Updates repo url
2025-09-14 04:38:08 -06:00
Mike McQuaid
3d2b88baf1 Merge pull request #828 from Homebrew/sync-triage-config
Synchronize triage configuration
2023-12-11 15:51:30 +00:00
Mike McQuaid
ad9a86477a Merge pull request #827 from Homebrew/dependabot/github_actions/actions/stale-9
build(deps): bump actions/stale from 8 to 9
2023-12-11 15:35:18 +00:00
BrewTestBot
d24b66d614 triage-issues.yml: update to match main configuration 2023-12-11 15:15:40 +00:00
dependabot[bot]
8124f12a26 build(deps): bump actions/stale from 8 to 9
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 10:12:32 +00:00
Bo Anderson
c85f867657 Merge pull request #824 from Homebrew/sync-triage-config
Synchronize triage configuration
2023-11-23 16:56:01 +00:00
BrewTestBot
46f101b990 triage-issues.yml: update to match main configuration 2023-11-22 16:09:41 +00:00
Bo Anderson
bbc4fa9964 Merge pull request #823 from Bo98/no-homebrew-developer
install.sh: don't set `HOMEBREW_DEVELOPER`
2023-11-22 00:39:33 +00:00
Bo Anderson
b906d1af7c install.sh: don't set HOMEBREW_DEVELOPER 2023-11-22 00:12:58 +00:00
Mike McQuaid
8ebb1a16d6 Merge pull request #818 from Homebrew/sync-triage-config
Synchronize triage configuration
2023-11-20 14:45:22 +00:00
Bo Anderson
6e5e8377d8 Merge pull request #821 from Homebrew/dependabot/github_actions/Vampire/setup-wsl-2.0.2
build(deps): bump Vampire/setup-wsl from 2.0.1 to 2.0.2
2023-11-20 14:36:58 +00:00
dependabot[bot]
d2df641523 build(deps): bump Vampire/setup-wsl from 2.0.1 to 2.0.2
Bumps [Vampire/setup-wsl](https://github.com/vampire/setup-wsl) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/vampire/setup-wsl/releases)
- [Commits](188b420ddc...c5a800f46e)

---
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>
2023-11-20 10:39:29 +00:00
BrewTestBot
829a818428 triage-issues.yml: update to match main configuration 2023-11-14 12:35:38 +00:00
Mike McQuaid
85c5f4b574 Merge pull request #812 from slonopotamus/no-sudo-when-root
Fix installation in environments where sudo is missing
2023-10-23 12:51:58 +01:00
Marat Radchenko
23a9a9f822 Fix installation in environments where sudo is missing
Homebrew allows running as root in some environments (Docker, Kubernetes, GitHub Actions, etc).
When we're root, there is no point using sudo.
So, just invoke commands directly, thus removing requirement to have a functional `sudo` command.

Signed-off-by: Marat Radchenko <marat@slonopotamus.org>
2023-10-22 19:55:12 +03:00
Mike McQuaid
42d4274cf5 Merge pull request #811 from apainintheneck/add-fish-post-install-instructions
install: add fish post install instructions
2023-10-22 12:19:05 +01:00
apainintheneck
b479c7aeeb install: add fish post install instructions
This adds the correct config file for the fish shell needed to load
the brew environment. Fish ends up using the `~/.config/fish/config.fish`
file during startup to load environment variables and scripts most
of the time. This is also used by asdf and ghcup for instance.

This was brought up in discussion here:
- https://github.com/orgs/Homebrew/discussions/4412

More info:
- https://fishshell.com/docs/current/index.html#configuration
2023-10-21 17:30:26 -07:00
Mike McQuaid
35c494693c Merge pull request #809 from XuehaiPan/rcfile-shellenv
install.sh: prefer placing `shellenv` command in rcfile rather than shell profile on Linux
2023-10-06 16:04:33 +01:00
Xuehai Pan
ade0e61c95 install.sh: prefer using profile on macOS rather than rcfile 2023-10-02 19:51:02 +08:00
Xuehai Pan
7a7c32dae4 install.sh: handle custom ZDOTDIR 2023-09-27 16:19:24 +08:00
Xuehai Pan
3400573af2 install.sh: prefer placing shellenv command in rcfile rather than shell profile 2023-09-27 16:12:41 +08:00
Mike McQuaid
f37b6b9f6c Merge pull request #807 from fxcoudert/ventura
install.sh: support macOS Sonoma
2023-09-25 13:04:10 +01:00
Francois-Xavier Coudert
dbf3e5e2e0 install.sh: support macOS Sonoma 2023-09-21 15:04:05 +02:00
Mike McQuaid
5e7f30635a Merge pull request #794 from osalbahr/doc-install-help
doc: add `install.sh --help`. Fix #790
2023-07-28 15:30:42 +01:00
Osama Albahrani
f20d07fe1c install.sh: NONINTERACTIVE vs CI
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-07-28 09:44:17 -04:00
Osama Albahrani
08134d7208 install.sh: remove commented-out shift
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-07-28 09:26:30 -04:00
Osama Albahrani
723dc192b7 doc: change $0 to install.sh
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-07-28 09:25:04 -04:00
Osama Albahrani
ea868ee1d8 doc: install.sh: clarify NONINTERACTIVE
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-07-28 09:23:14 -04:00
Osama Albahrani
92f67fa0a8 doc: add install.sh --help. Fix #790
Adapted from `uninstall.sh`
2023-07-27 18:25:56 -04:00
Mike McQuaid
f68ace21f6 Merge pull request #792 from MikeMcQuaid/document_pkg_installer
README: document macOS .pkg installer.
2023-07-27 12:03:35 +01:00
Mike McQuaid
59d1461511 README: document macOS .pkg installer.
This seems a nice place to let people know.
2023-07-25 16:24:34 +01:00
Mike McQuaid
8494f72c03 Merge pull request #778 from Homebrew/sync-triage-config
Synchronize triage configuration
2023-06-13 11:16:42 +01:00
BrewTestBot
43367ad6bf triage-issues.yml: update to match main configuration 2023-06-13 10:05:36 +00:00
Mike McQuaid
716a1d024f Merge pull request #775 from ChillerDragon/pr_fix_fix_fix_path
Fix `./bin` being in `$PATH` (mac)
2023-05-23 09:55:50 +01:00
Mike McQuaid
96362c02f6 install.sh: remove unnecessary variable. 2023-05-23 09:43:48 +01:00
ChillerDragon
800df6bd7a Fix ./bin being in $PATH (mac) 2023-05-22 20:33:47 +02:00
Mike McQuaid
12564487c5 Merge pull request #774 from ChillerDragon/pr_fix_err
Fix git outdated error saying git is not installed
2023-05-18 13:34:26 +01:00
ChillerDragon
be7579abe3 Fix git outdated error saying git is not installed
Fixes #773
2023-05-17 23:22:24 +02:00
Mike McQuaid
fc8acb0828 Merge pull request #762 from Homebrew/sync-triage-config
Synchronize triage configuration
2023-04-05 16:31:51 +01:00
BrewTestBot
d2588e9ba2 triage-issues.yml: update to match main configuration 2023-04-05 15:20:17 +00:00
Mike McQuaid
6df4f60d30 Merge pull request #760 from b8rky/support-oci-containers
install: support OCI containers as root
2023-04-03 08:46:52 +01:00
b8rky
f18475ba4d install: support OCI containers as root 2023-04-01 20:09:32 +00:00
Mike McQuaid
010d7b3f54 Merge pull request #756 from ChillerDragon/pr_rel_bin_path2
Fix `./bin` being in `$PATH`
2023-03-15 12:11:42 -04:00
Chiller Dragon
11bcaa8fdb Update install.sh
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-03-13 18:05:50 +01:00
Chiller Dragon
41842df713 Match git version with regex
Co-authored-by: Adrian Ho <the.gromgit@gmail.com>
2023-03-11 20:22:03 +01:00
ChillerDragon
c699c94017 Ignore local paths in $PATH in find_tool
Fixes the installer failing if `./bin` is at the begging of `$PATH`

Ensures the installer does not pick a local path to
the git executable

Could happen if one has `export PATH='./bin:$PATH` in the shell rc file
then it would set USABLE_GIT to be `./bin/git`
which later fails when another cd was executed

So `command -v git` migth spit out `./bin/git`

The fix is using `find_tool` instead of `command -v`
and `find_tool` ignores all paths that do not start
with a leading slash

Co-authored-by: Adrian Ho <the.gromgit@gmail.com>
2023-03-10 10:33:45 +01:00
Mike McQuaid
16aefe107e Merge pull request #755 from Homebrew/revert-752-pr_rel_bin_path
Revert "Fix `./bin` being in `$PATH`"
2023-03-06 13:02:59 +00:00
Mike McQuaid
be699a5683 Revert "Fix ./bin being in $PATH" 2023-03-06 13:02:40 +00:00
Mike McQuaid
20b4b64b9b Merge pull request #752 from ChillerDragon/pr_rel_bin_path
Fix `./bin` being in `$PATH`
2023-03-06 12:26:24 +00:00
ChillerDragon
5ed4d6f99d Fix ./bin being in $PATH
Ensures the installer does not pick a local path to
the git executable

Could happen if one has `export PATH='./bin:$PATH` in the shell rc file
then it would set USABLE_GIT to be `./bin/git`
which later fails when another cd was executed

So `command -v git` migth spit out `./bin/git`
but then `readlink -f` turns it into `/usr/bin/git`
2023-03-03 17:52:54 +01:00