Skip to content

Added libgit2 features to Repository.Version #694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2014

Conversation

someoneigna
Copy link
Contributor

  • Expanded Repository.Version (.RetrieveVersion()) to show libgit2 features.
  • Added new test for Repository.Version, need advice to make a proper test.

Resolves #676

/// <summary>
/// Returns the features with which libgit2 was compiled.
/// </summary>
public static string Capablities
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please move this in the Proxy type?

@nulltoken
Copy link
Member

Nice job!

Once you've 💀d with 🔥 the evil whitespace, could you please squash the fixup commits into the first one so we merge this?

Introduced NativeMethods.Capabilities .

Added CanCreateValidVersionString() test .

Displaced NativeMethods CompiledFeatures to Proxy

Remove irrelevant region on Proxy

Make Proxy.get_compiled_features match get_libgit2_features .

Add mising [Flags] tag on GitBuiltInFeatures .

Remote trailling whitespace in Proxy

Resolves libgit2#676
@nulltoken nulltoken added this to the v0.18.0 milestone Apr 25, 2014
@nulltoken nulltoken merged commit a889aa9 into libgit2:vNext Apr 25, 2014
@nulltoken
Copy link
Member

🎱 ‼️

@someoneigna someoneigna deleted the issue_676 branch April 26, 2014 00:17
{
string versionInfo = Repository.Version;

Assert.NotNull(versionInfo);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too late for this pass, but I wonder if we should at least check versionInfo against a regex?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dahlbyk Could you log an up-for-grab issue with what you've got in mind?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done: #696

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants