Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: jls on January 06, 2011, 08:40:28 AM
-
should the scripts generated by ondemand download from the net the extension if missing locally?
-
How does it get in ondemand if it is not in optional?
-
u ondemanded the extension in the past but then u deleted the tcz
-
No
You should not delete the tcz if you want to use it.
You can't expect tiny core to do things you don't ask it to do. Other people may not want it to do that.
-
It is very easy to put a script in ~/.local/bin that checks to see if the binary exists, and tce-load -iw the extension if it does not.
I do this for dropbear and midnight-commander, as they have no icon for ondemand.
-
I could imagine that this idea could be implemented as "ondemand from cloud".
If it could be implemented in a way to rely only on files in backup so an existing PPR would not be a requisite, then it could possibly enhance the (already impressive) nomadic capacities of TC even further.
-
Ahh, if there is no ppr, where are you going to store this ondemand-from-cloud?
-
What I had in mind would be a persistent personal ondemand configuration, which might allow to use ondemand in a similar way as using extensions when in cloud mode with backup.
-
What I had in mind would be a persistent personal ondemand configuration, which might allow to use ondemand in a similar way as using extensions when in cloud mode with backup.
I have my setup like this. I can delete everything in tce/optional (except onboot stuff), and recover fully.
Now if tce-load also fetched stuff from the repo if missing locally, it would be a fully recoverable system. Has my vote.
-
The user needs to be given a choice.
The minimum requirement would be to notify the user that the extension is missing, and ask if the user wants to download it.
But then, why not just suggest the user download it using the app browser?
-
Choice is good - could be a radio button in appbrowser, to select an option to automatically download missing extensions.
-
Automatically "attempting" to download missing dependencies during application load will
result in confusion to many users when applications fail to load.
Forcing the download of dependencies when downloading an application with AppBrowser
gives the user feedback on the success or failure of the installation.
Just how do you decide what commands need to be downloaded on-demand, and how do you know the extension names?