Feature request for a new option, --force, that will disregard and overwrite already existing files when installing a package.
I'd be happy to submit a PR for this, unless there is something I haven't considered and this is a bad idea.
Context
I maintain a number of Python projects in the Arch User Repository (AUR) and for projects that require tests to run on an installed package I use the following pattern:
I.e. to install the package to a temporary location and add that to PYTHONPATH before running the tests.
The rm invocation is necessary when the directory is not clean and the package has already been installed in the tmp_install directory. However, this invocation could be made redundant by installer having the option to --force the install and disregard/overwrite any existing package files.
Feature request for a new option,
--force
, that will disregard and overwrite already existing files when installing a package.I'd be happy to submit a PR for this, unless there is something I haven't considered and this is a bad idea.
Context
I maintain a number of Python projects in the Arch User Repository (AUR) and for projects that require tests to run on an installed package I use the following pattern:
I.e. to install the package to a temporary location and add that to
PYTHONPATH
before running the tests.The
rm
invocation is necessary when the directory is not clean and the package has already been installed in thetmp_install
directory. However, this invocation could be made redundant byinstaller
having the option to--force
the install and disregard/overwrite any existing package files.