Optimization of storage
See original GitHub issueCurrent solution wasting too much disk storage because of copy-pasting all content via
cp --recursive --preserve=timestamps $PROJECT_LATEST_REPORT/* $NEW_REPORT_DIRECTORY/
For default allure server configurations, files like app.js, styles.css etc… are absolutely the same and for each report, they take about 2-3MB+. From the perspective where we want to use this server for some automated test which runs multiple times per day, it can waste a lot of storage for no reason.
There should be added some experimental feature (Idk how about all allure server configuration, where these files should be different, but for default allure report from cucumber test it’s ok) where it will replace copy-pasting of all files by creating symlinks.
I mean something like
ln -s $PROJECT_LATEST_REPORT/styles.css $NEW_REPORT_DIRECTORY/styles.css
ln -s $PROJECT_LATEST_REPORT/app.js $NEW_REPORT_DIRECTORY/app.js
It will be great if you will think about this feature, it should helpful everyone who wants to use your image for real usage.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6 (4 by maintainers)
Top GitHub Comments
@fescobar appreciate it! Updated and checking!
@VojKozel @AdamRussak you will have news soon.