https://github.com/naoigcat/thor-redmine
Export Redmine issues to Google Sheets
https://github.com/naoigcat/thor-redmine
docker ruby
Last synced: about 2 months ago
JSON representation
Export Redmine issues to Google Sheets
- Host: GitHub
- URL: https://github.com/naoigcat/thor-redmine
- Owner: naoigcat
- License: mit
- Created: 2021-10-30T23:02:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-05-23T17:55:01.000Z (about 1 year ago)
- Last Synced: 2025-05-23T18:46:19.123Z (about 1 year ago)
- Topics: docker, ruby
- Language: Ruby
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Exporter for Redmine
Export Redmine issues to Google Sheets
## Requirements
- Docker
## Usage
### Preparation
- Enter the Redmine API endpoint in API_ENDPOINT in .env
- Issue Redmine API access key, and enter it in API_KEY in .env
- Create a spreadsheet in Google Drive and add the 'issues' sheet, and enter the id of it in SHEETS_KEY in .env
- Create a project on Google Cloud Platform and make a service account key, and put it in the root directory as .key.json
- Grant the spreadsheet editing permission to the created service account
### Export
Run below command.
```sh
docker compose build
docker compose run --rm app export
docker compose down
```
## Development
1. Run command to start a container.
```sh
docker compose build
docker compose run --rm --entrypoint /bin/bash app
```
2. Edit entrypoint.thor.
3. Lint using RuboCop.
```sh
docker run --rm --volume ${PWD}:/code registry.gitlab.com/pipeline-components/rubocop:latest -d -E
```
4. Run command to stop the container.
```sh
docker compose down
```
## Author
naoigcat
## License
MIT