-
Notifications
You must be signed in to change notification settings - Fork 61
Description
Hi there
Motivation / backstory
I'm interested to use this tool to send messages from Gitlab CI to our internal Matrix to report build success/failure.
Currently from the docs it appears to me that first run requires some interactive usage to configure home server. I see parameters for username and password but not home server.
(I see that the server is in the username, but from other Matrix clients I draw inference that these aren't always the same value.)
Once we have run interactive init it appears from docs we will be able to reuse the generated credentials.json until the token expires.
For this use case this would require interactive logins each week due to limited token lifetime on the target server. An automated login via password works on the target environment (tested with other clients) and is the solution I would like to implement with Matrix Commander.
Questions
Is it possible to automate (no interactive input) a username/password login? If so, am I missing documentation for a --homeserver
or --init
parameter? (#45 (comment))
I'm open to helping test or implement this, and happy to document usage of matrix-commander to send build/test notifications from Gitlab CI or GitHub Actions once I get it working.