From be21880aeb6879e6c314f6e30d96378299a361c9 Mon Sep 17 00:00:00 2001 From: hubwriter Date: Tue, 24 Jan 2023 15:26:33 +0000 Subject: [PATCH 1/2] Make warning about not sharing your token more prominent (#34139) --- .../forwarding-ports-in-your-codespace.md | 6 +++++- data/reusables/codespaces/find-address-and-token.md | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/content/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace.md b/content/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace.md index d7db1f1767..996e65d49c 100644 --- a/content/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace.md +++ b/content/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace.md @@ -161,7 +161,11 @@ Copy the address and paste it somewhere for later use. 1. Copy the token. - Don't share this access token with anyone. + {% note %} + + **Important**: Don't share this access token with anyone. + + {% endnote %} 1. Exit the SSH session. diff --git a/data/reusables/codespaces/find-address-and-token.md b/data/reusables/codespaces/find-address-and-token.md index d7de6f38ef..df42991bf8 100644 --- a/data/reusables/codespaces/find-address-and-token.md +++ b/data/reusables/codespaces/find-address-and-token.md @@ -5,7 +5,7 @@ 1. Right-click the port you want to connect to and click **Copy Local Address**. ![Screenshot of 'Copy Local Address' in the right-click menu](/assets/images/help/codespaces/copy-local-address.png) - + 1. Paste the copied address somewhere for later use. ### Finding the GITHUB_TOKEN @@ -16,4 +16,8 @@ 1. Copy the token. - Don't share this access token with anyone. \ No newline at end of file + {% note %} + + **Important**: Don't share this access token with anyone. + + {% endnote %} \ No newline at end of file From 0100935fc486516a633fb78f9a0a7e39b50cb977 Mon Sep 17 00:00:00 2001 From: Matt Cooper Date: Tue, 24 Jan 2023 10:36:30 -0500 Subject: [PATCH 2/2] add deprecation notice for Subversion (#34143) Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com> --- .../accessing-github-using-two-factor-authentication.md | 2 ++ .../about-remote-repositories.md | 2 ++ .../subversion-properties-supported-by-github.md | 2 ++ .../support-for-subversion-clients.md | 2 ++ ...hat-are-the-differences-between-subversion-and-git.md | 2 ++ data/reusables/subversion/sunset.md | 9 +++++++++ 6 files changed, 19 insertions(+) create mode 100644 data/reusables/subversion/sunset.md diff --git a/content/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication.md b/content/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication.md index a7fd9222fe..ae38f6834a 100644 --- a/content/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication.md +++ b/content/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication.md @@ -96,6 +96,8 @@ Enabling 2FA doesn't change how you authenticate to {% data variables.product.pr ## Using two-factor authentication to access a repository using Subversion +{% data reusables.subversion.sunset %} + When you access a repository via Subversion, you must provide a {% data variables.product.pat_generic %} instead of entering your password. For more information, see "[Creating a {% data variables.product.pat_generic %}](/github/authenticating-to-github/creating-a-personal-access-token)." ## Troubleshooting diff --git a/content/get-started/getting-started-with-git/about-remote-repositories.md b/content/get-started/getting-started-with-git/about-remote-repositories.md index c1276038d8..efd9c0d1d7 100644 --- a/content/get-started/getting-started-with-git/about-remote-repositories.md +++ b/content/get-started/getting-started-with-git/about-remote-repositories.md @@ -88,6 +88,8 @@ You can also install {% data variables.product.prodname_cli %} to use {% data va {% ifversion not ghae %} ## Cloning with Subversion +{% data reusables.subversion.sunset %} + You can also use a [Subversion](https://subversion.apache.org/) client to access any repository on {% data variables.product.prodname_dotcom %}. Subversion offers a different feature set than Git. For more information, see "[What are the differences between Subversion and Git?](/github/importing-your-projects-to-github/what-are-the-differences-between-subversion-and-git)" You can also access repositories on {% data variables.product.prodname_dotcom %} from Subversion clients. For more information, see "[Support for Subversion clients](/github/importing-your-projects-to-github/support-for-subversion-clients)." diff --git a/content/get-started/importing-your-projects-to-github/working-with-subversion-on-github/subversion-properties-supported-by-github.md b/content/get-started/importing-your-projects-to-github/working-with-subversion-on-github/subversion-properties-supported-by-github.md index 363139fd97..65aae520f6 100644 --- a/content/get-started/importing-your-projects-to-github/working-with-subversion-on-github/subversion-properties-supported-by-github.md +++ b/content/get-started/importing-your-projects-to-github/working-with-subversion-on-github/subversion-properties-supported-by-github.md @@ -11,6 +11,8 @@ versions: ghec: '*' shortTitle: Properties supported by GitHub --- +{% data reusables.subversion.sunset %} + ## Executable files (`svn:executable`) We convert `svn:executable` properties by updating the file mode directly before adding it to the Git repository. diff --git a/content/get-started/importing-your-projects-to-github/working-with-subversion-on-github/support-for-subversion-clients.md b/content/get-started/importing-your-projects-to-github/working-with-subversion-on-github/support-for-subversion-clients.md index de2b2a2489..ef6e48a15a 100644 --- a/content/get-started/importing-your-projects-to-github/working-with-subversion-on-github/support-for-subversion-clients.md +++ b/content/get-started/importing-your-projects-to-github/working-with-subversion-on-github/support-for-subversion-clients.md @@ -13,6 +13,8 @@ shortTitle: Support for Subversion clients --- GitHub supports Subversion clients via the HTTPS protocol. We use a Subversion bridge to communicate svn commands to GitHub. +{% data reusables.subversion.sunset %} + ## Supported Subversion features on GitHub ### Checkout diff --git a/content/get-started/importing-your-projects-to-github/working-with-subversion-on-github/what-are-the-differences-between-subversion-and-git.md b/content/get-started/importing-your-projects-to-github/working-with-subversion-on-github/what-are-the-differences-between-subversion-and-git.md index 4215f53686..21dc8be86a 100644 --- a/content/get-started/importing-your-projects-to-github/working-with-subversion-on-github/what-are-the-differences-between-subversion-and-git.md +++ b/content/get-started/importing-your-projects-to-github/working-with-subversion-on-github/what-are-the-differences-between-subversion-and-git.md @@ -62,6 +62,8 @@ SVN is configured to assume that the history of a project never changes. Git all {% endtip %} +{% data reusables.subversion.sunset %} + ## Further reading - "[Subversion properties supported by GitHub](/articles/subversion-properties-supported-by-github)" diff --git a/data/reusables/subversion/sunset.md b/data/reusables/subversion/sunset.md new file mode 100644 index 0000000000..8b9f036ffe --- /dev/null +++ b/data/reusables/subversion/sunset.md @@ -0,0 +1,9 @@ +{% note %} + +**Note**: Subversion support will be removed from {% data variables.product.prodname_dotcom %} +on January 8, 2024. A future release of {% data variables.product.prodname_ghe_server %} after January 8, 2024 +will also remove Subversion support. To read more about this, see [the GitHub blog][svn-sunset-blog]. + +[svn-sunset-blog]: https://github.blog/2023-01-20-sunsetting-subversion-support/ + +{% endnote %}