prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Add release meta issue template for 1.1.1
  Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  
  ### Description
  Add release meta issue template for 1.1.1
   
  ### Issues Resolved
  [List any issues this PR will resolve]
   
  ### Check List
  - [x] Commits are signed per the DCO using --signoff 
  
  By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
  For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).
  
  
  </issue>
  <code>
  [start of src/ci_workflow/ci_input_manifest.py]
  1 # SPDX-License-Identifier: Apache-2.0
  2 #
  3 # The OpenSearch Contributors require contributions made to
  4 # this file be licensed under the Apache-2.0 license or a
  5 # compatible open source license.
  6 
  7 import logging
  8 
  9 from ci_workflow.ci_check_lists import CiCheckLists
  10 from ci_workflow.ci_manifest import CiManifest
  11 from ci_workflow.ci_target import CiTarget
  12 from manifests.input_manifest import InputManifest
  13 from system.temporary_directory import TemporaryDirectory
  14 
  15 
  16 class CiInputManifest(CiManifest):
  17     def __init__(self, file, args):
  18         super().__init__(InputManifest.from_file(file), args)
  19 
  20     def __check__(self):
  21 
  22         target = CiTarget(version=self.manifest.build.version, snapshot=self.args.snapshot)
  23 
  24         with TemporaryDirectory(keep=self.args.keep, chdir=True) as work_dir:
  25             logging.info(f"Sanity-testing in {work_dir.name}")
  26 
  27             logging.info(f"Sanity testing {self.manifest.build.name}")
  28 
  29             for component in self.manifest.components.select(focus=self.args.component):
  30                 logging.info(f"Sanity testing {component.name}")
  31 
  32                 ci_check_list = CiCheckLists.from_component(component, target)
  33                 ci_check_list.checkout(work_dir.name)
  34                 ci_check_list.check()
  35                 logging.info("Done.")
  36
  [end of src/ci_workflow/ci_input_manifest.py]
  [start of src/ci_workflow/ci_target.py]
  1 # SPDX-License-Identifier: Apache-2.0
  2 #
  3 # The OpenSearch Contributors require contributions made to
  4 # this file be licensed under the Apache-2.0 license or a
  5 # compatible open source license.
  6 
  7 
  8 class CiTarget:
  9     version: str
  10     snapshot: bool
  11 
  12     def __init__(self, version, snapshot=True):
  13         self.version = version
  14         self.snapshot = snapshot
  15 
  16     @property
  17     def opensearch_version(self):
  18         return self.version + "-SNAPSHOT" if self.snapshot else self.version
  19 
  20     @property
  21     def component_version(self):
  22         # BUG: the 4th digit is dictated by the component, it's not .0, this will break for 1.1.0.1
  23         return self.version + ".0-SNAPSHOT" if self.snapshot else f"{self.version}.0"
  24
  [end of src/ci_workflow/ci_target.py]
  [start of src/ci_workflow/ci_check_manifest_component.py]
  1 # SPDX-License-Identifier: Apache-2.0
  2 #
  3 # The OpenSearch Contributors require contributions made to
  4 # this file be licensed under the Apache-2.0 license or a
  5 # compatible open source license.
  6 
  7 import logging
  8 
  9 from build_workflow.build_args import BuildArgs
  10 from ci_workflow.ci_check import CiCheckDist
  11 from manifests.build_manifest import BuildManifest
  12 
  13 
  14 class CiCheckManifestComponent(CiCheckDist):
  15     class MissingComponentError(Exception):
  16         def __init__(self, component, url):
  17             super().__init__(f"Missing {component} in {url}.")
  18 
  19     def check(self):
  20         for architecture in BuildArgs.SUPPORTED_ARCHITECTURES:
  21             url = "/".join([self.component.dist, architecture, "manifest.yml"])
  22             self.build_manifest = BuildManifest.from_url(url)
  23             if self.component.name in self.build_manifest.components:
  24                 logging.info(f"Found {self.component.name} in {url}.")
  25             else:
  26                 raise CiCheckManifestComponent.MissingComponentError(self.component.name, url)
  27
  [end of src/ci_workflow/ci_check_manifest_component.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/ci_workflow/ci_check_manifest_component.py b/src/ci_workflow/ci_check_manifest_component.py
  --- a/src/ci_workflow/ci_check_manifest_component.py
  +++ b/src/ci_workflow/ci_check_manifest_component.py
  @@ -18,7 +18,9 @@
   
       def check(self):
           for architecture in BuildArgs.SUPPORTED_ARCHITECTURES:
  -            url = "/".join([self.component.dist, architecture, "manifest.yml"])
  +            # Since we only have 'linux' builds now we hard code it to 'linux'
  +            # Once we have all platform builds on S3 we can then add a second loop for 'BuildArgs.SUPPORTED_PLATFORMS'
  +            url = "/".join([self.component.dist, "linux", architecture, "builds", self.target.name, "manifest.yml"])
               self.build_manifest = BuildManifest.from_url(url)
               if self.component.name in self.build_manifest.components:
                   logging.info(f"Found {self.component.name} in {url}.")
  diff --git a/src/ci_workflow/ci_input_manifest.py b/src/ci_workflow/ci_input_manifest.py
  --- a/src/ci_workflow/ci_input_manifest.py
  +++ b/src/ci_workflow/ci_input_manifest.py
  @@ -19,7 +19,7 @@
   
       def __check__(self):
   
  -        target = CiTarget(version=self.manifest.build.version, snapshot=self.args.snapshot)
  +        target = CiTarget(version=self.manifest.build.version, name=self.manifest.build.filename, snapshot=self.args.snapshot)
   
           with TemporaryDirectory(keep=self.args.keep, chdir=True) as work_dir:
               logging.info(f"Sanity-testing in {work_dir.name}")
  diff --git a/src/ci_workflow/ci_target.py b/src/ci_workflow/ci_target.py
  --- a/src/ci_workflow/ci_target.py
  +++ b/src/ci_workflow/ci_target.py
  @@ -7,10 +7,12 @@
   
   class CiTarget:
       version: str
  +    name: str
       snapshot: bool
   
  -    def __init__(self, version, snapshot=True):
  +    def __init__(self, version, name, snapshot=True):
           self.version = version
  +        self.name = name
           self.snapshot = snapshot
   
       @property
  
verification_info: {"golden_diff": "diff --git a/src/ci_workflow/ci_check_manifest_component.py b/src/ci_workflow/ci_check_manifest_component.py\n--- a/src/ci_workflow/ci_check_manifest_component.py\n+++ b/src/ci_workflow/ci_check_manifest_component.py\n@@ -18,7 +18,9 @@\n \n     def check(self):\n         for architecture in BuildArgs.SUPPORTED_ARCHITECTURES:\n-            url = \"/\".join([self.component.dist, architecture, \"manifest.yml\"])\n+            # Since we only have 'linux' builds now we hard code it to 'linux'\n+            # Once we have all platform builds on S3 we can then add a second loop for 'BuildArgs.SUPPORTED_PLATFORMS'\n+            url = \"/\".join([self.component.dist, \"linux\", architecture, \"builds\", self.target.name, \"manifest.yml\"])\n             self.build_manifest = BuildManifest.from_url(url)\n             if self.component.name in self.build_manifest.components:\n                 logging.info(f\"Found {self.component.name} in {url}.\")\ndiff --git a/src/ci_workflow/ci_input_manifest.py b/src/ci_workflow/ci_input_manifest.py\n--- a/src/ci_workflow/ci_input_manifest.py\n+++ b/src/ci_workflow/ci_input_manifest.py\n@@ -19,7 +19,7 @@\n \n     def __check__(self):\n \n-        target = CiTarget(version=self.manifest.build.version, snapshot=self.args.snapshot)\n+        target = CiTarget(version=self.manifest.build.version, name=self.manifest.build.filename, snapshot=self.args.snapshot)\n \n         with TemporaryDirectory(keep=self.args.keep, chdir=True) as work_dir:\n             logging.info(f\"Sanity-testing in {work_dir.name}\")\ndiff --git a/src/ci_workflow/ci_target.py b/src/ci_workflow/ci_target.py\n--- a/src/ci_workflow/ci_target.py\n+++ b/src/ci_workflow/ci_target.py\n@@ -7,10 +7,12 @@\n \n class CiTarget:\n     version: str\n+    name: str\n     snapshot: bool\n \n-    def __init__(self, version, snapshot=True):\n+    def __init__(self, version, name, snapshot=True):\n         self.version = version\n+        self.name = name\n         self.snapshot = snapshot\n \n     @property\n", "issue": "Add release meta issue template for 1.1.1\nSigned-off-by: Peter Zhu <zhujiaxi@amazon.com>\r\n\r\n### Description\r\nAdd release meta issue template for 1.1.1\r\n \r\n### Issues Resolved\r\n[List any issues this PR will resolve]\r\n \r\n### Check List\r\n- [x] Commits are signed per the DCO using --signoff \r\n\r\nBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.\r\nFor more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).\r\n\n", "before_files": [{"content": "# SPDX-License-Identifier: Apache-2.0\n#\n# The OpenSearch Contributors require contributions made to\n# this file be licensed under the Apache-2.0 license or a\n# compatible open source license.\n\nimport logging\n\nfrom ci_workflow.ci_check_lists import CiCheckLists\nfrom ci_workflow.ci_manifest import CiManifest\nfrom ci_workflow.ci_target import CiTarget\nfrom manifests.input_manifest import InputManifest\nfrom system.temporary_directory import TemporaryDirectory\n\n\nclass CiInputManifest(CiManifest):\n    def __init__(self, file, args):\n        super().__init__(InputManifest.from_file(file), args)\n\n    def __check__(self):\n\n        target = CiTarget(version=self.manifest.build.version, snapshot=self.args.snapshot)\n\n        with TemporaryDirectory(keep=self.args.keep, chdir=True) as work_dir:\n            logging.info(f\"Sanity-testing in {work_dir.name}\")\n\n            logging.info(f\"Sanity testing {self.manifest.build.name}\")\n\n            for component in self.manifest.components.select(focus=self.args.component):\n                logging.info(f\"Sanity testing {component.name}\")\n\n                ci_check_list = CiCheckLists.from_component(component, target)\n                ci_check_list.checkout(work_dir.name)\n                ci_check_list.check()\n                logging.info(\"Done.\")\n", "path": "src/ci_workflow/ci_input_manifest.py"}, {"content": "# SPDX-License-Identifier: Apache-2.0\n#\n# The OpenSearch Contributors require contributions made to\n# this file be licensed under the Apache-2.0 license or a\n# compatible open source license.\n\n\nclass CiTarget:\n    version: str\n    snapshot: bool\n\n    def __init__(self, version, snapshot=True):\n        self.version = version\n        self.snapshot = snapshot\n\n    @property\n    def opensearch_version(self):\n        return self.version + \"-SNAPSHOT\" if self.snapshot else self.version\n\n    @property\n    def component_version(self):\n        # BUG: the 4th digit is dictated by the component, it's not .0, this will break for 1.1.0.1\n        return self.version + \".0-SNAPSHOT\" if self.snapshot else f\"{self.version}.0\"\n", "path": "src/ci_workflow/ci_target.py"}, {"content": "# SPDX-License-Identifier: Apache-2.0\n#\n# The OpenSearch Contributors require contributions made to\n# this file be licensed under the Apache-2.0 license or a\n# compatible open source license.\n\nimport logging\n\nfrom build_workflow.build_args import BuildArgs\nfrom ci_workflow.ci_check import CiCheckDist\nfrom manifests.build_manifest import BuildManifest\n\n\nclass CiCheckManifestComponent(CiCheckDist):\n    class MissingComponentError(Exception):\n        def __init__(self, component, url):\n            super().__init__(f\"Missing {component} in {url}.\")\n\n    def check(self):\n        for architecture in BuildArgs.SUPPORTED_ARCHITECTURES:\n            url = \"/\".join([self.component.dist, architecture, \"manifest.yml\"])\n            self.build_manifest = BuildManifest.from_url(url)\n            if self.component.name in self.build_manifest.components:\n                logging.info(f\"Found {self.component.name} in {url}.\")\n            else:\n                raise CiCheckManifestComponent.MissingComponentError(self.component.name, url)\n", "path": "src/ci_workflow/ci_check_manifest_component.py"}]}