Giter Club home page Giter Club logo

debian-devel-changes-bot's Introduction

debian-devel-changes IRC bot
============================

Requirements:

 * Python >= 2.4
 * Beautiful Soup (python-beautifulsoup)
 * Supybot
 * Local MTA
 * lockfile-progs
 * python-btsutils

Installation
------------

  * Obtain a copy of the bot sources and place in an empty directory. We will
    refer to this dir as $SOURCE_DIR.

  * Ensure that
     - $SOURCE_DIR/bin/ is writable by the supybot user (so that it can create
       a FIFO)
     - $SOURCE_DIR/bin/lockfile/ is writable by your MTA

  * Create an email address which outputs mail directed to it to the STDIN of
    $SOURCE_DIR/bin/debian-devel-changes-bot.sh. Under Exim you can use the
    "pipe" transport for this.

    You should keep this email address secret so that 3rd-parties cannot inject
    specially crafted messages onto the channel.

  * Configure a Supybot instance using the "supybot-wizard" command. You are
    recommended to run this in the "bot-config" directory under $SOURCE_DIR (it
    will be ignored by the revision control system).

  * Add "$SOURCE_DIR/plugin" to the "supybot.directories.plugins" directive in
    your ".conf" file.

  * Run supybot $SOURCE_DIR/bot-config/<conffile>.conf to start the bot.

  * Call the following for every channel you wish the bot to emit change
    notices:
  
      !channel <#channel> supybot.plugins.DebianDevelChanges.show_changes True

  * Subscribe the bot to the following lists:

     - http://lists.debian.org/debian-devel-changes/
     - http://lists.debian.org/debian-bugs-dist/
     - http://lists.debian.org/debian-bugs-closed/
     - http://lists.debian.org/debian-security-announce/
     - http://lists.backports.org/mailman/listinfo/backports-changes

  * Configure the bot to start on bootup:

      @reboot supybot --daemon $SOURCE_DIR/bot-config/<conffile>.conf

  * (Optional) Disable spam checking for messages sent to the bot

debian-devel-changes-bot's People

Contributors

jonnylamb avatar lamby avatar pabs3 avatar yarikoptic avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.