Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
Prepare for release v3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Feb 16, 2018
1 parent cbf74f8 commit c91f11d
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 17 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions googler
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
#
# Copyright © 2008 Henri Hakkinen
# Copyright © 2015-2017 Arun Prakash Jana <[email protected]>
# Copyright © 2015-2018 Arun Prakash Jana <[email protected]>
#
# 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
Expand Down Expand Up @@ -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',
Expand All @@ -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']
Expand Down Expand Up @@ -2140,7 +2140,7 @@ class GooglerArgumentParser(argparse.ArgumentParser):
file.write(textwrap.dedent("""
Version %s
Copyright © 2008 Henri Hakkinen
Copyright © 2015-2017 Arun Prakash Jana <[email protected]>
Copyright © 2015-2018 Arun Prakash Jana <[email protected]>
Zhiming Wang <[email protected]>
License: GPLv3
Webpage: https://github.com/jarun/googler
Expand Down
4 changes: 2 additions & 2 deletions googler.1
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -398,7 +398,7 @@ Zhiming Wang <[email protected]>
.SH LICENSE
Copyright \(co 2008 Henri Hakkinen
.br
Copyright \(co 2015-2017 Arun Prakash Jana <[email protected]>
Copyright \(co 2015-2018 Arun Prakash Jana <[email protected]>
.PP
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
.br
Expand Down
26 changes: 18 additions & 8 deletions packagecore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ packages:
- make
deps:
- python
fedora26:
builddeps:
- make
deps:
- python3
centos7.3:
builddeps:
- make
Expand All @@ -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:
Expand Down

3 comments on commit c91f11d

@jarun
Copy link
Owner Author

@jarun jarun commented on c91f11d Feb 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@szlin @shaggytwodope @zmwangx googler v3.5 is released!

@szlin
Copy link
Collaborator

@szlin szlin commented on c91f11d Feb 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jarun The new version of googler has been uploaded.

BTW, today is Chinese new year. Happy Chinese new year to all of you!

@jarun
Copy link
Owner Author

@jarun jarun commented on c91f11d Feb 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy Chinese New Year guys!!!

Please sign in to comment.