From 28e3657019b4a2062548170d969038d6ef74b83f Mon Sep 17 00:00:00 2001 From: Barbara Slawinska Date: Thu, 22 Aug 2024 16:51:47 +0100 Subject: [PATCH] Add reference to PR example for bulk retagging mainstream content with different requirements This is to improve documentation for Machinery of Government changes. --- source/manual/government-changes.html.md.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/manual/government-changes.html.md.erb b/source/manual/government-changes.html.md.erb index 49353fad2e..98b3adf7b4 100644 --- a/source/manual/government-changes.html.md.erb +++ b/source/manual/government-changes.html.md.erb @@ -158,12 +158,16 @@ It accepts a CSV file listing the document's slug and new associated organisatio There is a similar [Rake task to change the organisations for Manuals][manuals-bulk-update-organisation]. A data migration is required to change the organisations for (Mainstream) Publisher documents. -This is an example PR: [Migrate Publisher docs][publisher-bulk-update-organisation-example] +Depending on the requirements, we might need to replace all currently tagged organisations with the new one only, +(example PR for this: [Migrate Publisher docs][publisher-bulk-update-organisation-example]) +or just replace the old one with a new one, leaving other tagged organisations intact +(example PR for this: [Migrate Publisher docs][publisher-bulk-update-preserving-multiple-organisations-example]). [whitehall-bulk-update-organisation]: https://github.com/alphagov/whitehall/blob/main/lib/tasks/data_hygiene.rake [running-rake-tasks-on-the-command-line]: /manual/running-rake-tasks.html#run-rake-tasks-from-the-command-line [manuals-bulk-update-organisation]: https://github.com/alphagov/manuals-publisher/blob/main/lib/tasks/update_manual_organisation.rake [publisher-bulk-update-organisation-example]: https://github.com/alphagov/publishing-api/pull/1981 +[publisher-bulk-update-preserving-multiple-organisations-example]: https://github.com/alphagov/publishing-api/pull/2827 [publishing-api-bulk-update-organisation]: https://github.com/alphagov/publishing-api/blob/b08fbe0a3f58d827f38403c714920b69826f608f/lib/tasks/data_hygiene.rake#L41 ### Reorder ministers/peoples role titles