diff options
author | Richard Lander <rlander@microsoft.com> | 2016-01-23 16:44:25 -0800 |
---|---|---|
committer | Richard Lander <rlander@microsoft.com> | 2016-01-26 20:19:08 -0800 |
commit | 03cd4bcdd5d43dd5ee5e65792b740904b6195d97 (patch) | |
tree | 348679a279168ed9883aef7cc119296792318c49 | |
parent | 8c142fd87d1f6d3a5575d2d10d5ddd1d4edf738d (diff) | |
download | coreclr-03cd4bcdd5d43dd5ee5e65792b740904b6195d97.tar.gz coreclr-03cd4bcdd5d43dd5ee5e65792b740904b6195d97.tar.bz2 coreclr-03cd4bcdd5d43dd5ee5e65792b740904b6195d97.zip |
Update copyright for .NET Core and update file header guidance
-rw-r--r-- | Documentation/project-docs/contributing.md | 94 | ||||
-rw-r--r-- | LICENSE.TXT | 2 |
2 files changed, 58 insertions, 38 deletions
diff --git a/Documentation/project-docs/contributing.md b/Documentation/project-docs/contributing.md index 1b16c99a4b..e0d0560625 100644 --- a/Documentation/project-docs/contributing.md +++ b/Documentation/project-docs/contributing.md @@ -6,43 +6,14 @@ The .NET Core team maintains several guidelines for contributing to the .NET Cor Contribution Guidelines ======================= -- [Contribution Bar](#contribution-bar) describes the bar that the team uses to accept changes. -- [Contributing Ports](#contributing-ports) describes the slightly different bar for contributing changes that enable .NET Core to run on other OSes and chips. -- [Mscorlib Contributions](#contributing-to-mscorlib-library) describes contributing to the mscorlib library. +- [Licensing](#copyright) describes the licensing practices for the project. - [General Contribution Guidance](#general-contribution-guidance) describes general contribution guidance, including more subjective stylistic guidelines. -- [DOs and DON'Ts](#dos-and-donts) provides a partial checklist summary of contributing guidelines, in classic framework guidlines do/don't style. -- [Contributor License Agreement (CLA)](#contributor-license-agreement) describes the requirement and process of signing a Contributor License Agreement (CLA). +- [Contribution Bar](#contribution-bar) describes the bar that the team uses to accept changes. - [Contribution Workflow](contributing-workflow.md) describes the workflow that the team uses for considering and accepting changes. - [Garbage Collection Guidelines](garbage-collector-guidelines.md) for changes that affect the GC. - [Performance Guidelines](performance-guidelines.md) for changes in performance critical code or that otherwise affect performance. - [Porting the JIT](https://github.com/dotnet/coreclr/pull/2214#issuecomment-161850464) to other chip architectures. -Contribution "Bar" -================== - -Project maintainers will merge changes that align with [project priorities](project-priorities.md) and/or improve the product significantly for a broad set of apps. Proposed must also satisfy the published [guidelines for .NET Core](#contribution-guidelines). - -Maintainers will not merge changes that have narrowly-defined benefits, due to compatibility risk. The CoreCLR codebase is used by several Microsoft products (e.g. Windows Phone, ASP.NET 5, .NET Framework 4.6) to enable execution of managed code. Changes to the open source codebase can become part of these products, but are first reviewed and tested to ensure they are correct for those products and will not inadvertently break applications. We may revert changes if they are found to be breaking. - -Contributing Ports -================== - -We encourage ports of CoreCLR to other platforms. Linux and OS X ports are in progress and have a lot of momentum behind them. There is also interest in a [FreeBSD port](https://github.com/dotnet/coreclr/issues/455) (and OpenBSD and NetBSD). - -Ports have a weaker contribution bar, since they do not contribute to compatibility risk with existing Microsoft products on Windows. For ports, we are primarily looking for functionaly correct implementations. - -Contributing to mscorlib library -================================ - -Most managed code changes should be made in the [CoreFX](https://github.com/dotnet/corefx) repo. We have moved and are continuing to move many mscorlib types to CoreFX. Please use the following general rule-of-thumb for choosing the right repo to make your change (start by creating an issue): - -- The type or concept doesn't yet exist in .NET Core -> choose CoreFX. -- The type exists in both CoreCLR and CoreFX repo -> choose CoreFX. -- The type exists in CoreCLR only -> choose CoreCLR. -- In doubt -> choose CoreFX. - -Please see [Breaking Changes](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/breaking-changes.md) to understand our requirements on changes that could impact compatibility. Please pay the most attention to changes that affect the [Public Contract](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/breaking-changes.md#bucket-1-public-contract). We will not accept changes that break compatibility. - General Contribution Guidance ============================= @@ -81,7 +52,7 @@ changes during the course of your commits, please rebase them away before submit the PR. DOs and DON'Ts -============== +-------------- * **DO** follow our [coding style](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/coding-style.md) (C# code-specific) * **DO** give priority to the current style of the project or file you're changing even if it diverges from the general guidelines. @@ -99,13 +70,62 @@ DOs and DON'Ts * **DON'T** submit PRs that alter licensing related files or headers. If you believe there's a problem with them, file an issue and we'll be happy to discuss it. * **DON'T** add API additions without filing an issue and discussing with us first. See [API Review Process](https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/api-review-process.md). +Contribution "Bar" +================== + +Project maintainers will merge changes that align with [project priorities](project-priorities.md) and/or improve the product significantly for a broad set of apps. Proposals must also satisfy the published [guidelines for .NET Core](#contribution-guidelines). + +Maintainers will not merge changes that have narrowly-defined benefits, due to compatibility risk. The CoreCLR codebase is used by several Microsoft products (e.g. Windows Phone, ASP.NET Core, .NET Framework 4.x) to enable execution of managed code. Changes to the open source codebase can become part of these products, but are first reviewed and tested to ensure they are correct for those products and will not inadvertently break applications. We may revert changes if they are found to be breaking. + +Contributing Ports +------------------ + +We encourage ports of CoreCLR to other platforms. Linux and OS X ports are in progress and have a lot of momentum behind them. There is also interest in a [FreeBSD port](https://github.com/dotnet/coreclr/issues/455) (and OpenBSD and NetBSD). + +Ports have a weaker contribution bar, since they do not contribute to compatibility risk with existing Microsoft products on Windows. For ports, we are primarily looking for functionaly correct implementations. + +Contributing to mscorlib library +-------------------------------- + +Most managed code changes should be made in the [CoreFX](https://github.com/dotnet/corefx) repo. We have moved and are continuing to move many mscorlib types to CoreFX. Please use the following general rule-of-thumb for choosing the right repo to make your change (start by creating an issue): + +- The type or concept doesn't yet exist in .NET Core -> choose CoreFX. +- The type exists in both CoreCLR and CoreFX repo -> choose CoreFX. +- The type exists in CoreCLR only -> choose CoreCLR. +- In doubt -> choose CoreFX. + +Please see [Breaking Changes](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/breaking-changes.md) to understand our requirements on changes that could impact compatibility. Please pay the most attention to changes that affect the [Public Contract](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/breaking-changes.md#bucket-1-public-contract). We will not accept changes that break compatibility. + +Licensing +========= + +The .NET Core project sources are licensed as [MIT](../../LICENSE.TXT). The project contains source from other projects that may be licensed differently, which are called out in [3rd party notices](../../THIRD-PARTY-NOTICES). + +.NET Core binaries are produced and licensed separately. Microsoft produces a distribution of .NET Core licensed under the [.NET Library License](https://www.microsoft.com/net/dotnet_library_license.htm). Other groups or companies may produce their own distributions of .NET Core. + +Copyright +--------- + +The .NET Core project copyright is held by ".NET Foundation and Contributors" except where otherwise called out (see [3rd party notices](../../THIRD-PARTY-NOTICES)). Please read the [.NET Core license](../../LICENSE.TXT) to review the copyright. + +File Headers +------------ + +The following file header is the used for .NET Core. Please use it for new files. + +``` +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +``` + +The addition of existing files from other projects is handled on a case by case basis. + Contributor License Agreement -============================= +----------------------------- You must sign a [.NET Foundation Contribution License Agreement (CLA)](http://cla2.dotnetfoundation.org) before your PR will be merged. This a one-time requirement for projects in the .NET Foundation. You can read more about [Contribution License Agreements (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) on wikipedia. -However, you don't have to do this up-front. You can simply clone, fork, and submit your pull-request as usual. - -When your pull-request is created, it is classified by a CLA bot. If the change is trivial, i.e. you just fixed a typo, then the PR is labelled with `cla-not-required`. Otherwise it's classified as `cla-required`. In that case, the system will also tell you how you can sign the CLA. Once you signed a CLA, the current and all future pull-requests will be labelled as `cla-signed`. +Signing the CLA is super simple and can be done in less than a minute. -Signing the CLA might sound scary but it's actually super simple and can be done in less than a minute. +You don't have to do this up-front. You can simply clone, fork, and submit your pull-request as usual. When your pull-request is created, it is classified by a CLA bot. If the change is trivial (e.g. you just fixed a typo), then the PR is labelled with `cla-not-required`. Otherwise it's classified as `cla-required`. Once you signed a CLA, the current and all future pull-requests will be labelled as `cla-signed`. diff --git a/LICENSE.TXT b/LICENSE.TXT index 7bb386e6f7..99ae10b2d4 100644 --- a/LICENSE.TXT +++ b/LICENSE.TXT @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) Microsoft Corporation +Copyright (c) .NET Foundation and Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal |