From 0031f58fde1a464800063b29cd7823492670b5b0 Mon Sep 17 00:00:00 2001 From: Zhiying Lin <54013513+zhiying-lin@users.noreply.github.com> Date: Tue, 23 Aug 2022 13:43:45 +0800 Subject: [PATCH] chore: prepare the repo for releasing project (#243) --- CONTRIBUTING.md | 14 ++++++++++++++ README.md | 8 ++++++++ apis/types.go | 5 +++++ pkg/metrics/metrics.go | 5 +++++ pkg/utils/validator/clusterresourceplacement.go | 5 +++++ test/e2e/metrics_exposure_test.go | 4 ++++ test/e2e/work_api_test.go | 5 +++++ test/e2e/work_api_test_utils.go | 5 +++++ test/e2e/work_load_test.go | 5 +++++ 9 files changed, 56 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..c97e7ed36 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,14 @@ +# Contributing + +This project welcomes contributions and suggestions. Most contributions require you to +agree to a Contributor License Agreement (CLA) declaring that you have the right to, +and actually do, grant us the rights to use your contribution. For details, visit +https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether you need +to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the +instructions provided by the bot. You will only need to do this once across all repositories using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) +or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. \ No newline at end of file diff --git a/README.md b/README.md index 03f2b5dcc..2e5c93c47 100644 --- a/README.md +++ b/README.md @@ -494,3 +494,11 @@ Azure fleet is an open source project that is [**not** covered by the Microsoft [5]: https://img.shields.io/github/go-mod/go-version/Azure/fleet [6]: https://opensource.microsoft.com/codeofconduct/ [7]: https://opensource.microsoft.com/codeofconduct/faq + +## Trademarks + +This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft +trademarks or logos is subject to and must follow +[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). +Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. +Any use of third-party trademarks or logos are subject to those third-party's policies. diff --git a/apis/types.go b/apis/types.go index 23a27c890..00ae20484 100644 --- a/apis/types.go +++ b/apis/types.go @@ -1,3 +1,8 @@ +/* +Copyright (c) Microsoft Corporation. +Licensed under the MIT license. +*/ + package apis import ( diff --git a/pkg/metrics/metrics.go b/pkg/metrics/metrics.go index 68362083f..e455dfec3 100644 --- a/pkg/metrics/metrics.go +++ b/pkg/metrics/metrics.go @@ -1,3 +1,8 @@ +/* +Copyright (c) Microsoft Corporation. +Licensed under the MIT license. +*/ + package metrics import ( diff --git a/pkg/utils/validator/clusterresourceplacement.go b/pkg/utils/validator/clusterresourceplacement.go index 28b2faec8..87f64b30e 100644 --- a/pkg/utils/validator/clusterresourceplacement.go +++ b/pkg/utils/validator/clusterresourceplacement.go @@ -1,3 +1,8 @@ +/* +Copyright (c) Microsoft Corporation. +Licensed under the MIT license. +*/ + package validator import ( diff --git a/test/e2e/metrics_exposure_test.go b/test/e2e/metrics_exposure_test.go index 14baad03c..45f55ead6 100644 --- a/test/e2e/metrics_exposure_test.go +++ b/test/e2e/metrics_exposure_test.go @@ -1,3 +1,7 @@ +/* +Copyright (c) Microsoft Corporation. +Licensed under the MIT license. +*/ package e2e import ( diff --git a/test/e2e/work_api_test.go b/test/e2e/work_api_test.go index 2e97db595..9d35147ab 100644 --- a/test/e2e/work_api_test.go +++ b/test/e2e/work_api_test.go @@ -1,3 +1,8 @@ +/* +Copyright (c) Microsoft Corporation. +Licensed under the MIT license. +*/ + package e2e import ( diff --git a/test/e2e/work_api_test_utils.go b/test/e2e/work_api_test_utils.go index 20426156d..c15cac3e2 100644 --- a/test/e2e/work_api_test_utils.go +++ b/test/e2e/work_api_test_utils.go @@ -1,3 +1,8 @@ +/* +Copyright (c) Microsoft Corporation. +Licensed under the MIT license. +*/ + package e2e import ( diff --git a/test/e2e/work_load_test.go b/test/e2e/work_load_test.go index b9cc7d6b5..4ccc2bf75 100644 --- a/test/e2e/work_load_test.go +++ b/test/e2e/work_load_test.go @@ -1,3 +1,8 @@ +/* +Copyright (c) Microsoft Corporation. +Licensed under the MIT license. +*/ + package e2e import (