Hi,
I'm trying to setup metadeploy to deploy 2 products that are in the same git repo, and I'm getting an error
[MultipleObjectsReturned: get() returned more than one Product -- it returned 2!]on installing either one of them. Does this mean that metadeploy requires each product to have a separate repo?
File "/app/metadeploy/api/
jobs.py", line 76, in finalize_result
yield
File "/app/metadeploy/api/
jobs.py", line 220, in run_flows
repo_root = stack.enter_context(
^^^^^^^^^^^^^^^^^^^^
File "/app/.heroku/python/lib/python3.12/
contextlib.py", line 526, in enter_context
result = _enter(cm)
^^^^^^^^^^
File "/app/.heroku/python/lib/python3.12/
contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/app/metadeploy/api/
github.py", line 21, in local_github_checkout
product = Product.objects.get(repo_url__endswith=repo_url_ending)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.heroku/python/lib/python3.12/site-packages/django/db/models/
manager.py", line 87, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.heroku/python/lib/python3.12/site-packages/django/db/models/
query.py", line 640, in get
raise self.model.MultipleObjectsReturned(
MultipleObjectsReturned: get() returned more than one Product -- it returned 2!