#20972 closed enhancement (fixed)
Global master_sites option (in conf)
Reported by: | chenggao@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.1.0 |
Component: | base | Version: | 1.8.0 |
Keywords: | Cc: | ||
Port: |
Description
I really hope Macports can have two features:
1 Global master_sites option to override Portfile settings I find some sites (esp. sf.net) are very slow. For many ports, I have to manually download source tarballs from distfiles.macports.org and then rerun port install.
How about add a global option to allow us to use distfiles.macports.org only? It can override master_sites in all Portfiles.
Since it seems distfiles.macports.org mirror all files, the natural way is like this:
use_main_mirror yes
If set, all source tarballs will be downloaded from distfiles.macports.org.
Hope server is robust enough or at least smoke/fire-proof enough.
- Use some download acceleration tool like axel
It can accelerate and resume downloading.
If combined with above setting, once again I hope server is super robust and super smoke/fire-proof.
Change History (6)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Type: | request → enhancement |
---|
comment:2 Changed 15 years ago by andre.david@…
comment:3 Changed 14 years ago by markjfe@…
Addition to request no. 1 in the original post:
Request that option should be to select downloads site, not just a flag to force the master site. Ref #28054 which describes a similar issue.
comment:4 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | Global master_sites option (in conf) and download acceleration → Global master_sites option (in conf) |
Options for preferred and blacklisted servers added in r89459. "Download acceleration" is a whole other feature, so this should really have been two tickets, but I believe there are already other tickets covering that kind of thing anyway.
comment:5 Changed 13 years ago by jmroot (Joshua Root)
Milestone: | → MacPorts Future |
---|
comment:6 Changed 13 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 2.1.0 |
---|
Replying to chenggao@…:
I actually second the need to auto-resume partial downloads. From home it is virtually impossible to update a large package without this. And it is a feature that
wget
and (the new to me)axel
support out of the box.