Git + .Net/Mono = ❤
Перейти к файлу
Markus Olsson 37802e5cfc Fix relative path to solution 2015-11-03 02:20:12 +01:00
.nuget Upgrade development dependencies 2015-07-04 14:35:59 +02:00
CI Explicitly set xUnit MSBuild WorkingFolder property 2015-07-04 18:19:16 -04:00
Lib GenerateNativeDll task: use file name from nuget 2015-08-23 15:47:53 +02:00
LibGit2Sharp Fix relative path to solution 2015-11-03 02:20:12 +01:00
LibGit2Sharp.Tests Upgrade xunit.runner.visualstudio NuGet package to 2.1.0 2015-10-03 12:57:56 +02:00
nuget.package Use NativeBinaries package for libgit2 dependency 2015-05-16 13:04:34 -04:00
.editorconfig .editorconfig added to repository 2014-09-03 00:05:54 +04:00
.gitattributes Remove union merge driver for sln, csproj files 2015-05-30 11:05:37 -04:00
.gitignore Use NativeBinaries package for libgit2 dependency 2015-05-16 13:04:34 -04:00
.mailmap Fix .mailmap 2014-04-28 20:22:07 +02:00
.travis.yml Teach Travis to also monitor master 2015-01-05 23:11:45 +01:00
CHANGES.md Merge branch 'master' into vNext 2015-03-18 15:18:16 +01:00
LICENSE.md Copyrights: update for 2015 2015-01-19 14:25:38 -06:00
LibGit2Sharp.sln Leverage NuGet restore for development dependencies 2015-01-05 17:53:52 +01:00
LibGit2Sharp.sln.DotSettings Fix Resharper private member prefix setting 2015-05-15 19:31:48 +02:00
LibGit2Sharp.v2.ncrunchsolution Sandbox every test 2015-01-04 21:14:34 +01:00
README.md Added coveralls.io status and supporting text 2015-06-24 15:30:01 -04:00
acknowledgments.md Add tarring capabilities 2013-12-13 14:26:39 +01:00
appveyor.yml Leverage APPVEYOR_REPO_COMMIT_TIMESTAMP as build date 2015-07-14 13:04:38 +02:00
build.libgit2sharp.cmd Leverage NuGet restore for development dependencies 2015-01-05 17:53:52 +01:00
build.libgit2sharp.sh Merge pull request #984 from bording/nativeNuget 2015-05-29 00:06:07 +02:00
square-logo.png Add libgit2 project logo 2012-05-27 13:05:12 +02:00

README.md

LibGit2Sharp

LibGit2Sharp brings all the might and speed of libgit2, a native Git implementation, to the managed world of .NET and Mono.

Prerequisites

  • Windows: .NET 4.0+
  • Linux/Mac OS X: Mono 3.6+

Online resources

Troubleshooting and support

  • Usage or programming related question? Post it on StackOverflow using the tag libgit2sharp
  • Found a bug or missing a feature? Feed the issue tracker
  • Announcements and related miscellanea through Twitter (@libgit2sharp)

Current project status

The CI builds are generously hosted and run on the Travis and AppVeyor infrastructures.

Windows (x86/amd64) Linux/Mac OS X
master master win master nix
vNext vNext win vNext nix

The security-oriented static code analysis is kindly run through the Coverity service. Code coverage is kindly run through Coveralls.io.

Static Analysis Code Coverage
vNext coverity coveralls

Quick contributing guide

  • Fork and clone locally
  • Create a topic specific branch. Add some nice feature. Do not forget the tests ;-)
  • Send a Pull Request to spread the fun!

More thorough information available in the wiki.

Optimizing unit testing

LibGit2Sharp strives to have comprehensive and robust unit test suite to insure the quality of the software and to assist new contributors and users who can use the tests as sample to jump start development. There are over one-thousand unit-tests for LibGit2Sharp, this number will only grow as functionality is added.

You can do a few things to optimize running unit-tests on Windows:

  1. Set the LibGit2TestPath environment variable to a path in your development environment.
  • If the unit-test framework cannot find the specified folder at runtime, it will fall back to the default location.
  1. Configure your anti-virus software to ignore the LibGit2TestPath path.
  2. Install a RAM disk like IMDisk and set LibGit2TestPath to use it.
  • Use imdisk.exe -a -s 256M -m X: -p "/fs:fat /q /v:ramdisk /y" to create a RAM disk. This command requires elevated privileges and can be placed into a scheduled task or run manually before you begin unit-testing.

Authors

License

The MIT license (Refer to the LICENSE.md file)