https://github.com/emsk/redmine_activity
Summarize one day's activities on Redmine.
https://github.com/emsk/redmine_activity
cli redmine ruby
Last synced: 23 days ago
JSON representation
Summarize one day's activities on Redmine.
- Host: GitHub
- URL: https://github.com/emsk/redmine_activity
- Owner: emsk
- License: mit
- Created: 2016-06-22T14:46:57.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2021-02-12T03:53:12.000Z (over 5 years ago)
- Last Synced: 2025-12-26T08:48:46.336Z (6 months ago)
- Topics: cli, redmine, ruby
- Language: Ruby
- Homepage:
- Size: 59.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# RedmineActivity
[](https://travis-ci.org/emsk/redmine_activity)
[](https://coveralls.io/github/emsk/redmine_activity)
[](https://codeclimate.com/github/emsk/redmine_activity)
[](http://inch-ci.org/github/emsk/redmine_activity)
[](LICENSE.txt)
Summarize one day's activities on Redmine.
## Prerequisite
You have to install Ruby 2.0.0 or higher.
## Installation
```sh
$ git clone https://github.com/emsk/redmine_activity.git
$ cd redmine_activity
$ gem build redmine_activity.gemspec
$ gem install redmine_activity-0.1.0.gem
```
## Usage
Print today's activities:
```sh
$ redmine_activity --url=http://example.com/redmine --login-id=admin --password=pass
Example Project - 機能 #1 (新規): チケット1 (田中 太郎) (2016-01-23 12:34:56)
Example Project - 機能 #2 (新規): チケット2 (山田 花子) (2016-01-23 13:45:12)
```
Print yesterday's activities:
```sh
$ redmine_activity yesterday --url=http://example.com/redmine --login-id=admin --password=pass
```
Print one day's activities:
```sh
$ redmine_activity --date=2016-01-01 --url=http://example.com/redmine --login-id=admin --password=pass
```
## Command Options
| Option | Description | Type |
| :----- | :---------- | :--- |
| `--url` | Redmine URL | String |
| `--login-id` | Login ID | String |
| `--password` | Login password | String |
| `--user-id` | Target user ID | Integer |
| `--project` | Target project identifier | String |
| `--date` | Target date | String |
## ENV
| ENV Variable | Description |
| :----------- | :---------- |
| `REDMINE_ACTIVITY_URL` | Redmine URL |
| `REDMINE_ACTIVITY_LOGIN_ID` | Redmine login ID |
| `REDMINE_ACTIVITY_PASSWORD` | Redmine password |
You can execute the command without passing options.
## Documentation
http://www.rubydoc.info/github/emsk/redmine_activity
## Supported Ruby Versions
* Ruby 2.0.0
* Ruby 2.1
* Ruby 2.2
* Ruby 2.3
* Ruby 2.4
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/emsk/redmine_activity.
## Related
* [mruby-redmine_activity](https://github.com/emsk/mruby-redmine_activity) - An mruby implementation of the redmine_activity
## License
[MIT](LICENSE.txt)