Giter Club home page Giter Club logo

autotwiki's Introduction

autotwiki

This script can be used to update your weekly status page in Twiki with the number of git commits, bug reports filed or closed, etc.

Pre-requisites

$ sudo apt-get install python-mechanize $ sudo mkdir -p /var/cache/autotwiki/repositories

Usage

The script assumes your status page can be edited at this URL:

/bin/edit//WeekStatus

The domain, team, and username settings are specified in a config file. A sample config file is included in this package; copy it to ~/.config/autotwiki/ and modify it with your own settings.

If your status page doesn't already exist, the script will create it using the template you point to in the "status-template" parameter in the config file. A sample status-template.html is included in this package, which you can copy to ~/.config/autotwiki/ and modify to your liking.

The script will only change the values in the Numbers section of the web page. Be aware that if you hand-modify these values and then re-run the script, it will overwrite your manual changes. However, if you delete lines (e.g. you know you won't be reporting bugs this week, so delete the Bugs reported line), the script will not re-add the missing line.

Also, at this point the script lacks any logic to set the numbers to anything sensible, but presumably you have some tools to generate whatever numbers you'd like to put there, which you can hook in at the appropriate section of the script. In the future perhaps we'll add a hooks functionality to make this easier to set up. For now, patches welcomed...

autotwiki's People

Contributors

bryceharrington avatar

Stargazers

 avatar

Watchers

 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.