Giter VIP home page Giter VIP logo

Comments (4)

mjcheetham avatar mjcheetham commented on May 19, 2024 4

Hello all! Just an update that we've been working on getting GCM Core delivered via Homebrew.
You can try using our new Tap and installing the Cask from there:

brew tap microsoft/git
brew cask install git-credential-manager-core

Please file any issues if you encounter them :)
Thanks especially to @aaroncrespo ❤️

from git-credential-manager.

aaroncrespo avatar aaroncrespo commented on May 19, 2024 2

We'd probably switch to this project over the old java based solution. However, no homebrew is a bit of a blocker since thats how we provision machines on my team.

I threw together a rough (untested) cask file. Cask because this is currently distributed via pkgutil:

cask 'Git-Credential-Manager-Core' do
  version '2.0.87build15236'
  sha256 '843b2eae147e784789246c043b7f7a54b85139d9'
  
  # strip build\d+ for the path
  # replace build with . for the pkg name
  url "https://github.com/microsoft/Git-Credential-Manager-Core/releases/download/v#{version.sub(%r{build\d+}, '')}-beta/gcmcore-osx-#{version.sub(%r{build}, '.')}.pkg"

  name 'Git Credential Manager Core'

  homepage 'https://github.com/Microsoft/Git-Credential-Manager-Core'

  pkg "gcmcore-osx-#{version.sub(%r{build}, '.')}.pkg"

  uninstall script:  {
                       executable: 'uninstall.sh',
                       sudo:       true,
                     },
            pkgutil: 'com.microsoft.GitCredentialManager'
end

see https://github.com/Homebrew/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/version.md for why version|build is modified as it is.

from git-credential-manager.

jrbriggs avatar jrbriggs commented on May 19, 2024

We haven't yet set up distribution through Homebrew, but it's very much on our radar. We'll use this issue to track.

Thanks for the interest!

from git-credential-manager.

aaroncrespo avatar aaroncrespo commented on May 19, 2024

Any movement on this? I would love to move our systems over and away from a java dependency.

from git-credential-manager.

Related Issues (20)

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.