Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Switch github.com URIs to https

  • Loading branch information...
commit 4ae7657cfa5a6fdaa3f55d3213a29de47b774e8c 1 parent 4ee744b
@jtimberman authored
Showing with 12 additions and 12 deletions.
  1. +5 −5 githubredir.cgi
  2. +5 −5 githubredir.rb
  3. +2 −2 index.html
View
10 githubredir.cgi
@@ -84,7 +84,7 @@ class GitHubRedir
# Substitute '0~master' for 'master' - We added it (see @master
# initialization above) to prevent us from robbing uscan's attention
tag = 'master' if tag =~ /0~master/
- @result = 'http://github.com/%s/%s/tarball/%s' % [@author, @project, tag]
+ @result = 'https://github.com/%s/%s/tarball/%s' % [@author, @project, tag]
end
end
@@ -108,7 +108,7 @@ class GitHubRedir
private
def index_uri(branch='master')
- 'http://github.com/%s/%s/downloads' % [@author, @project]
+ 'https://github.com/%s/%s/downloads' % [@author, @project]
end
def html_for_tags(tags)
@@ -129,8 +129,8 @@ class GitHubRedir
end
def proj_info
- auth_link = '<a href="http://github.com/%s">%s</a>' % [@author, @author]
- proj_link = '<a href="http://github.com/%s/%s">%s</a>' %
+ auth_link = '<a href="https://github.com/%s">%s</a>' % [@author, @author]
+ proj_link = '<a href="https://github.com/%s/%s">%s</a>' %
[@author, @project, @project]
master_link = '<a href="%s">%s</a>' % [@master, 'Download tar.gz (snapshot)']
"<p>Author: #{auth_link}<br/>Project: #{proj_link}<br/>" +
@@ -143,7 +143,7 @@ class GitHubRedir
version downloading for automated QA in the Debian system.<br/>
Anybody who finds this system useful can freely use it, although you
might be better served by the rich, official <a
- href="http://github.com">GitHub.com</a> interface.<br/>
+ href="https://github.com">GitHub.com</a> interface.<br/>
For any questions regarding this script, please contact
<a href="mailto:gwolf@debian.org">Gunnar Wolf</a>.</p>)
end
View
10 githubredir.rb
@@ -84,7 +84,7 @@ def initialize(author, project, tag=nil)
# Substitute '0~master' for 'master' - We added it (see @master
# initialization above) to prevent us from robbing uscan's attention
tag = 'master' if tag =~ /0~master/
- @result = 'http://github.com/%s/%s/tarball/%s' % [@author, @project, tag]
+ @result = 'https://github.com/%s/%s/tarball/%s' % [@author, @project, tag]
end
end
@@ -108,7 +108,7 @@ def result
private
def index_uri(branch='master')
- 'http://github.com/%s/%s/downloads' % [@author, @project]
+ 'https://github.com/%s/%s/downloads' % [@author, @project]
end
def html_for_tags(tags)
@@ -129,8 +129,8 @@ def error_msg_for(what)
end
def proj_info
- auth_link = '<a href="http://github.com/%s">%s</a>' % [@author, @author]
- proj_link = '<a href="http://github.com/%s/%s">%s</a>' %
+ auth_link = '<a href="https://github.com/%s">%s</a>' % [@author, @author]
+ proj_link = '<a href="https://github.com/%s/%s">%s</a>' %
[@author, @project, @project]
master_link = '<a href="%s">%s</a>' % [@master, 'Download tar.gz (snapshot)']
"<p>Author: #{auth_link}<br/>Project: #{proj_link}<br/>" +
@@ -143,7 +143,7 @@ def redir_description
version downloading for automated QA in the Debian system.<br/>
Anybody who finds this system useful can freely use it, although you
might be better served by the rich, official <a
- href="http://github.com">GitHub.com</a> interface.<br/>
+ href="https://github.com">GitHub.com</a> interface.<br/>
For any questions regarding this script, please contact
<a href="mailto:gwolf@debian.org">Gunnar Wolf</a>.</p>)
end
View
4 index.html
@@ -15,7 +15,7 @@
<p>There is quite a bit of software whose upstream authors decide that,
as they are already using Git for development, the main distribution
-channel should be <a href="http://www.github.com/">GitHub</a> - This
+channel should be <a href="https://www.github.com/">GitHub</a> - This
allows, yes, for quite a bit of flexibility, which many authors have
taken advantage of.</p>
@@ -41,7 +41,7 @@
<p>This redirector is mainly meant to be consumed by uscan. Anybody
who finds this system useful can freely use it, although you might be
better served by the rich, official <a
-href="http://www.github.com">GitHub.com</a> interface. If source code
+href="https://www.github.com">GitHub.com</a> interface. If source code
is your thing, <a href="/githubredir.rb">grab the source here</a>.</p>
<h3>How to use this?</h3>
Please sign in to comment.
Something went wrong with that request. Please try again.