]> granicus.if.org Git - jq/commitdiff
Use https where possible
authorDavid Tolnay <dtolnay@gmail.com>
Sat, 15 Aug 2015 19:07:00 +0000 (12:07 -0700)
committerNicolas Williams <nico@cryptonector.com>
Sun, 16 Aug 2015 04:32:03 +0000 (23:32 -0500)
Conflicts:
docs/content/2.download/default.yml
docs/content/index/index.yml
docs/default_manpage.md
docs/templates/index.liquid
docs/templates/shared/_header.liquid

16 files changed:
COPYING
README.md
configure.ac
docs/README.md
docs/content/2.download/default.yml
docs/content/3.manual/manual.yml
docs/content/3.manual/v1.3/manual.yml
docs/content/3.manual/v1.4/manual.yml
docs/content/index/index.yml
docs/default_manpage.md
docs/templates/index.liquid
docs/templates/shared/_header.liquid
jq.1.default
jq.spec
jv_print.c
main.c

diff --git a/COPYING b/COPYING
index 03b0f56f7d59793c17a60fe2f3088a5d0b3dcc00..272659a34162faaa2dc6af9740d29091b435114d 100644 (file)
--- a/COPYING
+++ b/COPYING
@@ -25,7 +25,7 @@ jq's documentation (everything found under the docs/ subdirectory in
 the source tree) is licensed under the Creative Commons CC BY 3.0
 license, which can be found at:
 
-         http://creativecommons.org/licenses/by/3.0/
+         https://creativecommons.org/licenses/by/3.0/
 
 The documentation website includes a copy of Twitter's Boostrap and
 relies on Bonsai, Liquid templates and various other projects, look
index 37df7a4101c1361182727662d29b614552322998..cb0bbfa18b9558027afb74f6186f6065434a88b3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -4,13 +4,13 @@ jq
 jq is a command-line JSON processor.
 
 If you want to learn to use jq, read the documentation at
-[http://stedolan.github.io/jq](http://stedolan.github.io/jq).  This
+[https://stedolan.github.io/jq](https://stedolan.github.io/jq).  This
 documentation is generated from the docs/ folder of this repository.
-You can also try it online at [jqplay.org](http://jqplay.org).
+You can also try it online at [jqplay.org](https://jqplay.org).
 
 If you want to hack on jq, feel free, but be warned that its internals
 are not well-documented at the moment. Bring a hard hat and a
-shovel.  Also, read the wiki: http://github.com/stedolan/jq/wiki
+shovel.  Also, read the wiki: https://github.com/stedolan/jq/wiki
 
 Source tarball and built executable releases can be found on the
 homepage and on the github release page, https://github.com/stedolan/jq/releases
@@ -61,4 +61,4 @@ Cross-compilation requires a clean workspace, then:
 Use the --host= and --target= ./configure options to select a
 cross-compilation environment.  See also the wiki.
 
-Send questions to http://stackoverflow.com/questions/tagged/jq or to the #jq channel (http://irc.lc/freenode/%23jq/) on Freenode (https://webchat.freenode.net/).
+Send questions to https://stackoverflow.com/questions/tagged/jq or to the #jq channel (http://irc.lc/freenode/%23jq/) on Freenode (https://webchat.freenode.net/).
index d9057e396a83270c33bd6e0ae838fc03ca88d557..4bb436ee34d681f8171327ebe4c2b82ce0635734 100644 (file)
@@ -1,7 +1,7 @@
 m4_define([jq_version], m4_esyscmd_s([git describe --tags --dirty --match 'jq-*'|sed 's/^jq-//']))
 
 AC_INIT([jq], [jq_version], [https://github.com/stedolan/jq/issues],
-             [jq], [http://stedolan.github.io/jq])
+             [jq], [https://stedolan.github.io/jq])
 
 m4_include([m4/ax_compare_version.m4])
 m4_include([m4/ax_prog_bison_version.m4])
index 58e7dca775b146253c1ef5618a423c3651677a5b..a09779b9842179de5de9ffc1f8340981a2c6a341 100644 (file)
@@ -13,7 +13,7 @@ RVM and Ruby 1.9.3 like so:
 
 After that finishes installing, you'll need to make sure RVM is on
 your path by doing `source $HOME/.rvm/scripts/rvm`, or just opening a
-new shell. See <http://rvm.io> for more info on RVM.
+new shell. See <https://rvm.io> for more info on RVM.
 
 Once RVM is installed, you can install all the dependencies for jq's
 documentation build by running this from the `docs` directory:
index fc8e118237155fbf286c2124f5a308d5f133d201..c3b9efac1a83600afd342cd4f0d1f6794c76c490 100644 (file)
@@ -28,6 +28,10 @@ body:
          manually by following instructions on [Arch Linux's
          Wiki](https://wiki.archlinux.org/index.php/Arch_UseRepository).
 
+       * jq 1.4 is in the official [Debian](https://packages.debian.org/jq) and
+         [Ubuntu](http://packages.ubuntu.com/jq) repositories. Install using
+         `sudo apt-get install jq`.
+
        * jq 1.4 is [in Debian](http://packages.debian.org/jq)
 
        * jq 1.3.2 is in the official Fedora repository. You can install using
@@ -76,21 +80,21 @@ body:
       To build it from a git clone, you'll need to install a few
       packages first:
 
-       * [Flex](http://www.gnu.org/software/flex/)
-       * [Bison](http://www.gnu.org/software/bison/)
-       * [GCC](http://gcc.gnu.org)
-       * [Make](http://www.gnu.org/software/make)
-       * [Autotools](http://www.gnu.org/software/automake)
+       * [Flex](http://flex.sourceforge.net/)
+       * [Bison](https://www.gnu.org/software/bison/)
+       * [GCC](https://gcc.gnu.org)
+       * [Make](https://www.gnu.org/software/make/)
+       * [Autotools](https://www.gnu.org/software/automake/)
 
       For Linux systems, these will all be in your system's package
       manager, and if you do development on the machine they're most
       likely already installed.
 
-      On OS X, these are all included in Apple's command line tools, which
-      can be installed from [Xcode](http://developer.apple.com/technologies/tools/).
-      However, you may find that you need a newer version of Bison than the one provided
-      by Apple. This can be found in [Homebrew](http://mxcl.github.com/homebrew/)
-      or [MacPorts](http://macports.org/).
+      On OS X, these are all included in Apple's command line tools, which can
+      be installed from [Xcode](https://developer.apple.com/xcode/). However,
+      you may find that you need a newer version of Bison than the one provided
+      by Apple. This can be found in [Homebrew](http://brew.sh) or
+      [MacPorts](https://macports.org/).
 
       `flex` and `bison` are used to generate the lexer and parser for
       jq. For jq 1.5, neither is required if you use `./configure
index 3af61e65c592b58f280dbdde4155488751e787e7..7fd88f51d4654d7fc1a1f384f01befe49cb6f1a8 100644 (file)
@@ -1670,12 +1670,12 @@ sections:
           escaped. However, all interpolations made inside that string
           literal will be escaped. For instance,
 
-              @uri "http://www.google.com/search?q=\(.search)"
+              @uri "https://www.google.com/search?q=\(.search)"
 
           will produce the following output for the input
           `{"search":"what is jq?"}`:
 
-              "http://www.google.com/search?q=what%20is%20jq%3F"
+              "https://www.google.com/search?q=what%20is%20jq%3F"
 
           Note that the slashes, question mark, etc. in the URL are
           not escaped, as they were part of the string literal.
index 0f481451bb802e36231150824ce26467d62953ad..df7b7552f3e23667c5cb519ea4d7613afd89631a 100644 (file)
@@ -857,12 +857,12 @@ sections:
           escaped. However, all interpolations made inside that string
           literal will be escaped. For instance,
 
-              @uri "http://www.google.com/search?q=\(.search)"
+              @uri "https://www.google.com/search?q=\(.search)"
 
           will produce the following output for the input
           `{"search":"jq!"}`:
 
-              http://www.google.com/search?q=jq%21
+              https://www.google.com/search?q=jq%21
 
           Note that the slashes, question mark, etc. in the URL are
           not escaped, as they were part of the string literal.
index 3933b4d587ab708b5f2dbbdc4b926c7a650e8fbf..edad0fc66ad8ecc1db3a180b6e45d30fea8273c7 100644 (file)
@@ -1259,12 +1259,12 @@ sections:
           escaped. However, all interpolations made inside that string
           literal will be escaped. For instance,
 
-              @uri "http://www.google.com/search?q=\(.search)"
+              @uri "https://www.google.com/search?q=\(.search)"
 
           will produce the following output for the input
           `{"search":"what is jq?"}`:
 
-              "http://www.google.com/search?q=what%20is%20jq%3f"
+              "https://www.google.com/search?q=what%20is%20jq%3f"
 
           Note that the slashes, question mark, etc. in the URL are
           not escaped, as they were part of the string literal.
index 241eb91fc4ae4562d6638127399654405ef176dc..6871e1a63a8d0b4e135df916dd55d8d79449fdfd 100644 (file)
@@ -25,10 +25,11 @@ body3: |
 tail: |
 
   Go read the [tutorial](tutorial/) for more, or the [manual](manual/)
-  for *way* more. Ask questions over on
-  [stackoverflow](http://stackoverflow.com/) using the [jq
-  tag](http://stackoverflow.com/questions/tagged/jq), or on the
-  [#jq](http://irc.lc/freenode/%23jq/) channel over on
+  for *way* more.
+
+  Ask questions on [stackoverflow](https://stackoverflow.com/) using the [jq
+  tag](https://stackoverflow.com/questions/tagged/jq), or on the
+  [#jq](http://irc.lc/freenode/%23jq/) channel on
   [Freenode](https://webchat.freenode.net/).
 
 news:
index 878b83669138cfb7431587dceb58305e140fe65c..7373b0cede4e267abccb17dd6bac42ca2997d86b 100644 (file)
@@ -9,8 +9,8 @@ reducing and otherwise mangling JSON documents.
 This version of `jq` was built without a manual, so this manpage is a
 stub. For full documentation of the `jq` language, see:
 
-    http://stedolan.github.io/jq
-    
+    https://stedolan.github.io/jq
+
 ## BUGS
 
 Presumably. Report them or discuss them at:
index 17b77b70eaa70885af9aff6ae730597e282d3e7d..94db1c36078664869897e7b33d0bfc72fb57bbd4 100644 (file)
@@ -26,7 +26,7 @@
             </div>
 
             <div class="btn-group" style="float:right">
-              <a class="btn btn-primary" href="http://jqplay.org">
+              <a class="btn btn-primary" href="https://jqplay.org">
                 Try online at jqplay.org!
               </a>
             </div>
index 33a430ce09af7b9ad91c67114bbfc0325b6fc838..d30ba5fef23487e3f1d1965c748d4c6440df589f 100644 (file)
@@ -17,7 +17,7 @@
           {% endfor %}
           <li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>
           <li><a href="https://github.com/stedolan/jq">Source</a></li>
-          <li><a href="http://jqplay.org">Try online!</a></li>
+          <li><a href="https://jqplay.org">Try online!</a></li>
           <li><a href="https://raw.githubusercontent.com/stedolan/jq/master/NEWS">News</a></li>
         </ul>
       </div>
index c556f79456926a93e66dcd26b4cf1d5046cff598..d02466af9aabade2e1e81e266df675b425ca90fc 100644 (file)
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "JQ" "1" "May 2013" "" ""
+.TH "JQ" "1" "August 2015" "" ""
 .
 .SH "NAME"
 \fBjq\fR \- Command\-line JSON processor
@@ -16,7 +16,7 @@ This version of \fBjq\fR was built without a manual, so this manpage is a stub\.
 .
 .nf
 
-http://stedolan\.github\.com/jq
+https://stedolan\.github\.io/jq
 .
 .fi
 .
diff --git a/jq.spec b/jq.spec
index 5731ec4700d726826bfe6b86ea108b873c3634ba..ffc9ef36a1b4e8845844e2be3698622bc11ad210 100644 (file)
--- a/jq.spec
+++ b/jq.spec
@@ -5,7 +5,7 @@ Name: jq
 Version: %{myver}
 Release: %{myrel}%{?dist}
 Source0: jq-%{myver}.tar.gz
-URL: http://stedolan.github.io/jq
+URL: https://stedolan.github.io/jq
 License: BSD
 AutoReqProv: no
 #BuildPrereq: autoconf, libtool, automake, flex, bison, python
index b16bf2693590dd789aacf1806bc76a4b8d772d1c..567c737a8c3256890ec991a75964caa6b6de29d6 100644 (file)
@@ -17,7 +17,7 @@
 #define COL(c) (ESC "[" c "m")
 #define COLRESET (ESC "[0m")
 
-// Colour table. See http://en.wikipedia.org/wiki/ANSI_escape_code#Colors
+// Colour table. See https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
 // for how to choose these.
 static const jv_kind colour_kinds[] =
   {JV_KIND_NULL,   JV_KIND_FALSE, JV_KIND_TRUE, JV_KIND_NUMBER,
diff --git a/main.c b/main.c
index a257b9fffb37185bda4ca8a16d34b07b31df7866..af162e0387c32f80d45be90194e465eaf4382cba 100644 (file)
--- a/main.c
+++ b/main.c
@@ -48,7 +48,7 @@ static void usage(int code) {
     "\tcopying jq's input to its output unmodified (except for\n"
     "\tformatting).\n"
     "\tFor more advanced filters see the jq(1) manpage (\"man jq\")\n"
-    "\tand/or http://stedolan.github.io/jq\n\n"
+    "\tand/or https://stedolan.github.io/jq\n\n"
     "\tSome of the options include:\n"
     "\t -c\t\tcompact instead of pretty-printed output;\n"
     "\t -n\t\tuse `null` as the single input value;\n"
@@ -69,7 +69,7 @@ static void usage(int code) {
 
 static void die() {
   fprintf(stderr, "Use %s --help for help with command-line options,\n", progname);
-  fprintf(stderr, "or see the jq manpage, or online docs  at http://stedolan.github.io/jq\n");
+  fprintf(stderr, "or see the jq manpage, or online docs  at https://stedolan.github.io/jq\n");
   exit(2);
 }