diff --git a/.circleci/config.yml b/.circleci/config.yml index c9449e5..ce08489 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,11 +17,6 @@ test-template: &test-template make test jobs: - py36: - docker: - - image: python:3.6-slim - <<: *test-template - py37: docker: - image: python:3.7-slim @@ -42,33 +37,33 @@ jobs: - image: python:3.10-slim <<: *test-template - package-and-publish: - machine: true - working_directory: ~/ddgr - steps: - - checkout - - run: - name: "package with packagecore" - command: | - # Use latest installed python3 from pyenv - export PYENV_VERSION="$(pyenv versions | grep -Po '\b3\.\d+\.\d+' | tail -1)" - pip install packagecore - packagecore -o ./dist/ ${CIRCLE_TAG#v} - - run: - name: "publish to GitHub" - command: | - go get github.com/tcnksm/ghr - ghr -t ${GITHUB_API_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace ${CIRCLE_TAG} ./dist/ +# package-and-publish: +# machine: true +# working_directory: ~/ddgr +# steps: +# - checkout +# - run: +# name: "package with packagecore" +# command: | +# # Use latest installed python3 from pyenv +# export PYENV_VERSION="$(pyenv versions | grep -Po '\b3\.\d+\.\d+' | tail -1)" +# pip install packagecore +# packagecore -o ./dist/ ${CIRCLE_TAG#v} +# - run: +# name: "publish to GitHub" +# command: | +# go get github.com/tcnksm/ghr +# ghr -t ${GITHUB_API_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace ${CIRCLE_TAG} ./dist/ workflows: version: 2 test: jobs: &all-tests - - py36 - py37 - py38 - py39 + - py310 nightly: triggers: @@ -80,11 +75,11 @@ workflows: - master jobs: *all-tests - publish-github-release: - jobs: - - package-and-publish: - filters: - tags: - only: /^v.*/ - branches: - ignore: /.*/ +# publish-github-release: +# jobs: +# - package-and-publish: +# filters: +# tags: +# only: /^v.*/ +# branches: +# ignore: /.*/ diff --git a/CHANGELOG b/CHANGELOG index 1daaca1..951f846 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,11 @@ +ddgr v2.0 +2022-03-05 + +- Display results in reversed order (`--rev`, `--reverse`) +- Support Python v3.10 (dropped v3.6) + +------------------------------------------------------------------------------- + ddgr v1.9 2020-07-26 diff --git a/README.md b/README.md index 59c0970..17d9ff5 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,6 @@ A big advantage of `ddgr` over `googler` is DuckDuckGo works over the Tor networ - [Installation](#installation) - [Dependencies](#dependencies) - [From a package manager](#from-a-package-manager) - - [Release packages](#release-packages) - [From source](#from-source) - [Running standalone](#running-standalone) - [Shell completion](#shell-completion) @@ -95,10 +94,6 @@ Unlisted packagers:

-#### Release packages - -Packages for Arch Linux, CentOS, Debian, Fedora, OpenSUSE Leap, Solus, and Ubuntu are available with the [latest stable release](https://github.com/jarun/ddgr/releases/latest). - #### From source If you have git installed, clone this repository. Otherwise download the [latest stable release](https://github.com/jarun/ddgr/releases/latest) or [development version](https://github.com/jarun/ddgr/archive/master.zip). @@ -163,6 +158,7 @@ optional arguments: --json output in JSON format; implies --np --gb, --gui-browser open a bang directly in gui browser --np, --noprompt perform search and exit, do not prompt + --rev, --reverse list entries in reversed order --url-handler UTIL custom script or cli utility to open results --show-browser-logs do not suppress browser output (stdout and stderr) -v, --version show program's version number and exit diff --git a/ddgr b/ddgr index ccc8faf..7abeb27 100755 --- a/ddgr +++ b/ddgr @@ -71,7 +71,7 @@ except ValueError: # Constants -_VERSION_ = '1.9' +_VERSION_ = '2.0' COLORMAP = {k: '\x1b[%sm' % v for k, v in { 'a': '30', 'b': '31', 'c': '32', 'd': '33', diff --git a/ddgr.1 b/ddgr.1 index 3c14096..738494b 100644 --- a/ddgr.1 +++ b/ddgr.1 @@ -1,4 +1,4 @@ -.TH "DDGR" "1" "21 Jul 2020" "Version 1.9" "User Commands" +.TH "DDGR" "1" "05 Mar 2022" "Version 2.0" "User Commands" .SH NAME ddgr \- DuckDuckGo from the terminal .SH SYNOPSIS