GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - OctopusDeploy/libgit2sharp: | Public | Git + .NET/Mono = ❤

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

2,852 Commits
2,852 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.idea/.idea.LibGit2Sharp/.idea
.idea/.idea.LibGit2Sharp/.idea
 
 
LibGit2Sharp.Tests
LibGit2Sharp.Tests
 
 
LibGit2Sharp
LibGit2Sharp
 
 
NativeLibraryLoadTestApp
NativeLibraryLoadTestApp
 
 
Targets
Targets
 
 
TrimmingTestApp
TrimmingTestApp
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.mailmap
.mailmap
 
 
CHANGES.md
CHANGES.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Directory.Build.props
Directory.Build.props
 
 
LICENSE.md
LICENSE.md
 
 
LibGit2Sharp.sln
LibGit2Sharp.sln
 
 
README.md
README.md
 
 
acknowledgments.md
acknowledgments.md
 
 
libgit2sharp.snk
libgit2sharp.snk
 
 
nuget.config
nuget.config
 
 
square-logo.png
square-logo.png
 
 

Repository files navigation

LibGit2Sharp

CI NuGet version (LibGit2Sharp)

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

Online resources

  • NuGet package
  • 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)

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 is available in the wiki.

Optimizing unit testing

LibGit2Sharp strives to have a comprehensive and robust unit test suite to ensure the quality of the software and to assist new contributors and users, who can use the tests as examples to jump start development. There are over one thousand unit tests for LibGit2Sharp, and 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.
  2. Configure your anti-virus software to ignore the LibGit2TestPath path.
  3. Install a RAM disk like IMDisk and set LibGit2TestPath to use it.
    • Use imdisk.exe -a -s 512M -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.

Releasing

Releases are triggered by pushing a git tag. The tag format is:

<upstream-version>-octopus.<n>

Where <upstream-version> is the version from the upstream libgit2sharp repo (e.g., 0.31.0) and <n> is an incrementing number starting at 1. The incrementing number resets to 1 when the upstream version changes.

For example, for upstream version 0.31.0:

git tag 0.31.0-octopus.1
git push origin 0.31.0-octopus.1

This triggers CI, which builds the assemblies, runs the tests, packs the Octopus.LibGit2Sharp NuGet package with the tag as its version, and pushes it to the configured feed.

Authors

  • Code: The LibGit2Sharp contributors
  • Logo: Jason "blackant" Long

License

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

About

| Public | Git + .NET/Mono = ❤

libgit2.github.com

Topics

non-productionpublic

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

4 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.