View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007098 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2020-02-20 15:13 | 2024-07-03 09:55 |
Reporter | QA | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 6.2.0-rc.1 | ||||
Summary | 0007098: composer does overwrite files which are often adapted | ||||
Description | After executing the commands "composer update" or "composer install" at least the files offline.html, favicon.ico, .htaccess, robots.txt and nopic.jpg are always overwritten. Better would be if the files are only copied to the directory when the target file doesn't exist. And do nothing when the file is already there. So the changes are not gone and doesn't need to get restored all the time. | ||||
Steps To Reproduce | 1. Make changes to one or more or all of the listed files. 2. Execute composer update or composer install 3. Have a look at your changes. They are gone. | ||||
Additional Information | Please note that those files have in common that they get in most cases customized. Maybe there are even more of those "customized"-like files. Idea: An extendable blacklist of files which will not be overwritten after executing composer install/update. | ||||
Tags | Composer | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||