cmogstored dev/user discussion/issues/patches/etc
 help / color / mirror / code / Atom feed
* [PATCH] doc: URL updates to reduce redirects and favor HTTPS
@ 2018-11-28  1:32 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2018-11-28  1:32 UTC (permalink / raw)
  To: cmogstored-public

HTTPS is usually more secure and redirects slow readers down.
---
 GNUmakefile               |  2 +-
 HACKING                   | 10 +++++-----
 INSTALL                   |  2 +-
 README                    |  5 ++---
 Rakefile                  |  2 +-
 bind_listen.c             |  2 +-
 build-aux/manpage-hack.mk |  2 +-
 cmogstored.x              |  6 +++---
 doc/queues.txt            |  2 +-
 util.h                    |  2 +-
 10 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 03452e5..07d01f5 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -13,5 +13,5 @@ test/slow.mk: $(RB_TESTS_SLOW) test/gen-slow.sh
 # the cmogstored.1 rule, as recursively building "cmogstored" breaks
 # parallel builds.  We also don't want to rely on users having help2man
 # installed, so we distribute the generated manpage from the tarball.
-# manpage-hack.mk is only in the git repo: git://bogomips.org/cmogstored
+# manpage-hack.mk is only in the git repo: https://bogomips.org/cmogstored.git
 -include build-aux/manpage-hack.mk
diff --git a/HACKING b/HACKING
index 3dd54c6..54acebf 100644
--- a/HACKING
+++ b/HACKING
@@ -8,12 +8,12 @@ user builds and installation, but highly recommended for hackers.
 * automake - https://www.gnu.org/software/automake/
 * Gnulib - https://www.gnu.org/software/gnulib/
 * help2man - https://www.gnu.org/software/help2man/
-* Ragel - http://www.colm.net/open-source/ragel/ (parser)
+* Ragel - https://www.colm.net/open-source/ragel/ (parser)
 * GNU make - https://www.gnu.org/software/make/
 * ruby - https://www.ruby-lang.org/en/
-* git - http://www.git-scm.com/
+* git - https://www.git-scm.com/
 
-$ git clone git://bogomips.org/cmogstored
+$ git clone https://bogomips.org/cmogstored.git
 $ cd cmogstored && ./autogen.sh
 
 Generally, the versions of these tools bundled with the latest
@@ -21,7 +21,7 @@ stable release of Debian GNU/Linux will work.
 
 For Gnulib, we will use the latest git checkouts from:
 
-	git://git.savannah.gnu.org/gnulib.git
+	https://git.savannah.gnu.org/git/gnulib.git
 
 We currently require gnulib commit 41d1b6c42641a5b9e21486ca2074198ee7909bd7
 ("mountlist: add support for deallocating returned list entries")
@@ -30,7 +30,7 @@ or later (from July 2013) for free_mount_entry support
 For gcov code coverage reports, we rely on "gcov2perl" and "cover"
 from the Devel::Cover Perl module:
 
-* Devel::Cover - http://search.cpan.org/dist/Devel-Cover/
+* Devel::Cover - https://metacpan.org/release/Devel-Cover
   Debian users may install the "libdevel-cover-perl" package.
 
 Additional development tools we use:
diff --git a/INSTALL b/INSTALL
index 6897fc5..acb12f1 100644
--- a/INSTALL
+++ b/INSTALL
@@ -43,7 +43,7 @@ libkqueue:
   ./configure CFLAGS="-g -O2 $(pkg-config libkqueue --cflags)" \
               LDFLAGS="$(pkg-config libkqueue --libs)"
 
-libkqueue is available here: http://sourceforge.net/projects/libkqueue/
+libkqueue is available here: https://sourceforge.net/projects/libkqueue/
 
 We will only support running on 100% Free Software platforms.
 
diff --git a/README b/README
index 1c1a289..d52d95b 100644
--- a/README
+++ b/README
@@ -6,7 +6,7 @@ component of MogileFS.  cmogstored is implemented in C and does not use
 Perl at runtime.  cmogstored is the only component you need to install
 on a MogileFS storage node.
 
-Read more about MogileFS here: http://mogilefs.org/
+Read more about MogileFS at https://github.com/mogilefs/MogileFS-Server
 cmogstored is not directly affiliated with the MogileFS project
 nor any commercial interests behind MogileFS.
 
@@ -82,9 +82,8 @@ See https://bogomips.org/cmogstored/NEWS for release notes
 Source code
 ===========
 
-* git clone git://bogomips.org/cmogstored.git
 * git clone https://bogomips.org/cmogstored.git
-* gitweb :: http://repo.or.cz/w/cmogstored.git
+* gitweb :: https://repo.or.cz/w/cmogstored.git
 
 License
 =======
diff --git a/Rakefile b/Rakefile
index 5db566e..999fb6a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -5,7 +5,7 @@ include Rake::DSL if defined?(Rake::DSL)
 
 url_base = "https://bogomips.org/cmogstored"
 cgit_url = url_base + '.git'
-git_url = 'git://bogomips.org/cmogstored.git'
+git_url = 'https://bogomips.org/cmogstored.git'
 
 def tags
   timefmt = '%Y-%m-%dT%H:%M:%SZ'
diff --git a/bind_listen.c b/bind_listen.c
index 013d385..0be9ddf 100644
--- a/bind_listen.c
+++ b/bind_listen.c
@@ -12,7 +12,7 @@
  * TCP_DEFER_ACCEPT is probably not worth using on Linux
  * ref:
  *   https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/134274
- *   http://labs.apnic.net/blabs/?p=57
+ *   https://labs.apnic.net/blabs/?p=57
  */
 
 static int set_tcp_opts(int fd, bool inherited)
diff --git a/build-aux/manpage-hack.mk b/build-aux/manpage-hack.mk
index 6ad21a9..f6c83b9 100644
--- a/build-aux/manpage-hack.mk
+++ b/build-aux/manpage-hack.mk
@@ -1,4 +1,4 @@
 # This makefile snippet is for maintainers only and _not_ distributed with
 # the tarball.
-# You should find this in the git repo (git://bogomips.org/cmogstored)
+# You should find this in the git repo (https://bogomips.org/cmogstored.git)
 $(dist_man_MANS): $(bin_PROGRAMS)
diff --git a/cmogstored.x b/cmogstored.x
index a13ccff..5de0392 100644
--- a/cmogstored.x
+++ b/cmogstored.x
@@ -8,7 +8,7 @@ The procedure is close to the one used by nginx users: send SIGUSR2
 followed by SIGQUIT to the old process.  Use of SIGWINCH and SIGHUP
 are currently not supported (but may be in the future).
 Procedures for the nginx upgrade are documented here:
-http://wiki.nginx.org/CommandLine#Upgrading_To_a_New_Binary_On_The_Fly
+https://www.nginx.com/resources/wiki/start/topics/tutorials/commandline/#upgrading-to-a-new-binary-on-the-fly
 
 [ENVIRONMENT]
 MOG_IOSTAT_CMD - command-line for invoking iostat(1).  This is used
@@ -57,8 +57,8 @@ There is NO WARRANTY, to the extent permitted by law.
 
 [SEE ALSO]
 cmogstored website: https://bogomips.org/cmogstored/README
-You can learn more about MogileFS: http://mogilefs.org/
+You can learn more about MogileFS at https://github.com/mogilefs/MogileFS-Server
 
 cmogstored source code is available via git:
 
-	git clone git://bogomips.org/cmogstored.git
+	git clone https://bogomips.org/cmogstored.git
diff --git a/doc/queues.txt b/doc/queues.txt
index fe8c3bb..813bd78 100644
--- a/doc/queues.txt
+++ b/doc/queues.txt
@@ -80,7 +80,7 @@ TCP_DEFER_ACCEPT itself is not used as it has some documented and
 unresolved issues:
 
   https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/134274
-  http://labs.apnic.net/blabs/?p=57
+  https://labs.apnic.net/blabs/?p=57
 
 (*) What about AIO?
 -------------------
diff --git a/util.h b/util.h
index 526eda3..152f5d5 100644
--- a/util.h
+++ b/util.h
@@ -72,7 +72,7 @@ static inline bool mog_pthread_create_retryable(const int err)
 {
 	/*
 	 * older versions of glibc return ENOMEM instead of EAGAIN
-	 * ref: http://www.sourceware.org/bugzilla/show_bug.cgi?id=386
+	 * ref: https://www.sourceware.org/bugzilla/show_bug.cgi?id=386
 	 * Remove the ENOMEM check by 2023 (unless other OSes have this
 	 * bug).
 	 */

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-28  1:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-28  1:32 [PATCH] doc: URL updates to reduce redirects and favor HTTPS Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/cmogstored.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).