<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://blog.readthedocs.com</id>
  <title>Read the Docs Blog - Posts tagged github</title>
  <updated>2023-07-08T10:50:30.215673+00:00</updated>
  <link href="https://blog.readthedocs.com"/>
  <link href="https://blog.readthedocs.com/archive/tag/github/atom.xml" rel="self"/>
  <generator uri="https://ablog.readthedocs.org/" version="0.10.26">ABlog</generator>
  <entry>
    <id>https://blog.readthedocs.com/github-git-protocol-deprecation/</id>
    <title>Deprecation of the git:// protocol on GitHub</title>
    <updated>2022-03-01T00:00:00+00:00</updated>
    <author>
      <name>Santos Gallegos</name>
    </author>
    <content type="html">&lt;section id="deprecation-of-the-git-protocol-on-github"&gt;

&lt;p&gt;Last year, GitHub &lt;a class="reference external" href="https://github.blog/2021-09-01-improving-git-protocol-security-github/"&gt;announced&lt;/a&gt; the deprecation of the unsecured Git protocol due to security reasons.
This change will be made permanent on March 15, 2022.&lt;/p&gt;
&lt;p&gt;At Read the Docs we found around 900 projects using a Git protocol URL
(&lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;git://github.com/user/project&lt;/span&gt;&lt;/code&gt;) to clone their projects.
To save time for our users, we have migrated those to use the HTTPS cloning URL instead
(&lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;https://github.com/user/project&lt;/span&gt;&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;But there are other places where projects may be using a Git protocol URL,
like in submodules or dependencies. You’ll need to migrate those to use a supported
protocol in order for your builds to keep working after March 15, 2022.
In most cases, this means changing URLs that start with &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;git://&lt;/span&gt;&lt;/code&gt; to start with &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;https://&lt;/span&gt;&lt;/code&gt; instead.
If you have doubts, please check the documentation of the tools you are using,
for example:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://git-scm.com/docs/git-submodule/#Documentation/git-submodule.txt-set-url--ltpathgtltnewurlgt"&gt;Git submodule URLs&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://pip.pypa.io/en/stable/topics/vcs-support/#git"&gt;Pip VCS support&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you are trying to clone a repository using the Git protocol, you may see an error like this:&lt;/p&gt;
&lt;div class="highlight-default notranslate"&gt;&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;Cloning&lt;/span&gt; &lt;span class="n"&gt;into&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;testing&amp;#39;&lt;/span&gt;&lt;span class="o"&gt;...&lt;/span&gt;
&lt;span class="n"&gt;fatal&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;remote&lt;/span&gt; &lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="n"&gt;The&lt;/span&gt; &lt;span class="n"&gt;unauthenticated&lt;/span&gt; &lt;span class="n"&gt;git&lt;/span&gt; &lt;span class="n"&gt;protocol&lt;/span&gt; &lt;span class="n"&gt;on&lt;/span&gt; &lt;span class="n"&gt;port&lt;/span&gt; &lt;span class="mi"&gt;9418&lt;/span&gt; &lt;span class="ow"&gt;is&lt;/span&gt; &lt;span class="n"&gt;no&lt;/span&gt; &lt;span class="n"&gt;longer&lt;/span&gt; &lt;span class="n"&gt;supported&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;Please&lt;/span&gt; &lt;span class="n"&gt;see&lt;/span&gt; &lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;github&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;blog&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;2021&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;09&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;01&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;improving&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;protocol&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;security&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;github&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;more&lt;/span&gt; &lt;span class="n"&gt;information&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Note that this applies only to repositories hosted on GitHub&lt;/strong&gt;,
repositories using providers that support the Git protocol won’t be affected.&lt;/p&gt;
&lt;p&gt;Read the Docs tries to keep users informed about deprecations
and breaking changes that may impact projects.
To receive future updates like this, &lt;a class="reference external" href="https://landing.mailerlite.com/webforms/landing/p8b7z2"&gt;subscribe to our newsletter&lt;/a&gt;.&lt;/p&gt;
&lt;/section&gt;
</content>
    <link href="https://blog.readthedocs.com/github-git-protocol-deprecation/" rel="alternate"/>
    <summary>Last year, GitHub announced the deprecation of the unsecured Git protocol due to security reasons.
This change will be made permanent on March 15, 2022.At Read the Docs we found around 900 projects using a Git protocol URL
(git://github.com/user/project) to clone their projects.
To save time for our users, we have migrated those to use the HTTPS cloning URL instead
(https://github.com/user/project).</summary>
    <category term="github" label="github"/>
    <category term="git" label="git"/>
    <category term="deprecation" label="deprecation"/>
    <published>2022-03-01T00:00:00+00:00</published>
  </entry>
</feed>
