stage | group | info |
---|---|---|
Manage |
Import and Integrate |
To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments |
DETAILS: Tier: Free, Premium, Ultimate Offering: GitLab.com, Self-managed, GitLab Dedicated
GitLab provides a way to push update messages to an irker server. After you configure the integration, each push to a project triggers the integration to send data directly to the irker server.
See also the irker integration API documentation.
For more information, see the irker project homepage.
You need to set up an irker daemon. To do so:
Download the irker code from its repository:
git clone https://gitlab.com/esr/irker.git
Run the Python script named irkerd
. This is the gateway script.
It acts both as an IRC client, for sending messages to an IRC server,
and as a TCP server, for receiving messages from the GitLab service.
If the irker server runs on the same machine, you are done. If not, you need to follow the first steps of the next section.
WARNING: irker does not have built-in authentication, which makes it vulnerable to spamming IRC channels if it is hosted outside of a firewall. To prevent abuse, make sure you run the daemon on a secured network. For more details, read Security analysis of irker.
irkerd
runs. If empty,
it defaults to localhost
.irkerd
. If empty, it defaults to 6659
.irc[s]://domain.name
.
It's prepended to every channel or user provided under Recipients, which is not a full URI.#channel1 user1
). For more details, see Enter irker recipients.If you left the Default IRC URI field empty, enter recipients as a full URI:
irc[s]://irc.network.net[:port]/#channel
. If you entered a default IRC URI there, you can use just
channel or user names.
To send messages:
#chan
), irker accepts channel names of the form chan
and
#chan
.?key=thesecretpassword
to the channel name,
with the channel password instead of thesecretpassword
. For example, chan?key=hunter2
.
Do not put the #
sign in front of the channel name. If you do, irker tries to join a
channel named #chan?key=password
and so it can leak the channel password through the
/whois
IRC command. This is due to a long-standing irker bug.,isnick
after the user name. For example, UserSmith,isnick
.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。