37802e5cfc | ||
---|---|---|
.nuget | ||
CI | ||
Lib | ||
LibGit2Sharp | ||
LibGit2Sharp.Tests | ||
nuget.package | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
CHANGES.md | ||
LICENSE.md | ||
LibGit2Sharp.sln | ||
LibGit2Sharp.sln.DotSettings | ||
LibGit2Sharp.v2.ncrunchsolution | ||
README.md | ||
acknowledgments.md | ||
appveyor.yml | ||
build.libgit2sharp.cmd | ||
build.libgit2sharp.sh | ||
square-logo.png |
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
- NuGet package (Requires NuGet 2.7+)
- Source code
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 | ||
vNext |
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 |
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:
- 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.
- Configure your anti-virus software to ignore the
LibGit2TestPath
path. - 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
- Code: The LibGit2Sharp contributors
- Logo: Jason "blackant" Long
License
The MIT license (Refer to the LICENSE.md file)