GithubHelp home page GithubHelp logo

rore's Introduction

Build Status

Build Status

rore

A command line tool for working with Redmine

Requires a config file like:

[default]
url=https://redmine.yourorg.tld
key=7c6cnotarealkey2b198c24449cca20b61c95854
verify=1

The key required is your API key. You can find your API key on your account page ( /my/account ) when logged in, on the right-hand pane of the default layout. The verify option dictates whether to validate the certificate (Default is False if not present)

The config file should be located at ~/.rore.

Uses python-redmine

INSTALLATION

$ pip install rore

Or to install directly from checkout:

$ python setup.py build
$ python setup.py install

USAGE

$ rore issues --query
$ rore issues --create --project deploy --subject 'Deploy broken!'
$ rore projects --list

DOCUMENTATION

Nothing exists right now except for the help output.

$ rore --help
$ rore issues --help

TESTING

tox -r

CONTRIBUTING

License is Apache 2.0.

Pull requests welcome.

Find me in #rackspace-dev on Freenode as jmeridth

CREATED BY

Jesse Keating @iamjkeating jlk on freenode/irc

rore's People

Contributors

ahill00 avatar jkoelker avatar jmeridth avatar omgjlk avatar rconradharris avatar tr3buchet avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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

rore's Issues

Add ability to re-order child tasks

it'd take in a series of IDs
ID[0] is the parent, and everything else is the order the children should be
it should fail if you cite an ID that is not already a child

by default it is the order they were attached to the parent
so if you come up with an task that is really meant to be earlier in the list you have to:
disassociate everything after the new task from the parent
add the new task
add everything back
to get them in order

redmine works out the order based on 'lft' and 'rgt' (left and right) fields in the issues table in the database. I think the arrangement is parent.lft < child.lft < child.rgt < parent.rgt, and sibA.lft < sibB.lft == sibA.rgt < sibB.rgt. This seems to be what the "awesome_nested_set" plugin deals with... It in turn provides some functions like node.move_to_right_of(other) which should fix up the lft/rgt values appropriately so that 'node' comes immediately after 'other'. I can't see anywhere in redmine that that functionality is actually exposed though. I presume it could be added in a plugin... Doing the 'remove parent, add parent' thing to move the issue to being the last child works, except it also adds irritating notes in the history of each issue modified.

Handle unauthorized issues

Ran across an issue I wasn't authorized to see, when trying to print a relationship. Handle it there and in print_issue.

Output of “rore issues --close” isn't refreshed

When closing an issue with rore issues --close <ID>, the output shows the issue in its previous state (i.e. not "closed"). The operation is successful, however.

For example:

~ $ rore issues --close 1483
1483 ( https://redmine.ohthree.com/issues/1483 )
subject:     demo
type:        Epic
assigned to: UNASSIGNED
project:     Deployments
status:      New
completion:  0

~ $

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.