Closed harshad16 closed 2 years ago
It is being called in the cloned repo. It might be best to just ignore files and directories that start with a "."
Though the venv shouldn't be in the repository
I think the issue lies in cwd
it is failing silently and cloning directly into the root of the repo
Issue ended up being the venv was being created inside the repo directory from https://github.com/thoth-station/kebechet/blob/86e803e3816213b31d454230bd64ebad466c931f/kebechet/managers/update/update.py#L802
To fix I have decided to ignore hidden files and directories during the walk
Bug description
Kebechet is unable to resolve the version update. The update manager goes over a list of files to find the version and update it. The version manager should find these files in the repo it working on. however, it feels like the version manager checks on the entire container image.
https://github.com/thoth-station/adviser/issues/2370#issuecomment-1201852695
Steps to Reproduce
Steps to reproduce the behavior:
Actual behavior
the version manager checks for version file in entire container image.
Expected behavior
version manager should only check repo directory for version file.
Environment information
Kebechet version: 1.10.2 Python version: 3.8.12 Platform: Linux-4.18.0-305.19.1.el8_4.x86_64-x86_64-with-glibc2.2.5 pipenv version: pipenv, version 2020.11.15
Additional context
My suggestion to solve this issue would be to check if this function is being executed on the cloned repo.