bigwhoop / trellog
Generate CHANGELOG files based on Trello lists.
Installs: 1 571
Dependents: 0
Suggesters: 0
Security: 0
Stars: 21
Watchers: 2
Forks: 1
Open Issues: 1
Requires
- php: >=5.5
- phine/path: ~1.1
- symfony/console: ~2.5
- symfony/yaml: ~2.5
- trello/trello: ~0.1
Requires (Dev)
- phpunit/phpunit: ~4.0
README
Generate CHANGELOG files based on Trello lists.
Installation
composer require "bigwhoop/trellog":"^1"
vendor\bin\trellog init
Usage
vendor\bin\trellog generate
vendor\bin\trellog generate > CHANGELOG.md
Config file
By default trellog
will create config file named .trellog.yml
in the current working directory. You can use the
-c
/--config
option if your file has a different name or location.
Attention: This conig file will containt your trello API key and read-only access token.
Mapper options
The mapper maps Trello Cards to Changelog Entries, Trello Checklists to Changelog Sections and Trello Checklist Items to Changelog Section Items. The following options are available:
mapper:
options:
follow_trello_urls: true # whether to follow Trello Checklist Items that are an URL to a Trello Card
# and instead use the title of this card as the Changelog Section Item name.
include_archived_cards: false # whether to also retrieve archived cards or not
Printer options
You can use the printer options in the config file to customize the generated output.
printer:
options:
title: The title of the change log
intro: A text displayed beneath the title. Can be as long as you want it to be.
versions_whitelist: # ignore Trello cards not titled ...
- 1.1.0
- 1.0.0
versions_blacklist: # ignore Trello cards titled ...
- 2.0.0
sections_whitelist: # ignore card checklists not named ...
- Added
- Removed
sections_blacklist: # ignore card checklists named ...
- Merges
- Tests
print_empty_sections: false # if true, empty checklists are printed as well
empty_section_template: Text to output if print_empty_sections is true and a section is empty
License
MIT. See LICENSE file.