Fix a bunch of Zulip Voyager related comments.

(imported from commit 176e875cbc310ba00d6137930ddb718bd68f1866)
This commit is contained in:
Tim Abbott 2015-08-21 09:34:54 -07:00
parent 3d7c94c1a8
commit 41c2b62da0
8 changed files with 9 additions and 12 deletions

View file

@ -30,15 +30,12 @@ file is as follows:
[api] [api]
key=<api key from the web interface> key=<api key from the web interface>
email=<your email address> email=<your email address>
site=<your Zulip server's URI>
If you are using Zulip Voyager, you should also add
site=<your Zulip Voyager server's URI>
Alternatively, you may explicitly use "--user" and "--api-key" in our Alternatively, you may explicitly use "--user" and "--api-key" in our
examples, which is especially useful if you are running several bots examples, which is especially useful if you are running several bots
which share a home directory. There is also a "--site" option for which share a home directory. There is also a "--site" option for
setting the Zulip Voyager server on the command line. setting the Zulip server on the command line.
You can obtain your Zulip API key, create bots, and manage bots all You can obtain your Zulip API key, create bots, and manage bots all
from your Zulip [settings page](https://zulip.com/#settings). from your Zulip [settings page](https://zulip.com/#settings).

View file

@ -49,7 +49,7 @@ RESUME_FILE = "/var/tmp/zulip_asana.state"
# When initially started, how many hours of messages to include. # When initially started, how many hours of messages to include.
ASANA_INITIAL_HISTORY_HOURS = 1 ASANA_INITIAL_HISTORY_HOURS = 1
# If you're using Zulip Voyager, set this to your Zulip Voyager server # Set this to your Zulip API server URI
ZULIP_SITE = "https://api.zulip.com" ZULIP_SITE = "https://api.zulip.com"
# If properly installed, the Zulip API should be in your import # If properly installed, the Zulip API should be in your import

View file

@ -41,7 +41,7 @@ ZULIP_STREAM_NAME = "basecamp"
## path, but if not, set a custom path below ## path, but if not, set a custom path below
ZULIP_API_PATH = None ZULIP_API_PATH = None
# If you're using Zulip Voyager, set this to your Zulip Voyager server # Set this to your Zulip API server URI
ZULIP_SITE = "https://api.zulip.com" ZULIP_SITE = "https://api.zulip.com"
# If you wish to log to a file rather than stdout/stderr, # If you wish to log to a file rather than stdout/stderr,

View file

@ -50,7 +50,7 @@ ZULIP_TICKETS_STREAM_NAME = "tickets"
# path, but if not, set a custom path below # path, but if not, set a custom path below
ZULIP_API_PATH = None ZULIP_API_PATH = None
# If you're using Zulip Voyager, set this to your Zulip Voyager server # Set this to your Zulip API server URI
ZULIP_SITE = "https://api.zulip.com" ZULIP_SITE = "https://api.zulip.com"
# If you wish to log to a file rather than stdout/stderr, # If you wish to log to a file rather than stdout/stderr,

View file

@ -61,5 +61,5 @@ def format_commit_message(author, subject, commit_id):
## path, but if not, set a custom path below ## path, but if not, set a custom path below
ZULIP_API_PATH = None ZULIP_API_PATH = None
# If you're using Zulip Voyager, set this to your Zulip Voyager server # Set this to your Zulip server's API URI
ZULIP_SITE = "https://api.zulip.com" ZULIP_SITE = "https://api.zulip.com"

View file

@ -53,5 +53,5 @@ def commit_notice_destination(path, commit):
## path, but if not, set a custom path below ## path, but if not, set a custom path below
ZULIP_API_PATH = None ZULIP_API_PATH = None
# If you're using Zulip Voyager, set this to your Zulip Voyager server # Set this to your Zulip server's API URI
ZULIP_SITE = "https://api.zulip.com" ZULIP_SITE = "https://api.zulip.com"

View file

@ -47,5 +47,5 @@ TRAC_NOTIFY_FIELDS = ["description", "summary", "resolution", "comment", "owner"
## path, but if not, set a custom path below ## path, but if not, set a custom path below
ZULIP_API_PATH = None ZULIP_API_PATH = None
# If you're using Zulip Voyager, set this to your Zulip Voyager server # Set this to your Zulip API server URI
ZULIP_SITE = "https://api.zulip.com" ZULIP_SITE = "https://api.zulip.com"

View file

@ -97,7 +97,7 @@ def generate_option_group(parser, prefix=''):
group = optparse.OptionGroup(parser, 'Zulip API configuration') group = optparse.OptionGroup(parser, 'Zulip API configuration')
group.add_option('--%ssite' % (prefix,), group.add_option('--%ssite' % (prefix,),
dest="zulip_site", dest="zulip_site",
help="Zulip Voyager server URI (if using Zulip Voyager)", help="Zulip server URI",
default=None) default=None)
group.add_option('--%sapi-key' % (prefix,), group.add_option('--%sapi-key' % (prefix,),
dest="zulip_api_key", dest="zulip_api_key",