GithubHelp home page GithubHelp logo

ylc / svn_bugzilla_notify_script Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 2.0 219 KB

Script to change bug status and post info about commit based on svn commit message. Add to svn_post_commit hook to use

Python 100.00%

svn_bugzilla_notify_script's Introduction

Script to update bugzilla based on svn commit log message. 
This assumes that email_in.pl is set up to monitor the To: address. 

To use, customize the variables to_addr, from_addr and view_svn_url.
Call this script from your post_commit_hook by adding the following line:

/path/to/svn/hooks/post_commit_bugzilla_notify.py "$REPOS" "$REV"

It is  possible for the user  to specify a bug  id (or multiple  id's) and a
"command" which is used to  share information with bugzilla. For example, if
a user  writes in his commit  message "... ..  fixes bug 123 and  refers bug
456... ..."  then a  summary of the  commit will  be posted to  the bugzilla
pages of bug 123  and bug 456. Also, assuming that bug  123 is open, it will
be marked  as RESOLVED/FIXED. It is  also possible to specify  in the commit
log "reopens bug 123" and the  commit summary will be posted to bugzilla and
the bug 123 will be reopened (assuming a closed state).

This script is based on the trac-post-commit-hook by Stephen Hansen

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.