Coder Social home page Coder Social logo

jirret's People

Contributors

annulen avatar hobbs avatar holidaylife avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jirret's Issues

Jirret may comment jira issues not present in commit subject line

Consider having two jira projects with ids like "ABC" and "BC". Then you create a commit with a subject line saying "ABC-1 bugfix for blah blah".

As a result two jira issues will be commented by jirret: ABC-1 and BC-1.

re.findall is too greedy.

issue_needle = '(%s-[0-9]+)'
matches = re.findall(issue_needle % p, issue_haystack)

Stop using 'gerrit query' via sshd

I've been told that when the hooks are called the working path is the git repo. So the script should just run normal git commands instead of using 'gerrit query' via the gerrit sshd.

This would make the setup of this hook simpler.

License?

What license are you placing this code under?

Link to JIRA issue in Gerrit commit messages

So for example, in this commit message:

SAT-666 fix bug that prevents hailing

The ticket ID, as displayed in Gerrit, would be replaced with a link to that ticket on JIRA. I don't know if Gerrit can be configured to do this (just for display… of course we wouldn't want the actual commit message to be changed), or if it's out of the scope of this project.

Auto update projects

It's a pain to have to ssh in and run "./jirret-process-hook update-projects", the script should probably auto update the projects periodically, or maybe it should just not store a list of projects on the FS, and just store them in memory.

Support python 2.4

Currently jirret seems to be running fine only when python 2.7 is installed.
Unfortunately standard installation for most production servers is python 2.4 :(

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.