Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jedi4ever/devopsdays-checklist
Example trello sync for a checklist for devopsdays events
https://github.com/jedi4ever/devopsdays-checklist
Last synced: about 1 month ago
JSON representation
Example trello sync for a checklist for devopsdays events
- Host: GitHub
- URL: https://github.com/jedi4ever/devopsdays-checklist
- Owner: jedi4ever
- Created: 2012-12-01T11:41:21.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-02T08:32:10.000Z (about 12 years ago)
- Last Synced: 2023-04-10T14:21:54.942Z (over 1 year ago)
- Language: Ruby
- Size: 113 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What is this?
This is a simple project/proof of concept to sync a set of tasks with a trello board:
I've set it up for managing [devopsdays events](http://devopsdays.org) boards.- It uses the Trello API
## Credentials
- You'll need get a Trello key -
- Generating is easy -This will give you a public_key and secret. (this allows read access)
For write access you need to allow this app to your accounthttps://trello.com/1/authorize?key=your_public_key_here&name=this_app_name&response_type=token&scope=read,write,account&expiration=never
Use the above URL and replace your-public-key-here and change the name of the app this_app_name (f.i. trello-tasks)
## Configuring it
you need 3 files: credentials.yml settings.yml tasks.yml
Yes specifying this from the commandline is nice, but it works for now :)### Credentials.yml
---
:secret: your secret here - the second box from https://trello.com/1/appKey/generate
:key: your app key secret here - the token you receive in approve file downloaded from https://trello.com/1/authorize?key=substitutewithyourapplicationkey&name=myapp&response_type=token&scope=read,write,account&expiration=never
:public_key: your public key here - the first box from https://trello.com/1/appKey/generate### Settings.yml
---
:board_id: yourboardidhere - you can extract this from the URL for your board - for example https://trello.com/board/test/50ba4eeeb01f8e6a09003528
:dday: optional due date (use DD-MM-YYYY) format### Tasks.yml
This file is an array of tasks: Example:
---
- :name: Find a venue
:description: we really need to find a venue
:due: -30
- :name: Announce new event
:description: Once the venue is selected we will announce it
:checklist: linkedin, googlegroup, facebook, twitter, sponsors
- :name: Select program schedule
:description: Final selection## Install it
We have a Gemfile and .rvmrc in the project , will install necessary gemsbundle install
## Running it
bundle exec ruby trello-tasks.rb
- This will create the tasks in the order they are listed
- If the task name already exists it will do nothing
- If the due date has been specified it will add this (if the task does not have one)
(useful once a final date has been decided for an event)
- If a checklist has been specified it will add it## Technology and kudos
I got it working in no time thanks to:- Ruby-Trello Gem: