From 4f45e0fbe1b08d00a47adcae2abcc1fe1515883e Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Thu, 10 Apr 2014 22:39:40 -0300 Subject: [PATCH] Added default license headers. Added release notes. --- Hermes.sln | 2 + ReleaseNotes.md | 3 + src/Broker/Broker.csproj | 6 ++ src/Broker/Properties/AssemblyInfo.cs | 11 ++- src/Client/Client.csproj | 6 ++ src/Client/Properties/AssemblyInfo.cs | 11 ++- src/GlobalAssemblyInfo.cs | 11 ++- src/Hermes.licenseheader | 22 ++++++ src/{NuGet.proj => Hermes.proj} | 0 src/Portable/Portable.csproj | 6 ++ src/Portable/Properties/AssemblyInfo.cs | 11 ++- src/Tests/Properties/AssemblyInfo.cs | 32 +++------ src/Tests/Tests.csproj | 93 +++++++++++++------------ src/Tests/packages.config | 10 +++ 14 files changed, 153 insertions(+), 71 deletions(-) create mode 100644 ReleaseNotes.md create mode 100644 src/Hermes.licenseheader rename src/{NuGet.proj => Hermes.proj} (100%) diff --git a/Hermes.sln b/Hermes.sln index b0cdcdaa..b9cfe38b 100644 --- a/Hermes.sln +++ b/Hermes.sln @@ -17,6 +17,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution src\Hermes.props = src\Hermes.props src\Hermes.targets = src\Hermes.targets src\NuGet.proj = src\NuGet.proj + README.md = README.md + ReleaseNotes.md = ReleaseNotes.md EndProjectSection EndProject Global diff --git a/ReleaseNotes.md b/ReleaseNotes.md new file mode 100644 index 00000000..9736d80d --- /dev/null +++ b/ReleaseNotes.md @@ -0,0 +1,3 @@ +v0.1 + +* \ No newline at end of file diff --git a/src/Broker/Broker.csproj b/src/Broker/Broker.csproj index cb124f55..912b1fdc 100644 --- a/src/Broker/Broker.csproj +++ b/src/Broker/Broker.csproj @@ -23,6 +23,12 @@ + + + Hermes.licenseheader + + + \ No newline at end of file diff --git a/src/Broker/Properties/AssemblyInfo.cs b/src/Broker/Properties/AssemblyInfo.cs index 220194fb..fb7d6d6f 100644 --- a/src/Broker/Properties/AssemblyInfo.cs +++ b/src/Broker/Properties/AssemblyInfo.cs @@ -1,4 +1,13 @@ -using System.Reflection; +/* + Copyright 2014 Clarius Consulting + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +*/ +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/Client/Client.csproj b/src/Client/Client.csproj index 52cc1e27..d0efea42 100644 --- a/src/Client/Client.csproj +++ b/src/Client/Client.csproj @@ -20,6 +20,12 @@ + + + Hermes.licenseheader + + + \ No newline at end of file diff --git a/src/Client/Properties/AssemblyInfo.cs b/src/Client/Properties/AssemblyInfo.cs index a484d411..afc87b50 100644 --- a/src/Client/Properties/AssemblyInfo.cs +++ b/src/Client/Properties/AssemblyInfo.cs @@ -1,4 +1,13 @@ -using System.Reflection; +/* + Copyright 2012 Clarius Consulting + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +*/ +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/GlobalAssemblyInfo.cs b/src/GlobalAssemblyInfo.cs index 5a9b9224..97b26df5 100644 --- a/src/GlobalAssemblyInfo.cs +++ b/src/GlobalAssemblyInfo.cs @@ -1,4 +1,13 @@ -using System.Reflection; +/* + Copyright 2012 Clarius Consulting + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +*/ +using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyCompany("")] diff --git a/src/Hermes.licenseheader b/src/Hermes.licenseheader new file mode 100644 index 00000000..446e6f6e --- /dev/null +++ b/src/Hermes.licenseheader @@ -0,0 +1,22 @@ +extensions: designer.cs generated.cs g.cs +extensions: .cs .cpp .h +/* + Copyright 2012 Clarius Consulting + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +*/ + +extensions: .xml .config .xsd .resx .html + \ No newline at end of file diff --git a/src/NuGet.proj b/src/Hermes.proj similarity index 100% rename from src/NuGet.proj rename to src/Hermes.proj diff --git a/src/Portable/Portable.csproj b/src/Portable/Portable.csproj index 62cdf8c8..184365eb 100644 --- a/src/Portable/Portable.csproj +++ b/src/Portable/Portable.csproj @@ -20,6 +20,12 @@ + + + Hermes.licenseheader + + + \ No newline at end of file diff --git a/src/Portable/Properties/AssemblyInfo.cs b/src/Portable/Properties/AssemblyInfo.cs index 24cf1b9a..e58693eb 100644 --- a/src/Portable/Properties/AssemblyInfo.cs +++ b/src/Portable/Properties/AssemblyInfo.cs @@ -1,4 +1,13 @@ -using System.Reflection; +/* + Copyright 2012 Clarius Consulting + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +*/ +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/Tests/Properties/AssemblyInfo.cs b/src/Tests/Properties/AssemblyInfo.cs index 4be2b62b..67afc626 100644 --- a/src/Tests/Properties/AssemblyInfo.cs +++ b/src/Tests/Properties/AssemblyInfo.cs @@ -1,10 +1,16 @@ -using System.Reflection; +/* + Copyright 2012 Clarius Consulting + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 +*/ +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. [assembly: AssemblyTitle("Tests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] @@ -14,23 +20,5 @@ [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("b89da32f-550d-443e-80e3-da92104a211d")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/Tests/Tests.csproj b/src/Tests/Tests.csproj index 23e1cb84..a20c596f 100644 --- a/src/Tests/Tests.csproj +++ b/src/Tests/Tests.csproj @@ -1,48 +1,51 @@  - - - - AnyCPU - {CC70B0BB-EC87-45D0-A4AE-2462F99D7573} - Library - Properties - Tests - Tests - v4.5 - 512 - - - - ..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll - - - - - - ..\..\packages\xunit.1.9.2\lib\net20\xunit.dll - - - - - - - - {1397ec83-6d03-4d81-95d5-5d11c766c43a} - Broker - - - {d3eb8c4f-6cf4-4eb4-94e3-bca31767ae53} - Client - - - {6481b999-0479-4162-ac53-5936ce5fd8bf} - Portable - - - - - - - + + + + AnyCPU + {CC70B0BB-EC87-45D0-A4AE-2462F99D7573} + Library + Properties + Tests + Tests + v4.5 + 512 + + + + ..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll + + + + + + ..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + + + + + + + + {1397ec83-6d03-4d81-95d5-5d11c766c43a} + Broker + + + {d3eb8c4f-6cf4-4eb4-94e3-bca31767ae53} + Client + + + {6481b999-0479-4162-ac53-5936ce5fd8bf} + Portable + + + + + Hermes.licenseheader + + + + + \ No newline at end of file diff --git a/src/Tests/packages.config b/src/Tests/packages.config index 29ae6e7b..69bc2cbe 100644 --- a/src/Tests/packages.config +++ b/src/Tests/packages.config @@ -1,4 +1,14 @@  + +