From c91f11dd8f680e69bc3726ad5cb77a46fb905c7b Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 16 Feb 2018 07:37:19 +0530 Subject: [PATCH] Prepare for release v3.5 --- CHANGELOG | 12 ++++++++++++ README.md | 6 +++--- googler | 8 ++++---- googler.1 | 4 ++-- packagecore.yaml | 26 ++++++++++++++++++-------- 5 files changed, 39 insertions(+), 17 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index e881212..ac6af02 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,15 @@ +googler 3.5 +2018-02-16 + +What's in? +- URL folding to show only domain name +- Omniprompt key `c` to copy URL to clipboard +- Support env var `DISABLE_PROMPT_COLOR` to disable prompt color (see #203) + +Note: Python 3.3 reached EOL, will not be supported anymore. + +------------------------------------------------------------------------------- + googler 3.4 2017-10-02 diff --git a/README.md b/README.md index ab030c2..080d81f 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ before installation. #### Release packages -Packages for Arch Linux, CentOS, Debian, Fedora and Ubuntu are available with the [latest stable release](https://github.com/jarun/googler/releases/latest). +Packages for Arch Linux, CentOS, Debian, Fedora, openSUSE and Ubuntu are available with the [latest stable release](https://github.com/jarun/googler/releases/latest). #### From source @@ -131,7 +131,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.4/googler && sudo chmod +x /usr/local/bin/googler + $ sudo curl -o /usr/local/bin/googler https://raw.githubusercontent.com/jarun/googler/v3.5/googler && sudo chmod +x /usr/local/bin/googler You could then let googler upgrade itself by running @@ -427,7 +427,7 @@ Pull requests are welcome. Please visit [#209](https://github.com/jarun/googler/ ### Developers 1. Copyright © 2008 Henri Hakkinen -2. Copyright © 2015-2017 [Arun Prakash Jana](https://github.com/jarun) +2. Copyright © 2015-2018 [Arun Prakash Jana](https://github.com/jarun) 3. [Zhiming Wang](https://github.com/zmwangx) 4. [Johnathan Jenkins](https://github.com/shaggytwodope) 5. [SZ Lin](https://github.com/szlin) diff --git a/googler b/googler index 58cc3bf..66eae4a 100755 --- a/googler +++ b/googler @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # # Copyright © 2008 Henri Hakkinen -# Copyright © 2015-2017 Arun Prakash Jana +# Copyright © 2015-2018 Arun Prakash Jana # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -68,7 +68,7 @@ signal.signal(signal.SIGINT, sigint_handler) # Constants -_VERSION_ = '3.4' +_VERSION_ = '3.5' COLORMAP = {k: '\x1b[%sm' % v for k, v in { 'a': '30', 'b': '31', 'c': '32', 'd': '33', @@ -83,7 +83,7 @@ COLORMAP = {k: '\x1b[%sm' % v for k, v in { }.items()} # Disguise as Firefox on Ubuntu -USER_AGENT = ('Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0') +USER_AGENT = ('Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0') ua = True # User Agent is enabled by default text_browsers = ['elinks', 'links', 'lynx', 'w3m', 'www-browser'] @@ -2140,7 +2140,7 @@ class GooglerArgumentParser(argparse.ArgumentParser): file.write(textwrap.dedent(""" Version %s Copyright © 2008 Henri Hakkinen - Copyright © 2015-2017 Arun Prakash Jana + Copyright © 2015-2018 Arun Prakash Jana Zhiming Wang License: GPLv3 Webpage: https://github.com/jarun/googler diff --git a/googler.1 b/googler.1 index 60d6d8e..68aa170 100644 --- a/googler.1 +++ b/googler.1 @@ -1,4 +1,4 @@ -.TH "GOOGLER" "1" "2 Oct 2017" "Version 3.4" "User Commands" +.TH "GOOGLER" "1" "16 Feb 2018" "Version 3.5" "User Commands" .SH NAME googler \- Google from the command-line .SH SYNOPSIS @@ -398,7 +398,7 @@ Zhiming Wang .SH LICENSE Copyright \(co 2008 Henri Hakkinen .br -Copyright \(co 2015-2017 Arun Prakash Jana +Copyright \(co 2015-2018 Arun Prakash Jana .PP License GPLv3+: GNU GPL version 3 or later . .br diff --git a/packagecore.yaml b/packagecore.yaml index 9b5f694..e599776 100644 --- a/packagecore.yaml +++ b/packagecore.yaml @@ -12,11 +12,6 @@ packages: - make deps: - python - fedora26: - builddeps: - - make - deps: - - python3 centos7.3: builddeps: - make @@ -25,17 +20,32 @@ packages: commands: pre: - yum install epel-release - ubuntu16.04: + debian9: builddeps: - make deps: - python3 - ubuntu17.10: + fedora26: builddeps: - make deps: - python3 - debian9: + fedora27: + builddeps: + - make + deps: + - python3 + opensuse42.3: + builddeps: + - make + deps: + - python3 + ubuntu16.04: + builddeps: + - make + deps: + - python3 + ubuntu17.10: builddeps: - make deps: