{"push_id":2654045283,"size":4,"distinct_size":4,"ref":"refs/heads/master","head":"c36370d2a19196d780c2bfc3ec632955473236e8","before":"dbf6596ca6903a4c7d30cc16fe9f137db9a6a026","commits":[{"sha":"8b4fe076e39917f2d7f418c58e1b2354af5a78d9","author":{"name":"Joe Rafaniello","email":"ea442e001a5636eeee710090794bb7eb2e3459c8@redhat.com"},"message":"Add tool to remove grouping from report results\n\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1590908\n\nSome aggregation information was persisted into the miq_report_results\ntable in the report column's `extras[:grouping]` section.  We don't need\nthe grouping after we've generated the html data.  This tool removes\nthis from each row in the table.\n\nThe default options will process the whole table in batches of 50 at a\ntime and will persist all changes.\n\nIf you run it with -h, you'll receive a help banner:\n\n```\nRemove extras[:grouping] from MiqReportResult#report column.\n\nUsage: ruby tools/remove_grouping_from_report_results.rb [options]\n\nOptions:\n\n  --dry-run               For testing, rollback any changes when the script exits.\n  -b, --batch-size=<i>    Limit memory usage by process this number of report results at a time. (Default: 50)\n  -c, --count=<i>         Stop checking after this number of report results. (Default: 0)\n  -h, --help              Show this message\n\n```\n\nExample output looks like this:\n\n```\nruby tools/remove_grouping_from_report_results.rb -c 11\nUsing options: {:dry_run=>false, :batch_size=>50, :count=>11, :help=>false, :count_given=>true}\n** Using session_store: ActionDispatch::Session::MemCacheStore\nMiqReportResult: 22000000000001 doesn't need fixing\nMiqReportResult: 22000000000002 doesn't need fixing\nMiqReportResult: 22000000000003 fixed\nMiqReportResult: 22000000000004 doesn't need fixing\nMiqReportResult: 22000000000005 doesn't need fixing\nMiqReportResult: 22000000000006 fixed\nMiqReportResult: 22000000000007 doesn't need fixing\nMiqReportResult: 22000000000008 doesn't need fixing\nMiqReportResult: 22000000000009 doesn't need fixing\nMiqReportResult: 22000000000010 doesn't need fixing\nMiqReportResult: 22000000000011 fixed\nProcessed 11 rows. 1 were fixed. 13.170998 seconds\n```","distinct":true,"url":"https://api.github.com/repos/ManageIQ/manageiq/commits/8b4fe076e39917f2d7f418c58e1b2354af5a78d9"},{"sha":"51be17337f3be50af8810a38e3b143186f4940c5","author":{"name":"Joe Rafaniello","email":"ea442e001a5636eeee710090794bb7eb2e3459c8@redhat.com"},"message":"Wrap in a transaction, rollback on dry-run or error\n\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1590908","distinct":true,"url":"https://api.github.com/repos/ManageIQ/manageiq/commits/51be17337f3be50af8810a38e3b143186f4940c5"},{"sha":"7a54727460f89714e1839118dedc706f47972de5","author":{"name":"Joe Rafaniello","email":"ea442e001a5636eeee710090794bb7eb2e3459c8@redhat.com"},"message":"Increment the total before moving to the next iteration","distinct":true,"url":"https://api.github.com/repos/ManageIQ/manageiq/commits/7a54727460f89714e1839118dedc706f47972de5"},{"sha":"c36370d2a19196d780c2bfc3ec632955473236e8","author":{"name":"Nick Carboni","email":"5feb2cfc7c68e10c3e0192af5dea388e88f0a57b@redhat.com"},"message":"Merge pull request #17589 from jrafanie/remove_grouping_from_report_results\n\nAdd tool to remove grouping from report results","distinct":true,"url":"https://api.github.com/repos/ManageIQ/manageiq/commits/c36370d2a19196d780c2bfc3ec632955473236e8"}]}
{"actor":{"display_login":"carbonin"}}