Browse Source

Fix inconsistency name

This commit fixes inconsistency name from Boardtty to Boartty.

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

+ 4
- 4
boartty/app.py View File

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


+ 3
- 3
boartty/config.py View File

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


+ 1
- 1
boartty/mywid.py View File

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


+ 1
- 1
boartty/search/tokenizer.py View File

@ -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


+ 1
- 1
boartty/sync.py View File

@ -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


+ 1
- 1
setup.cfg View File

@ -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