Advertisement:

Author Topic: Package dependencies  (Read 2616 times)

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,292
  • Gender: Male
    • Yoshi2889 on GitHub
Package dependencies
« on: February 22, 2012, 05:17:09 AM »
Hi there :)

I hope I'm spelling it right, but package dependencies would be a nice feature to have :)
Basically, one package should be able to check if another one is installed before the package can be installed.

E.g. package Slider needs package jQuery. Package Slider would include this code into their installation XML:
Code: [Select]
<dependencies>
<package>jQuery</package>

The packages should be able to search for other ones per ID.

I think this feature is useful, to avoid multiple-code conflicts (e.g. two jQuery include codes).
This will also make API packs possible.

Can this be implemented into SMF? :)
My Mods / Mod Builder - A tool to easily create mods / Former support team member
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline Illori

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 43,732

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,292
  • Gender: Male
    • Yoshi2889 on GitHub
Re: Package dependencies
« Reply #2 on: February 22, 2012, 06:11:38 AM »
Oh excuse me, I couldn't find anything while searching :(

Anyway, solved.
My Mods / Mod Builder - A tool to easily create mods / Former support team member
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."