Redmine tools using Emacs OrgMode
Emacs Lisp Shell Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 12 commits behind hackers:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
LICENSE
LICENSE.ja
Makefile
README.ja.org
README.org
org-redmine.el
test.watchr

README.org

org-redmine

Overview

Install

Using git

  1. You can clone the git repository
    git clone git://github.com/hackers/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/hackers/org-redmine/master/org-redmine.el")

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

Setup

URL and key

;; 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")

;; REST API Key (optional). default nil
(setq org-redmine-api-key "xxxxxxxxxxxxxxxxxxxx")

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

Test

Require Emacs lisp

Setting

Edit test/run.sh

ORGMODE_DIR # path to org-mode
ANYTHING_DIR # path to anything
ELEXPECTATIONS_DIR # directory path to el-expectations.el
ELMOCK_DIR # directory path to el-mock.el

Run

$ make test

Autotest

Autotest used to watchr.

$ watchr test.watchr

When org-redmine.el and test/org-redmine-test.el are modified, run autotest.

LICENSE

This project is licensed under the MAHALO License. See LICENSE for details.