Skip to content

Release v0.19 #798

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 7 commits into from
Aug 27, 2014
Merged

Release v0.19 #798

merged 7 commits into from
Aug 27, 2014

Conversation

nulltoken
Copy link
Member

Among others, fix #701 and #794

@nulltoken
Copy link
Member Author

@gep13 confirmed that #794 was fixed with this release.

@nulltoken
Copy link
Member Author

Fix #791 as well

@nulltoken
Copy link
Member Author

@dennisfrostlander Could you please try this out? It contains the libgit2/libgit2#2531 fix.

@@ -69,6 +69,11 @@ public enum FileStatus
RenamedInWorkDir = (1 << 11), /* GIT_STATUS_WT_RENAMED */

/// <summary>
/// The file is unreadable in the working directory.
/// </summary>
Unreadable = (1 << 11), /* GIT_STATUS_WT_UNREADABLE */
Copy link
Member

Choose a reason for hiding this comment

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

Wrong offset?

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed. 👍 Thanks!

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed.

/// <summary>
/// Entry is unreadable.
/// </summary>
Unreadable = 8,
Copy link
Member

Choose a reason for hiding this comment

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

Wrong value? It's the same as TypeChanged.

Copy link
Member Author

Choose a reason for hiding this comment

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

🎱 Good catch! Thanks as well!

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed.


Ensure.GitObjectIsNotNull(commit, "HEAD");

return commit.Id;
Copy link
Member

Choose a reason for hiding this comment

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

Could this return commit and use the GitObjectoverload of Add()?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@nulltoken
Copy link
Member Author

...Also made sure that we were throwing UnbornBranchException when that was making sense.

@nulltoken
Copy link
Member Author

Fix #783 as well

@nulltoken
Copy link
Member Author

Without any further feedback, I'll get this merged in the following hours.

{
Commit commit = repository.Head.Tip;

Ensure.GitObjectIsNotNull(commit, "HEAD", m => new UnbornBranchException(m));
Copy link
Member

Choose a reason for hiding this comment

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

Does the exceptionBuilder here really need to be explicit? Seems like that overload could be private, letting HEAD here be detected as with all other uses of the method.

@nulltoken
Copy link
Member Author

FWIW, we've discovered a last blocker. Release will happen when libgit2/libgit2#2538 is merged.

@gep13
Copy link

gep13 commented Aug 27, 2014

@nulltoken thanks for the update

@nulltoken
Copy link
Member Author

@dahlbyk Thanks for the review. That led to a much simpler code. Does this fit you?

@dahlbyk
Copy link
Member

dahlbyk commented Aug 27, 2014

Does this fit you?

👍

We cannot make correct assumptions regarding the fact that the
environment that host the test runner:

 - Contains a global git config file
 - Grants the test runner process with enough rights to write to this file
 - That this file already contains an expected entry

Given those constraints, those tests are removed.
@nulltoken
Copy link
Member Author

FWIW, I've also added 96d270f.

Travis has made some changes regarding the global config file. That led those tests to fail. That led me to think that they shouldn't be part of the suite.

@nulltoken nulltoken merged commit b70d403 into vNext Aug 27, 2014
@nulltoken nulltoken deleted the ntk/release branch August 27, 2014 20:00
@nulltoken nulltoken modified the milestones: v0.20, v0.19.0 Aug 27, 2014
@nulltoken
Copy link
Member Author

The NuGet package has just been published 😄

https://twitter.com/libgit2sharp/status/504727912072093697

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