Hanakai Contributors is a Hanami application to showcase the contributions to the Hanakai ecoystem.
- Run the server with
bin/dev - View the app at http://localhost:2300
- Run the tests with
bundle exec rake
Any time we update map_known_human_emails in contributor_repo for the moment we need to reset all commits.
# get latest code loaded
reload
# Delete all commits and contributors
app["operations.app.reset_app_data"].call
# Clean import of all commits for known repos in db/seeds file
repos = app["repos.project_repo"].all.map(&:github_repository)
repos.each { |r| app["operations.git.repository.attribute_commits"].call(github_repository: r) }