diff --git a/api/integrations/git/post-receive b/api/integrations/git/post-receive index c11fe3601e..fd7a5f9207 100755 --- a/api/integrations/git/post-receive +++ b/api/integrations/git/post-receive @@ -35,7 +35,7 @@ import subprocess import os.path sys.path.insert(0, os.path.dirname(__file__)) -import humbug_git_config as config +import zulip_git_config as config if config.HUMBUG_API_PATH is not None: sys.path.append(config.HUMBUG_API_PATH) diff --git a/api/integrations/git/humbug_git_config.py b/api/integrations/git/zulip_git_config.py similarity index 100% rename from api/integrations/git/humbug_git_config.py rename to api/integrations/git/zulip_git_config.py diff --git a/api/integrations/svn/post-commit b/api/integrations/svn/post-commit index 0e1b69823e..de77c0348c 100755 --- a/api/integrations/svn/post-commit +++ b/api/integrations/svn/post-commit @@ -35,7 +35,7 @@ import os.path import pysvn sys.path.insert(0, os.path.dirname(__file__)) -import humbug_svn_config as config +import zulip_svn_config as config if config.HUMBUG_API_PATH is not None: sys.path.append(config.HUMBUG_API_PATH) diff --git a/api/integrations/svn/humbug_svn_config.py b/api/integrations/svn/zulip_svn_config.py similarity index 100% rename from api/integrations/svn/humbug_svn_config.py rename to api/integrations/svn/zulip_svn_config.py diff --git a/api/integrations/trac/humbug_trac.py b/api/integrations/trac/humbug_trac.py index f89d69e9e5..3478f4ea0c 100644 --- a/api/integrations/trac/humbug_trac.py +++ b/api/integrations/trac/humbug_trac.py @@ -23,9 +23,9 @@ # Zulip trac plugin -- sends humbugs when tickets change. # -# Install by copying this file and humbug_trac_config.py to the trac +# Install by copying this file and zulip_trac_config.py to the trac # plugins/ subdirectory, customizing the constants in -# humbug_trac_config.py, and then adding "humbug_trac" to the +# zulip_trac_config.py, and then adding "humbug_trac" to the # components section of the conf/trac.ini file, like so: # # [components] @@ -39,7 +39,7 @@ from trac.ticket import ITicketChangeListener import sys import os.path sys.path.insert(0, os.path.dirname(__file__)) -import humbug_trac_config as config +import zulip_trac_config as config if config.HUMBUG_API_PATH is not None: sys.path.append(config.HUMBUG_API_PATH) diff --git a/api/integrations/trac/humbug_trac_config.py b/api/integrations/trac/zulip_trac_config.py similarity index 100% rename from api/integrations/trac/humbug_trac_config.py rename to api/integrations/trac/zulip_trac_config.py diff --git a/bots/humbug_git_config.py b/bots/zulip_git_config.py similarity index 100% rename from bots/humbug_git_config.py rename to bots/zulip_git_config.py diff --git a/bots/humbug_trac_config.py b/bots/zulip_trac_config.py similarity index 100% rename from bots/humbug_trac_config.py rename to bots/zulip_trac_config.py diff --git a/servers/puppet/modules/zulip/manifests/trac.pp b/servers/puppet/modules/zulip/manifests/trac.pp index e128837cde..40409aff43 100644 --- a/servers/puppet/modules/zulip/manifests/trac.pp +++ b/servers/puppet/modules/zulip/manifests/trac.pp @@ -23,9 +23,9 @@ class zulip::trac { ensure => 'link', target => '/home/humbug/humbug/api/integrations/trac/humbug_trac.py', } - file { '/home/humbug/trac/plugins/humbug_trac_config.py': + file { '/home/humbug/trac/plugins/zulip_trac_config.py': ensure => 'link', - target => '/home/humbug/humbug/bots/humbug_trac_config.py', + target => '/home/humbug/humbug/bots/zulip_trac_config.py', } # TODO: Add downloading and installing trac at /home/humbug/trac diff --git a/templates/zerver/integrations.html b/templates/zerver/integrations.html index b3ad0347b6..f40ea53076 100644 --- a/templates/zerver/integrations.html +++ b/templates/zerver/integrations.html @@ -125,7 +125,7 @@
First, download and install our Python bindings and example scripts on your Git server.
-Next, open integrations/git/humbug_git_config.py
+      
Next, open integrations/git/zulip_git_config.py
       in your favorite editor, and change the following lines to
       specify the email address and API key for your Git bot:
You can also specify which pushes will result in
       notifications and to what stream the notifications will be sent
       by modifying the commit_notice_destination function
-      in humbug_git_config.py.  By default, pushes to
+      in zulip_git_config.py.  By default, pushes to
       the master and test-post-receive
       branches will result in a notification to
       stream commits.
Save integrations/git/humbug_git_config.py to
+      
Save integrations/git/zulip_git_config.py to
       the .git/hooks directory of your git
       repository.
First, download and install our Python
       bindings and example scripts on your Trac server. Next, open  Next, open  Copy   
         ^ Back to top
diff --git a/tools/post-receive b/tools/post-receive
index 551e42ae61..cff36a97ab 100755
--- a/tools/post-receive
+++ b/tools/post-receive
@@ -13,7 +13,7 @@
 # for the git hook, this means that we need to have a shared directory
 # containing (a symlink to) both the the for-distribution git hook and
 # the Zulip configuration; for the moment those are
-# bots/githook-post-receive and bots/humbug_git_config.py,
+# bots/githook-post-receive and bots/zulip_git_config.py,
 # respectively.  We need the intermediate symlink because the git hook
 # looks for its configuration in the directory that it sits in, and
 # api/integrations/git/ has the example configuration.
https://api.zulip.com/v1/external/pivotal?api_key=abcdefgh&s
         a binary or from source following
         the instructions
         on the pysvn website.
-        integrations/svn/humbug_svn_config.py
+        integrations/svn/zulip_svn_config.py
         and integrations/svn/post-commit from the API bindings
         directory to the hooks subdirectory of your SVN
         repository.humbug_svn_config.py in your favorite editor and
+        zulip_svn_config.py in your favorite editor and
         change the HUMBUG_USER and HUMBUG_API_KEY
         variables at the top of the file to the credentials for the bot you'd
         like to use for this integration.commits; if you'd prefer a different stream, change it
-        now in humbug_svn_config.py. Make sure that everyone
+        now in zulip_svn_config.py. Make sure that everyone
         interested in getting these post-commit Zulips is subscribed to that
         stream!https://api.zulip.com/v1/external/pivotal?api_key=abcdefgh&s
       integrations/trac/humbug_trac_config.py in
+      integrations/trac/zulip_trac_config.py in
       your favorite editor, and change the following lines to specify
       your bot's email address, API key, and where you'd like your
       notification messages to go (by default,
@@ -472,7 +472,7 @@ x      https://api.zulip.com/v1/external/pivotal?api_key=abcdefgh&s
 TRAC_BASE_TICKET_URL = "https://trac.example.com/ticket"
 
       integrations/trac/humbug_trac.py
-      and integrations/trac/humbug_trac_config.py into
+      and integrations/trac/zulip_trac_config.py into
       your Trac installation's plugins/
       subdirectory. Once you've done that, edit your Trac
       installation's conf/trac.ini to
@@ -495,7 +495,7 @@ x      https://api.zulip.com/v1/external/pivotal?api_key=abcdefgh&s
       for a while, you may want to customize which changes to tickets
       result in a Zulip notification using
       the TRAC_NOTIFY_FIELDS setting
-      in humbug_trac_config.py.zulip_trac_config.py.