Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 1.21 KB

File metadata and controls

28 lines (25 loc) · 1.21 KB

subversion-slack-bot

Install steps

  1. Clone repository
  2. Add Incoming WebHooks to your team in Slack (https://teamdomain.slack.com/apps/build/custom-integration - replace teamdomain with your team name in Slack)
  3. Make changes in https://github.com/dimadl/subversion-slack-bot/blob/master/subversion.py
    • Provide usernmame for SVN (variable username)
    • Provide password for SVN (variable password)
    • Provide path to the branch you want to track (variable barnch_path)
    • Provide WebHook URL (variable domain_url)
    • Provide full local path to the repository (variable pwd)
      e.g Linux: pwd = '/home/user/subversion-slack-bot'
  4. Make changes in https://github.com/dimadl/subversion-slack-bot/blob/master/run.sh

    Provide a full path to the python script (e.d python /home/user/subversion-slack-bot/subversion.py)

  5. Set up cron which will call run.sh script.

    e.g. */5 * * * * bash /home/user/subversion-slack-bot/run.sh - run.sh will be called every five minutes