From 1c0afc8a559abb0bb03a864b422d86c9e4447215 Mon Sep 17 00:00:00 2001 From: John Helmert Date: Sun, 9 Jun 2019 11:05:37 -0500 Subject: [PATCH] More adjustments for new maintainership --- CONTRIBUTING.rst | 2 +- rtv.1 | 5 +++-- rtv/__main__.py | 2 +- rtv/docs.py | 4 ++-- rtv/templates/index.html | 2 +- rtv/templates/mailcap | 2 +- rtv/templates/rtv.cfg | 2 +- scripts/rtv.1.template | 3 ++- setup.py | 6 +++--- tests/test_terminal.py | 4 ++-- 10 files changed, 17 insertions(+), 15 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 7e06784..217555a 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -5,7 +5,7 @@ Contributor Guidelines Before you start ================ -- Post an issue on the `tracker `_ describing the bug or feature you would like to add +- Post an issue on the `tracker `_ describing the bug or feature you would like to add - If an issue already exists, leave a comment to let others know that you intend to work on it Considerations diff --git a/rtv.1 b/rtv.1 index 7b100f1..7f94db4 100644 --- a/rtv.1 +++ b/rtv.1 @@ -1,4 +1,4 @@ -.TH "RTV" "1" "June 03, 2019" "Version 1.27.0" "Usage and Commands" +.TH "RTV" "1" "June 08, 2019" "Version 1.27.0" "Usage and Commands" .SH NAME RTV - Reddit Terminal Viewer .SH SYNOPSIS @@ -113,7 +113,8 @@ program to be installed. Web browser to use when opening links. Will fallback to \fI$BROWSER\fR. .SH AUTHOR Michael Lazar (2017). +John Helmert (2019). .SH BUGS -Report bugs to \fIhttps://github.com/michael-lazar/rtv/issues\fR +Report bugs to \fIhttps://gitlab.com/ajak/rtv/issues\fR .SH LICENSE The MIT License (MIT) diff --git a/rtv/__main__.py b/rtv/__main__.py index 2992d8f..a0b050a 100755 --- a/rtv/__main__.py +++ b/rtv/__main__.py @@ -264,7 +264,7 @@ def main(): debug_text, traceback.format_exc(), 'rtv has crashed. Please report this traceback at:', - 'https://github.com/michael-lazar/rtv/issues\n']) + 'https://gitlab.com/ajak/rtv/issues\n']) sys.stderr.write(exit_message) return 1 # General error exception code except KeyboardInterrupt: diff --git a/rtv/docs.py b/rtv/docs.py index b935f15..bdbc51b 100644 --- a/rtv/docs.py +++ b/rtv/docs.py @@ -2,7 +2,7 @@ from __future__ import unicode_literals AGENT = """\ -desktop:https://github.com/michael-lazar/rtv:{version}\ +desktop:https://github.com/ajak/rtv:{version}\ (by /u/civilization_phaze_3)\ """ @@ -26,7 +26,7 @@ HELP = """\ ==================================== Reddit Terminal Viewer -https://github.com/michael-lazar/rtv +https://github.com/ajak/rtv ==================================== [Basic Commands] diff --git a/rtv/templates/index.html b/rtv/templates/index.html index 20a0987..4a3e26a 100644 --- a/rtv/templates/index.html +++ b/rtv/templates/index.html @@ -26,6 +26,6 @@ ${message} - + diff --git a/rtv/templates/mailcap b/rtv/templates/mailcap index 9c6a9d5..61e8c1d 100644 --- a/rtv/templates/mailcap +++ b/rtv/templates/mailcap @@ -1,5 +1,5 @@ # Example mailcap file for Reddit Terminal Viewer -# https://github.com/michael-lazar/rtv/ +# https://gitlab.com/ajak/rtv/ # # Copy the contents of this file to {HOME}/.mailcap, or point to it using $MAILCAPS # Then launch RTV using the --enable-media flag. All shell commands defined in diff --git a/rtv/templates/rtv.cfg b/rtv/templates/rtv.cfg index 7b41489..7663164 100644 --- a/rtv/templates/rtv.cfg +++ b/rtv/templates/rtv.cfg @@ -1,5 +1,5 @@ ; Reddit Terminal Viewer Configuration File -; https://github.com/michael-lazar/rtv +; https://gitlab.com/ajak/rtv ; ; This file should be placed in $XDG_CONFIG/rtv/rtv.cfg ; If $XDG_CONFIG is not set, use ~/.config/rtv/rtv.cfg diff --git a/scripts/rtv.1.template b/scripts/rtv.1.template index c743d9b..9c36dc6 100644 --- a/scripts/rtv.1.template +++ b/scripts/rtv.1.template @@ -41,7 +41,8 @@ program to be installed. Web browser to use when opening links. Will fallback to \fI$BROWSER\fR. .SH AUTHOR Michael Lazar (2017). +John Helmert (2019). .SH BUGS -Report bugs to \fIhttps://github.com/michael-lazar/rtv/issues\fR +Report bugs to \fIhttps://gitlab.com/ajak/rtv/issues\fR .SH LICENSE {license} diff --git a/setup.py b/setup.py index c2beb54..5171bc5 100644 --- a/setup.py +++ b/setup.py @@ -49,9 +49,9 @@ setuptools.setup( description='A simple terminal viewer for Reddit (Reddit Terminal Viewer)', long_description=long_description(), long_description_content_type='text/markdown', - url='https://github.com/michael-lazar/rtv', - author='Michael Lazar', - author_email='lazar.michael22@gmail.com', + url='https://gitlab.com/ajak/rtv', + author='John Helmert III', + author_email='jchelmertt3@gmail.com', license='MIT', keywords='reddit terminal praw curses', packages=[ diff --git a/tests/test_terminal.py b/tests/test_terminal.py index dbea2ca..d3dda17 100644 --- a/tests/test_terminal.py +++ b/tests/test_terminal.py @@ -738,7 +738,7 @@ def test_terminal_get_link_page_text(terminal): {'href': 'https://www.reddit.com', 'text': 'Reddit Homepage'}, {'href': 'https://www.duckduckgo.com', 'text': 'Search Engine'}, { - 'href': 'https://github.com/michael-lazar/rtv', + 'href': 'https://gitlab.com/ajak/rtv', 'text': 'This project\'s homepage' } ] @@ -747,7 +747,7 @@ def test_terminal_get_link_page_text(terminal): assert text == dedent("""\ [0] [Reddit Homepage](https://www.reddit.com) [1] [Search Engine](https://www.duckduckgo.com) - [2] [This project's home…](https://github.com/michael-lazar/rtv) + [2] [This project's home…](https://gitlab.com/ajak/rtv) """)