Advertisement:
NameCheap

Author Topic: Package dependencies  (Read 2274 times)

Offline NanoSector

  • Support Specialist
  • SMF Super Hero
  • *
  • Posts: 10,035
  • Gender: Male
    • rick2288 on Facebook
    • Yoshi2889 on GitHub
    • Test Server
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 / 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

  • Doc Coordinator
  • SMF Master
  • *
  • Posts: 36,400

Offline NanoSector

  • Support Specialist
  • SMF Super Hero
  • *
  • Posts: 10,035
  • Gender: Male
    • rick2288 on Facebook
    • Yoshi2889 on GitHub
    • Test Server
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 / Support team member
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."