source: branches/2.2/setup/doc/setup3-2.html @ 2

Revision 2, 4.1 KB checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<HTML
2><HEAD
3><TITLE
4>   Developer Tools
5  </TITLE
6><META
7NAME="GENERATOR"
8CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
9REL="HOME"
10TITLE="   eGroupWare Setup
11  "
12HREF="setup3.html"><LINK
13REL="PREVIOUS"
14TITLE="   Application setup files
15  "
16HREF="setup3-1.html"><LINK
17REL="NEXT"
18TITLE="   The install/upgrade process
19  "
20HREF="setup3-3.html"></HEAD
21><BODY
22CLASS="SECT1"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
28CELLPADDING="0"
29CELLSPACING="0"
30><TR
31><TH
32COLSPAN="3"
33ALIGN="center"
34>eGroupWare Setup</TH
35></TR
36><TR
37><TD
38WIDTH="10%"
39ALIGN="left"
40VALIGN="bottom"
41><A
42HREF="setup3-1.html"
43>Prev</A
44></TD
45><TD
46WIDTH="80%"
47ALIGN="center"
48VALIGN="bottom"
49></TD
50><TD
51WIDTH="10%"
52ALIGN="right"
53VALIGN="bottom"
54><A
55HREF="setup3-3.html"
56>Next</A
57></TD
58></TR
59></TABLE
60><HR
61ALIGN="LEFT"
62WIDTH="100%"></DIV
63><DIV
64CLASS="SECT1"
65><H1
66CLASS="SECT1"
67><A
68NAME="AEN148"
69>Developer Tools</A
70></H1
71><DIV
72CLASS="SECT2"
73><H2
74CLASS="SECT2"
75><A
76NAME="AEN150"
77>sqltoarray.php</A
78></H2
79><DIV
80CLASS="SECT3"
81><H3
82CLASS="SECT3"
83><A
84NAME="AEN152"
85>Displays the current schema_proc array defining an application's tables.</A
86></H3
87><P
88>     This web application reads the current table status live from the database. It then parses this information into a hopefully correct table definition array for schema_proc. Upon visiting this app, you are shown a list of currently installed applications with defined tables. You may then select one app or all apps, and then submit the form. From this form you may then download a tables_current file, suitable for commission to cvs. Please do check the format to make sure the definitions are correct.
89    </P
90></DIV
91></DIV
92><DIV
93CLASS="SECT2"
94><H2
95CLASS="SECT2"
96><A
97NAME="AEN155"
98>schematoy.php</A
99></H2
100><DIV
101CLASS="SECT3"
102><H3
103CLASS="SECT3"
104><A
105NAME="AEN157"
106>Runs the full cycle of upgrades, including optional test_data.</A
107></H3
108><P
109>     This app is not beautiful, may bomb on you, and will definitely drop your application's tables. The display is similar to the user/admin tool, applications.php. You are shown a list of apps with tables. Select one app, and enter a target version. Upon submission of the form:
110    </P
111><P
112></P
113><UL
114><LI
115><P
116>     All application tables are dropped.
117     </P
118></LI
119><LI
120><P
121>     tables_baseline.inc.php is loaded.
122     </P
123></LI
124><LI
125><P
126>     test_data.inc.php is loaded
127     </P
128></LI
129><LI
130><P
131>     tables_update.inc.php is loaded.
132     </P
133></LI
134><LI
135><P
136>     a full application upgrade test begins.
137     </P
138></LI
139></UL
140><P
141>     This will give a LOT of debugging output. Depending on your database, the process may take quite awhile. This tool should be considered as a destructive test of the full upgrade cycle. If the upgrade process is successful, you can then check the loaded test_data to see that it is still in place as expected after all the table modifications, etc. If not, it should be clear where the error has occurred. Look for the usual INVALID SQL warnings, among others.
142    </P
143></DIV
144></DIV
145><DIV
146CLASS="SECT2"
147><H2
148CLASS="SECT2"
149><A
150NAME="AEN172"
151>tools subdirectory</A
152></H2
153><DIV
154CLASS="SECT3"
155><H3
156CLASS="SECT3"
157><A
158NAME="AEN174"
159>some utilities for sql file conversion, etc.</A
160></H3
161><P
162>     In the tools directory under setup3, there should be at least a couple of hopefully handy perl or shell scripts. These are for running on the commandline only, and might apply to converting SQL files into lang files, etc. They are not expected to be perfect, but might offer some assistance or ideas for additional utilities. Use these at your own risk or benefit.
163    </P
164></DIV
165></DIV
166></DIV
167><DIV
168CLASS="NAVFOOTER"
169><HR
170ALIGN="LEFT"
171WIDTH="100%"><TABLE
172WIDTH="100%"
173BORDER="0"
174CELLPADDING="0"
175CELLSPACING="0"
176><TR
177><TD
178WIDTH="33%"
179ALIGN="left"
180VALIGN="top"
181><A
182HREF="setup3-1.html"
183>Prev</A
184></TD
185><TD
186WIDTH="34%"
187ALIGN="center"
188VALIGN="top"
189><A
190HREF="setup3.html"
191>Home</A
192></TD
193><TD
194WIDTH="33%"
195ALIGN="right"
196VALIGN="top"
197><A
198HREF="setup3-3.html"
199>Next</A
200></TD
201></TR
202><TR
203><TD
204WIDTH="33%"
205ALIGN="left"
206VALIGN="top"
207>Application setup files</TD
208><TD
209WIDTH="34%"
210ALIGN="center"
211VALIGN="top"
212>&nbsp;</TD
213><TD
214WIDTH="33%"
215ALIGN="right"
216VALIGN="top"
217>The install/upgrade process</TD
218></TR
219></TABLE
220></DIV
221></BODY
222></HTML
223>
Note: See TracBrowser for help on using the repository browser.