4 * Project Registration: Project Information.
6 * This page is used to request data required for project registration:
7 * o Project Public Name
8 * o Project Registartion Purpose
10 * o Project Public Description
12 * All these data are more or less strictly validated.
14 * This is last page in registartion sequence. Its successful subsmission
15 * leads to creation of new group with Pending status, suitable for approval.
17 * SourceForge: Breaking Down the Barriers to Open Source Development
18 * Copyright 1999-2001 (c) VA Linux Systems
19 * http://sourceforge.net
26 require_once('pre.php');
27 require_once('common/include/vars.php');
29 session_require(array('isloggedin'=>'1'));
32 $full_name = trim($full_name);
33 $purpose = trim($purpose);
34 $license_other = trim($license_other);
35 $description = trim($description);
36 $unix_name = strtolower($unix_name);
42 if (strlen($full_name)<3) {
43 $feedback .= "Invalid Full Name";
44 } else if (!account_groupnamevalid($unix_name)) {
45 $feedback .= "Invalid Unix Name";
46 } else if (db_numrows(db_query("SELECT group_id FROM groups WHERE unix_group_name='$unix_name'")) > 0) {
47 $feedback .= "Unix group name already taken";
48 } else if (strlen($purpose)<20) {
49 $feedback .= "Please describe your
50 Registration Purpose in a more comprehensive manner";
51 } else if (strlen($description)<10) {
52 $feedback .= "Please use more comprehensive Project Description";
53 } else if (!$license) {
54 $feedback .= "You have not chosen a license";
55 } else if ($license!="other" && $license_other) {
56 $feedback .= "Conflicting licenses choice";
57 } else if ($license=="other" && strlen($license_other)<50) {
58 $feedback .= "Please give more comprehensive licensing description";
61 $u =& session_get_user();
62 $res = $group->create(
73 $feedback .= $group->getErrorMessage();
75 $HTML->header(array('title'=>'Registration Complete','pagename'=>'register_complete'));
79 <p>Your project has been submitted to the <?php echo $GLOBALS['sys_name']; ?> admininstrators.
80 Within 72 hours, you will receive decision notification and further
84 Thank you for choosing <?php echo $GLOBALS['sys_name']; ?>.
89 $HTML->footer(array());
94 } else if ($i_disagree) {
95 session_redirect("/");
98 site_header(array('title'=>'Project Information','pagename'=>'register_projectinfo'));
102 To apply for project registration, you should fill in basic information
103 about it. Please read descriptions below carefully and provide complete
104 and comprehensive data. All fields below are mandatory.
107 <form action="<?php echo $PHP_SELF; ?>" method="POST">
109 <H3>1. Project Full Name</H3>
113 You should start with specifying the name of your project.
114 The "Full Name" is descriptive, and has no arbitrary restrictions (except
115 a 40 character limit).
121 <INPUT size="40" maxlength="40" type=text name="full_name" value="<?php echo $full_name; ?>">
123 <H3>2. Project Purpose and Summarization</H3>
128 Please provide detailed, accurate description of your project and
129 what <?php echo $GLOBALS['sys_name']; ?> resources and in which way you plan to use. This
130 description will be the basis for the approval or rejection of
131 your project's hosting on <?php echo $GLOBALS['sys_name']; ?>, and later, to ensure that
132 you are using the services in the intended way. This description
133 will not be used as a public description of your project. It must
134 be written in English.
138 <TEXTAREA name="purpose" wrap="virtual" cols="70" rows="10">
139 <?php echo $purpose; ?>
145 <P><B><I>If you are applying for a website-only project, please
146 select "website-only" from the choices below and proceed.</I></B>
148 <P><?php echo $GLOBALS['sys_name']; ?> was created to advance Open Source software development.
149 To keep things simple, we are relying on the outstanding work
150 of the <A href="http://www.opensource.org">Open Source Initiative</A>
151 for our licensing choices.
153 <P>We realize, however that there may be other licenses out there
154 that may better fit your needs. If you wish to use a license that is
155 not OSI Certified, please let us know why you wish to use another
158 <P>Choosing a license is a serious decision. Please take some time
159 to read the text (and our explanations) of several licenses before
160 making a choice about your project.
162 <P>You may change the license for your project at a
163 later date, so long as you have a legal capability to do so, your file
164 release clearly relates this change, and your filemap categorization is
165 updated appropriately. <i>Please note that license changes are not
166 retroactive (i.e. do not apply to products already released under
167 OpenSource license).</i>
169 <P><?php echo $GLOBALS['sys_name']; ?> is not responsible for legal discrepencies regarding
175 <LI><A href="http://www.opensource.org/licenses/gpl-license.html" target="_blank">GNU General Public License (GPL)</A>
176 <LI><A href="http://www.opensource.org/licenses/lgpl-license.html" target="_blank">GNU Library Public License (LGPL)</A>
177 <LI><A href="http://www.opensource.org/licenses/bsd-license.html" target="_blank">BSD License</A>
178 <LI><A href="http://www.opensource.org/licenses/mit-license.html" target="_blank">MIT License</A>
179 <LI><A href="http://www.opensource.org/licenses/artistic-license.html" target="_blank">Artistic License</A>
180 <LI><A href="http://www.opensource.org/licenses/mozilla1.0.html" target="_blank">Mozilla Public License 1.0 (MPL)</A>
181 <LI><A href="http://www.opensource.org/licenses/qtpl.html" target="_blank">Q Public License (QPL)</A>
182 <LI><A href="http://www.opensource.org/licenses/ibmpl.html" target="_blank">IBM Public License 1.0</A>
183 <LI><A href="http://www.opensource.org/licenses/mitrepl.html" target="_blank">MITRE Collaborative Virtual Workspace License (CVW License)</A>
184 <LI><A href="http://www.opensource.org/licenses/ricohpl.html" target="_blank">Ricoh Source Code Public License 1.0</A>
185 <LI><A href="http://www.opensource.org/licenses/pythonpl.html" target="_blank">Python License</A>
186 <LI><A href="http://www.opensource.org/licenses/zlib-license.html" target="_blank">zlib/libpng License</A>
187 <LI><A href="http://www.opensource.org/licenses/apachepl.html" target="_blank">Apache Software License</A>
188 <LI><A href="http://www.opensource.org/licenses/vovidapl.html" target="_blank">Vovida Software License 1.0</A>
189 <LI><A href="http://www.opensource.org/licenses/sisslpl.html" target="_blank">Sun Internet Standards Source License (SISSL)</A>
190 <LI><A href="http://www.opensource.org/licenses/intel-open-source-license.html" target="_blank">Intel Open Source License</A>
191 <LI><A href="http://www.opensource.org/licenses/mozilla1.1.html" target="_blank">Mozilla Public License 1.1 (MPL 1.1)</A>
192 <LI><A href="http://www.opensource.org/licenses/jabberpl.html" target="_blank">Jabber Open Source License</A>
193 <LI><A href="http://www.opensource.org/licenses/nokia.html" target="_blank">Nokia Open Source License</A>
194 <LI><A href="http://www.opensource.org/licenses/sleepycat.html" target="_blank">Sleepycat License</A>
195 <LI><A href="http://www.opensource.org/licenses/nethack.html" target="_blank">Nethack General Public License</A>
196 <LI><A href="http://oss.software.ibm.com/developerworks/opensource/license-cpl.html" target="_blank">IBM Common Public License</A>
197 <LI><A href="http://www.opensource.apple.com/apsl/" target="_blank">Apple Public Source License</A>
198 <LI><A href="http://www.sourceforge.net/register/publicdomain.txt" target="_blank">Public Domain</A>
200 <LI>Other/Proprietary License
204 <P><B>License for This Project</B>
206 <B>Your License:</B><BR>
209 // create SELECT based on $LICENSE array in common/include/vars.php
211 echo '<SELECT NAME="license">';
212 echo '<OPTION value="">(select)'."\n";
213 while (list($k,$v) = each($LICENSE)) {
214 print "<OPTION value=\"$k\"";
215 if ($license == $k) {
224 If you selected "other", please provide an explanation along
225 with a description of your license. Realize that other licenses may
226 not be approved. Also, it may take additional time to make a decision
227 for such project, since we will need to check that license is compatible
228 with the OpenSource definition.
230 <TEXTAREA name="license_other" wrap=virtual cols=60 rows=5>
231 <?php echo $license_other; ?>
236 <h3>4. Project Public Description</h3>
238 This is the description of your project which will be shown on
239 the Project Summary page, in search results, etc. It should not
240 be as comprehensive and formal as Project Purpose description
241 (step 2), so feel free to use concise and catchy wording. Maximum
245 <TEXTAREA name="description" wrap="virtual" cols="70" rows="5">
246 <?php echo $description; ?>
250 <H3>5. Project Unix Name</H3>
252 In addition to full project name, you will need to choose short,
253 "Unix" name for your project.
256 <P> The "Unix Name" has several restrictions because it is
257 used in so many places around the site. They are:
260 <LI>Cannot match the unix name of any other project
261 <LI>Must be between 3 and 15 characters in length
262 <LI>Must be in lower case
263 <LI>Can only contain characters, numbers, and dashes
264 <LI>Must be a valid unix username
265 <LI>Cannot match one of our reserved domains
266 <LI>Unix name will never change for this project
269 <P>Your unix name is important, however, because it will be used for
270 many things, including:
273 <LI>A web site at <tt>unixname.<?php echo $GLOBALS['sys_default_domain']; ?></tt>
274 <LI>A CVS Repository root of <tt>/cvsroot/unixname</tt> at <tt>cvs.unixname.<?php echo $GLOBALS['sys_default_domain']; ?></tt>
275 <LI>Shell access to <tt>unixname.<?php echo $GLOBALS['sys_default_domain']; ?></tt>
276 <LI>Search engines throughout the site
281 <input type=text maxlength="15" SIZE="15" name="unix_name" value="<?php echo $unix_name; ?>">
284 <input type=submit name="submit" value="I AGREE"> <INPUT type=submit name="i_disagree" value="I DISAGREE">
291 site_footer(array());