From 1c089777871e26e58519c2cbb9614fa4cfb55ed6 Mon Sep 17 00:00:00 2001 From: Masayuki Igawa Date: Mon, 3 Apr 2017 18:06:24 +0900 Subject: [PATCH] Fix inconsistency name This commit fixes inconsistency name from Boardtty to Boartty. Change-Id: I2a8509dcbab0e7c138f492c8d285af52b363b0e8 --- boartty/app.py | 8 ++++---- boartty/config.py | 6 +++--- boartty/mywid.py | 2 +- boartty/search/tokenizer.py | 2 +- boartty/sync.py | 2 +- setup.cfg | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/boartty/app.py b/boartty/app.py index 75a0d1b..c81fd42 100644 --- a/boartty/app.py +++ b/boartty/app.py @@ -55,7 +55,7 @@ Welcome to Boartty! To get started, you should subscribe to some projects. Press the "L" key (shift-L) to list all the projects, navigate to the ones you are -interested in, and then press "s" to subscribe to them. Boardtty will +interested in, and then press "s" to subscribe to them. Boartty will automatically sync stories in your subscribed projects. Press the F1 key anywhere to get help. Your terminal emulator may @@ -820,7 +820,7 @@ class App(object): def version(): - return "Boardtty version: %s" % boartty.version.version_info.release_string() + return "Boartty version: %s" % boartty.version.version_info.release_string() class PrintKeymapAction(argparse.Action): def __call__(self, parser, namespace, values, option_string=None): @@ -872,10 +872,10 @@ def main(): help='print the palette attribute names to stdout') parser.add_argument('--open', nargs=1, action=OpenChangeAction, metavar='URL', - help='open the given URL in a running Boardtty') + help='open the given URL in a running Boartty') parser.add_argument('--version', dest='version', action='version', version=version(), - help='show Boardtty\'s version') + help='show Boartty\'s version') parser.add_argument('-p', dest='palette', default='default', help='color palette to use') parser.add_argument('-k', dest='keymap', default='default', diff --git a/boartty/config.py b/boartty/config.py index dcecd2b..5cc8d5d 100644 --- a/boartty/config.py +++ b/boartty/config.py @@ -163,7 +163,7 @@ class Config(object): self.ssl_ca_path = server.get('ssl-ca-path', None) if self.ssl_ca_path is not None: self.ssl_ca_path = os.path.expanduser(self.ssl_ca_path) - # Boardtty itself uses the Requests library + # Boartty itself uses the Requests library os.environ['REQUESTS_CA_BUNDLE'] = self.ssl_ca_path # And this is to allow Git callouts os.environ['GIT_SSL_CAINFO'] = self.ssl_ca_path @@ -241,10 +241,10 @@ class Config(object): def printSample(self): filename = 'share/boartty/examples' - print("""Boardtty requires a configuration file at ~/.boartty.yaml + print("""Boartty requires a configuration file at ~/.boartty.yaml If the file contains a password then permissions must be set to 0600. -Several sample configuration files were installed with Boardtty and are +Several sample configuration files were installed with Boartty and are available in %s in the root of the installation. For more information, please see the README. diff --git a/boartty/mywid.py b/boartty/mywid.py index e35f427..e1b284f 100644 --- a/boartty/mywid.py +++ b/boartty/mywid.py @@ -25,7 +25,7 @@ GLOBAL_HELP = ( (keymap.TOP_SCREEN, "Back to project list"), (keymap.QUIT, - "Quit Boardtty"), + "Quit Boartty"), (keymap.STORY_SEARCH, "Search for stories"), (keymap.LIST_HELD, diff --git a/boartty/search/tokenizer.py b/boartty/search/tokenizer.py index 32d09f4..3726873 100644 --- a/boartty/search/tokenizer.py +++ b/boartty/search/tokenizer.py @@ -17,7 +17,7 @@ import six operators = { 'age': 'OP_AGE', - 'recentlyseen': 'OP_RECENTLYSEEN', # Boardtty extension + 'recentlyseen': 'OP_RECENTLYSEEN', # Boartty extension 'story': 'OP_STORY', 'owner': 'OP_OWNER', #'OP_OWNERIN', # needs local group membership diff --git a/boartty/sync.py b/boartty/sync.py index 088f90c..177ec7d 100644 --- a/boartty/sync.py +++ b/boartty/sync.py @@ -1202,7 +1202,7 @@ class VacuumDatabaseTask(Task): class Sync(object): def __init__(self, app, disable_background_sync): - self.user_agent = 'Boardtty/%s %s' % (boartty.version.version_info.release_string(), + self.user_agent = 'Boartty/%s %s' % (boartty.version.version_info.release_string(), requests.utils.default_user_agent()) self.version = (0, 0, 0) self.offline = False diff --git a/setup.cfg b/setup.cfg index e2ebe4d..eeacdba 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = boartty -summary = Boardtty is a console-based interface to Storyboard. +summary = Boartty is a console-based interface to Storyboard. description-file = README.rst author = OpenStack