{"push_id":2527366615,"size":14,"distinct_size":7,"ref":"refs/heads/fix-duplications","head":"0931d18fedb5a52aea715c57a622b7e3680db8eb","before":"9c47789a03c4491d586581dda553b13539c39308","commits":[{"sha":"ab448c145a58c90d27a48e4a1695b79fa4db4542","author":{"name":"Kyle Macpherson","email":"da38a2a47dfd1d5901a7220ca6079b0c0d6640be@digital.cabinet-office.gov.uk"},"message":"Add metric tests\n\nTests to check that the new `is_this_useful` metrics are being shown on sandbox\nand are available for csv download.","distinct":false,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/ab448c145a58c90d27a48e4a1695b79fa4db4542"},{"sha":"2fc9765808b6b0447a2f2802ef4deaf52468784f","author":{"name":"Kyle Macpherson","email":"da38a2a47dfd1d5901a7220ca6079b0c0d6640be@digital.cabinet-office.gov.uk"},"message":"Permit is_this_useful params in sandbox controller to show new metrics","distinct":false,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/2fc9765808b6b0447a2f2802ef4deaf52468784f"},{"sha":"b0c11caaecc749cfbcae4eadf96f4c6d50547970","author":{"name":"Kyle Macpherson","email":"da38a2a47dfd1d5901a7220ca6079b0c0d6640be@digital.cabinet-office.gov.uk"},"message":"Add is_this_useful metrics to metric_summary scope","distinct":false,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/b0c11caaecc749cfbcae4eadf96f4c6d50547970"},{"sha":"60d5e3a08bff972b0717f3667baf2710e7cba7a5","author":{"name":"Kyle Macpherson","email":"da38a2a47dfd1d5901a7220ca6079b0c0d6640be@digital.cabinet-office.gov.uk"},"message":"Add is_this_useful metrics to views","distinct":false,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/60d5e3a08bff972b0717f3667baf2710e7cba7a5"},{"sha":"150af9614901f937b3ad39a275775727402e24c3","author":{"name":"Kyle Macpherson","email":"da38a2a47dfd1d5901a7220ca6079b0c0d6640be@digital.cabinet-office.gov.uk"},"message":"Add number of internal searches to API endpoint","distinct":false,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/150af9614901f937b3ad39a275775727402e24c3"},{"sha":"da7cf35158d05e5d729414a28d794feae6f9b898","author":{"name":"Kyle MacPherson","email":"b84d7444cbcb9cea2e6cc64ba568a12b278932d0@gmail.com"},"message":"Merge pull request #670 from alphagov/user-feedback-in-sandbox\n\nUser feedback in sandbox","distinct":false,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/da7cf35158d05e5d729414a28d794feae6f9b898"},{"sha":"6cd10f4c5c9c7f6ce6d6e26c0252bbe88958d7cd","author":{"name":"Kyle MacPherson","email":"b84d7444cbcb9cea2e6cc64ba568a12b278932d0@gmail.com"},"message":"Merge pull request #673 from alphagov/number-of-internal-searches-api\n\nAdd number of internal searches to API endpoint","distinct":false,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/6cd10f4c5c9c7f6ce6d6e26c0252bbe88958d7cd"},{"sha":"6e049d2fe4c62dab7d9e17ba3c635183fbd56632","author":{"name":"Pablo Manrubia","email":"5b8bf9c3deb8f82525b9e62900575458457cb410@gmail.com"},"message":"Remove attributes from PublishingAPI test\n\nThese attributes are no longer used, so they can be removed. It seems\nthat the code were simplified and these attributes were not updated\naccordingly.","distinct":true,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/6e049d2fe4c62dab7d9e17ba3c635183fbd56632"},{"sha":"c8c78a7def58458dfd60e390c04b647e8a02dec2","author":{"name":"Pablo Manrubia","email":"5b8bf9c3deb8f82525b9e62900575458457cb410@gmail.com"},"message":"Introduce RSpec context to handle duplicated responses\n\nI would rather a separate commit as it makes easier to read the new\ncommits that actually add more use cases.","distinct":true,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/c8c78a7def58458dfd60e390c04b647e8a02dec2"},{"sha":"34b268d542cbd8889097a60d5a93491da78dac34","author":{"name":"Pablo Manrubia","email":"5b8bf9c3deb8f82525b9e62900575458457cb410@gmail.com"},"message":"Prevent RSpec fixtures with duplicated items\n\nRemove duplications in RSpec fixtures when we set up multiple items with\nthe latest attribute set to true and the same base_path.","distinct":true,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/34b268d542cbd8889097a60d5a93491da78dac34"},{"sha":"19313b3f4c412a42c9d1927c8672b503430c65a1","author":{"name":"Pablo Manrubia","email":"5b8bf9c3deb8f82525b9e62900575458457cb410@gmail.com"},"message":"Ignore duplicated items\n\nWhen quering the PublishingAPi for all the Content Items in `published`\nstate, we are receiving multiple elements with the same information. We\nhave noticed this problem after checking that our Google Analytics\nmetrics were not accurate.\n\nThe root problem is that we are having multiple base_path `/` with the\nattribute `latest=true` in the Items dimension. Interestingly all the\nitems were created at the same time, so it seems that the only point\nwhere this could happen is in the Preload phase.\n\nWe are going to add a Database constraint to prevent having multiple\nitems with the `latest=true` attribute for the same basepath, but we\nalso need to prevent this problem from happening when querying for data.","distinct":true,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/19313b3f4c412a42c9d1927c8672b503430c65a1"},{"sha":"3d26e3ec3b896a6c41ee832e9af55abc86ffaf35","author":{"name":"Pablo Manrubia","email":"5b8bf9c3deb8f82525b9e62900575458457cb410@gmail.com"},"message":"Add uniq index for base_path and latest in Items\n\nEnsure that we don’t have multiple items in their latest version with\nthe same base_path.","distinct":true,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/3d26e3ec3b896a6c41ee832e9af55abc86ffaf35"},{"sha":"3600c4d19e7486a81d66df90c4752509c9f4cf3d","author":{"name":"Pablo Manrubia","email":"5b8bf9c3deb8f82525b9e62900575458457cb410@gmail.com"},"message":"Removed unused index in Dimensions::Item\n\nThere is no need to index by `latest` as this is already covered by the\ncompound indexes (`base_path` and `content_id`)","distinct":true,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/3600c4d19e7486a81d66df90c4752509c9f4cf3d"},{"sha":"0931d18fedb5a52aea715c57a622b7e3680db8eb","author":{"name":"Pablo Manrubia","email":"5b8bf9c3deb8f82525b9e62900575458457cb410@gmail.com"},"message":"TEMPORARY COMMIT: TO DELETE","distinct":true,"url":"https://api.github.com/repos/alphagov/content-performance-manager/commits/0931d18fedb5a52aea715c57a622b7e3680db8eb"}]}
{"actor":{"display_login":"pmanrubia"}}