Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rnd-soft/redgit
redmine git integration
https://github.com/rnd-soft/redgit
Last synced: about 7 hours ago
JSON representation
redmine git integration
- Host: GitHub
- URL: https://github.com/rnd-soft/redgit
- Owner: RND-SOFT
- Created: 2015-07-28T16:17:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-05T07:28:36.000Z (over 9 years ago)
- Last Synced: 2024-10-31T13:29:42.968Z (19 days ago)
- Language: Ruby
- Size: 164 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Redgit
Redgit is gem for commit-msg git hook redmine integration.It offers you opened issues and forces you to select one when you dealing with redmine project manager. Or just skip all if you put `refs #` in commit message.
## Example
### Setup```sh
jerry@jerry ~/devel/iteq/lk redgitИспользуйте: /home/jerry/bin/redgit setup [host = http://redmine.pro]
Отменено: Не задан проект или API-ключ.
```
```sh
jerry@jerry ~/devel/iteq/lk $ redgit setup prj 123d5a71aa1f5ae555dca88746daa337e9a28321
```### Update
```sh
redgit update
```### Usage
```ruby
jerry@jerry ~/devel/iteq/lk $ git commit -am "тестовый коммит"В сообщении не указан номер задачи в виде refs #XXX или fixes #XXX
=======================================
Трекер: http://redmine.pro Проект: prj
============Выберите задачу============
Последняя:
[1] 04 Aug 10:55 #4856 (НЕТ) ИС Личный Кабинет
Открытые:
[2] 04 Aug 10:55 #4856 (Работаю) ИС Личный Кабинет
[3] 04 Aug 07:33 #4846 (Работаю) Адаптация ИС Пророк под новую архитектуру.
> 2
[master 7346ec3] тестовый коммит refs #4856
1 file changed, 1 insertion(+)
```## Installation
### Gem
`gem install redgit`### Setup
`redgit setup [redmine host]`## Test
```ruby
jerry@jerry ~/devel/iteq/lk $ redgit issues
[2] 04 Aug 10:55 #4856 (Работаю) ИС Личный Кабинет
[3] 04 Aug 07:33 #4846 (Работаю) Адаптация ИС Пророк под новую архитектуру.
```## ToDo