{"push_id":754178055,"size":3,"distinct_size":1,"ref":"refs/heads/master","head":"c4a61db1f1b4d077876bb262b81092cb37ab8b29","before":"d9cc4aaabf1f9e1c69d8818605ce42de09cd35b1","commits":[{"sha":"de7f7ac19bfbbf885cb855089e5df6b990d9255e","author":{"email":"1d67345f8d927311fc988e97604b120d54d9e44c@digital.cabinet-office.gov.uk","name":"Isabell Long"},"message":"Include leading slashes in several fields sent to Rummager\n\n- The link and ID fields in manuals sent to Rummager should be the\n  full path, but currently it's the slug without the leading slash.\n- Do the same for manual sections link and ID fields.\n\nThe erroneous behaviour that we're fixing was originally thought to have\nbeen copied from Specialist Publisher and only be working now by\ncoincidence. Now it turns out that when we make manuals appear on topic\npages the links to the manuals will be broken if we don't fix this.\n(That's because so far the pages which fetch their content from Rummager\nand include links to manuals have only a single path segment (eg\n/search), so treating the manual link as relative to the current URL\ndoes the right thing from those pages. Topic pages have longer paths (eg\n/topic/business-tax/vat) so a relative manual link from those pages will\nbe incorrect (eg\n/topic/business-tax/hmrc-internal-manuals/vat-government-and-public-bodies).)\n\n_Words in the latter set of parentheses written by Jenny more eloquently\nthan I could!_\n\nTrello: https://trello.com/c/xhObMTuI/72-all-manuals-are-sent-to-rummager-without-the-leading-slash-on-the-path-in-the-link-field.","distinct":false,"url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/commits/de7f7ac19bfbbf885cb855089e5df6b990d9255e"},{"sha":"213b502b341caead844e208fbacae50688eca45d","author":{"email":"1d67345f8d927311fc988e97604b120d54d9e44c@digital.cabinet-office.gov.uk","name":"Isabell Long"},"message":"Add a Rake task to republish manuals and sections, prepending slashes\n\nThanks to the rest of the changes in this set:\n  - Newly published manuals have leading slashes on the ID and Link\n    fields.\n\nWe should be consistent, therefore these Rake tasks prepend leading\nslashes to the fields that don't currently have them, for already\npublished manuals.","distinct":false,"url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/commits/213b502b341caead844e208fbacae50688eca45d"},{"sha":"c4a61db1f1b4d077876bb262b81092cb37ab8b29","author":{"email":"320bca71fc381a4a025636043ca86e734e31cf8b@tartarus.org","name":"Richard Boulton"},"message":"Merge pull request #94 from alphagov/prepend_leading_slash_for_rummager\n\nInclude leading slashes in several fields sent to Rummager","distinct":true,"url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/commits/c4a61db1f1b4d077876bb262b81092cb37ab8b29"}]}