Browse Source

Fix inconsistency name

This commit fixes inconsistency name from Boardtty to Boartty.

Change-Id: I2a8509dcbab0e7c138f492c8d285af52b363b0e8
changes/48/452648/2
Masayuki Igawa 5 years ago
committed by James E. Blair
parent
commit
1c08977787
  1. 8
      boartty/app.py
  2. 6
      boartty/config.py
  3. 2
      boartty/mywid.py
  4. 2
      boartty/search/tokenizer.py
  5. 2
      boartty/sync.py
  6. 2
      setup.cfg

8
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',

6
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.

2
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,

2
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

2
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

2
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

Loading…
Cancel
Save