From 11cecfd173b021d85354005d999ad629d6f43141 Mon Sep 17 00:00:00 2001 From: Lessley Dennington Date: Tue, 7 Mar 2023 09:52:03 -0700 Subject: [PATCH] org-rename: update references to GitCredentialManager The GitCredentialManager org is being re-named to git-ecosystem. In light of this, update references to GitCredentialManager to instead reference git-ecosystem. --- CONTRIBUTING.md | 6 +++--- README.md | 18 +++++++++--------- docs/architecture.md | 4 ++-- docs/bitbucket-development.md | 4 ++-- docs/development.md | 2 +- docs/faq.md | 2 +- docs/github-apideprecation.md | 2 +- docs/gitlab.md | 2 +- docs/hostprovider.md | 2 +- docs/install.md | 2 +- docs/rename.md | 6 +++--- .../Packaging.Linux/install-from-source.sh | 4 ++-- src/shared/Core/Git.cs | 2 +- src/shared/DotnetTool/dotnet-tool.nuspec | 2 +- .../GitHub.Tests/GitHubAuthenticationTests.cs | 2 +- src/shared/GitHub/GitHubHostProvider.cs | 2 +- src/windows/Installer.Windows/Setup.iss | 2 +- 17 files changed, 32 insertions(+), 32 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fdf9b2f15..87314ca39 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -52,10 +52,10 @@ request being accepted: [code-of-conduct]: CODE_OF_CONDUCT.md [commits]: https://www.youtube.com/watch?v=4qLtKx9S9a8 [contribute-under-repo-license]: https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license -[fork]: https://github.com/GitCredentialManager/git-credential-manager/fork +[fork]: https://github.com/git-ecosystem/git-credential-manager/fork [github-help]: https://help.github.com [how-to-contribute]: https://opensource.guide/how-to-contribute/ -[issue]: https://github.com/GitCredentialManager/git-credential-manager/issues/new/choose +[issue]: https://github.com/git-ecosystem/git-credential-manager/issues/new/choose [license]: LICENSE -[pr]: https://github.com/GitCredentialManager/git-credential-manager/compare +[pr]: https://github.com/git-ecosystem/git-credential-manager/compare [prs]: https://help.github.com/articles/about-pull-requests/ diff --git a/README.md b/README.md index b793f45e7..13c9fa7b4 100644 --- a/README.md +++ b/README.md @@ -113,26 +113,26 @@ When using GitHub logos, please be sure to follow the [azure-devops-ssh]: https://docs.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=azure-devops [bitbucket]: https://bitbucket.org [bitbucket-ssh]: https://confluence.atlassian.com/bitbucket/ssh-keys-935365775.html -[build-status-badge]: https://github.com/GitCredentialManager/git-credential-manager/actions/workflows/continuous-integration.yml/badge.svg -[docs-index]: https://github.com/GitCredentialManager/git-credential-manager/blob/release/docs/README.md +[build-status-badge]: https://github.com/git-ecosystem/git-credential-manager/actions/workflows/continuous-integration.yml/badge.svg +[docs-index]: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/README.md [dotnet]: https://dotnet.microsoft.com [dotnet-distributions]: https://learn.microsoft.com/en-us/dotnet/core/install/linux [git-credential-helper]: https://git-scm.com/docs/gitcredentials -[gcm]: https://github.com/GitCredentialManager/git-credential-manager +[gcm]: https://github.com/git-ecosystem/git-credential-manager [gcm-coc]: CODE_OF_CONDUCT.md [gcm-commit-12294990]: https://github.com/git/git/commit/12294990c90e043862be9eb7eb22c3784b526340 [gcm-contributing]: CONTRIBUTING.md -[gcm-credstores]: https://github.com/GitCredentialManager/git-credential-manager/blob/release/docs/credstores.md +[gcm-credstores]: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/credstores.md [gcm-for-mac-and-linux]: https://github.com/microsoft/Git-Credential-Manager-for-Mac-and-Linux [gcm-for-windows]: https://github.com/microsoft/Git-Credential-Manager-for-Windows -[gcm-http-proxy]: https://github.com/GitCredentialManager/git-credential-manager/blob/release/docs/netconfig.md#http-proxy +[gcm-http-proxy]: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/netconfig.md#http-proxy [gcm-license]: LICENSE -[gcm-usage]: https://github.com/GitCredentialManager/git-credential-manager/blob/release/docs/usage.md -[gcm-windows-broker]: https://github.com/GitCredentialManager/git-credential-manager/blob/release/docs/windows-broker.md +[gcm-usage]: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/usage.md +[gcm-windows-broker]: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/windows-broker.md [git-tools-credential-storage]: https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage [github]: https://github.com [github-ssh]: https://help.github.com/en/articles/connecting-to-github-with-ssh [github-logos]: https://github.com/logos -[install]: https://github.com/GitCredentialManager/git-credential-manager/blob/release/docs/install.md +[install]: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/install.md [ms-package-repos]: https://packages.microsoft.com/repos/ -[workflow-status]: https://github.com/GitCredentialManager/git-credential-manager/actions/workflows/continuous-integration.yml +[workflow-status]: https://github.com/git-ecosystem/git-credential-manager/actions/workflows/continuous-integration.yml diff --git a/docs/architecture.md b/docs/architecture.md index 2b2da52c0..0aff15287 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -280,7 +280,7 @@ to the trace object in most places of GCM. [avalonia]: https://avaloniaui.net/ [core-program]: ../src/shared/Git-Credential-Manager/Program.cs [credential-provider]: configuration.md#credentialprovider -[issue-113]: https://github.com/GitCredentialManager/git-credential-manager/issues/113 -[issue-136]: https://github.com/GitCredentialManager/git-credential-manager/issues/136 +[issue-113]: https://github.com/git-ecosystem/git-credential-manager/issues/113 +[issue-136]: https://github.com/git-ecosystem/git-credential-manager/issues/136 [gcm-provider]: environment.md#GCM_PROVIDER [msal]: https://github.com/AzureAD/microsoft-authentication-library-for-dotnet diff --git a/docs/bitbucket-development.md b/docs/bitbucket-development.md index 76605223f..6b9697888 100644 --- a/docs/bitbucket-development.md +++ b/docs/bitbucket-development.md @@ -174,13 +174,13 @@ host by specifying the host url, e.g. https://bitbucket.example.com/ Due to the way GCM resolves hosts and determines REST API urls, if the Bitbucket DC instance is hosted under a relative url (e.g. https://example.com/bitbucket) it is necessary to configure Git to send the full path to GCM. This is done -using the [credential.useHttpPath](configuration.md#credential.useHttpPath) +using the [credential.useHttpPath](configuration.md#credential.useHttpPath) setting. ❯ git config --global credential.https://example.com/bitbucket.usehttppath true If a port number is used in the url of the Bitbucket DC instance the Git -configuration needs to reflect this. However, due to [Issue 608](https://github.com/GitCredentialManager/git-credential-manager/issues/608) +configuration needs to reflect this. However, due to [Issue 608](https://github.com/git-ecosystem/git-credential-manager/issues/608) the port is ignored when resolving [credential.bitbucketDataCenterOAuthClientId](configuration.md#credential.bitbucketDataCenterOAuthClientId) and [credential.bitbucketDataCenterOAuthClientSecret](configuration.md#credential.bitbucketDataCenterOAuthClientSecret). diff --git a/docs/development.md b/docs/development.md index 2b8fcfd41..d64b20978 100644 --- a/docs/development.md +++ b/docs/development.md @@ -3,7 +3,7 @@ Start by cloning this repository: ```shell -git clone https://github.com/GitCredentialManager/git-credential-manager +git clone https://github.com/git-ecosystem/git-credential-manager ``` You also need the latest version of the .NET SDK which can be downloaded and diff --git a/docs/faq.md b/docs/faq.md index 7008b793b..cf761b1e8 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -235,7 +235,7 @@ initiate this flow for you next time access is requested). [bitbucket-ssh]: https://confluence.atlassian.com/bitbucket/ssh-keys-935365775.html [config-gui-prompt]: configuration.md#credentialguiprompt [config-interactive]: configuration.md#credentialinteractive -[create-issue]: https://github.com/GitCredentialManager/git-credential-manager/issues/create +[create-issue]: https://github.com/git-ecosystem/git-credential-manager/issues/create [credstores]: credstores.md [download-and-install]: ../README.md#download-and-install [enable-windows-ssh]: https://support.microsoft.com/topic/update-to-enable-tls-1-1-and-tls-1-2-as-default-secure-protocols-in-winhttp-in-windows-c4bd73d2-31d7-761e-0178-11268bb10392 diff --git a/docs/github-apideprecation.md b/docs/github-apideprecation.md index f9201db0a..6a54a7a40 100644 --- a/docs/github-apideprecation.md +++ b/docs/github-apideprecation.md @@ -128,7 +128,7 @@ the new token-based authentication requirements **DO NOT** apply to GHES: [gcm]: https://aka.ms/gcm [gcm-install]: ../README.md#download-and-install [gcm-latest]: https://aka.ms/gcm/latest -[gcm-new-issue]: https://github.com/GitCredentialManager/git-credential-manager/issues/new/choose +[gcm-new-issue]: https://github.com/git-ecosystem/git-credential-manager/issues/new/choose [gcm-windows]: https://github.com/microsoft/Git-Credential-Manager-for-Windows [git-windows]: https://git-scm.com/download/win [github-display-pat-image]: img/github-display-pat.png diff --git a/docs/gitlab.md b/docs/gitlab.md index 04b122e1c..4c1135e6b 100644 --- a/docs/gitlab.md +++ b/docs/gitlab.md @@ -58,7 +58,7 @@ git config --global credential.https://code.videolan.org.gitLabDevClientId f35c3 git config --global credential.https://code.videolan.org.gitLabDevClientSecret 631558ec973c5ef65b78db9f41103f8247dc68d979c86f051c0fe4389e1995e8 ``` -See also [issue #677](https://github.com/GitCredentialManager/git-credential-manager/issues/677). +See also [issue #677](https://github.com/git-ecosystem/git-credential-manager/issues/677). ## Preferences diff --git a/docs/hostprovider.md b/docs/hostprovider.md index 9a6e16412..25aaf3d85 100644 --- a/docs/hostprovider.md +++ b/docs/hostprovider.md @@ -343,7 +343,7 @@ take, but implementors SHOULD attempt to follow existing practices and styles. 1. [`System.CommandLine` API][github-dotnet-cli] -[gcm]: https://github.com/GitCredentialManager/git-credential-manager +[gcm]: https://github.com/git-ecosystem/git-credential-manager [github-dotnet-cli]: https://github.com/dotnet/command-line-api [hostprovider-base-class]: #26-hostprovider-base-class [references]: #references diff --git a/docs/install.md b/docs/install.md index b2ec0f440..026d1d135 100644 --- a/docs/install.md +++ b/docs/install.md @@ -236,6 +236,6 @@ dotnet tool uninstall -g git-credential-manager [gcm-wsl]: wsl.md [git-for-windows]: https://gitforwindows.org/ [git-for-windows-screenshot]: https://user-images.githubusercontent.com/5658207/140082529-1ac133c1-0922-4a24-af03-067e27b3988b.png -[latest-release]: https://github.com/GitCredentialManager/git-credential-manager/releases/latest +[latest-release]: https://github.com/git-ecosystem/git-credential-manager/releases/latest [linux-uninstall]: linux-fromsrc-uninstall.md [ms-wsl]: https://aka.ms/wsl# diff --git a/docs/rename.md b/docs/rename.md index b69e1c2f1..4d090cc69 100644 --- a/docs/rename.md +++ b/docs/rename.md @@ -156,10 +156,10 @@ or `manager` respectively. > helper that is configured, and overrides any helpers configured at the system/ > machine-wide level. -[rename-pr]: https://github.com/GitCredentialManager/git-credential-manager/pull/541 +[rename-pr]: https://github.com/git-ecosystem/git-credential-manager/pull/541 [rename-blog]: https://github.blog/2022-04-07-git-credential-manager-authentication-for-everyone/#universal-git-authentication -[gcm-org]: https://github.com/GitCredentialManager -[rename-ver]: https://github.com/GitCredentialManager/git-credential-manager/releases +[gcm-org]: https://github.com/git-ecosystem +[rename-ver]: https://github.com/git-ecosystem/git-credential-manager/releases [git-windows]: https://git-scm.com/download/win [gcm-latest]: https://aka.ms/gcm/latest [warnings]: #rename-transition diff --git a/src/linux/Packaging.Linux/install-from-source.sh b/src/linux/Packaging.Linux/install-from-source.sh index 903e6ede8..6cc767013 100755 --- a/src/linux/Packaging.Linux/install-from-source.sh +++ b/src/linux/Packaging.Linux/install-from-source.sh @@ -34,7 +34,7 @@ Git Credential Manager is licensed under the MIT License: https://aka.ms/gcm/lic [Nn]*) exit ;; - *) + *) echo "Please answer yes or no." ;; esac @@ -198,7 +198,7 @@ script_path="$(cd "$(dirname "$0")" && pwd)" toplevel_path="${script_path%/src/linux/Packaging.Linux}" if [ "z$script_path" = "z$toplevel_path" ] || [ ! -f "$toplevel_path/Git-Credential-Manager.sln" ]; then toplevel_path="$PWD/git-credential-manager" - test -d "$toplevel_path" || git clone https://github.com/GitCredentialManager/git-credential-manager + test -d "$toplevel_path" || git clone https://github.com/git-ecosystem/git-credential-manager fi if [ -z "$DOTNET_ROOT" ]; then diff --git a/src/shared/Core/Git.cs b/src/shared/Core/Git.cs index d83254413..45913ea67 100644 --- a/src/shared/Core/Git.cs +++ b/src/shared/Core/Git.cs @@ -190,7 +190,7 @@ public Process CreateProcess(string args) } // This code was originally copied from - // src/shared/GitCredentialManager/Authentication/AuthenticationBase.cs + // src/shared/Core/Authentication/AuthenticationBase.cs // That code is for GUI helpers in this codebase, while the below is for // communicating over Git's stdin/stdout helper protocol. The GUI helper // protocol will one day use a different IPC mechanism, whereas this code diff --git a/src/shared/DotnetTool/dotnet-tool.nuspec b/src/shared/DotnetTool/dotnet-tool.nuspec index b76a5659c..824fc677a 100644 --- a/src/shared/DotnetTool/dotnet-tool.nuspec +++ b/src/shared/DotnetTool/dotnet-tool.nuspec @@ -6,7 +6,7 @@ Secure, cross-platform Git credential storage with authentication to Azure Repos, GitHub, and other popular Git hosting services. git-credential-manager images\icon.png - https://raw.githubusercontent.com/GitCredentialManager/git-credential-manager/main/assets/gcm-transparent.png + https://raw.githubusercontent.com/git-ecosystem/git-credential-manager/main/assets/gcm-transparent.png diff --git a/src/shared/GitHub.Tests/GitHubAuthenticationTests.cs b/src/shared/GitHub.Tests/GitHubAuthenticationTests.cs index c22ad0b3a..7a8d18dad 100644 --- a/src/shared/GitHub.Tests/GitHubAuthenticationTests.cs +++ b/src/shared/GitHub.Tests/GitHubAuthenticationTests.cs @@ -49,7 +49,7 @@ public async Task GitHubAuthentication_GetAuthenticationAsync_TerminalPromptsDis Assert.Equal("Cannot prompt because terminal prompts have been disabled.", exception.Message); } - // reproduces https://github.com/GitCredentialManager/git-credential-manager/issues/453 + // reproduces https://github.com/git-ecosystem/git-credential-manager/issues/453 [Fact] public async Task GitHubAuthentication_GetAuthenticationAsync_Terminal() { diff --git a/src/shared/GitHub/GitHubHostProvider.cs b/src/shared/GitHub/GitHubHostProvider.cs index 6ee0e410c..7006afd4f 100644 --- a/src/shared/GitHub/GitHubHostProvider.cs +++ b/src/shared/GitHub/GitHubHostProvider.cs @@ -145,7 +145,7 @@ public override async Task GenerateCredentialAsync(InputArguments i // the PAT permissions manually on the web and then retry the Git operation. // We must store the PAT now so they can resume/repeat the operation with the same, // now SSO authorized, PAT. - // See: https://github.com/GitCredentialManager/git-credential-manager/issues/133 + // See: https://github.com/git-ecosystem/git-credential-manager/issues/133 Context.CredentialStore.AddOrUpdate(service, patCredential.Account, patCredential.Password); return patCredential; diff --git a/src/windows/Installer.Windows/Setup.iss b/src/windows/Installer.Windows/Setup.iss index 5f1a7c6ce..356c1fbd6 100644 --- a/src/windows/Installer.Windows/Setup.iss +++ b/src/windows/Installer.Windows/Setup.iss @@ -36,7 +36,7 @@ #define GcmPublisherUrl "https://www.github.com" #define GcmCopyright "Copyright (c) GitHub, Inc. and contributors" #define GcmUrl "https://aka.ms/gcm" -#define GcmReadme "https://github.com/GitCredentialManager/git-credential-manager/blob/main/README.md" +#define GcmReadme "https://github.com/git-ecosystem/git-credential-manager/blob/main/README.md" #define GcmRepoRoot "..\..\.." #define GcmAssets GcmRepoRoot + "\assets" #define GcmExe "git-credential-manager.exe"