1 |
sashby |
1.1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
2 |
|
|
|
3 |
|
|
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
|
4 |
|
|
patched version by: Kenshi Muto, Debian Project.
|
5 |
|
|
LaTeX2HTML 2002 (1.62),
|
6 |
|
|
original version by: Nikos Drakos, CBLU, University of Leeds
|
7 |
|
|
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
8 |
|
|
* with significant contributions from:
|
9 |
|
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
10 |
|
|
<HTML>
|
11 |
|
|
<HEAD>
|
12 |
|
|
<TITLE>2.4 The SCRAM Database</TITLE>
|
13 |
|
|
<META NAME="description" CONTENT="2.4 The SCRAM Database">
|
14 |
|
|
<META NAME="keywords" CONTENT="SCRAM">
|
15 |
|
|
<META NAME="resource-type" CONTENT="document">
|
16 |
|
|
<META NAME="distribution" CONTENT="global">
|
17 |
|
|
|
18 |
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
19 |
|
|
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
|
20 |
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
21 |
|
|
|
22 |
|
|
<LINK REL="STYLESHEET" HREF="SCRAM.css">
|
23 |
|
|
|
24 |
|
|
<LINK REL="previous" HREF="node15.html">
|
25 |
|
|
<LINK REL="up" HREF="node12.html">
|
26 |
|
|
<LINK REL="next" HREF="node17.html">
|
27 |
|
|
</HEAD>
|
28 |
|
|
|
29 |
|
|
<BODY bgcolor="beige" >
|
30 |
|
|
<!--Navigation Panel-->
|
31 |
|
|
<A NAME="tex2html533"
|
32 |
|
|
HREF="node17.html">
|
33 |
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
34 |
|
|
SRC="file:/usr/share/latex2html/icons/next.png"></A>
|
35 |
|
|
<A NAME="tex2html527"
|
36 |
|
|
HREF="node12.html">
|
37 |
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
38 |
|
|
SRC="file:/usr/share/latex2html/icons/up.png"></A>
|
39 |
|
|
<A NAME="tex2html523"
|
40 |
|
|
HREF="node15.html">
|
41 |
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
42 |
|
|
SRC="file:/usr/share/latex2html/icons/prev.png"></A>
|
43 |
|
|
<A NAME="tex2html529"
|
44 |
|
|
HREF="node2.html">
|
45 |
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
46 |
|
|
SRC="file:/usr/share/latex2html/icons/contents.png"></A>
|
47 |
|
|
<A NAME="tex2html531"
|
48 |
|
|
HREF="node85.html">
|
49 |
|
|
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
50 |
|
|
SRC="file:/usr/share/latex2html/icons/index.png"></A>
|
51 |
|
|
<BR>
|
52 |
|
|
<B> Next:</B> <A NAME="tex2html534"
|
53 |
|
|
HREF="node17.html">3. Creating and Maintaining</A>
|
54 |
|
|
<B> Up:</B> <A NAME="tex2html528"
|
55 |
|
|
HREF="node12.html">2. Obtaining and Installing</A>
|
56 |
|
|
<B> Previous:</B> <A NAME="tex2html524"
|
57 |
|
|
HREF="node15.html">2.3 Controlling SCRAM Versions</A>
|
58 |
|
|
  <B> <A NAME="tex2html530"
|
59 |
|
|
HREF="node2.html">Contents</A></B>
|
60 |
|
|
  <B> <A NAME="tex2html532"
|
61 |
|
|
HREF="node85.html">Index</A></B>
|
62 |
|
|
<BR>
|
63 |
|
|
<BR>
|
64 |
|
|
<!--End of Navigation Panel-->
|
65 |
|
|
|
66 |
|
|
<H1><A NAME="SECTION00340000000000000000"></A>
|
67 |
|
|
<A NAME="376"></A>
|
68 |
|
|
<BR>
|
69 |
|
|
2.4 The SCRAM Database
|
70 |
|
|
</H1>
|
71 |
|
|
<A NAME="1823"></A>
|
72 |
|
|
<A NAME="378"></A>
|
73 |
|
|
<A NAME="1824"></A>
|
74 |
|
|
<A NAME="1825"></A>
|
75 |
|
|
The <SMALL>SCRAM</SMALL> database file is called <TT>project.lookup</TT> and
|
76 |
|
|
contains lookup tables for the various projects that may be
|
77 |
|
|
installed on your system. The database is read
|
78 |
|
|
during a <TT>scram list</TT> command. Usually, the database file
|
79 |
|
|
lives in the <TT>scramdb</TT> directory of
|
80 |
|
|
your <SMALL>SCRAM</SMALL> installation area and is accessible to all <SMALL>SCRAM</SMALL>
|
81 |
|
|
versions. The database directory is created automatically at
|
82 |
|
|
installation time. The default location can be overridden with the
|
83 |
|
|
environment variable <TT>SCRAM_LOOKUPDB</TT>.
|
84 |
|
|
|
85 |
|
|
<P>
|
86 |
|
|
<DL>
|
87 |
|
|
<DT><STRONG>Installing a project in the database</STRONG></DT>
|
88 |
|
|
<DD>
|
89 |
|
|
<BR>
|
90 |
|
|
A project can be installed into the database using the command
|
91 |
|
|
|
92 |
|
|
<P>
|
93 |
|
|
<TT>scram install</TT>
|
94 |
|
|
|
95 |
|
|
[<I>project_name</I>] [<I>project_version</I>]
|
96 |
|
|
|
97 |
|
|
<P>
|
98 |
|
|
This command is usually executed in the project area of the
|
99 |
|
|
project (and version) to be installed. If the project name and
|
100 |
|
|
version are given then these will be used in the database in place of
|
101 |
|
|
the project defaults.
|
102 |
|
|
|
103 |
|
|
<P>
|
104 |
|
|
</DD>
|
105 |
|
|
<DT><STRONG>Removing an installed project from the database</STRONG></DT>
|
106 |
|
|
<DD>
|
107 |
|
|
<BR>
|
108 |
|
|
A project can be removed from the database using the command
|
109 |
|
|
|
110 |
|
|
<P>
|
111 |
|
|
<TT>scram remove</TT>
|
112 |
|
|
|
113 |
|
|
<TT>project_name</TT> <TT>project_version</TT>
|
114 |
|
|
|
115 |
|
|
<P>
|
116 |
|
|
This command can be executed anywhere but will only work if the
|
117 |
|
|
user has write permissions on the <TT>project.lookup</TT> file.
|
118 |
|
|
|
119 |
|
|
<P>
|
120 |
|
|
<A NAME="399"></A>
|
121 |
|
|
</DD>
|
122 |
|
|
<DT><STRONG>Linking other databases</STRONG></DT>
|
123 |
|
|
<DD>
|
124 |
|
|
<BR>
|
125 |
|
|
Other databases can be linked to the local installation database
|
126 |
|
|
using the command
|
127 |
|
|
|
128 |
|
|
<P>
|
129 |
|
|
<TT>scram db link</TT>
|
130 |
|
|
|
131 |
|
|
<<I>otherdb</I>>
|
132 |
|
|
|
133 |
|
|
<P>
|
134 |
|
|
This is often useful if a local copy of a project is maintained
|
135 |
|
|
for development but a released project is required for access to
|
136 |
|
|
configuration information and libraries. All projects listed in the
|
137 |
|
|
linked database will be shown by <TT>scram list</TT>. Note that
|
138 |
|
|
<TT>scram install</TT> and <TT>scram remove</TT> commands will not
|
139 |
|
|
affect databases that are linked in.
|
140 |
|
|
</DD>
|
141 |
|
|
</DL>
|
142 |
|
|
|
143 |
|
|
<P>
|
144 |
|
|
|
145 |
|
|
<P>
|
146 |
|
|
<HR>
|
147 |
|
|
<!--Navigation Panel-->
|
148 |
|
|
<A NAME="tex2html533"
|
149 |
|
|
HREF="node17.html">
|
150 |
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
151 |
|
|
SRC="file:/usr/share/latex2html/icons/next.png"></A>
|
152 |
|
|
<A NAME="tex2html527"
|
153 |
|
|
HREF="node12.html">
|
154 |
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
155 |
|
|
SRC="file:/usr/share/latex2html/icons/up.png"></A>
|
156 |
|
|
<A NAME="tex2html523"
|
157 |
|
|
HREF="node15.html">
|
158 |
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
159 |
|
|
SRC="file:/usr/share/latex2html/icons/prev.png"></A>
|
160 |
|
|
<A NAME="tex2html529"
|
161 |
|
|
HREF="node2.html">
|
162 |
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
163 |
|
|
SRC="file:/usr/share/latex2html/icons/contents.png"></A>
|
164 |
|
|
<A NAME="tex2html531"
|
165 |
|
|
HREF="node85.html">
|
166 |
|
|
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
167 |
|
|
SRC="file:/usr/share/latex2html/icons/index.png"></A>
|
168 |
|
|
<BR>
|
169 |
|
|
<B> Next:</B> <A NAME="tex2html534"
|
170 |
|
|
HREF="node17.html">3. Creating and Maintaining</A>
|
171 |
|
|
<B> Up:</B> <A NAME="tex2html528"
|
172 |
|
|
HREF="node12.html">2. Obtaining and Installing</A>
|
173 |
|
|
<B> Previous:</B> <A NAME="tex2html524"
|
174 |
|
|
HREF="node15.html">2.3 Controlling SCRAM Versions</A>
|
175 |
|
|
  <B> <A NAME="tex2html530"
|
176 |
|
|
HREF="node2.html">Contents</A></B>
|
177 |
|
|
  <B> <A NAME="tex2html532"
|
178 |
|
|
HREF="node85.html">Index</A></B>
|
179 |
|
|
<!--End of Navigation Panel-->
|
180 |
|
|
<ADDRESS>
|
181 |
|
|
scram-developers@cern.ch
|
182 |
|
|
</ADDRESS>
|
183 |
|
|
</BODY>
|
184 |
|
|
</HTML>
|