PC Review


Reply
Thread Tools Rate Thread

[ANN] gitsharp 0.2 released

 
 
henon
Guest
Posts: n/a
 
      28th Oct 2009
Dear fellow git enthusiasts,

We are proud to announce version 0.2 which marks significant
improvements in the new Git api we are building around GitSharp.Core.
The core is a line-by-line port of jgit. We found it quite hard to use
it without good knowledge of git's internals and technical concepts.
The api which is documented by examples at http://www.eqqon.com/index.php/GitSharp/Examples
encapsulates and abstracts this knowledge so that everyone with a
little git experience could easily make use of the library.

The improvements mentioned above allow to add files to the index and
commit them. It is as easy as this:

var repo = Repository.Init("path/to/new/repo");

Now suppose you have created some files in the new repository and want
to stage them for committing:

repo.Index.Add("README", "License.txt");
var commit=repo.Commit("My first commit with gitsharp", new Author
("henon", "(E-Mail Removed)"));

Easy, isn't it? Now let's have a look at the changes of this commit:

foreach(var change in commit.Changes) Console.WriteLine
(change.Name + " " + change.ChangeType);

Of course there is still much work to do until this new API will
completely reflect the full range of git interactions a standard
application is probably going to need. We hope to quickly build up the
most important parts until the end of the year. If you check it out,
please give us feedback which will be greatly appreciated.

Download Gitsharp 0.2 binaries from http://www.eqqon.com/index.php?title=GitSharp/v0.2.0

Have a nice day,
--Henon 21:22, 28 October 2009 (CET)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] gitsharp 0.2 released henon Microsoft C# .NET 0 28th Oct 2009 09:20 PM
[ANN] gitsharp version 0.1.3 released henon Microsoft Dot NET 0 11th Oct 2009 10:32 PM
[ANN] gitsharp version 0.1.3 released henon Microsoft C# .NET 0 11th Oct 2009 10:32 PM
[ANN] gitsharp version 0.1.0 released henon Microsoft Dot NET 0 26th Sep 2009 06:59 PM
[ANN] gitsharp version 0.1.0 released henon Microsoft C# .NET 0 26th Sep 2009 06:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:01 AM.