Prepare license and other files for the repo consolidation (dotnet/corefx#41912)
authorViktor Hofer <viktor.hofer@microsoft.com>
Sat, 19 Oct 2019 12:09:46 +0000 (14:09 +0200)
committerStephen Toub <stoub@microsoft.com>
Sat, 19 Oct 2019 12:09:46 +0000 (08:09 -0400)
* Update .azure-ci.yml

* Rename LICENSE.TXT to LICENSE and others

Commit migrated from https://github.com/dotnet/corefx/commit/0cee444c677d5c52a71ab2d82c2488b8dc585d6a

docs/libraries/building/unix-instructions.md
eng/Packaging.props
eng/pipelines/libraries/.azure-ci.yml
src/libraries/CODE_OF_CONDUCT.md [deleted file]
src/libraries/LICENSE [new file with mode: 0644]

index c17fb99..c928809 100644 (file)
@@ -77,7 +77,7 @@ There is one caveat: you must set the LANG in your shell to something other than
 ```sh
 export LANG=en_US.UTF-8
 ```
-Otherwise you may get errors like `PackagingException: File not found: '/home/dan/git/corefx/LICENSE.TXT'`. More info in [this issue](https://github.com/dotnet/corefx/issues/38608). It is possible this may occur on other distros, if LANG is set as above.
+Otherwise you may get errors like `PackagingException: File not found: '/home/dan/git/corefx/LICENSE'`. More info in [this issue](https://github.com/dotnet/corefx/issues/38608). It is possible this may occur on other distros, if LANG is set as above.
 
 We have not tested on WSL2 yet. If you try it out, we'd welcome an update.
 
index 25987e9..5b40c09 100644 (file)
@@ -1,12 +1,12 @@
 <Project>
   <PropertyGroup>
     <PackageDescriptionFile>$(RepoRoot)pkg/descriptions.json</PackageDescriptionFile>
-    <PackageLicenseFile>$(RepoRoot)LICENSE.TXT</PackageLicenseFile>
+    <PackageLicenseFile>$(RepoRoot)LICENSE</PackageLicenseFile>
     <PackageThirdPartyNoticesFile>$(RepoRoot)THIRD-PARTY-NOTICES.TXT</PackageThirdPartyNoticesFile>
     <RuntimeIdGraphDefinitionFile>$(RepoRoot)pkg/Microsoft.NETCore.Platforms/runtime.json</RuntimeIdGraphDefinitionFile>
     <ReleaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</ReleaseNotes>
     <ProjectUrl>https://github.com/dotnet/corefx</ProjectUrl>
-    <LicenseUrl>https://github.com/dotnet/corefx/blob/master/LICENSE.TXT</LicenseUrl>
+    <LicenseUrl>https://github.com/dotnet/corefx/blob/master/LICENSE</LicenseUrl>
     <!-- defined in buildtools packaging.targets, but we need this before targets are imported -->
     <PackagePlatform Condition="'$(PackagePlatform)' == ''">$(Platform)</PackagePlatform>
     <PackagePlatform Condition="'$(PackagePlatform)' == 'amd64'">x64</PackagePlatform>
index bf34c13..e89e1fd 100644 (file)
@@ -11,7 +11,13 @@ trigger:
   paths:
     exclude:
     - Documentation/*
-    - /*.md
+    - CODE-OF-CONDUCT.md
+    - CONTRIBUTING.md
+    - LICENSE
+    - PATENTS.TXT
+    - README.md
+    - SECURITY.md
+    - THIRD-PARTY-NOTICES.TXT
 
 pr:
   branches:
@@ -21,7 +27,13 @@ pr:
   paths:
     exclude:
     - Documentation/*
-    - /*.md
+    - CODE-OF-CONDUCT.md
+    - CONTRIBUTING.md
+    - LICENSE
+    - PATENTS.TXT
+    - README.md
+    - SECURITY.md
+    - THIRD-PARTY-NOTICES.TXT
 
 resources:
   containers:
diff --git a/src/libraries/CODE_OF_CONDUCT.md b/src/libraries/CODE_OF_CONDUCT.md
deleted file mode 100644 (file)
index 0fd65e9..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# Code of Conduct
-
-This project has adopted the code of conduct defined by the Contributor Covenant
-to clarify expected behavior in our community.
-For more information, see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
diff --git a/src/libraries/LICENSE b/src/libraries/LICENSE
new file mode 100644 (file)
index 0000000..a616ed1
--- /dev/null
@@ -0,0 +1,23 @@
+The MIT License (MIT)
+
+Copyright (c) .NET Foundation and Contributors
+
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
\ No newline at end of file