From ed66b3c1ecd61544ebe84fa7b970bcb7e2d91d21 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 30 May 2019 08:37:26 +0530 Subject: [PATCH] Prepare for release v3.9 --- CHANGELOG | 13 +++++++++++++ README.md | 20 +++++++++++++------- googler | 2 +- googler.1 | 2 +- packagecore.yaml | 14 ++++++++------ 5 files changed, 36 insertions(+), 15 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 2edb6ba..c555f1a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,16 @@ +googler 3.9 +2019-05-30 + +What's in? +- fix issue - `googler` showing "No results." +- show matched keywords in bold in result abstracts +- option `--colorize` for more control on colors +- better support for colors on Windows +- switch to CircleCI from Travis +- option `--noua` is deprecated (noop) and will be removed in future + +------------------------------------------------------------------------------- + googler 3.8 2019-03-27 diff --git a/README.md b/README.md index b2aa208..e3de606 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ To remove `googler` and associated docs, run To install the latest stable version, run - $ sudo curl -o /usr/local/bin/googler https://raw.githubusercontent.com/jarun/googler/v3.8/googler && sudo chmod +x /usr/local/bin/googler + $ sudo curl -o /usr/local/bin/googler https://raw.githubusercontent.com/jarun/googler/v3.9/googler && sudo chmod +x /usr/local/bin/googler You could then let googler upgrade itself by running @@ -167,10 +167,11 @@ Search keyword and option completion scripts for Bash, Fish and Zsh can be found #### Cmdline options ``` -usage: googler [-h] [-s N] [-n N] [-N] [-c TLD] [-l LANG] [-x] [-C] - [--colors COLORS] [-j] [-t dN] [-w SITE] [--unfilter] - [-p PROXY] [--noua] [--notweak] [--json] [--url-handler UTIL] - [--show-browser-logs] [--np] [-u] [--include-git] [-v] [-d] +usage: googler [-h] [-s N] [-n N] [-N] [-c TLD] [-l LANG] [-x] + [--colorize [{auto,always,never}]] [-C] [--colors COLORS] [-j] + [-t dN] [-w SITE] [--unfilter] [-p PROXY] [--noua] [--notweak] + [--json] [--url-handler UTIL] [--show-browser-logs] [--np] [-u] + [--include-git] [-v] [-d] [KEYWORD [KEYWORD ...]] Google from the command-line. @@ -187,7 +188,12 @@ optional arguments: e.g., 'in' for India -l LANG, --lang LANG display in language LANG -x, --exact disable automatic spelling correction - -C, --nocolor disable color output + --colorize [{auto,always,never}] + whether to colorize output; defaults to 'auto', which + enables color when stdout is a tty device; using + --colorize without an argument is equivalent to + --colorize=always + -C, --nocolor equivalent to --colorize=never --colors COLORS set output colors (see man page for details) -j, --first, --lucky open the first result in web browser and exit -t dN, --time dN time limit search [h5 (5 hrs), d5 (5 days), w5 (5 @@ -197,7 +203,7 @@ optional arguments: -p PROXY, --proxy PROXY tunnel traffic through an HTTP proxy; PROXY is of the form [http://][user:password@]proxyhost[:port] - --noua disable user agent + --noua legacy option (no effect) --notweak disable TCP optimizations and forced TLS 1.2 --json output in JSON format; implies --noprompt --url-handler UTIL custom script or cli utility to open results diff --git a/googler b/googler index 2328406..d969001 100755 --- a/googler +++ b/googler @@ -74,7 +74,7 @@ except ValueError: # Constants -_VERSION_ = '3.8' +_VERSION_ = '3.9' COLORMAP = {k: '\x1b[%sm' % v for k, v in { 'a': '30', 'b': '31', 'c': '32', 'd': '33', diff --git a/googler.1 b/googler.1 index f6dbc44..866a08d 100644 --- a/googler.1 +++ b/googler.1 @@ -1,4 +1,4 @@ -.TH "GOOGLER" "1" "27 Mar 2019" "Version 3.8" "User Commands" +.TH "GOOGLER" "1" "30 May 2019" "Version 3.9" "User Commands" .SH NAME googler \- Google from the command-line .SH SYNOPSIS diff --git a/packagecore.yaml b/packagecore.yaml index 003825d..dccb872 100644 --- a/packagecore.yaml +++ b/packagecore.yaml @@ -13,7 +13,7 @@ packages: deps: - python container: "archlinux/base" - centos7.2: + centos7.4: builddeps: - make deps: @@ -21,15 +21,12 @@ packages: commands: pre: - yum install epel-release - centos7.3: + centos7.5: builddeps: - make deps: - python - commands: - pre: - - yum install epel-release - centos7.4: + centos7.6: builddeps: - make deps: @@ -69,6 +66,11 @@ packages: - make deps: - python3 + fedora30: + builddeps: + - make + deps: + - python3 opensuse42.3: builddeps: - make