Code Monkey home page Code Monkey logo

org-redmine's Introduction

org-redmine

Build Status

Overview

Install

Using git

  1. You can clone the git repository

    $ git clone git://github.com/gongo/org-redmine.git
    
  2. Then add this to your ~/.emacs.el

    (add-to-list 'load-path "/path/to/org-redmine/")
    (require 'org-redmine)

Using auto-install

;; Eval this
(auto-install-from-url "https://raw.github.com/gongo/org-redmine/master/org-redmine.el")

;; Or run
;; M-x auto-install-from-url RET https://raw.github.com/gongo/org-redmine/master/org-redmine.el

Setup

URL (Required)

;; Target Redmine URI
;;   eg. Redmine Project
(setq org-redmine-uri "http://www.redmine.org")
;;   eg. Ruby Project
(setq org-redmine-uri "http://redmine.ruby-lang.org")

Authentication (Optional)

Presented in order of highest priority setting.

  1. REST API Key

    (setq org-redmine-auth-api-key "xxxxxxxxxxxxxxxxxxxx") ;; nil default
  2. username/password

    (setq org-redmine-auth-username "gongo")
    (setq org-redmine-auth-password "secret")
  3. use $HOME/.netrc

    ;; if t, read $HOME/.netrc
    (setq org-redmine-auth-netrc-use t) ;; nil default

Template Sequences

%-sequence mean
%as_i% assigned_to id
%as_n% assigned_to name
%au_i% author id
%au_n% author name
%c_i% category id
%c_n% category name
%c_date% created_on
%d% description
%done% done_ratio
%d_date% due_date
%i% issue id
%pr_i% priority id
%pr_n% priority name
%p_i% project id
%p_n% project name
%s_date% start_date
%s_i% status id
%s_n% status name
%s% subject
%t_i% tracker id
%t_n% tracker name
%u_date% updated_on
%v_n% fixed_version name
%v_i% fixed_version id

Template of insert subtree

;; default template
;; (defvar org-redmine-template-header "#%i% %s% :%t_n%:")
;; (defvar org-redmine-template-property nil)

;; * [#333] Subject :Tag:

(setq org-redmine-template-header "[%p_n%] #%i% %s% by %as_n%")
(setq org-redmine-template-property
      '(("assigned_to" . "%as_n%")
        ("version" . "%v_n%")))

;; * [ProjectName] #333 Subject by gongo
;;   :PROPERTIES:
;;   :assigned_to:  dududu
;;   :version: 1.2
;;   :END:

(setq org-redmine-template-header "[#%i%] %s%")
(setq org-redmine-template-property
      '(("project_name" . "%as_n%")))

;; * [#333] Subject
;;   :PROPERTIES:
;;   :project_name:  ProjectName
;;   :END:

See org-redmine.el for other % sequence list

LICENSE

MIT

org-redmine's People

Contributors

gongo avatar syohex avatar dmitryvk avatar yasuyk avatar

Watchers

Yanko Simeonoff avatar James Cloos 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.