Change Humbug => Zulip in text/comments.
(imported from commit 2f9d73431ae40e1b9e9e11bc2f4f62f566ae758a)
This commit is contained in:
parent
42616682d5
commit
4cd4c6897b
29 changed files with 76 additions and 76 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright © 2013 Humbug, Inc.
|
||||
# Copyright © 2013 Zulip, Inc.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -49,9 +49,9 @@ def commit_notice_destination(repo, branch, commit):
|
|||
# Return None for cases where you don't want a notice sent
|
||||
return None
|
||||
|
||||
## If properly installed, the Humbug API should be in your import
|
||||
## If properly installed, the Zulip API should be in your import
|
||||
## path, but if not, set a custom path below
|
||||
HUMBUG_API_PATH = None
|
||||
|
||||
# This should not need to change unless you have a custom Humbug subdomain.
|
||||
# This should not need to change unless you have a custom Zulip subdomain.
|
||||
HUMBUG_SITE = "https://api.zulip.com"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Humbug notification post-receive hook.
|
||||
# Copyright © 2012-2013 Humbug, Inc.
|
||||
# Zulip notification post-receive hook.
|
||||
# Copyright © 2012-2013 Zulip, Inc.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013 Humbug, Inc
|
||||
* Copyright (c) 2013 Zulip, Inc
|
||||
*/
|
||||
|
||||
package org.humbug.jira
|
||||
|
@ -20,7 +20,7 @@ import org.apache.commons.httpclient.NameValuePair
|
|||
class HumbugListener extends AbstractIssueEventListener {
|
||||
Logger LOGGER = Logger.getLogger(HumbugListener.class.getName());
|
||||
|
||||
// The email address of one of the bots you created on your Humbug settings page.
|
||||
// The email address of one of the bots you created on your Zulip settings page.
|
||||
String humbugEmail = ""
|
||||
// That bot's API key.
|
||||
String humbugAPIKey = ""
|
||||
|
@ -113,7 +113,7 @@ class HumbugListener extends AbstractIssueEventListener {
|
|||
for (NameValuePair pair: parameters) {
|
||||
params += "\n" + pair.getName() + ":" + pair.getValue()
|
||||
}
|
||||
LOGGER.log(Level.SEVERE, "Error sending Humbug message:\n" + response + "\n\n" +
|
||||
LOGGER.log(Level.SEVERE, "Error sending Zulip message:\n" + response + "\n\n" +
|
||||
"We sent:" + params)
|
||||
}
|
||||
return response;
|
||||
|
|
|
@ -9,7 +9,7 @@ define contact{
|
|||
host_notification_commands notify-host-by-humbug
|
||||
}
|
||||
|
||||
# Humbug commands
|
||||
# Zulip commands
|
||||
define command {
|
||||
command_name notify-host-by-humbug
|
||||
command_line /usr/local/share/humbug/integrations/nagios/nagios-notify-humbug --stream=nagios --type="$NOTIFICATIONTYPE$" --host="$HOSTADDRESS$" --state="$HOSTSTATE$" --output="$HOSTOUTPUT$" --long-output="$LONGHOSTOUTPUT$"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright © 2013 Humbug, Inc.
|
||||
# Copyright © 2013 Zulip, Inc.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -49,9 +49,9 @@ def commit_notice_destination(path, commit):
|
|||
# Return None for cases where you don't want a notice sent
|
||||
return None
|
||||
|
||||
## If properly installed, the Humbug API should be in your import
|
||||
## If properly installed, the Zulip API should be in your import
|
||||
## path, but if not, set a custom path below
|
||||
HUMBUG_API_PATH = None
|
||||
|
||||
# This should not need to change unless you have a custom Humbug subdomain.
|
||||
# This should not need to change unless you have a custom Zulip subdomain.
|
||||
HUMBUG_SITE = "https://api.zulip.com"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Humbug notification post-commit hook.
|
||||
# Copyright © 2012-2013 Humbug, Inc.
|
||||
# Zulip notification post-commit hook.
|
||||
# Copyright © 2012-2013 Zulip, Inc.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright © 2012 Humbug, Inc.
|
||||
# Copyright © 2012 Zulip, Inc.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -21,7 +21,7 @@
|
|||
# THE SOFTWARE.
|
||||
|
||||
|
||||
# Humbug trac plugin -- sends humbugs when tickets change.
|
||||
# Zulip trac plugin -- sends humbugs when tickets change.
|
||||
#
|
||||
# Install by copying this file and humbug_trac_config.py to the trac
|
||||
# plugins/ subdirectory, customizing the constants in
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright © 2012 Humbug, Inc.
|
||||
# Copyright © 2012 Zulip, Inc.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -39,14 +39,14 @@ TRAC_BASE_TICKET_URL = "https://trac.example.com/ticket"
|
|||
# type, versions, description, resolution, summary, comment)
|
||||
#
|
||||
# The following is the list of fields which can be changed without
|
||||
# triggering a Humbug notification; change these to match your team's
|
||||
# triggering a Zulip notification; change these to match your team's
|
||||
# workflow.
|
||||
TRAC_NOTIFY_FIELDS = ["description", "summary", "resolution", "comment",
|
||||
"owner"]
|
||||
|
||||
## If properly installed, the Humbug API should be in your import
|
||||
## If properly installed, the Zulip API should be in your import
|
||||
## path, but if not, set a custom path below
|
||||
HUMBUG_API_PATH = None
|
||||
|
||||
# This should not need to change unless you have a custom Humbug subdomain.
|
||||
# This should not need to change unless you have a custom Zulip subdomain.
|
||||
HUMBUG_SITE = "https://api.zulip.com"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue