Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
407163f3
Verified
Commit
407163f3
authored
Jun 01, 2021
by
Jan Alexander Steffens (heftig)
Browse files
matrix: Move IRC bridge to Libera Chat
parent
7c2af159
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
docs/matrix.md
View file @
407163f3
...
...
@@ -7,17 +7,16 @@ integrations with third-party services.
## Signing in
For the initial sign-in you need to use a client that supports OpenID Single-Sign-On, such as
[
Element
Web
](
https://app.element.io/
)
. Enter
`@username:archlinux.org`
as the username and Element
should
offer to sign into our homeserver.
For the initial sign-in you need to use a client that supports OpenID Single-Sign-On, such as
[
Element
Web
](
https://app.element.io/
)
. Enter
`@username:archlinux.org`
as the username and Element
should
offer to sign into our homeserver.
You will be automatically invited to several rooms:
-
`#archlinux:archlinux.org`
: A public room for Arch Linux users.
-
`#staff:archlinux.org`
: Bridged with the
`#archlinux-staff`
IRC channel on Freenode.
-
`#internal:archlinux.org`
: A staff-only room with end-to-end encryption.
After sign
in
g
i
n you can use Element's settings to set a password for the account if you want to use
a client that does not support SSO
.
Password log
in i
s currently disabled, which might exclude some clients. It can be re-enabled should
demand exist
.
If you need to provide your client with a homeserver address, use
`https://matrix.archlinux.org`
.
...
...
@@ -25,21 +24,24 @@ If you need to provide your client with a homeserver address, use `https://matri
### Our bridge
We bridge several of our private IRC channels on
Freenode
to Matrix, which you need to be invited
We bridge several of our private IRC channels on
Libera Chat
to Matrix, which you need to be invited
into:
-
`#developers:archlinux.org`
: Bridged with
`#archlinux-dev`
.
-
`#trusted-users:archlinux.org`
: Bridged with
`#archlinux-tu`
.
-
`#staff:archlinux.org`
: Bridged with
`#archlinux-staff`
.
Please request an invitation in
`#internal:archlinux.org`
for the rooms you need to be in.
### Matrix.org bridge
Channels without keys are available via the
"
official
" Freenode bridge at Matrix.org
. For example:
-
`#
freenode_#
archlinux-devops:
matrix.org
`
: Bridged with
`#archlinux-devops`
.
-
`#
freenode_#
archlinux-projects:
matrix.org
`
: Bridged with
`#archlinux-projects`
.
Channels without keys are available via the official
Libera Chat bridge
. For example:
-
`#archlinux-devops:
libera.chat
`
: Bridged with
`#archlinux-devops`
.
-
`#archlinux-projects:
libera.chat
`
: Bridged with
`#archlinux-projects`
.
**
Please avoid joining large bridged rooms (such as
`#
freenode_#archlinux:matrix.org
`
), as these
slow down
the server immensely.
**
**
Please avoid joining large bridged rooms (such as
`#
archlinux:libera.chat
`
), as these
slow down
the server immensely.
**
Freenode may require you to have a registered nick to join certain channels. Once
`@appservice-irc:matrix.org`
contacts you, tell it to
`!storepass <username>:<password>`
with the
username and the password of your Freenode account and it will reconnect you as registered.
Libera Chat may require you to have a registered nick to join certain channels. Once
`@appservice:libera.chat`
contacts you, tell it
`!username <username>`
, then
`!storepass <password>`
with the username and the password of your Libera Chat NickServ account. Then
`!reconnect`
and it
will reconnect you as registered.
group_vars/all/vault_matrix.yml
View file @
407163f3
This diff is collapsed.
Click to expand it.
roles/matrix/templates/appservice-registration-irc.yaml.j2
View file @
407163f3
...
...
@@ -17,7 +17,7 @@ namespaces:
{
%
endfor %
}
rooms
:
{
%
for room in vault_matrix_secrets | json_query("irc_networks
[]
.mappings
[]
.room") %
}
{
%
for room in vault_matrix_secrets | json_query("irc_networks
[
?
!disabled
].mappings[].room
"
)
%}
-
exclusive:
false
regex:
'{{
room
|
regex_escape()
}}'
{%
endfor
%}
...
...
roles/matrix/templates/irc-bridge.yaml.j2
View file @
407163f3
...
...
@@ -47,7 +47,7 @@ ircService:
# All server keys can be hot-reloaded, however existing IRC connections
# will not have changes applied to them.
servers:
{% for network in vault_matrix_secrets
.irc_networks
%}
{% for network in vault_matrix_secrets
| json_query("irc_networks[?!disabled]")
%}
# The address of the server to connect to.
"{{ network.address }}":
# A human-readable short name. This is used to label IRC status rooms
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment