metamod:adding_dependencies

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
metamod:adding_dependencies [2011-06-24 13:59:01]
oysteint created
metamod:adding_dependencies [2022-05-31 09:29:32] (current)
Line 1: Line 1:
 ====== Adding Perl module dependencies ====== ====== Adding Perl module dependencies ======
  
-To deal with Perl module dependencies in a safe way the METAMOD project has developed its own dependencies handler that at all times keeps track of a dependency graphThe dependency graph contains information on which modules depend on each other and what version is needed. The dependency handler was mainly created to solve the following problems: +Deprecated since 2.13, which now uses [[http://search.cpan.org/~miyagawa/carton-v0.9.15/lib/Carton.pm|Carton]].
- +
-  * If installing Perl modules from an OS repository (like the Ubuntu repo) you are dependent on the version used by the OS version. +
-    * This modules can often be out-dated. +
-    * You are not guaranteed that the version X and version Y of the OS use compatible versions of the same module. +
-    * The module might not be available. +
-  * If installing Perl modules via a CPAN client you will always get the lastest version of a module. The module version will therefore depend on the time of installation and different machines will get different configurations. This often leads to bugs that are hard to track down and are a complete waste of time. +
- +
-The dependency handler used in METAMOD is one possible approach to this problem. The rest of the document describes how a new module can be added to graph. +
- +
-===== Checking out dependency handler with graphs ===== +
- +
-More to come.... +
  • metamod/adding_dependencies.1308923941.txt.gz
  • Last modified: 2022-05-31 09:23:19
  • (external edit)