Commit Graph

35 Commits

Author SHA1 Message Date
Dave Gallant
11837addf1 Add poetry script as a replacement for console_scripts (#92)
After switching to poetry, the console script `rfd` was removed meaning the `rfd` command did not work.

This fixes the issue by using [poetry scripts](https://python-poetry.org/docs/pyproject/#scripts).
2021-05-03 18:22:02 -04:00
Dave Gallant
740312ee42 Add PyPI publish action (#91)
* Add PyPI publish action

* Use poetry

* Bump version to 0.7.0
2021-05-02 10:16:34 -04:00
Dave Gallant
258ca59bdf Bump to 0.6.0 (#82) 2020-08-16 19:34:09 -04:00
Dave Gallant
b30a3c5b66 Set default of threads command to 1 page and 40 threads (#80)
* Set default of threads command to 1 page and 40 threads

* Echo posts in a pager
2020-08-16 15:07:48 -04:00
Dave Gallant
cfd7e01e43 Add integration tests (#79)
Adds integration tests in pytest to detect breaking changes.
2020-08-15 20:55:10 -04:00
Dave Gallant
ee6939aafe feat: change output to echo via pager 2020-08-03 15:48:39 -04:00
Dave Gallant
ad4a072325 Simplify sort-by 'total_views' -> 'views' (#76) 2020-08-02 21:42:53 -04:00
Dave Gallant
20089bc699 Add --sort-by flag to threads sub-command (#75)
* Add --sort-by flag to threads sub-command

* Add some sanity test commands to tox
2020-08-02 19:30:04 -04:00
Dave Gallant
83d583d2b0 Make a display thread function for re-use (#74) 2020-07-15 21:48:58 -04:00
Dave Gallant
dbcdc01457 Cleanup CLI interface and allow for regular expressions in search (#68)
* Cleanup CLI interface and allow for regular expressions in search

* Put a cap on beautifulsoup4
2020-06-28 23:48:20 -04:00
Dave Gallant
2e507c1bfb Add view count to each thread (#53) 2019-12-17 23:04:27 -05:00
Dave Gallant
1fe2d876e5 release 0.3.3 (#44) 2019-10-17 22:56:35 -04:00
Dave Gallant
727babbe7d deploy only if tags (#43)
* add VERSION symlink

* deploy only on tags true
2019-10-17 22:50:52 -04:00
Dave Gallant
4fbeef7c60 fix PyPI deploy to only deploy condtionally (#40)
* deploy pypi conditionally (if branch = master)

* bump verison
2019-10-16 22:19:30 -04:00
Dave Gallant
53666c643f add pre-commit and enforce on travis (#37)
* add pre-commit and enforce on travis
2019-10-14 22:18:01 -04:00
Dave Gallant
096b0298ae make module executable (#34) 2019-10-08 11:41:36 -04:00
Dave Gallant
ac46f2ae27 add search command (#33)
* add search command
2019-10-04 21:06:53 -04:00
Dave Gallant
be92e5773d fix bug when iterating over all existing posts in a thread (#23)
* fix get posts

* remove tail/head and fix posts command
2019-09-15 23:21:40 -04:00
Dave Gallant
57d3983bb4 add dealer name to title in brackets (#22) 2019-09-15 00:26:16 -04:00
Dave Gallant
0965aa0507 cleanup setup.py (#16)
* cleanup setup.

* fix pylint.
2019-09-08 23:26:42 -04:00
Dave Gallant
a1b7b828ae add instructions for zsh (#15)
* add zsh tab completion to docs.

* new demo gif.
2018-10-28 22:10:18 -04:00
Dave Gallant
5b56e0d6c9 black files and remove version symlink. (#13) 2018-10-08 23:07:23 -04:00
Dave Gallant
56ab030423 Python37 (#12)
* add dist: xenial

* try travis fix with matrix include.

* remove unnecessary elif
2018-10-08 22:44:06 -04:00
Dave G
a814a290ac instructions tested and working now. 2018-07-14 22:36:13 -04:00
Dave G
9e382bfbbb readme instructions fix. 2018-07-14 22:29:42 -04:00
Dave Gallant
dcd7ad5838 tab completion instructions for bash and zsh (#11)
* instructions how to add completion.

* argument completion won't come until click 7.0

* version bump.

* drop 3.4 support.

* remove python 3.7

* new gif.

* new gif and use limit not count.
2018-07-14 22:21:32 -04:00
Dave Gallant
66b713e3cc Delete README.md 2018-07-05 11:25:55 -04:00
Dave G
b7f9205c8d display pypi badge in readme. 2018-06-19 10:18:33 -04:00
Dave Gallant
e63413f05a More pytests (#7)
* add constants.py

* more tests and robustness.

* try/catch JSONDecodedError.
2018-06-03 00:00:50 -04:00
Dave Gallant
5a1799bdf5 use minimum dependencies rather than specific hashes. (#6)
* use minimum dependencies rather than specific hashes.

* install specific version of pytest and install pylint.

* python 3.7 still not working.
2018-06-02 22:20:16 -04:00
Dave Gallant
26520c0693 fix 0 score bug and pip 10 requirements (#5)
* fix 0 score bug and pip 10 requirements

* calculate score for both topic and posts using same function.
2018-04-18 23:50:25 -04:00
Dave Gallant
7225d84f22 autogen requirements. (#4)
* autogen requirements.txt
2018-04-08 21:01:14 -04:00
Dave Gallant
803fa0affa Feature/display version (#2)
* --version and version displays the version
2018-03-14 00:58:39 -04:00
Dave Gallant
e5f2dd8bcb Fix count bugs (#1)
* tail/head working
* check if votes is null.
2018-03-12 23:59:31 -04:00
Dave G
c580bbd913 first commit. 2018-03-07 23:57:52 -05:00