Fix inconsistency name

This commit fixes inconsistency name from Boardtty to Boartty.

Change-Id: I2a8509dcbab0e7c138f492c8d285af52b363b0e8
This commit is contained in:
Masayuki Igawa 2017-04-03 18:06:24 +09:00 committed by James E. Blair
parent 906afd8508
commit 1c08977787
6 changed files with 11 additions and 11 deletions

View File

@ -55,7 +55,7 @@ Welcome to Boartty!
To get started, you should subscribe to some projects. Press the "L" 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 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. automatically sync stories in your subscribed projects.
Press the F1 key anywhere to get help. Your terminal emulator may Press the F1 key anywhere to get help. Your terminal emulator may
@ -820,7 +820,7 @@ class App(object):
def version(): 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): class PrintKeymapAction(argparse.Action):
def __call__(self, parser, namespace, values, option_string=None): def __call__(self, parser, namespace, values, option_string=None):
@ -872,10 +872,10 @@ def main():
help='print the palette attribute names to stdout') help='print the palette attribute names to stdout')
parser.add_argument('--open', nargs=1, action=OpenChangeAction, parser.add_argument('--open', nargs=1, action=OpenChangeAction,
metavar='URL', 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', parser.add_argument('--version', dest='version', action='version',
version=version(), version=version(),
help='show Boardtty\'s version') help='show Boartty\'s version')
parser.add_argument('-p', dest='palette', default='default', parser.add_argument('-p', dest='palette', default='default',
help='color palette to use') help='color palette to use')
parser.add_argument('-k', dest='keymap', default='default', parser.add_argument('-k', dest='keymap', default='default',

View File

@ -163,7 +163,7 @@ class Config(object):
self.ssl_ca_path = server.get('ssl-ca-path', None) self.ssl_ca_path = server.get('ssl-ca-path', None)
if self.ssl_ca_path is not None: if self.ssl_ca_path is not None:
self.ssl_ca_path = os.path.expanduser(self.ssl_ca_path) 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 os.environ['REQUESTS_CA_BUNDLE'] = self.ssl_ca_path
# And this is to allow Git callouts # And this is to allow Git callouts
os.environ['GIT_SSL_CAINFO'] = self.ssl_ca_path os.environ['GIT_SSL_CAINFO'] = self.ssl_ca_path
@ -241,10 +241,10 @@ class Config(object):
def printSample(self): def printSample(self):
filename = 'share/boartty/examples' 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. 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. available in %s in the root of the installation.
For more information, please see the README. For more information, please see the README.

View File

@ -25,7 +25,7 @@ GLOBAL_HELP = (
(keymap.TOP_SCREEN, (keymap.TOP_SCREEN,
"Back to project list"), "Back to project list"),
(keymap.QUIT, (keymap.QUIT,
"Quit Boardtty"), "Quit Boartty"),
(keymap.STORY_SEARCH, (keymap.STORY_SEARCH,
"Search for stories"), "Search for stories"),
(keymap.LIST_HELD, (keymap.LIST_HELD,

View File

@ -17,7 +17,7 @@ import six
operators = { operators = {
'age': 'OP_AGE', 'age': 'OP_AGE',
'recentlyseen': 'OP_RECENTLYSEEN', # Boardtty extension 'recentlyseen': 'OP_RECENTLYSEEN', # Boartty extension
'story': 'OP_STORY', 'story': 'OP_STORY',
'owner': 'OP_OWNER', 'owner': 'OP_OWNER',
#'OP_OWNERIN', # needs local group membership #'OP_OWNERIN', # needs local group membership

View File

@ -1202,7 +1202,7 @@ class VacuumDatabaseTask(Task):
class Sync(object): class Sync(object):
def __init__(self, app, disable_background_sync): 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()) requests.utils.default_user_agent())
self.version = (0, 0, 0) self.version = (0, 0, 0)
self.offline = False self.offline = False

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = boartty name = boartty
summary = Boardtty is a console-based interface to Storyboard. summary = Boartty is a console-based interface to Storyboard.
description-file = description-file =
README.rst README.rst
author = OpenStack author = OpenStack