Deka
Deka provides deka
command which track files (ex: README.md) and write github issues if new commits detected. It is useful to translate documents on github and keep them fresh.
examples of use
Installation
Add this line to your application's Gemfile:
gem 'deka'
And then execute:
$ bundle
Or install it yourself as:
$ gem install deka
Usage
- requirement:
git
command - You should create a config file (ex:
./deka.yml
) and write settings. - Use
deka
command to watchwatching_repo
and write issues toissuing_repo
. If you don't want to watch all commits, write a commit hash to.tracked_hash
, deka doesn't write issues prior to the commit hash. -
.tracked_hash
if automatically updated bydeka
command
Usage: deka [options]
--dry-run Dry run
-c, --config config path (default `./deka.yml`)
-s, --save path for saving tracked hash (default `./.tracked_hash`)
config file example
watching_files: 'README.md'
watching_repo: 'willnet/readme_tracker_watching_repo'
issuing_repo: 'willnet/readme_tracker_issuing_repo'
body: 'please respond'
access_token: YOUR_GITHUB_ACCESS_TOKEN
Contributing
- Fork it ( https://github.com/willnet/deka/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request