git-credential-manager icon indicating copy to clipboard operation
git-credential-manager copied to clipboard

FreeBSD Support

Open csmuell opened this issue 1 year ago • 0 comments

Feature description

Hey. We're being told to migrate to git-credential-manager; but develop on FreeBSD. I was able to install GCM, but it appears to not work. Can we get support? Thanks!

https://github.com/git-ecosystem/git-credential-manager/blob/87b3a1a746ace2a7439c158348c1e649c30958d3/src/shared/Core/CommandContext.cs#L155

$ dotnet --list-sdks
  7.0.403 [/usr/local/dotnet/sdk]
  8.0.103 [/usr/local/dotnet/sdk]
$ export PATH=$PATH:/usr/local/dotnet
$ /home/buildadmin/.dotnet/tools/git-credential-manager version
  Unhandled exception. System.PlatformNotSupportedException: Operation is not supported on this platform.
    at GitCredentialManager.CommandContext..ctor()
    at GitCredentialManager.Program.AppMain(Object o)
  Segmentation fault (core dumped)
$ git clone https://dev.azure.com/../../PrivateRepo
  Cloning into '`PrivateRepo'...
  Unhandled exception. System.PlatformNotSupportedException: Operation is not supported on this platform.
    at GitCredentialManager.CommandContext..ctor()
    at GitCredentialManager.Program.AppMain(Object o)
  error: /home/buildadmin/.dotnet/tools/git-credential-manager get died of signal 11
$ cat /etc/os-release
  NAME=FreeBSD
  VERSION="13.2-RELEASE-p11"
  VERSION_ID="13.2"
  ID=freebsd
  ANSI_COLOR="0;31"
  PRETTY_NAME="FreeBSD 13.2-RELEASE-p11"
  CPE_NAME="cpe:/o:freebsd:freebsd:13.2"
  HOME_URL="https://FreeBSD.org/"
  BUG_REPORT_URL="https://bugs.FreeBSD.org/"

csmuell avatar May 09 '24 20:05 csmuell