Closed ronchambers closed 7 months ago
Commit https://github.com/Automattic/newspack-custom-content-migrator/pull/435/commits/e94df3ffb5799295b78bdbec28c1627246387e1e adds a CLI to reset PDF Posts to their own category instead of News. This commit also fixes the last CLI so that PDF Posts won't go into the default News category.
Command: wp newspack-content-migrator bigbendsentinel-reset-pdf-post-category
Output file: bigbendsentinel_cmd_reset_pdf_post_category.txt
This is a one-time CLI. It is not required for content refreshes.
Commit https://github.com/Automattic/newspack-custom-content-migrator/pull/435/commits/48c936d8452f87b54cf1a80dfb886a415c23d761 creates a clean up CLI to attached featured images to Issues Pages.
Previously, only the PDF Posts had attached images. Now, that same image is attached to the Pages too.
Command: wp newspack-content-migrator bigbendsentinel-fix-pdf-for-pages
Output: bigbendsentinel_cmd_fix_pdf_for_pages.txt
This is a one-time CLI. It is not required for content refreshes.
Commits https://github.com/Automattic/newspack-custom-content-migrator/pull/435/commits/2b1c3eac9f85ffe0ca656c9934e3ddc4fa007f1e and https://github.com/Automattic/newspack-custom-content-migrator/pull/435/commits/fd9daeac8cda92b9230ea07e75a4f3aea474a042 add and fix CLI to convert old site's custom taxonomy "People" into CAP GAs.
Command: wp newspack-content-migrator bigbendsentinel-convert-people-cpt
Arguments: --live-table-prefix=cdiff_
(for use when doing Content Diff at Launch)
Output log: bigbendsentinel_cmd_convert_people_cpt.txt
Notes:
/people/
to /author/
will be added too./author/
slug, the CLI will output a WARNING, but will continue execution; clean up by hand if needed.Commits https://github.com/Automattic/newspack-custom-content-migrator/pull/435/commits/8cd283d9f97bd8996b7b7a60d9cb20ed7a5310a7 , https://github.com/Automattic/newspack-custom-content-migrator/pull/435/commits/0ade03f4037514c56f414973f8a6dd1f64918df2 , https://github.com/Automattic/newspack-custom-content-migrator/pull/435/commits/e94df3ffb5799295b78bdbec28c1627246387e1e , https://github.com/Automattic/newspack-custom-content-migrator/pull/435/commits/e0396f2611dc868214de23b733b1d0d7f3684f3f , https://github.com/Automattic/newspack-custom-content-migrator/pull/435/commits/72aba1db22cfeea9d18a544fbb32c604b0cc3dff add and fix a CLI to convert Big Bend Sentinel's custom Issues taxonomy into Pages, Posts and normal tags.
Command: wp newspack-content-migrator bigbendsentinel-convert-issues-cpt
Arguments: --live-table-prefix=cdiff_
(for use when doing Content Diff at Launch)
Output log: bigbendsentinel_cmd_convert_issues_cpt.txt
Initial commit for migrator. Ron will be adding a converter for People CPT to Guest Authors. Task in Asana - via Megan.
cc @iuravic