FreeBSD Support

Open
#1,611 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
18/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp

Research direction

Start with src/shared/Core/CommandContext.cs at line 155 and reproduce the reported PlatformNotSupportedException on FreeBSD 13.2 using the version and clone commands in the issue. Trace the platform assumptions involved; done means GCM's version and credential operations work on FreeBSD without the reported crash.

Written by the indexing model from the issue text.

Description

enhancement
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/"
Dominant language
C#
Stars
9.3k
Forks
2.9k
Avg merge
7d 1h
Merged PRs (30d)
14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from git-ecosystem/git-credential-manager

All issues in git-ecosystem/git-credential-manager

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.