Summary: | emerge should retry in case of "206 Partial Content" | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Rabbe Fogelholm <rabbe> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | chris |
Priority: | High | ||
Version: | 2.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 377365 |
Description
Rabbe Fogelholm
2006-07-21 08:34:41 UTC
I suggest something like this (i don't do python programming, so i sortof put this together quickly: if package fails manifest & DO_NOT_REDOWNLOAD_PKGNAME=false do <command to remove distfile> <command to redownload> set DO_NOT_REDOWNLOAD_PKGNAME=true fi basically if the package fails the manifest check, it redownloads it and sets a variavble to not redownload that package again I think the problem that you describe is solved by the PORTAGE_FETCH_RESUME_MIN_SIZE variable: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=e2983690e7a22d69cb1507b55050438a6ec3d924 |