| Summary: | Urpmi-proxy should serve .noarch files from both arch cache trees to any architecture | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Morgan Leijström <fri> |
| Component: | RPM Packages | Assignee: | AL13N <alien> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | mageiatools, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | urpmi-proxy-0.4.0-4.mga5.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Morgan Leijström
2014-11-17 19:25:48 CET
Related: Bug 14588 - Urpmi-proxy could clean out old file versions to save cache size Assignee:
bugsquad =>
alien hmm, not easy to do something that's flexible and doesn't bite you in the ass later on... and isn't urpmi-specific... i could maybe try to replace i586 and x86_64 in full path names with each other to see if there's such a file... but, won't it just delay all downloads? perhaps it's better to have a filesystem where you can use dedup to spare your size? http transport doesn't actually have the hardlink info... OK, have the default setting not to do this trick, and it is by default not urpmi-specific :) Missing the hardlink info, we have to go on naming, that is: whenever a *.noarch* file is requested, check if it exist under given path plus under the possible alternate location where .i586/x86_64 in the given path is substituted with x86_64/.i586 The delay to in those cases check two dirs instead of one is very marginal compared to downloading them. Never tried, but I guess deduplication use much more CPU and possible RAM resources https://btrfs.wiki.kernel.org/index.php/Deduplication
Miles Reystor
2016-10-05 15:19:24 CEST
CC:
(none) =>
writing.my.life4ever
Marja Van Waes
2016-10-20 18:08:19 CEST
CC:
(none) =>
marja11
Marja Van Waes
2017-12-02 11:50:22 CET
CC:
writing.my.life4ever =>
mageiatools |