--check-updates
should work with file:// dependencies
#338
Labels
Milestone
--check-updates
should work with file:// dependencies
#338
When you call
fades
with a file dependency (like,fades -d file:///tmp/path/to/project
) it will not re-create the venv even if the project changes.We could store the directory
ctime
in the fades metadata file, and use it to check updates and re-create the venv if changed.This would be an example of use sequence:
fades -d file:///tmp/path/to/project
: a venv is created first timefades -d file:///tmp/path/to/project
: the venv is reusedfades -d file:///tmp/path/to/project
: the venv is just reused!fades --check-updates -d file:///tmp/path/to/project
: the project's dirctime
changed! a new venv is createdfades --check-updates -d file:///tmp/path/to/project
: the project's dirctime
didn't change, the venv is reusedfades --check-updates -d file:///tmp/path/to/project
: the project's dirctime
changed! a new venv is createdThe text was updated successfully, but these errors were encountered: