Thread Tools Display Modes
04-16-17, 03:14 PM   #1
Thaodan
A Murloc Raider
Join Date: Nov 2011
Posts: 5
Nolib Dependency Ressolution

Is it supported to install libraries separate?
  Reply With Quote
04-18-17, 12:29 PM   #2
Dolby
PPAP
 
Dolby's Avatar
WoWInterface Admin
Join Date: Feb 2004
Posts: 2,339
Minion won't automatically install dependencies. We have a ticket to get that done automatically but there is some higher priority items we are working on at the moment.

Most AddOns here include the libraries. Is there an AddOn that doesnt? I could open the library category up to Minion so they can be installed separately if there is a need?
  Reply With Quote
04-19-17, 12:55 AM   #3
Thaodan
A Murloc Raider
Join Date: Nov 2011
Posts: 5
Thats what I meant installing libraries explicit and use -nolib versions of the addons.
Usally the toc file list all dependencies for an addon.
  Reply With Quote
04-19-17, 02:56 PM   #4
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Eh... nolib versions of addons are kind of unnecessary at this point. Even back when they were a "thing", most users had no idea how to deal with them and would always end up giving themselves tons of errors. The only reason why Curse still supports them is because wowace is the community that originated the concept.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
04-19-17, 04:09 PM   #5
Thaodan
A Murloc Raider
Join Date: Nov 2011
Posts: 5
When the pkg manager handles them no user have to "handle" them.
Thats exactly what curse does
  Reply With Quote
04-19-17, 06:45 PM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
That doesn't change the fact that they are unnecessary now. The reasons why no-lib versions became a "thing" was to:
1. shorten load times (which should be hardly noticeable with current computers)
2. save disk space (which is negligible when you take into account the size of library files, the size of the WoW directory, and the size of current hard drives)
3. lower memory used by addons within WoW (negligible when you take into account the amount of RAM modern computers have, and the fact that LibStub only loads the most recent version of a library into memory, not all of the copies)
The only one that might still be valid is:
4. A developer checking on their addon's memory usage apart from the libraries used (and in this case, the developer is fully capable of making the addon they are currently working on run without libs embedded)
IMO, that one (weak) reason isn't enough to add support for it for all users in Minion. Many authors back in the day (and still today) discouraged the use of no-lib addons by regular users. So, unless you have a reason that I have forgotten above, I would argue that the time and energy would be better spent elsewhere.

/edited to add: some libraries don't even have a standalone version (LibDataBroker, for example)
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote

WoWInterface » Site Forums » Minion » Nolib Dependency Ressolution

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off