Enterprise => Voyager.
(imported from commit 41b9a67301aeaf5fd40bbbb8f34a326ca98431fd)
This commit is contained in:
		
							parent
							
								
									25dbc68fea
								
							
						
					
					
						commit
						3d7c94c1a8
					
				
					 8 changed files with 10 additions and 10 deletions
				
			
		| 
						 | 
					@ -31,14 +31,14 @@ file is as follows:
 | 
				
			||||||
    key=<api key from the web interface>
 | 
					    key=<api key from the web interface>
 | 
				
			||||||
    email=<your email address>
 | 
					    email=<your email address>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
If you are using Zulip Enterprise, you should also add
 | 
					If you are using Zulip Voyager, you should also add
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    site=<your Zulip Enterprise server's URI>
 | 
					    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 Enterprise server on the command line.
 | 
					setting the Zulip Voyager 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).
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 Enterprise, set this to your Zulip Enterprise server
 | 
					# If you're using Zulip Voyager, set this to your Zulip Voyager server
 | 
				
			||||||
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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 Enterprise, set this to your Zulip Enterprise server
 | 
					# If you're using Zulip Voyager, set this to your Zulip Voyager server
 | 
				
			||||||
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,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 Enterprise, set this to your Zulip Enterprise server
 | 
					# If you're using Zulip Voyager, set this to your Zulip Voyager server
 | 
				
			||||||
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,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 Enterprise, set this to your Zulip Enterprise server
 | 
					# If you're using Zulip Voyager, set this to your Zulip Voyager server
 | 
				
			||||||
ZULIP_SITE = "https://api.zulip.com"
 | 
					ZULIP_SITE = "https://api.zulip.com"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 Enterprise, set this to your Zulip Enterprise server
 | 
					# If you're using Zulip Voyager, set this to your Zulip Voyager server
 | 
				
			||||||
ZULIP_SITE = "https://api.zulip.com"
 | 
					ZULIP_SITE = "https://api.zulip.com"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 Enterprise, set this to your Zulip Enterprise server
 | 
					# If you're using Zulip Voyager, set this to your Zulip Voyager server
 | 
				
			||||||
ZULIP_SITE = "https://api.zulip.com"
 | 
					ZULIP_SITE = "https://api.zulip.com"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 Enterprise server URI (if using Zulip Enterprise)",
 | 
					                     help="Zulip Voyager server URI (if using Zulip Voyager)",
 | 
				
			||||||
                     default=None)
 | 
					                     default=None)
 | 
				
			||||||
    group.add_option('--%sapi-key' % (prefix,),
 | 
					    group.add_option('--%sapi-key' % (prefix,),
 | 
				
			||||||
                     dest="zulip_api_key",
 | 
					                     dest="zulip_api_key",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue