WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Why does open-vm-tools-x not load all extensions it depends on?  (Read 11020 times)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Why does open-vm-tools-x not load all extensions it depends on?
« Reply #30 on: April 26, 2011, 02:07:41 PM »
I'm through here, as Ulysses appears to be more interested arguing than solving a specific problem.

Offline Ulysses_

  • Full Member
  • ***
  • Posts: 232
Re: Why does open-vm-tools-x not load all extensions it depends on?
« Reply #31 on: April 26, 2011, 02:16:51 PM »
You seem to overlook that one and the same extension could as well serve
A: as a standalone app (e.g. it could make sense to have TC base and gpm being the only extension just to have a console mouse)
B: as an optional dep to some apps (e.g. gpm with irssi)
C: as a hard dep to some other apps (e.g. gpm and links)

Why not derive from the total tree of all extensions, a list of extensions that fall under one or both of A or B, and treat them differently.  

Perhaps allowing them to appear in onboot/ondemand tables as an exception.  

Or, allow them to appear in the tables only when NO extension has them as a hard dep.  This is simpler.
« Last Edit: April 26, 2011, 02:26:02 PM by Ulysses_ »

Offline Ulysses_

  • Full Member
  • ***
  • Posts: 232
Re: Why does open-vm-tools-x not load all extensions it depends on?
« Reply #32 on: April 26, 2011, 02:22:58 PM »
I'm through here, as Ulysses appears to be more interested arguing than solving a specific problem.

The problem is very specific, it looked like deps were not automatically loaded, and that looked so because of a user interface fault.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Why does open-vm-tools-x not load all extensions it depends on?
« Reply #33 on: April 26, 2011, 02:27:23 PM »
I am unaware of any
Quote
total tree of all extensions

Any extension could potentially be a hard dep of any 3rd party app, and therefore be desirable by some users to be onboot or ondemand.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Ulysses_

  • Full Member
  • ***
  • Posts: 232
Re: Why does open-vm-tools-x not load all extensions it depends on?
« Reply #34 on: April 26, 2011, 02:55:30 PM »
I am unaware of any
Quote
total tree of all extensions

Meant all extensions in the repo.  

Quote
Any extension could potentially be a hard dep of any 3rd party app, and therefore be desirable by some users to be onboot or ondemand.

Can't some extensions be marked by their creator as "application, always show in onboot/ondemand table" or something like that?

Offline Ulysses_

  • Full Member
  • ***
  • Posts: 232
Re: Why does open-vm-tools-x not load all extensions it depends on?
« Reply #35 on: April 26, 2011, 03:00:23 PM »
Or maybe split the tables in the middle and show top extensions on top, and dependencies at the bottom.  And when you click on a top extension it moves across together with all its dependencies which move across on the bottom pane.  

This automatic movement would show graphically the automatic-ness of extension loading.  

And clicking would not be allowed where it would make an invalid setup.
« Last Edit: April 26, 2011, 03:17:12 PM by Ulysses_ »