-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I see what you mean. on a similer note, would it be difficult to make a 
command- fink downloadinfo <packages>, or fink install --downloadinfo 
<packages, which would go through the beginning of the install process, 
calculated missing dependencies, and output the correct wget/curl/insert 
method here/ to stdout? then it could be routed to a text file and used 
on a computer that has high bandwith.

On Tuesday, April 23, 2002, at 11:45 AM, Max Horn wrote:

> At 9:43 Uhr -0400 23.04.2002, Chris Zubrzycki wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> How hard would it be to add code to perform x number of downloads at 
>> once, where x is set in the config field? just wondering, for people 
>> who have fast connections.
>
> First, you would have to do multiple process (forks). Then you have to 
> manage those somehow.
>
> Now what do you do if one of the downloads fails - ok the process has 
> to interact with the user. Now another fails. Doh. OK, maybe you can 
> add a "manager process" which will first handle the one then the other. 
> Now, what if the user "aborts" one of the downloads. Do the others 
> continue or are they aborted also? You have to differentiate between 
> being called as part of "fink fetch-all" or "fink fetch-missing", and 
> the case where you are called as part of "fink build" etc.
>
> Then, what if two packages try to download the same files (this does 
> actually happen for some packages). So of course you have to handle 
> that as well.
>
> Etc. etc.
>
> What I want to say with this is not that it's impossible, just not that 
> trivial as you might think at the first glance. I didn't even think 
> about this long (I just started writing the reply by writing what came 
> to my head, so I am certain there are other issues left I didn't even 
> think about). So you first would need to determine what it is actually 
> you want to do (i.e. find answers for my questions above). Once you did 
> this (the hard part), you can think about how to implement it.
>
>
>> (would it be too hard to do for a perl beginner?)
>
> Depends on what the beginner knows? I.e. I don't view it as language 
> problem, rather a design issue.
>
>
> Max
> -- -----------------------------------------------
> Max Horn
> Software Developer
>
> email: <mailto:[EMAIL PROTECTED]>
> phone: (+49) 6151-494890
>
> _______________________________________________
> Fink-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-devel
>
>
- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070
========================================================
Security Is A Series Of Well-Defined Steps...

chmod -R 0 / ; and smile :)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE8xYVw+/mCMqKrwHARAkI7AJ9xf6Eosj5IpO/FTSLY2YWnPDx99wCgiE7e
KriSvk6/i+rg1Ed548vNu98=
=J2XQ
-----END PGP SIGNATURE-----


_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to