From 5ff470bcb920c7f4d388c6b61524b14f3e453e8b Mon Sep 17 00:00:00 2001 From: Nirmal Guru Date: Tue, 27 Jul 2021 10:04:46 +0530 Subject: [PATCH] Rename solution, readme and icon files - Rename NuGet Icon to `Icon.png`: - This is no longer used as a public reference point for NuGet icon URL. - Also, Icon URL is deprecated. Hence, it's safe to change. - Normalize casing for `ReadMe.md`: - To match the file already in Windows toolkit repo. - Rename solution file to `CommunityToolkit.sln`: - The `dotnet` seems implied and also doesn't stand-out in the file list because of the lower casing and `d` char. - Spaces are a main issue when doing automation (_like using `*.sln` in build scripts and in URLs it adds `%20`_). - Don't exclude T4 Generated sources in git ignores list. - Indent text in `ThirdPartyNotices.txt` with spaces instead. --- .gitignore | 22 +++++++++++------- ...munity Toolkit.sln => CommunityToolkit.sln | 2 +- README.md => ReadMe.md | 0 ThirdPartyNotices.txt | 6 ++--- build/Community.Toolkit.Common.props | 1 - build/Community.Toolkit.Common.targets | 2 +- build/{nuget.png => Icon.png} | Bin 7 files changed, 18 insertions(+), 15 deletions(-) rename dotnet Community Toolkit.sln => CommunityToolkit.sln (99%) rename README.md => ReadMe.md (100%) rename build/{nuget.png => Icon.png} (100%) diff --git a/.gitignore b/.gitignore index 9c893bb37..36eaf74d9 100644 --- a/.gitignore +++ b/.gitignore @@ -15,8 +15,8 @@ [Ll]og/ [Ll]ogs/ -# Generated file from .ttinclude -**/Generated/*.g.cs +# T4 Template Generated files +!**/Generated/*.g.cs # MSBuild Binary and Structured Log *.binlog @@ -31,14 +31,21 @@ # Visual Studio 15+ auto generated files Generated\ Files/ +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Live Unit Testing for Visual Studio +.lutignore +*.lutconfig + # Local History for Visual Studio .localhistory/ # Visual Studio History (VSHistory) files .vshistory/ -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ +# Local History for Visual Studio Code +.history/ # VS Code files for those working on multiple tools .vscode/* @@ -48,9 +55,6 @@ MigrationBackup/ !.vscode/extensions.json *.code-workspace -# Local History for Visual Studio Code -.history/ - # MSTest test Results [Tt]est[Rr]esult*/ [Bb]uild[Ll]og.* @@ -98,7 +102,7 @@ StyleCopReport.xml *.tlog *.vspscc *.vssscc -.builds +*.builds *.pidb *.svclog *.scc @@ -180,7 +184,7 @@ _pkginfo.txt # Others ClientBin/ -~$* +~* *~ *~.* *.dbmdl diff --git a/dotnet Community Toolkit.sln b/CommunityToolkit.sln similarity index 99% rename from dotnet Community Toolkit.sln rename to CommunityToolkit.sln index 7158a3b06..f93b75e0b 100644 --- a/dotnet Community Toolkit.sln +++ b/CommunityToolkit.sln @@ -30,7 +30,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{88C6FFBE-3 CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md Contributing.md = Contributing.md License.md = License.md - README.md = README.md + ReadMe.md = ReadMe.md ThirdPartyNotices.txt = ThirdPartyNotices.txt EndProjectSection EndProject diff --git a/README.md b/ReadMe.md similarity index 100% rename from README.md rename to ReadMe.md diff --git a/ThirdPartyNotices.txt b/ThirdPartyNotices.txt index ea8b9da1c..1010bb503 100644 --- a/ThirdPartyNotices.txt +++ b/ThirdPartyNotices.txt @@ -5,9 +5,9 @@ Do Not Translate or Localize This project incorporates components from the projects listed below. The original copyright notices and the licenses under which the .NET Foundation received such components are set forth below. The .NET Foundation reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise. -1. PedroLamas/DeferredEvents version 1.0.4 (https://github.com/PedroLamas/DeferredEvents), included in CommunityToolkit.Common/Deferred. -2. MichaeIDietrich/UwpNotificationNetCoreTest commit 5c1a4a3 (https://github.com/MichaeIDietrich/UwpNotificationNetCoreTest), used in DesktopNotificationManagerCompat.cs to support .NET Core 3.0. -3. lbugnion/mvvmlight commit 4cbf77c (https://github.com/lbugnion/mvvmlight), from which some APIs from the `CommunityToolkit.Mvvm` package take inspiration from. +1. PedroLamas/DeferredEvents version 1.0.4 (https://github.com/PedroLamas/DeferredEvents), included in CommunityToolkit.Common/Deferred. +2. MichaeIDietrich/UwpNotificationNetCoreTest commit 5c1a4a3 (https://github.com/MichaeIDietrich/UwpNotificationNetCoreTest), used in DesktopNotificationManagerCompat.cs to support .NET Core 3.0. +3. lbugnion/mvvmlight commit 4cbf77c (https://github.com/lbugnion/mvvmlight), from which some APIs from the `CommunityToolkit.Mvvm` package take inspiration from. 4. PrivateObject/PrivateType (https://github.com/microsoft/testfx/tree/664ac7c2ac9dbfbee9d2a0ef560cfd72449dfe34/src/TestFramework/Extension.Desktop), included in UnitTests. 5. QuinnDamerell/UniversalMarkdown (https://github.com/QuinnDamerell/UniversalMarkdown) contributed by Quinn Damerell and Paul Bartrum for the MarkdownTextBlock control, relicensed to this .NET Foundation project under the MIT license upon contribution in https://github.com/CommunityToolkit/WindowsCommunityToolkit/pull/772. 6. qmatteoq/DesktopBridgeHelpers commit e278153 (https://github.com/qmatteoq/DesktopBridgeHelpers), contributed by Matteo Pagani to identify if running with identity in DesktopNotificationManagerCompat.cs and DesktopBridgeHelpers.cs, relicensed to this .NET Foundation project under the MIT license upon contribution in https://github.com/CommunityToolkit/WindowsCommunityToolkit/pull/3457. diff --git a/build/Community.Toolkit.Common.props b/build/Community.Toolkit.Common.props index 1775ea7d6..f5047f1c3 100644 --- a/build/Community.Toolkit.Common.props +++ b/build/Community.Toolkit.Common.props @@ -11,7 +11,6 @@ https://github.com/CommunityToolkit/dotnet https://github.com/CommunityToolkit/dotnet/releases Icon.png - https://raw.githubusercontent.com/CommunityToolkit/dotnet/main/build/nuget.png diff --git a/build/Community.Toolkit.Common.targets b/build/Community.Toolkit.Common.targets index ffd779122..2f57ef30f 100644 --- a/build/Community.Toolkit.Common.targets +++ b/build/Community.Toolkit.Common.targets @@ -12,7 +12,7 @@ - + diff --git a/build/nuget.png b/build/Icon.png similarity index 100% rename from build/nuget.png rename to build/Icon.png