hubstats icon indicating copy to clipboard operation
hubstats copied to clipboard

Not Able to Get History of PR , commits , teams and users

Open reddymh opened this issue 5 years ago • 1 comments

Hi,

Not Able to Get History of PR , commits , teams and users info but when I create PR and merge then the PR is listed but not able to see old PR's , commits , teams and users.

** Invoke hubstats:setup (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute hubstats:setup Running rake db:create ** Invoke db:create (first_time) ** Invoke db:load_config (first_time) ** Execute db:load_config ** Execute db:create hubstats_development already exists hubstats_test already exists Running rake db:migrate ** Invoke db:migrate (first_time) ** Invoke environment ** Invoke db:load_config ** Execute db:migrate ** Invoke db:_dump (first_time) ** Execute db:_dump ** Invoke db:schema:dump (first_time) ** Invoke environment ** Invoke db:load_config ** Execute db:schema:dump Pulling data from Github. This may take a while... ** Invoke hubstats:populate:setup (first_time) ** Invoke environment ** Execute hubstats:populate:setup Repo that we're going to make a hook on: ElasticSearch/esaas-ansible-playbook Hook on ElasticSearch/esaas-ansible-playbook already existed Repo that we're going to make a hook on: ElasticSearch/ansible-image Hook on ElasticSearch/ansible-image already existed Finished with initial population, grabbing extra info about pull requests All Pull Requests are up to date Finished grabbing info about pull requests, populating teams All teams are up to date

The above was run under test/dummy folder.

I tried executing on app and getting the below error :

    rake app:hubstats:setup

** Invoke load_app (first_time) ** Execute load_app DEPRECATION WARNING: The factory_girl gem is deprecated. Please upgrade to factory_bot. See https://github.com/thoughtbot/factory_bot/blob/v4.9.0/UPGRADE_FROM_FACTORY_GIRL.md for further instructions. (called from require at /root/.rbenv/versions/2.3.0/lib/ruby/site_ruby/2.3.0/bundler/runtime.rb:81) ** Invoke app:hubstats:setup (first_time) ** Invoke app:environment (first_time) ** Execute app:environment ** Execute app:hubstats:setup Running rake db:create ** Invoke db:create (first_time) ** Invoke load_app ** Invoke app:db:create (first_time) ** Invoke app:db:load_config (first_time) ** Execute app:db:load_config ** Execute app:db:create hubstats_development already exists hubstats_test already exists ** Execute db:create Running rake db:migrate ** Invoke db:migrate (first_time) ** Invoke load_app ** Invoke app:db:migrate (first_time) ** Invoke app:environment ** Invoke app:db:load_config ** Execute app:db:migrate rake aborted! ActiveRecord::DuplicateMigrationNameError:

Multiple migrations have the name CreateHubstatsPullRequests

reddymh avatar Jun 03 '19 17:06 reddymh