Skip to content

Commit

Permalink
Prepare for release v1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Sep 3, 2019
1 parent c43e134 commit 956435a
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 6 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
ddgr v1.7
2018-09-03

What's in?
- Use setproctitle to set process name
- Monkeypatch textwrap for CJK wide characters
- Fix write to GNU Screen paste buffer
- Refresh current page on URL expansion toggle
- Smarter colorization and better support for native terminals on Windows
- Handle bangs in the form g!

-------------------------------------------------------------------------------

ddgr v1.6
2018-11-16

Expand Down
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,10 @@ Search keyword and option completion scripts for Bash, Fish and Zsh can be found
#### Cmdline options

```
usage: ddgr [-h] [-n N] [-r REG] [-C] [--colors COLORS] [-j] [-t SPAN]
[-w SITE] [-x] [-p URI] [-I] [--unsafe] [--noua] [--json] [--gb]
[--np] [--url-handler UTIL] [--show-browser-logs] [-v] [-d]
usage: ddgr [-h] [-n N] [-r REG] [--colorize [{auto,always,never}]] [-C]
[--colors COLORS] [-j] [-t SPAN] [-w SITE] [-x] [-p URI]
[--unsafe] [--noua] [--json] [--gb] [--np] [--url-handler UTIL]
[--show-browser-logs] [-v] [-d]
[KEYWORD [KEYWORD ...]]
DuckDuckGo from the terminal.
Expand All @@ -153,7 +154,12 @@ optional arguments:
shows actual number of results fetched per page
-r REG, --reg REG region-specific search e.g. 'us-en' for US (default);
visit https://duckduckgo.com/params
-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, --ducky open the first result in a web browser; implies --np
-t SPAN, --time SPAN time limit search [d (1 day), w (1 wk), m (1 month)]
Expand Down
22 changes: 20 additions & 2 deletions packagecore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,23 @@ packages:
deps:
- python
container: "archlinux/base"
centos7.3:
centos7.4:
builddeps:
- make
deps:
- python
commands:
pre:
- yum install epel-release
centos7.4:
centos7.5:
builddeps:
- make
deps:
- python
commands:
pre:
- yum install epel-release
centos7.6:
builddeps:
- make
deps:
Expand All @@ -34,6 +42,11 @@ packages:
- make
deps:
- python3
debian10:
builddeps:
- make
deps:
- python3
fedora26:
builddeps:
- make
Expand All @@ -54,6 +67,11 @@ packages:
- make
deps:
- python3
fedora30:
builddeps:
- make
deps:
- python3
opensuse42.3:
builddeps:
- make
Expand Down

14 comments on commit 956435a

@jarun
Copy link
Owner Author

@jarun jarun commented on 956435a Sep 3, 2019

Choose a reason for hiding this comment

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

@eclipseo, @maxice8, @pabloariasal, @szlin, @zmwangx ddgr v1.7 is released!

@eclipseo
Copy link
Contributor

Choose a reason for hiding this comment

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

Updated on F30 to F32. Added to EPEL7 and EPEL8.

@jarun
Copy link
Owner Author

@jarun jarun commented on 956435a Sep 12, 2019

Choose a reason for hiding this comment

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

Thank you!

@jarun
Copy link
Owner Author

@jarun jarun commented on 956435a Nov 30, 2019

Choose a reason for hiding this comment

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

@zmwangx can you please update ddgr to 1.7 on PyPi?

@zmwangx
Copy link
Contributor

Choose a reason for hiding this comment

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

Done. Two things:

  1. PyPI has had Markdown support for quite a while now. long_description should be changed to README.md content, with a new key long_description_content_type='text/markdown'.

  2. I'm glad to update this as long as I'm around, but just in case I disappear for an extended period of time like I did last time, would you like me to add you to https://pypi.org/project/ddgr/?

@jarun
Copy link
Owner Author

@jarun jarun commented on 956435a Nov 30, 2019

Choose a reason for hiding this comment

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

  1. That's nice! I'll update this now.

  2. Sure thing! Please add me. And don't worry. You'll be around longer than me to take care of these. ;)

@jarun
Copy link
Owner Author

@jarun jarun commented on 956435a Nov 30, 2019

Choose a reason for hiding this comment

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

Would it be long_description=README.md or long_description='README.md'? Or both work?

@zmwangx
Copy link
Contributor

@zmwangx zmwangx commented on 956435a Nov 30, 2019

Choose a reason for hiding this comment

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

Re long_description: it's more complicated than that, but you can basically copy the code from PyPA sample project and use it everywhere: https://github.com/pypa/sampleproject/blob/2cf198529c6c5a4fa50c28505ce6a90266b89868/setup.py#L17-L21. (PyPA sample project is universal and hence does a lot to accommodate py27. You can drop the io.open and encoding='utf-8' actually just keep that encoding, you never know about Windows).

Re adding to the PyPI project: I just need your PyPI username.

@jarun
Copy link
Owner Author

@jarun jarun commented on 956435a Nov 30, 2019

Choose a reason for hiding this comment

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

I just need your PyPI username: arunj

@zmwangx
Copy link
Contributor

Choose a reason for hiding this comment

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

Added.

@jarun
Copy link
Owner Author

@jarun jarun commented on 956435a Nov 30, 2019

Choose a reason for hiding this comment

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

Fixed at commit 50b9554.

@jarun
Copy link
Owner Author

@jarun jarun commented on 956435a Dec 21, 2019

Choose a reason for hiding this comment

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

@zmwangx what does it take to include the CHANGELOG and LICENSE in the PyPI package?

Can we simply add a MANIFEST.in (like https://github.com/jarun/pdd/blob/master/MANIFEST.in) and those will get uploaded?

@zmwangx
Copy link
Contributor

@zmwangx zmwangx commented on 956435a Dec 21, 2019

Choose a reason for hiding this comment

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

In addition to MANIFEST.in, I also recommend adding the license_file key to setuptools.setup.

@jarun
Copy link
Owner Author

@jarun jarun commented on 956435a Dec 21, 2019

Choose a reason for hiding this comment

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

Cool!

Please sign in to comment.