{"push_id":820128467,"size":6,"distinct_size":6,"ref":"refs/heads/master","head":"69bcef32e12cca8a4a31c3035509d479a712b504","before":"a2374758e34475ebdfacbe68b6c5b095b66262ec","commits":[{"sha":"1f14e689e579163222fa0a410d3ab4ca672d465e","author":{"email":"82349cb6397bb932b4bf3561b4ea2fad50571f50@gmail.com","name":"Yorick Peterse"},"message":"Added specs for TrendingProjectsFinder","distinct":true,"url":"https://api.github.com/repos/gitlabhq/gitlabhq/commits/1f14e689e579163222fa0a410d3ab4ca672d465e"},{"sha":"d15eec64604d68093d8f01711c1847ee240eb0d2","author":{"email":"82349cb6397bb932b4bf3561b4ea2fad50571f50@gmail.com","name":"Yorick Peterse"},"message":"Use >= instead of > in TrendingProjectsFinder\n\nBy using >= we can ensure we actually get all comments of the past\nmonth, instead of the comments of the past month minus the first day in\nthe range.","distinct":true,"url":"https://api.github.com/repos/gitlabhq/gitlabhq/commits/d15eec64604d68093d8f01711c1847ee240eb0d2"},{"sha":"b7abba0ca0a4629a854eee0488f94f160452e2f6","author":{"email":"82349cb6397bb932b4bf3561b4ea2fad50571f50@gmail.com","name":"Yorick Peterse"},"message":"Revamp trending projects query\n\nThis changes the query to use a COUNT nested in an INNER JOIN, instead\nof a COUNT plus a GROUP BY. There are two reasons for this:\n\n1. Using a COUNT in an INNER JOIN can be quite a bit faster.\n2. The use of a GROUP BY means that method calls such as \"any?\"\n   (and everything else that calls \"count\") operate on a Hash that\n   counts the amount of notes on a per project basis, instead of just\n   counting the total amount of projects.\n\nThe query has been moved into Project.trending as its logic is simple\nenough. As a result of this testing the TrendingProjectsFinder class\nsimply involves testing if the right methods are called, removing the\nneed for setting up database records.","distinct":true,"url":"https://api.github.com/repos/gitlabhq/gitlabhq/commits/b7abba0ca0a4629a854eee0488f94f160452e2f6"},{"sha":"7adf9a52ba94433f7de30f190a2d94bc3d7949fd","author":{"email":"82349cb6397bb932b4bf3561b4ea2fad50571f50@gmail.com","name":"Yorick Peterse"},"message":"Added benchmarks for finding trending projects","distinct":true,"url":"https://api.github.com/repos/gitlabhq/gitlabhq/commits/7adf9a52ba94433f7de30f190a2d94bc3d7949fd"},{"sha":"4841e883020146fecd386caff7f31f2d9cf307b6","author":{"email":"82349cb6397bb932b4bf3561b4ea2fad50571f50@gmail.com","name":"Yorick Peterse"},"message":"Added changelog entry for trending projects tweaks","distinct":true,"url":"https://api.github.com/repos/gitlabhq/gitlabhq/commits/4841e883020146fecd386caff7f31f2d9cf307b6"},{"sha":"69bcef32e12cca8a4a31c3035509d479a712b504","author":{"email":"be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com","name":"Dmitriy Zaporozhets"},"message":"Merge remote-tracking branch 'public/trending-projects-performance'","distinct":true,"url":"https://api.github.com/repos/gitlabhq/gitlabhq/commits/69bcef32e12cca8a4a31c3035509d479a712b504"}]}