OpenAPITools / OpenAPITools/openapi-generator-cli
Consider moving downloaded jar cache directory outside of the package directory
@kay-schecker đang làm issue này rồi.
Từ ngày 6/10/2022.
- Ngôn ngữ chính
- TypeScript
- Star
- 2k
- Fork
- 208
- Merge trung bình
- 7 giờ 12 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
🐛 Bug Report:
Describe the bug
Due to storing the downloaded jar inside <package>/versions, they will get wiped out whenever openapi-generator-cli gets reinstalled, this can cause a lot of unnecessary slow redownloads of the jar and quite a bit of unnecessary load on the downloads server.
Steps to Reproduce
Steps to reproduce the behavior:
- Run
openapi-generator-cli - Make some dependencies change which will cause the package to be reinstalled. (Depends on packaging tool, yarn 1.x seems to do so for every change)
- The jars in
<pacakage>/versionswill be wiped out.
Expected behavior
The jars to remain, so they only have to ever be downloaded once per host.
Screenshots
If applicable, add screenshots to help explain your problem.
Operation System (please complete the following information):
- OS: macOS
- Version 12.6
Package System (please complete the following information):
- Yarn Version 1.22.19
Additional context
There are standard paths for caching such files. Be it a folder under the npm-cache or ${XDG_CACHE_HOME:-$HOME/.cache}
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.