From e2ad70e78d3f79b30d683d273861cd6cc9a30982 Mon Sep 17 00:00:00 2001 From: Mark Capaldi Date: Sat, 25 Apr 2015 19:16:07 +0100 Subject: [PATCH 1/3] Signed the libgit2sharp assembly with our key. --- LibGit2Sharp/LibGit2Sharp.csproj | 10 ++++++++++ LibGit2Sharp/ScrumSoftware.snk | Bin 0 -> 596 bytes 2 files changed, 10 insertions(+) create mode 100644 LibGit2Sharp/ScrumSoftware.snk diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj index 60b352522..ed4108fbd 100644 --- a/LibGit2Sharp/LibGit2Sharp.csproj +++ b/LibGit2Sharp/LibGit2Sharp.csproj @@ -37,6 +37,13 @@ true false bin\Release\LibGit2Sharp.xml + true + + + true + + + ScrumSoftware.snk @@ -360,6 +367,9 @@ + + + diff --git a/LibGit2Sharp/ScrumSoftware.snk b/LibGit2Sharp/ScrumSoftware.snk new file mode 100644 index 0000000000000000000000000000000000000000..0800e3e94f8553bb463abbe23559748d05a0e328 GIT binary patch literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50096!1y(Me15c}`Blz3k^=p783KV@6$Q8d0 zvD=IeJXkNMv6bI#bqqkfFSL`4ILT5#n|3e=)=3;u#Q0`eG?W{h{m-07pK5)Jt@b5( zV#BL&z+z#sUbuGGb()9iJ^HRE(A<8)PVWd_9;6k_Sw!3Jj5A7=e4*@t(ebX-&(P7E z36e&t^I@bEtmgFE+EQN~s*Sha%X4lu@elz5ZGP@b&1*DLmutl{b4RKI^v9&6?(>OYq~5@!)TfQEVEe2T30~Tmb`l1@0Cs z$pb-Z;`nVdSeRreRTOC%_%LpM3N6w6big1Uh{SNWG{dE)8%1okFfU(QxkqEYZv)0J zJ_?^;RDVxne{Cw2_Lt=qIo(RG7hGm& zsv!KNYOQ6QRhieu6-!P?{yYIZfKdJ}aFB3j^Qq`TH95n;VDbF~03Ai%aybv0c49w} idqjskY(_xsj(E8Hqg{?fB?z%uyyA{Yt_GLHW0-D??;r*M literal 0 HcmV?d00001 From d5359762ae4df88c619061da7985cee2722bd0fb Mon Sep 17 00:00:00 2001 From: Mark Capaldi Date: Thu, 30 Apr 2015 22:01:59 +0100 Subject: [PATCH 2/3] Added GlobalSuppressions.cs. I am trying to suppress all the code analysis warnings for this project because it is an open-source project and we do not control the source code. However, I can't get the code analysis warnings to disappear. --- LibGit2Sharp/GlobalSuppressions.cs | Bin 0 -> 5844 bytes LibGit2Sharp/LibGit2Sharp.csproj | 1 + 2 files changed, 1 insertion(+) create mode 100644 LibGit2Sharp/GlobalSuppressions.cs diff --git a/LibGit2Sharp/GlobalSuppressions.cs b/LibGit2Sharp/GlobalSuppressions.cs new file mode 100644 index 0000000000000000000000000000000000000000..28801da4204d7faae25e1a33fe4e331e56805b82 GIT binary patch literal 5844 zcmeI0TTc^F5Xa})#P6`_lO|FS5hIBYT*P1miGYbQJ}hl1E4`3z3)T;>{{C}%vfEbr zAd;ZjG~2z*oSFZb+nIBI{#dqUOYGRrEwh}bGwvO0@f6-id~I2i_fs45zioZqMBlWY zrSOj72)sjRiFNs!K^so)i5=OR_Pq?2u zMRdu~UGh5c1#CgH_yQ8?>f2YS4Mx|k&~P|KS@OAF!Ph}*K7%tuM$ZwnkSpmeMkkI& zV-l#Ev1U5(xeR&hJ5NN~W~6v~Pzn?&Z#gp%zRYdjn3Iz-Mt0BP={v99!b~+@*6$)g za#DC&_QdI9=hd^QT`VcodT%khQL;vX=h)|wqE9*kx@n&UTSWbZrDMEEzWmn4IzwAR zkG#{c3%&=-1w8V9^t+;@pcZHr#aM`;5z>c9lGaPGhj@$VYI6~n%*0&HM@9>mu@)$5 zw&(a}qc>V&7p=;aTFIh`eFDu0R86<2;zKdfgRdN^(b6|Z+-yWgJBR%0p+mW+>TTW;1Bj&&FQj~Ey*BMgl z_6BTyVoxYD`_5guluyC-H8gJ8sy($8t_`#l*)T?;@+bF9)A$~UcNsmfL-)!R&lk+- z2&sxX(KmT&V;4oes!u-A^p?{obzOKA2cr74U=83rpsB@7yihVfI^46`QJNilda+3E8C_uY4F+*+0$4 z%7_1V9r4Arg$}MW}Hr(n;nx%>yDt1*tZ(Bi6 zd{xqprMw2N(!;FSi;4fVOHh9mdY+bj^yd*{;tHvbCG(4s=g(3v-iFCygBRE$U9ZdE-RQi#n|`n(O0U97I_#er1m%ie&JL=`=hEhPM_i2 zMR!@PZrU~8_dHuvE7vFe$$X~$ZpT(-*Co=G3GD#@)0cP^U5R aL{z7$UCuOgik404r%op_ucH5U*Z&KOmk+)G literal 0 HcmV?d00001 diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj index ed4108fbd..58a0d503d 100644 --- a/LibGit2Sharp/LibGit2Sharp.csproj +++ b/LibGit2Sharp/LibGit2Sharp.csproj @@ -88,6 +88,7 @@ + From 7f1d36d826393879fc5b92eae388d01aff43d677 Mon Sep 17 00:00:00 2001 From: Mark Capaldi Date: Sat, 7 Nov 2015 09:09:50 +0000 Subject: [PATCH 3/3] Added Code Contracts into the LibGit2Sharp project. This was done to remove code analysis warnings. --- LibGit2Sharp/LibGit2Sharp.csproj | 87 ++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj index 58a0d503d..42e290ab1 100644 --- a/LibGit2Sharp/LibGit2Sharp.csproj +++ b/LibGit2Sharp/LibGit2Sharp.csproj @@ -13,6 +13,7 @@ v4.0 512 + 1 true @@ -26,6 +27,49 @@ true AllRules.ruleset bin\Debug\LibGit2Sharp.xml + True + False + True + False + False + False + True + True + True + True + True + True + True + True + False + True + False + True + False + False + False + False + True + False + True + True + True + False + False + + + + + + + + True + False + False + True + Full + DoNotBuild + 0 pdbonly @@ -38,6 +82,49 @@ false bin\Release\LibGit2Sharp.xml true + True + False + True + False + False + False + True + True + True + True + True + True + True + True + False + True + False + True + False + False + False + False + True + False + True + True + True + False + False + + + + + + + + True + False + False + True + Full + DoNotBuild + 0 true