8 | | * Les entrées sont des paragraphes de troisième niveau (titre encadré par {{{===}}}). |
9 | | * Les catégories sont des paragraphes de deuxième niveau (titre encadré par {{{==}}}). |
| 16 | [http://www.cmtsite.org/ CMT](__C__onfiguration __M__anagement __T__ool) is a configuration management environment, based on some management conventions and comprises several shell-based utilities. It is an attempt to formalize software production and especially configuration management around a package-oriented principle. |
| 17 | |
| 18 | The environment provides conventions (for naming packages, files, directories and for addressing them) and tools for automating as much as possible the implementation of these conventions. It permits to describe the configuration requirements and automatically deduce from the description the effective set of configuration parameters needed to operate the packages (typically for building them or using them). |
| 19 | |
| 20 | === What is a package ? === |
| 21 | |
| 22 | The notion of packages represents hereafter a set of software components (that may be applications, libraries, tools etc...) that are to be used for producing a system or a framework. In such an environment, several persons are assumed to participate in the development and the components themselves are either independent or related to each other. |
| 23 | |
| 24 | === How to install CMT ? === |
| 25 | |
| 26 | See: [http://www.cmtsite.org/install.html Install] |
| 27 | |
| 28 | === Are there copyright restrictions on the use of CMT ? === |
| 29 | |
| 30 | Not really. CMT is provided as an Open-Source product, with available sources, and is opened to any contribution from anybody. |
| 31 | |
| 32 | See the license page [http://www.cecill.info/licences.en.html agreement] to find further explanations and a link to the full text of the license. |
| 33 | |
| 34 | === How do I get documentation on CMT ? === |
| 35 | |
| 36 | All documentation is available on-line, starting at [http://www.cmtsite.org/documents.html Documents]. |
| 37 | |
| 38 | === Is there a mailing list devoted to CMT ? === |
| 39 | |
| 40 | There is a mailing list, [http://www.cmtsite.org/discussion.html mailing list]. |
| 41 | |
| 42 | === I've never used CMT before. Is there a CMT tutorial? === |
| 43 | |
| 44 | There are numerous tutorials avalaible here: |
| 45 | |
| 46 | * [http://www.cmtsite.org/documents.html Documents] |
| 47 | |
| 48 | * [http://atlas.web.cern.ch/Atlas/GROUPS/SOFTWARE/OO/sit/Policy/ Atlas and CMT] |
| 49 | |
| 50 | * [wiki:VincentTrial How do i begin playing with CMT ?] |
| 51 | |
| 52 | === How do I submit bug reports for CMT ? === |
| 53 | |
| 54 | To report a bug, please use the relevant service from the Trac project. |
| 55 | |
| 56 | * Bugs: [http://trac.lal.in2p3.fr/CMT/newticket New Ticket] |
23 | | == Les Certificats == |
| 73 | === What are the supported platforms ? === |
| 74 | |
| 75 | CMT has been ported and tested on a wide range of machines/operating systems, including: |
| 76 | |
| 77 | * DEC-Unix V4.0 |
| 78 | * HP-UX-10 (several types of platforms) |
| 79 | * AIX-4 |
| 80 | * Solaris |
| 81 | * IRIX |
| 82 | * Several variants of LynxOS |
| 83 | * All variants of Linux (RedHat, Debian, SuSe, ScientificLinux, ...) |
| 84 | * Windows 95/98/NT/Windows2000 in various environments: |
| 85 | * CYGWIN_NT-5.1 environment |
| 86 | * nmake based environment |
| 87 | * MSDev/VisualC 6 environment |
| 88 | * MSDev/VisualC 7 environment |
| 89 | * Darwin (Mac OS X) |
| 90 | |
| 91 | == CMT's design == |
| 92 | |
| 93 | = What are the architecture of the environment ? = |
| 94 | This environment is based on the fact that one of its packages (named CMT ) provides the basic |
| 95 | management tools. CMT , as a package, has very little specificities and as such itself obeys the |
| 96 | general conventions. |
| 97 | Then the complete software base is organized in terms of projects (or sub-projects ), containing |
| 98 | consistently managed package sets. Projects are localized either globally or individually: |
| 99 | globally using the environment variable CMTPROJECTPATH that describes all locations |
| 100 | where CMT projects can be found individually using the environment variable CMTPATH that describe all package areas where packages can be found Packages are localized respectively to the projects they belong to. |
| 101 | It should be noted that the choice of a location for installing CMT itself is totally independent of |
| 102 | the locations where projects are installed and managed. |
| 103 | |
| 104 | CMT is operated through one main user interface : the cmt command, which operates the CMT |
| 105 | conventions and which provides a set of services for : |
| 106 | * creating a new package. This operation will create or check the local package directory tree and generate several minimal scripts (see the description of the create command), |
| 107 | * describing or monitoring : |
| 108 | * the relationships between the package and other packages |
| 109 | * the configuration features either specified in the current package, or imported from related (used ) ones. (symbols, patterns, fragments) |
| 110 | * the constituents of the package in terms of libraries, executables, or generated documents. |
| 111 | * automatically generating the reconstruction scripts (makefiles ) from this description. |
| 112 | * recursively acting upon the hierarchy of used packages. |
| 113 | |
| 114 | Several other utilities are also provided for some specific activities (such as the automatic |
| 115 | production of shared libraries, C prototypes, management of interactions between CVS and CMT |
| 116 | itself, the management of a similar architecture for Windows or OS9 , setting up protections for |
| 117 | packages (through locks) etc...). |
| 118 | |
| 119 | = User FAQ = |
| 120 | |
| 121 | == How to create a package ? == |
| 122 | |
| 123 | cmt create <package_name> <version> |
| 124 | |
| 125 | == Does the "requirements" file support comments ? == |
| 126 | |
| 127 | Yes. A comment starts with a hash character (#) that is not part of a string literal, and ends at the end of the physical line. |