https://github.com/noma4i/redmine_will_ship
Redmine Plugin to check tickets shipping status against harbors
https://github.com/noma4i/redmine_will_ship
git redmine-plugin tickets-shipped
Last synced: about 1 year ago
JSON representation
Redmine Plugin to check tickets shipping status against harbors
- Host: GitHub
- URL: https://github.com/noma4i/redmine_will_ship
- Owner: noma4i
- License: mit
- Created: 2016-05-10T06:31:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-24T01:13:25.000Z (about 10 years ago)
- Last Synced: 2025-04-22T08:13:36.894Z (about 1 year ago)
- Topics: git, redmine-plugin, tickets-shipped
- Language: Ruby
- Size: 116 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redmine WillShip Plugin
Plugin to give confidence to redmine users are tickets shipped to staging/production or not.
## Features
Plugin checks your staging/production and mark tickets shipped or not. It will try to find linked commits from issue in your git history stored as file at endpoint(harbor)
* You can select different rules like 'All commits should present' or 'At least ONE commit is present'
* Optional Custom Field is updated to 'Yes/No' based on harbors configuration.
* Commits will be marked with Tick if they are present on any destination
## SHOW TIME
### Plugin

### Setup Harbors to check

### Additional block in issues

### Using Custom Field

### Changes are marked as shipped

## Compatibility
- Tested with Redmine 2.5.x - 3.1.x
## Setup
### Installation
Clone it into under plugins folder:
````
$ git clone https://github.com/noma4i/redmine_will_ship.git will_ship
````
Install missing gems:
````
$ bundle install
````
Run bundle install:
````
$ bundle install
````
Run migrations:
````
$ rake redmine:plugins:migrate
````
### Configuration
First of all you will need to introduce special file, output of
````
$ git log --format="%H"
````
as endpoint.
Example:
````
http://example.com/will_ship.txt
````
containing
````
058fea8152237ade655b8363801bb32cdf888d30
df623f9452a2f644562d9dc830bd433cd423da24
c76ccda68c6ba16c744ec63161fe3d0f59431251
a08f2cbbb88cc3132b98e9542c07b92f67228acf
b0a61793bbb4e6762ef42f72aa9f6d6d59d36466
4547840ebabfee93628a1553123d5ed252f0825a
edd0fdb56469b1de3f2ba8961121ae252ac0accc
7aa141c077d64777fa8b2d71f1738f28b96ae0f6
20cc5cc5f58b341ae5397856240a535eaa7387dd
````
## Usage
Go to *Administration -> Will Ship* and create *harbors* to check
### Checking Harbors for ships
Plugin will try to check issue status on every issue update. You may want to setup cron job to run daily task
````
$ rake redmine:will_ship:check_harbors
````
This rake task will fetch updates for every issue which was created/updated 3 weeks ago(should be enough for most cases)
## Author
[Alexander Tsirel @noma4i](https://github.com/noma4i)
## Contribution Guide
Open Issue or send PR ;)