Add a plist file explaining pkg's dependency chain format.
--HG-- extra : convert_revision : 65b569dbd420e0201aca3fb30f0696e72cb5708f
This commit is contained in:
parent
11cb15060d
commit
2178112dac
1 changed files with 84 additions and 0 deletions
84
doc/dependency_chain.plist
Normal file
84
doc/dependency_chain.plist
Normal file
|
@ -0,0 +1,84 @@
|
|||
<dict>
|
||||
-- Dependency chain for a package --
|
||||
|
||||
The order to which dependencies are installed is:
|
||||
|
||||
1- Indirect deps with high->low priority.
|
||||
2- Direct deps with high->low priority.
|
||||
|
||||
Priority is increased by one any time a packages depends on, so a
|
||||
package that is needed by 30 packages will be installed before
|
||||
one that is needed by 10 packages.
|
||||
|
||||
<!-- Required deps that weren't found on any repository -->
|
||||
|
||||
<key>missing_deps</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>pkgname</key>
|
||||
<string>blurb</string>
|
||||
<key>version</key>
|
||||
<string>2.1</string>
|
||||
</dict>
|
||||
</array>
|
||||
|
||||
<!-- Required deps that are satisfied/installed -->
|
||||
|
||||
<key>installed_deps</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>pkgname</key>
|
||||
<string>blah</string>
|
||||
<key>version</key>
|
||||
<string>1.2</string>
|
||||
<key>requiredby</key>
|
||||
<string>foo-2.0</string>
|
||||
</dict>
|
||||
...
|
||||
</array>
|
||||
|
||||
<!--
|
||||
An array of dicctionaries for direct required deps,
|
||||
sorted by descending order of priority.
|
||||
-->
|
||||
|
||||
<key>direct_deps</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>pkgname</key>
|
||||
<string>blob</string>
|
||||
<key>version</key>
|
||||
<string>2.0</string>
|
||||
<key>repository</key>
|
||||
<string>/blah/foo</string>
|
||||
<key>requiredby</key>
|
||||
<string>foo-2.0</string>
|
||||
<key>priority</key>
|
||||
<integer>100</integer>
|
||||
<key>filename</key>
|
||||
<string>blob-2.0.i686.xbps</string>
|
||||
</dict>
|
||||
...
|
||||
</array>
|
||||
|
||||
<!- An array of diccionaries for indirect required deps -->
|
||||
|
||||
<key>indirect_deps</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>pkgname</key>
|
||||
<string>X</string>
|
||||
<key>version</key>
|
||||
<string>1.0</string>
|
||||
<key>repository</key>
|
||||
<string>/blah/foo</string>
|
||||
<key>requiredby</key>
|
||||
<string>blob-2.0</string>
|
||||
<key>priority</key>
|
||||
<integer>90</integer>
|
||||
<key>filename</key>
|
||||
<string>X-1.0.i686.xbps</string>
|
||||
</dict>
|
||||
...
|
||||
</array>
|
||||
</dict>
|
Loading…
Reference in a new issue