Git Product home page Git Product logo

homebrew-git's Introduction

microsoft/homebrew-git

The Homebrew Tap containing Microsoft's Git ecosystem products.

Tapping the repository

Simply run the following command to tap this repository:

brew tap microsoft/git

Available packages

The following packages are available in this Tap:

Formulae

Install with brew install <formula>

  • None

Casks

Install with brew install --cask <cask>

Please report any product bugs and issues in their respective projects.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct.

Resources:

homebrew-git's People

Contributors

derrickstolee avatar jeffhostetler avatar kyle-rader avatar kyle-rader-msft avatar ldennington avatar mjcheetham avatar vladimirdolzhenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

homebrew-git's Issues

Installing microsoft-git makes new man directories owned by root

On a fresh macOS installation, with only Homebrew installed, the /usr/local/share/man directory is pretty empty. But then, if I install microsoft-git, it creates new /usr/local/share/man/man* directories that are owned by root. This causes problems later on when trying to install brew packages that don't need sudo, such as watchman.

Here's a snippet of what I did:

admin@macos-10 ~ % brew tap microsoft/git
==> Tapping microsoft/git
Cloning into '/usr/local/Homebrew/Library/Taps/microsoft/homebrew-git'...
remote: Enumerating objects: 59, done.
remote: Counting objects: 100% (59/59), done.
remote: Compressing objects: 100% (59/59), done.
remote: Total 188 (delta 34), reused 0 (delta 0), pack-reused 129
Receiving objects: 100% (188/188), 48.28 KiB | 772.00 KiB/s, done.
Resolving deltas: 100% (109/109), done.
Tapped 4 casks (34 files, 89.2KB).
admin@macos-10 ~ % ls -al /usr/local/share/man
total 0
drwxr-xr-x  3 admin  admin   96 Feb 24 18:01 .
drwxrwxr-x  6 admin  admin  192 Feb 24 18:01 ..
drwxr-xr-x  4 admin  admin  128 Feb 24 18:01 man1
admin@macos-10 ~ % brew install --cask microsoft-git
==> Downloading https://github.com/microsoft/git/releases/download/v2.30.0.vfs.0
==> Downloading from https://github-releases.githubusercontent.com/79856983/ca9d
######################################################################## 100.0%
==> Installing Cask microsoft-git
==> Running installer for microsoft-git; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
Password:
installer: Package name is git-2.30.0.vfs.0.2-intel-universal-snow-leopard
installer: Installing at base path /
installer: The install was successful.
🍺  microsoft-git was successfully installed!
admin@macos-10 ~ % ls -al /usr/local/share/man      
total 0
drwxr-xr-x    6 admin  admin   192 Feb 24 18:27 .
drwxrwxr-x    6 admin  admin   192 Feb 24 18:01 ..
drwxr-xr-x  161 admin  admin  5152 Feb 24 18:27 man1
drwxr-xr-x    3 root   wheel    96 Feb 24 18:27 man3
drwxr-xr-x    8 root   wheel   256 Feb 24 18:27 man5
drwxr-xr-x   17 root   wheel   544 Feb 24 18:27 man7
admin@macos-10 ~ % 

I'm guessing that when sudo was used to install the microsoft-git cask, that elevation was in effect when the man3, man5, and man7 folders got created.

brew install git-credential-manager-core fails in macos

❯ brew install git-credential-manager-core
==> Downloading https://github.com/GitCredentialManager/git-credential-manager/releases/download/v2.0.632/
Already downloaded: /Users/camiloaguilar/Library/Caches/Homebrew/downloads/bfd79b9cd570ebff2f2d17679303031fe08d706f7839dcbbcac30f6166c18f3b--gcmcore-osx-2.0.632.34631.pkg
==> Installing Cask git-credential-manager-core
==> Running installer for git-credential-manager-core; your password may be necessary.
Package installers may write to any location; options such as --appdir are ignored.
installer: Package name is Git Credential Manager
installer: Installing at base path /
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “gcmcore-osx-2.0.632.34631.pkg”.)
==> Purging files for version 2.0.632.34631 of Cask git-credential-manager-core
Error: Failure while executing; /usr/bin/sudo -E -- /usr/bin/env LOGNAME=camiloaguilar USER=camiloaguilar USERNAME=camiloaguilar /usr/sbin/installer -pkg /opt/homebrew/Caskroom/git-credential-manager-core/2.0.632.34631/gcmcore-osx-2.0.632.34631.pkg -target / -allowUntrusted exited with 1. Here's the output:
installer: Package name is Git Credential Manager
installer: Installing at base path /
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “gcmcore-osx-2.0.632.34631.pkg”.)

Cannot upgrade "git-credential-manager-core" from 2.0.785 to 2.0.877

Issue

Cannot upgrade git-credential-manager-core from 2.0.785 to 2.0.877. I tested my Homebrew install with brew doctor.

Short error

Error: microsoft/git/git-credential-manager-core: uninstall script /opt/homebrew/share/gcm-core/uninstall.sh does not exist.

Reproduction steps

  1. Login as root
  2. Run brew upgrade

Versions

  • Version 13.1 Beta (22C5050e)
  • Homebrew 3.6.12
  • Homebrew/homebrew-core (git revision d9256e4b33f; last commit 2022-11-21)
  • Homebrew/homebrew-cask (git revision 001f0b4307; last commit 2022-11-21)

Full error

❯ brew upgrade
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/core, homebrew/cask and homebrew/cask-drivers).

You have 1 outdated cask installed.
You can upgrade it with brew upgrade
or list it with brew outdated.

==> Casks with 'auto_updates true' or 'version :latest' will not be upgraded; pass `--greedy` to upgrad
==> Upgrading 1 outdated package:
microsoft/git/git-credential-manager-core 2.0.785 -> 2.0.877
==> Upgrading git-credential-manager-core
==> Downloading https://github.com/GitCredentialManager/git-credential-manager/releases/download/v2.0.8
Already downloaded: /Users/xxx/Library/Caches/Homebrew/downloads/0515835aaf7dde1289eb1c608ecdd953e354b3f4381eabc4e82f7e2b1b4b5a2c--gcm-osx-arm64-2.0.877.pkg
==> Running uninstall script /opt/homebrew/share/gcm-core/uninstall.sh
==> Purging files for version 2.0.877 of Cask git-credential-manager-core
Error: microsoft/git/git-credential-manager-core: uninstall script /opt/homebrew/share/gcm-core/uninstall.sh does not exist.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.