Use https where possible
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Tolnay · committed by David Tolnay · parent 2306795 · Browse files · 16 files·+31 added−31 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
16 files+31 added−31 removed
- other:+31 added−31 removed
Provenance
- Commit
8f55d6d- Tree
5395192- Author
David Tolnay <dtolnay@gmail.com>- Committer
David Tolnay <dtolnay@gmail.com>- Parent
2306795
16 files changed+31 added−31 removed
modified:docs/content/2.download/default.yml+7 added-7 removed
14 unmodified lines1516171819192021222333 unmodified lines5758596061616263646540 unmodified lines10610710810911011111211311011111211311411511611711811912012112212312312412512612715 unmodified lines14 unmodified lines
### Linux
* jq 1.4 is in the official [Debian](http://packages.debian.org/jq) and * 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.3 is in the official33 unmodified lines [32-bit](https://github.com/stedolan/jq/releases/download/jq-1.3/jq-osx-x86).
### Solaris
* `pkgutil -i jq` in [OpenCSW](http://www.opencsw.org/p/jq) for Solaris * `pkgutil -i jq` in [OpenCSW](https://www.opencsw.org/p/jq) for Solaris 10+, Sparc and x86.
* jq 1.4 binaries for Solaris 11 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.4/jq-solaris11-64)40 unmodified lines To build it from a git clone, you'll need to install a few packages first:
* [Flex](http://flex.sourceforge.net/) * [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/) * [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](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](http://macports.org/). [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 --disable-maintainer-mode` instead of `./configure`. This flag says to use15 unmodified linesmodified:docs/content/3.manual/v1.3/manual.yml+2 added-2 removed
855 unmodified lines856 literal. The contents of the string literal will *not* be857 escaped. However, all interpolations made inside that string858 literal will be escaped. For instance,859 860- @uri "http://www.google.com/search?q=\(.search)"860+ @uri "https://www.google.com/search?q=\(.search)"861 862 will produce the following output for the input863 `{"search":"jq!"}`:864 865- http://www.google.com/search?q=jq%21865+ https://www.google.com/search?q=jq%21866 867 Note that the slashes, question mark, etc. in the URL are868 not escaped, as they were part of the string literal.869 401 unmodified linesmodified:docs/content/3.manual/v1.4/manual.yml+2 added-2 removed
1257 unmodified lines1258 literal. The contents of the string literal will *not* be1259 escaped. However, all interpolations made inside that string1260 literal will be escaped. For instance,1261 1262- @uri "http://www.google.com/search?q=\(.search)"1262+ @uri "https://www.google.com/search?q=\(.search)"1263 1264 will produce the following output for the input1265 `{"search":"what is jq?"}`:1266 1267- "http://www.google.com/search?q=what%20is%20jq%3f"1267+ "https://www.google.com/search?q=what%20is%20jq%3f"1268 1269 Note that the slashes, question mark, etc. in the URL are1270 not escaped, as they were part of the string literal.1271 401 unmodified linesmodified:docs/content/3.manual/manual.yml+2 added-2 removed
1695 unmodified lines1696 literal. The contents of the string literal will *not* be1697 escaped. However, all interpolations made inside that string1698 literal will be escaped. For instance,1699 1700- @uri "http://www.google.com/search?q=\(.search)"1700+ @uri "https://www.google.com/search?q=\(.search)"1701 1702 will produce the following output for the input1703 `{"search":"what is jq?"}`:1704 1705- "http://www.google.com/search?q=what%20is%20jq%3F"1705+ "https://www.google.com/search?q=what%20is%20jq%3F"1706 1707 Note that the slashes, question mark, etc. in the URL are1708 not escaped, as they were part of the string literal.1709 1196 unmodified linesmodified:docs/content/index/index.yml+2 added-2 removed
25 unmodified lines26 27 Go read the [tutorial](tutorial/) for more, or the [manual](manual/)28 for *way* more.29 30- Ask questions on [stackoverflow](http://stackoverflow.com/) using the [jq31- tag](http://stackoverflow.com/questions/tagged/jq), or on the30+ Ask questions on [stackoverflow](https://stackoverflow.com/) using the [jq31+ tag](https://stackoverflow.com/questions/tagged/jq), or on the32 [#jq](http://irc.lc/freenode/%23jq/) channel on33 [Freenode](https://webchat.freenode.net/).34 35 news:22 unmodified linesmodified:docs/templates/shared/_header.liquid+1 added-1 removed
17 unmodified lines18 </li>19 {% endfor %}20 <li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>21 <li><a href="https://github.com/stedolan/jq">Source</a></li>22- <li><a href="http://jqplay.org">Try online!</a></li>22+ <li><a href="https://jqplay.org">Try online!</a></li>23 <li><a href="https://raw.githubusercontent.com/stedolan/jq/master/NEWS">News</a></li>24 </ul>25 </div>26 </div>1 unmodified linemodified:docs/templates/index.liquid+1 added-1 removed
34 unmodified lines35 </ul>36 </div>37 38 <div class="btn-group">39- <a class="btn btn-primary" href="http://jqplay.org">39+ <a class="btn btn-primary" href="https://jqplay.org">40 Try online at jqplay.org!41 </a>42 </div>43 </div>34 unmodified linesmodified:docs/default_manpage.md+1 added-1 removed
7 unmodified lines8910111212131415166 unmodified lines7 unmodified lines
This version of `jq` was built without a manual, so this manpage is astub. 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:6 unmodified linesmodified:docs/README.md+1 added-1 removed
11 unmodified lines12 \curl -L https://get.rvm.io | bash -s stable --ruby=1.9.313 14 After that finishes installing, you'll need to make sure RVM is on15 your path by doing `source $HOME/.rvm/scripts/rvm`, or just opening a16-new shell. See <http://rvm.io> for more info on RVM.16+new shell. See <https://rvm.io> for more info on RVM.17 18 Once RVM is installed, you can install all the dependencies for jq's19 documentation build by running this from the `docs` directory:20 5 unmodified linesmodified:configure.ac+1 added-1 removed
1 m4_define([jq_version], m4_esyscmd_s([git describe --tags --dirty --match 'jq-*'|sed 's/^jq-//']))2 3 AC_INIT([jq], [jq_version], [https://github.com/stedolan/jq/issues],4- [jq], [http://stedolan.github.io/jq])4+ [jq], [https://stedolan.github.io/jq])5 6 m4_include([m4/ax_compare_version.m4])7 m4_include([m4/ax_prog_bison_version.m4])8 213 unmodified linesmodified:COPYING+1 added-1 removed
23 unmodified lines24 jq's documentation (everything found under the docs/ subdirectory in25 the source tree) is licensed under the Creative Commons CC BY 3.026 license, which can be found at:27 28- http://creativecommons.org/licenses/by/3.0/28+ https://creativecommons.org/licenses/by/3.0/29 30 The documentation website includes a copy of Twitter's Boostrap and31 relies on Bonsai, Liquid templates and various other projects, look32 them up for detailed licensing conditions.38 unmodified linesmodified:jq.1.default+2 added-2 removed
1 .\" generated with Ronn/v0.7.32 .\" http://github.com/rtomayko/ronn/tree/0.7.33 .4-.TH "JQ" "1" "May 2013" "" ""4+.TH "JQ" "1" "August 2015" "" ""5 .6 .SH "NAME"7 \fBjq\fR \- Command\-line JSON processor8 .6 unmodified lines15 .IP "" 416 .17 .nf18 19-http://stedolan\.github\.com/jq19+https://stedolan\.github\.io/jq20 .21 .fi22 .23 .IP "" 016 unmodified linesmodified:jq.spec+1 added-1 removed
3 unmodified lines4 Name: jq5 Version: %{myver}6 Release: %{myrel}%{?dist}7 Source0: jq-%{myver}.tar.gz8-URL: http://stedolan.github.io/jq8+URL: https://stedolan.github.io/jq9 License: BSD10 AutoReqProv: no11 #BuildPrereq: autoconf, libtool, automake, flex, bison, python12 58 unmodified linesmodified:jv_print.c+1 added-1 removed
15 unmodified lines16 #define ESC "\033"17 #define COL(c) (ESC "[" c "m")18 #define COLRESET (ESC "[0m")19 20-// Colour table. See http://en.wikipedia.org/wiki/ANSI_escape_code#Colors20+// Colour table. See https://en.wikipedia.org/wiki/ANSI_escape_code#Colors21 // for how to choose these.22 static const jv_kind colour_kinds[] =23 {JV_KIND_NULL, JV_KIND_FALSE, JV_KIND_TRUE, JV_KIND_NUMBER,24 JV_KIND_STRING, JV_KIND_ARRAY, JV_KIND_OBJECT};324 unmodified linesmodified:main.c+2 added-2 removed
46 unmodified lines47 "\tThe simplest filter is ., which is the identity filter,\n"48 "\tcopying jq's input to its output unmodified (except for\n"49 "\tformatting).\n"50 "\tFor more advanced filters see the jq(1) manpage (\"man jq\")\n"51- "\tand/or http://stedolan.github.io/jq\n\n"51+ "\tand/or https://stedolan.github.io/jq\n\n"52 "\tSome of the options include:\n"53 "\t -c\t\tcompact instead of pretty-printed output;\n"54 "\t -n\t\tuse `null` as the single input value;\n"55 "\t -e\t\tset the exit status code based on the output;\n"12 unmodified lines68 }69 70 static void die() {71 fprintf(stderr, "Use %s --help for help with command-line options,\n", progname);72- fprintf(stderr, "or see the jq manpage, or online docs at http://stedolan.github.io/jq\n");72+ fprintf(stderr, "or see the jq manpage, or online docs at https://stedolan.github.io/jq\n");73 exit(2);74 }75 76 490 unmodified linesmodified:README.md+4 added-4 removed
2 unmodified lines3 4 jq is a command-line JSON processor.5 6 If you want to learn to use jq, read the documentation at7-[http://stedolan.github.io/jq](http://stedolan.github.io/jq). This7+[https://stedolan.github.io/jq](https://stedolan.github.io/jq). This8 documentation is generated from the docs/ folder of this repository.9-You can also try it online at [jqplay.org](http://jqplay.org).9+You can also try it online at [jqplay.org](https://jqplay.org).10 11 If you want to hack on jq, feel free, but be warned that its internals12 are not well-documented at the moment. Bring a hard hat and a13-shovel. Also, read the wiki: http://github.com/stedolan/jq/wiki13+shovel. Also, read the wiki: https://github.com/stedolan/jq/wiki14 15 Source tarball and built executable releases can be found on the16 homepage and on the github release page, https://github.com/stedolan/jq/releases17 42 unmodified lines60 61 Use the --host= and --target= ./configure options to select a62 cross-compilation environment. See also the wiki.63 64-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/).64+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/).