Emerge has a feature which allows the user to configure parameters to wget in /etc/make.conf by means of FETCHCOMMAND and RESUMECOMMAND which is really helpful, however as I am on a relatively slow connection (512kbps) downloading a file from the closest mirrors to me saturate my connection which is perfectly fine in some instances and not so much in others; I'd really love to pass this to emerge on the fly, for example emerge --rate-limit=25k openoffice-bin it would make my gentoo days a lot simpler and I don't believe it would be *too* much coding :) Reproducible: Always Steps to Reproduce: 1.Get crap Internet 2.Emerge 3.??? 4.Profit Actual Results: This page took 5 minutes to load Expected Results: This page to load in less than 5 minutes
I think I can safely say this is WONTFIX. Since users can override FETCHCOMMAND, any additional commandline option for portage that modifies FETCHCOMMAND would only work properly for the default FETCHCOMMAND. Also, you can already modify FETCHCOMMAND yourself, so why do you want this added to portage?
Can't you just copy FETCOMMAND and RESUMECOMMAND from /etc/make.globals to make.conf and modify it to fit your needs?
As I have mentioned, modifying your /etc/make.conf works, but its not the least painful method of going places. You could also pass FETCHCOMMAND at the time of the emerge, but seeing as you cant leave the variable blank and expect it to work, it would take just as long to get the correct parameters in there. All I'm asking for is a flag such as 'emerge --limit=25k package' which will allow limiting; it is a lot more user-friendly and I'm guessing there are more people than just me who would actually use it (Which is why I submitted this in the first place)
Use a wrapper script in FETCHCOMMAND that triggers the wanted behavior based on some condition. Adding an emerge option for this is not really an option as it wouldn't be portable (as has been said before), and emerge already has too many options IMO.