From 523793e119520b1030ef5802c2f8b862b41dc84a Mon Sep 17 00:00:00 2001 From: David Crosby Date: Mon, 23 Dec 2024 09:38:23 -0800 Subject: [PATCH] [antlir][docs] Remove migration-guide Test Plan: sandcastle Reviewed By: wujj123456 Differential Revision: D67544019 fbshipit-source-id: 7b2f052f27c13e3a57ea48e2d2b7af77f4be2e03 --- antlir/antlir2/docs/docs/migration-guide.md | 27 --------------------- 1 file changed, 27 deletions(-) delete mode 100644 antlir/antlir2/docs/docs/migration-guide.md diff --git a/antlir/antlir2/docs/docs/migration-guide.md b/antlir/antlir2/docs/docs/migration-guide.md deleted file mode 100644 index e3c55425620..00000000000 --- a/antlir/antlir2/docs/docs/migration-guide.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -sidebar_position: 2 ---- - -# Migration Guide - -All antlir1 macros are now transparently using antlir2. antlir1 is no more. -There's nothing you need to do to migrate. - -## New API Codemod - -When you want to use the nice new api, we have a codemod! - -``` -❯ buck2 run fbcode//scripts/vmagro/codemod:antlir1to2 -- --no-format $TARGETS_AND_BZL_FILES -❯ arc lint -``` - -This will get you most of the way, but may require some manual fixups for -complicated (aka, heavily macro-ized) image definitions. - -:::note - -This codemod is running against fbsource, so you'll get these changes -automatically, but feel free to run the codemod if you're impatient! - -:::