Patchwork [5,of,5,website] templates: make current links to selenic.com use https

login
register
mail settings
Submitter Anton Shestakov
Date March 23, 2016, 6:02 a.m.
Message ID <81b1cc3de61957cb1b19.1458712939@neuro>
Download mbox | patch
Permalink /patch/14045/
State Accepted
Delegated to: Kevin Bullock
Headers show

Comments

Anton Shestakov - March 23, 2016, 6:02 a.m.
# HG changeset patch
# User Anton Shestakov <av6@dwimlabs.net>
# Date 1458712884 -28800
#      Wed Mar 23 14:01:24 2016 +0800
# Node ID 81b1cc3de61957cb1b19fa785145563220432a75
# Parent  b7b72808bbb3febf32a8086044f8db7dab04a991
templates: make current links to selenic.com use https
Sean Farley - March 23, 2016, 6:25 p.m.
Anton Shestakov <av6@dwimlabs.net> writes:

> # HG changeset patch
> # User Anton Shestakov <av6@dwimlabs.net>
> # Date 1458712884 -28800
> #      Wed Mar 23 14:01:24 2016 +0800
> # Node ID 81b1cc3de61957cb1b19fa785145563220432a75
> # Parent  b7b72808bbb3febf32a8086044f8db7dab04a991
> templates: make current links to selenic.com use https
>
> diff --git a/templates/frontpage.html b/templates/frontpage.html
> --- a/templates/frontpage.html
> +++ b/templates/frontpage.html
> @@ -39,7 +39,7 @@
>          <h3>Quick Start</h3>
>  
>          <p><em>Clone a project and push changes</em>
> -<pre>$ hg clone http://selenic.com/repo/hello
> +<pre>$ hg clone https://selenic.com/repo/hello
>  $ cd hello
>  $ (edit files)
>  $ hg add (new files)
> diff --git a/templates/quickstart/index.html b/templates/quickstart/index.html
> --- a/templates/quickstart/index.html
> +++ b/templates/quickstart/index.html
> @@ -7,7 +7,7 @@
>  <h2>Part 0: Instant usage</h2>
>  <p><em>(you know this from the main page)</em></p>
>  <p>Clone a project and create a patch </p>
> -<pre><code>$ hg clone http://selenic.com/repo/hello
> +<pre><code>$ hg clone https://selenic.com/repo/hello
>  $ cd hello
>  $ (edit files)
>  $ hg add (new files)
> diff --git a/templates/thepage/index.html b/templates/thepage/index.html
> --- a/templates/thepage/index.html
> +++ b/templates/thepage/index.html
> @@ -26,7 +26,7 @@
>  		<h2>License</h2>
>  		This page is licensed under the terms of the
>  		<a href="http://www.gnu.org/licenses/gpl-2.0.txt">GNU General Public License version 2</a> of the license.
> -		The <a href="http://www.selenic.com/hg-logo/">Mercurial logo</a> used on the page was designed by Cali Mastny.
> +		The <a href="https://www.selenic.com/hg-logo/">Mercurial logo</a> used on the page was designed by Cali Mastny.

Outside the scope of this patch but should we host this on mercurial-scm.org?
Pierre-Yves David - March 23, 2016, 6:27 p.m.
On 03/23/2016 11:25 AM, Sean Farley wrote:
>
> Anton Shestakov <av6@dwimlabs.net> writes:
>
>> # HG changeset patch
>> # User Anton Shestakov <av6@dwimlabs.net>
>> # Date 1458712884 -28800
>> #      Wed Mar 23 14:01:24 2016 +0800
>> # Node ID 81b1cc3de61957cb1b19fa785145563220432a75
>> # Parent  b7b72808bbb3febf32a8086044f8db7dab04a991
>> templates: make current links to selenic.com use https
>>
>> diff --git a/templates/frontpage.html b/templates/frontpage.html
>> --- a/templates/frontpage.html
>> +++ b/templates/frontpage.html
>> @@ -39,7 +39,7 @@
>>           <h3>Quick Start</h3>
>>
>>           <p><em>Clone a project and push changes</em>
>> -<pre>$ hg clone http://selenic.com/repo/hello
>> +<pre>$ hg clone https://selenic.com/repo/hello
>>   $ cd hello
>>   $ (edit files)
>>   $ hg add (new files)
>> diff --git a/templates/quickstart/index.html b/templates/quickstart/index.html
>> --- a/templates/quickstart/index.html
>> +++ b/templates/quickstart/index.html
>> @@ -7,7 +7,7 @@
>>   <h2>Part 0: Instant usage</h2>
>>   <p><em>(you know this from the main page)</em></p>
>>   <p>Clone a project and create a patch </p>
>> -<pre><code>$ hg clone http://selenic.com/repo/hello
>> +<pre><code>$ hg clone https://selenic.com/repo/hello
>>   $ cd hello
>>   $ (edit files)
>>   $ hg add (new files)
>> diff --git a/templates/thepage/index.html b/templates/thepage/index.html
>> --- a/templates/thepage/index.html
>> +++ b/templates/thepage/index.html
>> @@ -26,7 +26,7 @@
>>   		<h2>License</h2>
>>   		This page is licensed under the terms of the
>>   		<a href="http://www.gnu.org/licenses/gpl-2.0.txt">GNU General Public License version 2</a> of the license.
>> -		The <a href="http://www.selenic.com/hg-logo/">Mercurial logo</a> used on the page was designed by Cali Mastny.
>> +		The <a href="https://www.selenic.com/hg-logo/">Mercurial logo</a> used on the page was designed by Cali Mastny.
>
> Outside the scope of this patch but should we host this on mercurial-scm.org?

I would says so.

Patch

diff --git a/templates/frontpage.html b/templates/frontpage.html
--- a/templates/frontpage.html
+++ b/templates/frontpage.html
@@ -39,7 +39,7 @@ 
         <h3>Quick Start</h3>
 
         <p><em>Clone a project and push changes</em>
-<pre>$ hg clone http://selenic.com/repo/hello
+<pre>$ hg clone https://selenic.com/repo/hello
 $ cd hello
 $ (edit files)
 $ hg add (new files)
diff --git a/templates/quickstart/index.html b/templates/quickstart/index.html
--- a/templates/quickstart/index.html
+++ b/templates/quickstart/index.html
@@ -7,7 +7,7 @@ 
 <h2>Part 0: Instant usage</h2>
 <p><em>(you know this from the main page)</em></p>
 <p>Clone a project and create a patch </p>
-<pre><code>$ hg clone http://selenic.com/repo/hello
+<pre><code>$ hg clone https://selenic.com/repo/hello
 $ cd hello
 $ (edit files)
 $ hg add (new files)
diff --git a/templates/thepage/index.html b/templates/thepage/index.html
--- a/templates/thepage/index.html
+++ b/templates/thepage/index.html
@@ -26,7 +26,7 @@ 
 		<h2>License</h2>
 		This page is licensed under the terms of the
 		<a href="http://www.gnu.org/licenses/gpl-2.0.txt">GNU General Public License version 2</a> of the license.
-		The <a href="http://www.selenic.com/hg-logo/">Mercurial logo</a> used on the page was designed by Cali Mastny.
+		The <a href="https://www.selenic.com/hg-logo/">Mercurial logo</a> used on the page was designed by Cali Mastny.
 		It is licensed under the terms of the
 		<a href="http://www.gnu.org/licenses/gpl-2.0.txt">GNU General Public License version 2</a>