source: trunk/ReleaseTool.cfg@ 1575

Last change on this file since 1575 was 1575, checked in by John Small, 14 years ago

Latest code to support automaitc uploads and announcements of a new release of FM/2.

File size: 6.3 KB
Line 
1
2; $Id$
3
4; This file is used by ReleaseTool to provide information used to provide
5; various configuration data to ReleaseTool.cmd
6
7; ReleaseTool expects each line to be one of four types:
8; 1) Blank/empty lines (which are ignored)
9
10; 2) Comment lines. All text following a semicolon, ";", will be ignored.
11; Any line whose first non-blank is a semicolon, like this line, is
12; a comment line and will be ignored by ReleaseTool.
13
14; Section and data lines (below) can have end-of-line comments
15; (like C++'s // comments). This means key-values (see Data lines below)
16; may not have semicolons.
17
18; 3) Section lines. Section lines are of the form:
19; [section-name]
20; Section lines mark the start of a new set of data. The section
21; name (within the brackets) defines which type of data follows.
22; Initially ReleaseTool supports only two section names: FTP and NNTP.
23
24; FTP sections are used to define data for uploading one or more files
25; to a single site.
26
27; NNTP sections are used to define data for uploading messages to one
28; or more newsgroups on a single newsgroup server.
29
30; 4) Data lines. These lines provide the actual data to ReleaseTool.
31; The format of these lines is:
32; key-name = key-value
33; Whitespace is ignored. If a key-value has whitespace, then
34; enclose it with double quotes.
35
36; Key-name's are case-insensitive. Key-values are case sensitive.
37
38; The following table lists the key-names recognized by ReleaseTool, the
39; sections to which they apply, a code (explained below) and a short description:
40
41; Key-name Sections Code Description
42
43; HOST FTP 1 The host name of the server
44; NNTP 2
45; SMTP 1
46; USERID FTP 2 The userid used to log in
47; NNTP 2
48; SMTP 2
49; PASSWORD FTP 2 The password used to log in.
50; NNTP 2
51; SMTP 2
52; FROM NNTP 2 "From" email address
53; SMTP 2
54; SIGNATURE NNTP 4 Zero or more lines of "signature"
55; SMTP 4
56; DESCRIPTIVE_HOSTNAME FTP 1 Text used by ReleaseTool to identify
57; an FTP site in messages to its users.
58; DIRECTORY FTP 4 If a change directory command is needed
59; before uploading a file, then this key-value
60; should be provided. If more than one file
61; is to be uploaded and they are to be uploaded
62; into different directories, precede each set
63; of FILE lines by an appropriate Directory line.
64; FILE FTP 3 The local name of a file to be uploaded. This
65; should include path info if the file is not
66; in the same directory as ReleaseTool.
67; NEWSGROUPS NNTP 1 A comma-separated list of newsgroups for this host.
68
69; Codes:
70; 1: Required, one per section.
71; 2: Optional, but ReleaseTool will prompt for its value as needed.
72; 3: Required, one or more per section
73; 4: Optional, one or more per section
74
75; "Special" key-values:
76; Userid
77; [Not-needed] : Userid not needed. (ReleaseTool will prompt for an absent userid.)
78; Password
79; [Hobbes-email] : ReleaseTool automatically replaces this with the email address from the Hobbes text file.
80; [Not-needed] : Password not needed. (ReleaseTool will prompt for an absent password.)
81; File
82; [Release-Zip] : ReleaseTool automatically replaces this with FM/2 release zip filename.
83; [Hobbes-text] : ReleaseTool automatically replaces this with Hobbes text filename.
84
85; Password note: Instead of recording passwords in this file, it may be best to omit them and have
86; ReleaseTool prompt you for them, as needed.
87
88; "From" notes:
89; - For newsgroups you may want to use a disguied email address to avoid spam.
90; - Accepted formats:
91; "Full name" <user@domain.net>
92; <user@domain.net>
93; user@domain.net
94
95; Within a section, data lines can be in any order except DIRECTORY lines, if any, must precede
96; the FILE lines to which they apply.
97
98
99[FTP] ; Hobbes upload definition
100Descriptive_hostname = Hobbes
101Host = hobbes.nmsu.edu
102Userid = anonymous
103Password = [Hobbes-email]
104Directory = /pub/incoming
105File = [Hobbes-text]
106File = [Release-zip]
107
108[FTP] ; Netlabs upload definition
109Descriptive_hostname = Netlabs
110Host = ftp.netlabs.org
111Userid =
112Password =
113Directory = /fm2
114File = [Release-zip]
115
116;[NNTP] ; eComstation news server/groups definition
117;Host = news.ecomstation.nl
118;Newsgroups = ecomstation.apps
119;Userid = [Not-needed]
120;Password = [Not-needed]
121
122[NNTP] ; ReleaseTool user's news server/groups definition
123Newsgroups = comp.os.os2.apps,comp.os.os2.utilities
124;Newsgroups = alt.test
125Host =
126Userid =
127Password =
128From = zjsmallz@osworld.net
129Signature = John Small
130Signature = (Remove z's for address)
131
132[SMTP]
133;Command = g:\pmmail\bin\pmmsend -a G:\PMMail\Accounts\ygk_us0.act -t "%%TO%%" -s "%%SUBJECT%%" -m %%MESSAGE_BODY_FILE%%
134;Command = call d:\utils\internet\rexxmail\rexxmail /NewMessageSend "%%TO%% ?subject=%%SUBJECT%% &body=%%MESSAGE_BODY_FILE%%" /Address=%%FROM%% /SMTPServer=%%SERVER%% /SMTPUSER=%%USERID%% /SMTPPASSWORD=%%PASSWORD%% /TimeZone=%%UTCOFFSET%%
135Host = smtp.toast.net
136Userid = jsmall@toast.net
137From = "John Small" <jsmall@os2world.net>
138;Signature = John Small
139Signature = FM/2 Development Team
140UTCOffset = -0500
Note: See TracBrowser for help on using the repository browser.