From e17569e18906ccba292ebb83c337fff94ef373ff Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Thu, 21 Jan 2021 23:00:17 -0800 Subject: [PATCH] Mention 'main' instead of 'master' (#29511) - part of #29475 - primarily involves updating links to this repo nit: Remove broken links to old Travis environments (that happen to mention 'master') --- .azure/pipelines/helix-matrix.yml | 2 +- .azure/pipelines/quarantined-pr.yml | 2 +- .azure/pipelines/quarantined-tests.yml | 2 +- .github/pull_request_template.md | 4 ++-- .github/workflows/runtime-sync.yml | 8 ++++---- README.md | 2 +- build.ps1 | 4 ++-- docs/BuildFromSource.md | 2 +- docs/Helix.md | 12 ++++++------ docs/ReferenceResolution.md | 2 +- docs/TriageProcess.md | 2 +- eng/scripts/CodeCheck.ps1 | 2 +- eng/scripts/InstallVisualStudio.ps1 | 2 +- .../Wasm.Performance/benchmarks.compose.json | 4 ++-- .../benchmarkapps/Wasm.Performance/dockerfile | 2 +- .../test/testassets/Benchmarks/benchmarks.json | 2 +- .../Microsoft.JSInterop.JS/src/package.json | 2 +- src/Localization/README.md | 2 +- src/Mvc/README.md | 2 -- src/Mvc/benchmarkapps/BasicApi/benchmarks.json | 12 ++++++------ src/Mvc/benchmarkapps/BasicViews/benchmarks.json | 8 ++++---- src/Razor/README.md | 2 -- src/Shared/runtime/ReadMe.SharedCode.md | 2 +- src/SignalR/README.md | 4 ++-- src/SignalR/clients/java/signalr/core/build.gradle | 4 ++-- .../clients/java/signalr/messagepack/build.gradle | 4 ++-- .../clients/ts/signalr-protocol-msgpack/package.json | 2 +- src/SignalR/clients/ts/signalr/package.json | 2 +- 28 files changed, 48 insertions(+), 52 deletions(-) diff --git a/.azure/pipelines/helix-matrix.yml b/.azure/pipelines/helix-matrix.yml index 17866abb4f2..b73780366b1 100644 --- a/.azure/pipelines/helix-matrix.yml +++ b/.azure/pipelines/helix-matrix.yml @@ -1,4 +1,4 @@ -# We only want to run full helix matrix on master +# We only want to run full helix matrix on main pr: none trigger: none schedules: diff --git a/.azure/pipelines/quarantined-pr.yml b/.azure/pipelines/quarantined-pr.yml index 3afe05a53e5..8ab7aa335ca 100644 --- a/.azure/pipelines/quarantined-pr.yml +++ b/.azure/pipelines/quarantined-pr.yml @@ -3,7 +3,7 @@ # # Configure which branches trigger builds -# We want to run quarantined tests on release/5.0 and master as well as on PRs +# We want to run quarantined tests on release/5.0 and main as well as on PRs trigger: batch: true branches: diff --git a/.azure/pipelines/quarantined-tests.yml b/.azure/pipelines/quarantined-tests.yml index 3038bd89b87..441ae354800 100644 --- a/.azure/pipelines/quarantined-tests.yml +++ b/.azure/pipelines/quarantined-tests.yml @@ -1,4 +1,4 @@ -# We only want to run quarantined tests on master +# We only want to run quarantined tests on main pr: none trigger: none diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 874ce1d41d3..a87195fe08d 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,10 +1,10 @@ <!-- Thank you for submitting a pull request to our repo. --> -<!-- If this is your first PR in the ASP.NET Core repo, please run through the checklist +<!-- If this is your first PR in the ASP.NET Core repo, please run through the checklist below to ensure a smooth review and merge process for your PR. --> -- [ ] You've read the [Contributor Guide](https://github.com/dotnet/aspnetcore/blob/master/CONTRIBUTING.md) and [Code of Conduct](https://github.com/dotnet/aspnetcore/blob/master/CODE-OF-CONDUCT.md). +- [ ] You've read the [Contributor Guide](https://github.com/dotnet/aspnetcore/blob/main/CONTRIBUTING.md) and [Code of Conduct](https://github.com/dotnet/aspnetcore/blob/main/CODE-OF-CONDUCT.md). - [ ] You've included unit or integration tests for your change, where applicable. - [ ] You've included inline docs for your change, where applicable. - [ ] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue. diff --git a/.github/workflows/runtime-sync.yml b/.github/workflows/runtime-sync.yml index 7223b063754..02fee2461ed 100644 --- a/.github/workflows/runtime-sync.yml +++ b/.github/workflows/runtime-sync.yml @@ -18,14 +18,14 @@ jobs: - name: Checkout aspnetcore uses: actions/checkout@v2.0.0 with: - # Test this script using changes in a fork + # Test this script using changes in a fork repository: 'dotnet/aspnetcore' path: aspnetcore - ref: master + ref: main - name: Checkout runtime uses: actions/checkout@v2.0.0 with: - # Test this script using changes in a fork + # Test this script using changes in a fork repository: 'dotnet/runtime' path: runtime ref: master @@ -67,6 +67,6 @@ jobs: title: 'Sync shared code from runtime' body: 'This PR was automatically generated to sync shared code changes from runtime. Fixes #18943' labels: area-servers - base: master + base: main branch: github-action/sync-runtime branch-suffix: timestamp diff --git a/README.md b/README.md index 0093542f888..ea46765aa8d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Follow the [Getting Started](https://docs.microsoft.com/aspnet/core/getting-star Also check out the [.NET Homepage](https://www.microsoft.com/net) for released versions of .NET, getting started guides, and learning resources. -See the [Triage Process](https://github.com/dotnet/aspnetcore/blob/master/docs/TriageProcess.md) document for more information on how we handle incoming issues. +See the [Triage Process](https://github.com/dotnet/aspnetcore/blob/main/docs/TriageProcess.md) document for more information on how we handle incoming issues. ## How to Engage, Contribute, and Give Feedback diff --git a/build.ps1 b/build.ps1 index ee6abace37f..b57ce7e8b3f 100644 --- a/build.ps1 +++ b/build.ps1 @@ -116,7 +116,7 @@ Running tests. build.ps1 -test .LINK -Online version: https://github.com/dotnet/aspnetcore/blob/master/docs/BuildFromSource.md +Online version: https://github.com/dotnet/aspnetcore/blob/main/docs/BuildFromSource.md #> [CmdletBinding(PositionalBinding = $false, DefaultParameterSetName='Groups')] param( @@ -363,7 +363,7 @@ if($dotnetFormat) { Write-Host -f Magenta "dotnet format tool is already installed." } -else +else { Write-Host -f Magenta "Installing dotnet-format tool.." & dotnet tool install -g dotnet-format diff --git a/docs/BuildFromSource.md b/docs/BuildFromSource.md index 3a18f282727..ffe8949ef75 100644 --- a/docs/BuildFromSource.md +++ b/docs/BuildFromSource.md @@ -155,7 +155,7 @@ Studio because those projects are not listed in AspNetCore.sln. This will download the required tools and restore all projects inside the repository. At that point, you should be able to open the .sln file or one of the project specific .slnf files to work on the projects you care about. - > :bulb: Pro tip: you will also want to run this command after pulling large sets of changes. On the master + > :bulb: Pro tip: you will also want to run this command after pulling large sets of changes. On the main > branch, we regularly update the versions of .NET Core SDK required to build the repo. > You will need to restart Visual Studio every time we update the .NET Core SDK. diff --git a/docs/Helix.md b/docs/Helix.md index eafaf1e5ef2..ef7190b7050 100644 --- a/docs/Helix.md +++ b/docs/Helix.md @@ -18,17 +18,17 @@ This will restore, and then publish all the test project including some bootstra ## Overview of the helix usage in our pipelines -- Required queues: Windows10, OSX, Ubuntu1604 +- Required queues: Windows10, OSX, Ubuntu1604 - Full queue matrix: Windows[7, 81, 10], Ubuntu[1604, 1804, 2004], Centos7, Debian9, Redhat7, Fedora28, Arm64 (Win10, Debian9) -- The queues are defined in [Helix.Common.props](https://github.com/dotnet/aspnetcore/blob/master/eng/targets/Helix.Common.props) +- The queues are defined in [Helix.Common.props](https://github.com/dotnet/aspnetcore/blob/main/eng/targets/Helix.Common.props) [aspnetcore-ci](https://dev.azure.com/dnceng/public/_build?definitionId=278) runs non quarantined tests against the required helix queues as a required PR check and all builds on all branches. -[aspnetcore-helix-matrix](https://dev.azure.com/dnceng/public/_build?definitionId=837) runs non quarantined tests against all queues twice a day only on public master. +[aspnetcore-helix-matrix](https://dev.azure.com/dnceng/public/_build?definitionId=837) runs non quarantined tests against all queues twice a day only on public main. -[aspnetcore-quarantined-pr](https://dev.azure.com/dnceng/public/_build?definitionId=869) runs only quarantined tests against the required queues on PRs and on master every 4 hours. +[aspnetcore-quarantined-pr](https://dev.azure.com/dnceng/public/_build?definitionId=869) runs only quarantined tests against the required queues on PRs and on main every 4 hours. -[aspnetcore-quarantined-tests](https://dev.azure.com/dnceng/public/_build?definitionId=331) runs only quarantined tests against all queues only on public master once a day at 11 PM. +[aspnetcore-quarantined-tests](https://dev.azure.com/dnceng/public/_build?definitionId=331) runs only quarantined tests against all queues only on public main once a day at 11 PM. You can always manually queue pipeline runs by clicking on the link to the pipeline -> Run Pipeline -> select your branch/tag and commit @@ -42,7 +42,7 @@ You can always manually queue pipeline runs by clicking on the link to the pipel The easiest way to look at a test failure is via the tests tab in azdo which now should show a summary of the errors and have attachments to the relevant console logs. -You can also drill down into the helix web apis if you take the HelixJobId from the Debug tab of a failing test, and the HelixWorkItemName and go to: `https://helix.dot.net/api/2019-06-17/jobs/<jobId>/workitems/<workitemname>` which will show you more urls you can drill into for more info. +You can also drill down into the helix web apis if you take the HelixJobId from the Debug tab of a failing test, and the HelixWorkItemName and go to: `https://helix.dot.net/api/2019-06-17/jobs/<jobId>/workitems/<workitemname>` which will show you more urls you can drill into for more info. There's also a link embedded in the build.cmd log of the Tests: Helix x64 job on Azure Pipelines, near the bottom right that will look something like this: diff --git a/docs/ReferenceResolution.md b/docs/ReferenceResolution.md index cd8c706e1e3..311533ea5d2 100644 --- a/docs/ReferenceResolution.md +++ b/docs/ReferenceResolution.md @@ -111,7 +111,7 @@ Once `darc` is installed and set-up, it can be used to modify the subscriptions Subscriptions are objects that define the ecosystem repos we are listening for updates to, the frequency we are looking for updates, and more. ```bash -darc get-subscriptions --target-branch master --target-repo aspnetcore$ --regex +darc get-subscriptions --target-branch main --target-repo aspnetcore$ --regex ``` **Disable/enable a subscription** diff --git a/docs/TriageProcess.md b/docs/TriageProcess.md index 61955f123cd..4d7eb27e10b 100644 --- a/docs/TriageProcess.md +++ b/docs/TriageProcess.md @@ -64,4 +64,4 @@ The following diagram summarizes the processes detailed above: ## References -We rely on some automation to help us with this process. You can learn more about some of these by reading our [Issue Management Policies](https://github.com/dotnet/aspnetcore/blob/master/docs/IssueManagementPolicies.md) document. +We rely on some automation to help us with this process. You can learn more about some of these by reading our [Issue Management Policies](https://github.com/dotnet/aspnetcore/blob/main/docs/IssueManagementPolicies.md) document. diff --git a/eng/scripts/CodeCheck.ps1 b/eng/scripts/CodeCheck.ps1 index 509cdf84d68..3efae451a33 100644 --- a/eng/scripts/CodeCheck.ps1 +++ b/eng/scripts/CodeCheck.ps1 @@ -131,7 +131,7 @@ try { foreach ($unexpectedVar in $versionVars) { LogError ` - "Version variable '$unexpectedVar' does not have a matching entry in Version.Details.xml. See https://github.com/dotnet/aspnetcore/blob/master/docs/ReferenceResolution.md for instructions on how to add a new dependency." ` + "Version variable '$unexpectedVar' does not have a matching entry in Version.Details.xml. See https://github.com/dotnet/aspnetcore/blob/main/docs/ReferenceResolution.md for instructions on how to add a new dependency." ` -filepath "$repoRoot\eng\Versions.props" } diff --git a/eng/scripts/InstallVisualStudio.ps1 b/eng/scripts/InstallVisualStudio.ps1 index 56c645fe9fd..24f9e0e69c5 100644 --- a/eng/scripts/InstallVisualStudio.ps1 +++ b/eng/scripts/InstallVisualStudio.ps1 @@ -23,7 +23,7 @@ Run the installer without UI and wait for installation to complete. .LINK https://visualstudio.com - https://github.com/dotnet/aspnetcore/blob/master/docs/BuildFromSource.md + https://github.com/dotnet/aspnetcore/blob/main/docs/BuildFromSource.md .EXAMPLE To install VS 2019 Enterprise, run this command in PowerShell: diff --git a/src/Components/benchmarkapps/Wasm.Performance/benchmarks.compose.json b/src/Components/benchmarkapps/Wasm.Performance/benchmarks.compose.json index 67ad05c767a..26c259c1819 100644 --- a/src/Components/benchmarkapps/Wasm.Performance/benchmarks.compose.json +++ b/src/Components/benchmarkapps/Wasm.Performance/benchmarks.compose.json @@ -11,11 +11,11 @@ "blazorwasmbenchmark": { "source": { "repository": "https://github.com/dotnet/AspNetCore.git", - "branchOrCommit": "master", + "branchOrCommit": "main", "dockerfile": "src/Components/benchmarkapps/Wasm.Performance/dockerfile" }, "buildArguments": [ - "gitBranch=master" + "gitBranch=main" ], "waitForExit": true, "readyStateText": "Application started." diff --git a/src/Components/benchmarkapps/Wasm.Performance/dockerfile b/src/Components/benchmarkapps/Wasm.Performance/dockerfile index d291a53b4b6..79a1465657d 100644 --- a/src/Components/benchmarkapps/Wasm.Performance/dockerfile +++ b/src/Components/benchmarkapps/Wasm.Performance/dockerfile @@ -12,7 +12,7 @@ RUN apt-get update \ nodejs \ git -ARG gitBranch=master +ARG gitBranch=main WORKDIR /src ADD https://api.github.com/repos/dotnet/aspnetcore/git/ref/heads/${gitBranch} /aspnetcore.commit diff --git a/src/Http/Routing/test/testassets/Benchmarks/benchmarks.json b/src/Http/Routing/test/testassets/Benchmarks/benchmarks.json index 48622c79689..0b0ba5e1373 100644 --- a/src/Http/Routing/test/testassets/Benchmarks/benchmarks.json +++ b/src/Http/Routing/test/testassets/Benchmarks/benchmarks.json @@ -8,7 +8,7 @@ }, "Source": { "Repository": "https://github.com/dotnet/aspnetcore.git", - "BranchOrCommit": "master", + "BranchOrCommit": "main", "Project": "src/Routing/benchmarkapps/Benchmarks/Benchmarks.csproj" }, "Port": 8080 diff --git a/src/JSInterop/Microsoft.JSInterop.JS/src/package.json b/src/JSInterop/Microsoft.JSInterop.JS/src/package.json index 02410238d0d..1bb08c8219c 100644 --- a/src/JSInterop/Microsoft.JSInterop.JS/src/package.json +++ b/src/JSInterop/Microsoft.JSInterop.JS/src/package.json @@ -20,7 +20,7 @@ "bugs": { "url": "https://github.com/dotnet/aspnetcore/issues" }, - "homepage": "https://github.com/dotnet/aspnetcore/tree/master/src/JSInterop", + "homepage": "https://github.com/dotnet/aspnetcore/tree/main/src/JSInterop", "files": [ "dist/**" ], diff --git a/src/Localization/README.md b/src/Localization/README.md index 503620b3c67..492d9903758 100644 --- a/src/Localization/README.md +++ b/src/Localization/README.md @@ -3,4 +3,4 @@ Localization These projects provide abstractions for localizing resources in .NET applications. -The ASP.NET Core implementation of localization can be found in https://github.com/dotnet/aspnetcore/tree/master/src/Middleware/Localization. +The ASP.NET Core implementation of localization can be found in https://github.com/dotnet/aspnetcore/tree/main/src/Middleware/Localization. diff --git a/src/Mvc/README.md b/src/Mvc/README.md index 07d0e587872..9a182d4ac90 100644 --- a/src/Mvc/README.md +++ b/src/Mvc/README.md @@ -3,8 +3,6 @@ ASP.NET Core MVC **Note: For ASP.NET MVC 5.x, Web API 2.x, and Web Pages 3.x (not ASP.NET Core), see https://github.com/aspnet/AspNetWebStack** -Travis: [](https://travis-ci.org/aspnet/Mvc) - ASP.NET Core MVC gives you a powerful, patterns-based way to build dynamic websites that enables a clean separation of concerns and gives you full control over markup for enjoyable, agile development. ASP.NET Core MVC includes many features that enable fast, TDD-friendly development for creating sophisticated applications that use the latest web standards. ASP.NET Core MVC includes support for building web pages and HTTP services in a single aligned framework that can be hosted in IIS or self-hosted in your own process. diff --git a/src/Mvc/benchmarkapps/BasicApi/benchmarks.json b/src/Mvc/benchmarkapps/BasicApi/benchmarks.json index 26a9d998c82..7567136dd03 100644 --- a/src/Mvc/benchmarkapps/BasicApi/benchmarks.json +++ b/src/Mvc/benchmarkapps/BasicApi/benchmarks.json @@ -8,7 +8,7 @@ "ReadyStateText": "Application started.", "Source": { "Repository": "https://github.com/dotnet/aspnetcore.git", - "BranchOrCommit": "master", + "BranchOrCommit": "main", "Project": "src/Mvc/benchmarkapps/BasicApi/BasicApi.csproj" } }, @@ -19,20 +19,20 @@ }, "BasicApi.GetUsingQueryString": { "ClientProperties": { - "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/master/src/Mvc/benchmarkapps/BasicApi/getWithToken.lua" + "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/main/src/Mvc/benchmarkapps/BasicApi/getWithToken.lua" }, "Path": "/pet/findByStatus", "Query": "?status=available" }, "BasicApi.GetUsingRouteValue": { "ClientProperties": { - "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/master/src/Mvc/benchmarkapps/BasicApi/getWithToken.lua" + "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/main/src/Mvc/benchmarkapps/BasicApi/getWithToken.lua" }, "Path": "/pet/-1" }, "BasicApi.GetUsingRouteValueWithoutAuthorization": { "ClientProperties": { - "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/master/src/Mvc/benchmarkapps/BasicApi/getWithToken.lua" + "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/main/src/Mvc/benchmarkapps/BasicApi/getWithToken.lua" }, "Path": "/pet/anonymous/-1" }, @@ -41,14 +41,14 @@ }, "BasicApi.Post": { "ClientProperties": { - "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/master/src/Mvc/benchmarkapps/BasicApi/postJsonWithToken.lua" + "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/main/src/Mvc/benchmarkapps/BasicApi/postJsonWithToken.lua" }, "Path": "/pet" }, "BasicApi.PostWithoutDb": { "Path": "/pet/add-pet", "ClientProperties": { - "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/master/src/Mvc/benchmarkapps/BasicApi/postJsonWithToken.lua" + "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/main/src/Mvc/benchmarkapps/BasicApi/postJsonWithToken.lua" } } } diff --git a/src/Mvc/benchmarkapps/BasicViews/benchmarks.json b/src/Mvc/benchmarkapps/BasicViews/benchmarks.json index 96fd8cd0bc6..5bbd67b6bfb 100644 --- a/src/Mvc/benchmarkapps/BasicViews/benchmarks.json +++ b/src/Mvc/benchmarkapps/BasicViews/benchmarks.json @@ -8,7 +8,7 @@ "ReadyStateText": "Application started.", "Source": { "Repository": "https://github.com/dotnet/aspnetcore.git", - "BranchOrCommit": "master", + "BranchOrCommit": "main", "Project": "src/Mvc/benchmarkapps/BasicViews/BasicViews.csproj" } }, @@ -20,19 +20,19 @@ }, "BasicViews.Post": { "ClientProperties": { - "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/master/src/Mvc/benchmarkapps/BasicViews/postWithToken.lua" + "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/main/src/Mvc/benchmarkapps/BasicViews/postWithToken.lua" }, "Path": "/Home/Index" }, "BasicViews.PostIgnoringToken": { "ClientProperties": { - "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/master/src/Mvc/benchmarkapps/BasicViews/postWithToken.lua" + "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/main/src/Mvc/benchmarkapps/BasicViews/postWithToken.lua" }, "Path": "/Home/IndexWithoutToken" }, "BasicViews.PostWithoutToken": { "ClientProperties": { - "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/master/src/Mvc/benchmarkapps/BasicViews/post.lua" + "Scripts": "https://raw.githubusercontent.com/dotnet/aspnetcore/main/src/Mvc/benchmarkapps/BasicViews/post.lua" }, "Path": "/Home/IndexWithoutToken" } diff --git a/src/Razor/README.md b/src/Razor/README.md index e99bc694b5f..ca0e025768e 100644 --- a/src/Razor/README.md +++ b/src/Razor/README.md @@ -1,8 +1,6 @@ Razor ===== -Travis: [](https://travis-ci.org/aspnet/Razor) - The Razor syntax provides a fast, terse, clean and lightweight way to combine server code with HTML to create dynamic web content. This repo contains the parser and the C# code generator for the Razor syntax. This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the [Home](https://www.github.com/aspnet/home) repo. diff --git a/src/Shared/runtime/ReadMe.SharedCode.md b/src/Shared/runtime/ReadMe.SharedCode.md index eb86cd93128..53cd1f40698 100644 --- a/src/Shared/runtime/ReadMe.SharedCode.md +++ b/src/Shared/runtime/ReadMe.SharedCode.md @@ -24,7 +24,7 @@ dotnet/AspNetCore code paths: - `PS D:\github\runtime\src\libraries\System.Net.Http\tests\UnitTests> dotnet build /t:test` ## Building dotnet/AspNetCore code: -- https://github.com/dotnet/AspNetCore/blob/master/docs/BuildFromSource.md +- https://github.com/dotnet/aspnetcore/blob/main/docs/BuildFromSource.md - Run restore in the root once: `PS D:\github\AspNetCore> .\restore.cmd` - Activate to use the repo local runtime: `PS D:\github\AspNetCore> . .\activate.ps1` - Build the individual projects: diff --git a/src/SignalR/README.md b/src/SignalR/README.md index 09ddfdd604a..8ceef4c0ee7 100644 --- a/src/SignalR/README.md +++ b/src/SignalR/README.md @@ -32,7 +32,7 @@ The following contains a description of the sub-directories. By default, the build script will try to build Java and Typescript projects. If you don't want to include those, you can pass "-NoBuildJava" and "-NoBuildNodeJS" respectively to the build script to skip them. Or "--no-build-java" and "--no-build-nodejs" on MacOS or Linux. -To build this specific project from source, you can follow the instructions [on building a subset of the code](https://github.com/dotnet/aspnetcore/blob/master/docs/BuildFromSource.md#building-a-subset-of-the-code). +To build this specific project from source, you can follow the instructions [on building a subset of the code](https://github.com/dotnet/aspnetcore/blob/main/docs/BuildFromSource.md#building-a-subset-of-the-code). Or for the less detailed explanation, run the following command inside this directory. ```powershell @@ -49,7 +49,7 @@ $ ./build.sh This project's tests require having "java" and "npm" on your path. -To run the tests for this project, you can [run the tests on the command line](https://github.com/dotnet/aspnetcore/blob/master/docs/BuildFromSource.md#running-tests-on-command-line) in this directory. +To run the tests for this project, you can [run the tests on the command line](https://github.com/dotnet/aspnetcore/blob/main/docs/BuildFromSource.md#running-tests-on-command-line) in this directory. Or for the less detailed explanation, run the following command inside this directory. ```powershell diff --git a/src/SignalR/clients/java/signalr/core/build.gradle b/src/SignalR/clients/java/signalr/core/build.gradle index 41b7668da1e..5465c4a65e6 100644 --- a/src/SignalR/clients/java/signalr/core/build.gradle +++ b/src/SignalR/clients/java/signalr/core/build.gradle @@ -42,7 +42,7 @@ task generatePOM { scm { connection 'scm:git:git://github.com/dotnet/aspnetcore.git' developerConnection 'scm:git:git://github.com/dotnet/aspnetcore.git' - url 'http://github.com/dotnet/aspnetcore/tree/master' + url 'http://github.com/dotnet/aspnetcore/tree/main' } developers { developer { @@ -78,4 +78,4 @@ class Version { } } -compileJava.dependsOn generateVersionClass \ No newline at end of file +compileJava.dependsOn generateVersionClass diff --git a/src/SignalR/clients/java/signalr/messagepack/build.gradle b/src/SignalR/clients/java/signalr/messagepack/build.gradle index 365d56d383c..9d73f0cda46 100644 --- a/src/SignalR/clients/java/signalr/messagepack/build.gradle +++ b/src/SignalR/clients/java/signalr/messagepack/build.gradle @@ -41,7 +41,7 @@ task generatePOM { scm { connection 'scm:git:git://github.com/dotnet/aspnetcore.git' developerConnection 'scm:git:git://github.com/dotnet/aspnetcore.git' - url 'http://github.com/dotnet/aspnetcore/tree/master' + url 'http://github.com/dotnet/aspnetcore/tree/main' } developers { developer { @@ -53,4 +53,4 @@ task generatePOM { }.writeTo("${buildDir}/libs/signalr-messagepack-${project.version}.pom") } -task createPackage(dependsOn: [jar,sourceJar,javadocJar,generatePOM]) \ No newline at end of file +task createPackage(dependsOn: [jar,sourceJar,javadocJar,generatePOM]) diff --git a/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json b/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json index 5b5737b3916..8d75a0516e1 100644 --- a/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json +++ b/src/SignalR/clients/ts/signalr-protocol-msgpack/package.json @@ -37,7 +37,7 @@ "bugs": { "url": "https://github.com/dotnet/aspnetcore/issues" }, - "homepage": "https://github.com/dotnet/aspnetcore/tree/master/src/SignalR#readme", + "homepage": "https://github.com/dotnet/aspnetcore/tree/main/src/SignalR#readme", "files": [ "dist/**/*", "src/**/*" diff --git a/src/SignalR/clients/ts/signalr/package.json b/src/SignalR/clients/ts/signalr/package.json index 8ee7acecf0c..5a5fb61dbec 100644 --- a/src/SignalR/clients/ts/signalr/package.json +++ b/src/SignalR/clients/ts/signalr/package.json @@ -40,7 +40,7 @@ "bugs": { "url": "https://github.com/dotnet/aspnetcore/issues" }, - "homepage": "https://github.com/dotnet/aspnetcore/tree/master/src/SignalR#readme", + "homepage": "https://github.com/dotnet/aspnetcore/tree/main/src/SignalR#readme", "files": [ "dist/**/*", "src/**/*" -- GitLab