prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Airflow docs incorrect for adding files
  This was raised in slack https://meltano.slack.com/archives/C01TCRBBJD7/p1655231194958339
  
  The docs say `meltano add files airflow` but now we prefix the file bundles with `files-` so it should be updated to `meltano add files files-airflow`.
  
  Its probably worth while to search for other references that might be incorrect also. The file bundle readme's look like they could use an update as well https://github.com/meltano/files-airflow.
  
  </issue>
  <code>
  [start of src/meltano/core/plugin/dbt/base.py]
  1 """Defines DBT-specific plugins."""
  2 import logging
  3 from pathlib import Path
  4 
  5 from meltano.core.error import PluginInstallError
  6 from meltano.core.plugin import BasePlugin, PluginType
  7 from meltano.core.plugin.error import PluginNotFoundError
  8 from meltano.core.plugin.project_plugin import ProjectPlugin
  9 from meltano.core.plugin_install_service import PluginInstallReason
  10 from meltano.core.plugin_invoker import PluginInvoker
  11 from meltano.core.setting_definition import SettingDefinition, SettingKind
  12 from meltano.core.transform_add_service import TransformAddService
  13 
  14 logger = logging.getLogger(__name__)
  15 
  16 
  17 class DbtInvoker(PluginInvoker):
  18     def Popen_options(self):
  19         return {**super().Popen_options(), "cwd": self.plugin_config["project_dir"]}
  20 
  21 
  22 class DbtPlugin(BasePlugin):
  23     __plugin_type__ = PluginType.TRANSFORMERS
  24 
  25     invoker_class = DbtInvoker
  26 
  27 
  28 class DbtTransformPluginInstaller:
  29     def __init__(self, project, plugin: ProjectPlugin):
  30         self.project = project
  31         self.plugin = plugin
  32 
  33     async def install(self, reason, clean):
  34         """Install the transform into the project."""
  35         if reason not in {PluginInstallReason.ADD, PluginInstallReason.UPGRADE}:
  36             logger.info(
  37                 f"Run `meltano add transform {self.plugin.name}` to re-add this transform to your dbt project."
  38             )
  39             return
  40 
  41         try:
  42             transform_add_service = TransformAddService(self.project)
  43 
  44             # Add repo to my-test-project/transform/packages.yml
  45             packages_path = transform_add_service.packages_file.relative_to(
  46                 self.project.root
  47             )
  48             logger.info(
  49                 f"Adding dbt package '{self.plugin.pip_url}' to '{packages_path}'..."
  50             )
  51             transform_add_service.add_to_packages(self.plugin)
  52 
  53             # Add model and vars to my-test-project/transform/dbt_project.yml
  54             dbt_project_path = transform_add_service.dbt_project_file.relative_to(
  55                 self.project.root
  56             )
  57             logger.info(f"Adding dbt model to '{dbt_project_path}'...")
  58             transform_add_service.update_dbt_project(self.plugin)
  59         except PluginNotFoundError:
  60             raise PluginInstallError(
  61                 "Transformer 'dbt' is not installed. Run `meltano add transformer dbt` to add it to your project."
  62             )
  63         except FileNotFoundError as err:
  64             relative_path = Path(err.filename).relative_to(self.project.root)
  65             raise PluginInstallError(
  66                 f"File {relative_path}' could not be found. Run `meltano add files dbt` to set up a dbt project."
  67             )
  68 
  69 
  70 class DbtTransformPlugin(BasePlugin):
  71     __plugin_type__ = PluginType.TRANSFORMS
  72 
  73     installer_class = DbtTransformPluginInstaller
  74 
  75     EXTRA_SETTINGS = [
  76         SettingDefinition(name="_package_name", value="$MELTANO_TRANSFORM_NAMESPACE"),
  77         SettingDefinition(name="_vars", kind=SettingKind.OBJECT, value={}),
  78     ]
  79 
  80     def is_invokable(self):
  81         return False
  82
  [end of src/meltano/core/plugin/dbt/base.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/src/meltano/core/plugin/dbt/base.py b/src/meltano/core/plugin/dbt/base.py
  --- a/src/meltano/core/plugin/dbt/base.py
  +++ b/src/meltano/core/plugin/dbt/base.py
  @@ -63,7 +63,7 @@
           except FileNotFoundError as err:
               relative_path = Path(err.filename).relative_to(self.project.root)
               raise PluginInstallError(
  -                f"File {relative_path}' could not be found. Run `meltano add files dbt` to set up a dbt project."
  +                f"File {relative_path}' could not be found. Run `meltano add files files-dbt` to set up a dbt project."
               )
  
verification_info: {"golden_diff": "diff --git a/src/meltano/core/plugin/dbt/base.py b/src/meltano/core/plugin/dbt/base.py\n--- a/src/meltano/core/plugin/dbt/base.py\n+++ b/src/meltano/core/plugin/dbt/base.py\n@@ -63,7 +63,7 @@\n         except FileNotFoundError as err:\n             relative_path = Path(err.filename).relative_to(self.project.root)\n             raise PluginInstallError(\n-                f\"File {relative_path}' could not be found. Run `meltano add files dbt` to set up a dbt project.\"\n+                f\"File {relative_path}' could not be found. Run `meltano add files files-dbt` to set up a dbt project.\"\n             )\n", "issue": "Airflow docs incorrect for adding files\nThis was raised in slack https://meltano.slack.com/archives/C01TCRBBJD7/p1655231194958339\r\n\r\nThe docs say `meltano add files airflow` but now we prefix the file bundles with `files-` so it should be updated to `meltano add files files-airflow`.\r\n\r\nIts probably worth while to search for other references that might be incorrect also. The file bundle readme's look like they could use an update as well https://github.com/meltano/files-airflow.\n", "before_files": [{"content": "\"\"\"Defines DBT-specific plugins.\"\"\"\nimport logging\nfrom pathlib import Path\n\nfrom meltano.core.error import PluginInstallError\nfrom meltano.core.plugin import BasePlugin, PluginType\nfrom meltano.core.plugin.error import PluginNotFoundError\nfrom meltano.core.plugin.project_plugin import ProjectPlugin\nfrom meltano.core.plugin_install_service import PluginInstallReason\nfrom meltano.core.plugin_invoker import PluginInvoker\nfrom meltano.core.setting_definition import SettingDefinition, SettingKind\nfrom meltano.core.transform_add_service import TransformAddService\n\nlogger = logging.getLogger(__name__)\n\n\nclass DbtInvoker(PluginInvoker):\n    def Popen_options(self):\n        return {**super().Popen_options(), \"cwd\": self.plugin_config[\"project_dir\"]}\n\n\nclass DbtPlugin(BasePlugin):\n    __plugin_type__ = PluginType.TRANSFORMERS\n\n    invoker_class = DbtInvoker\n\n\nclass DbtTransformPluginInstaller:\n    def __init__(self, project, plugin: ProjectPlugin):\n        self.project = project\n        self.plugin = plugin\n\n    async def install(self, reason, clean):\n        \"\"\"Install the transform into the project.\"\"\"\n        if reason not in {PluginInstallReason.ADD, PluginInstallReason.UPGRADE}:\n            logger.info(\n                f\"Run `meltano add transform {self.plugin.name}` to re-add this transform to your dbt project.\"\n            )\n            return\n\n        try:\n            transform_add_service = TransformAddService(self.project)\n\n            # Add repo to my-test-project/transform/packages.yml\n            packages_path = transform_add_service.packages_file.relative_to(\n                self.project.root\n            )\n            logger.info(\n                f\"Adding dbt package '{self.plugin.pip_url}' to '{packages_path}'...\"\n            )\n            transform_add_service.add_to_packages(self.plugin)\n\n            # Add model and vars to my-test-project/transform/dbt_project.yml\n            dbt_project_path = transform_add_service.dbt_project_file.relative_to(\n                self.project.root\n            )\n            logger.info(f\"Adding dbt model to '{dbt_project_path}'...\")\n            transform_add_service.update_dbt_project(self.plugin)\n        except PluginNotFoundError:\n            raise PluginInstallError(\n                \"Transformer 'dbt' is not installed. Run `meltano add transformer dbt` to add it to your project.\"\n            )\n        except FileNotFoundError as err:\n            relative_path = Path(err.filename).relative_to(self.project.root)\n            raise PluginInstallError(\n                f\"File {relative_path}' could not be found. Run `meltano add files dbt` to set up a dbt project.\"\n            )\n\n\nclass DbtTransformPlugin(BasePlugin):\n    __plugin_type__ = PluginType.TRANSFORMS\n\n    installer_class = DbtTransformPluginInstaller\n\n    EXTRA_SETTINGS = [\n        SettingDefinition(name=\"_package_name\", value=\"$MELTANO_TRANSFORM_NAMESPACE\"),\n        SettingDefinition(name=\"_vars\", kind=SettingKind.OBJECT, value={}),\n    ]\n\n    def is_invokable(self):\n        return False\n", "path": "src/meltano/core/plugin/dbt/base.py"}]}