This commit is contained in:
gferg 2001-01-22 14:08:10 +00:00
parent 2f7c21a337
commit e873bdc2eb
2 changed files with 203 additions and 27 deletions

View File

@ -44,7 +44,7 @@ Revision Control System
<author>Al Dev (Alavoor Vasudevan)
<htmlurl url="mailto:alavoor@yahoo.com"
name="alavoor@yahoo.com">
<date>v17.0, 20 Jan 2001
<date>v19.0, 22 Jan 2001
<abstract>
This document is a "practical guide" to very quickly setup CVS/RCS source code
control system. This document has custom shell scripts which are wrappers
@ -672,7 +672,8 @@ Click on "Center" to center the text.
There is also a Windows 95 client for CVS, and is called WinCVS
<url url="http://www.wincvs.org">
WinCVS can be used along with Samba - <url url="http://www.samba.org">
and <url name="cyclicsite" url="http://www.cvshome.org/cyclic/cvs/soft-maccvs.html">
WinCVS can be used along with Samba(on cdrom samba*.rpm) - <url url="http://www.samba.org">
The essential command are -
<itemize>
@ -715,6 +716,30 @@ The documentation on CVS from "CVS Organisation" is at
Official manual for CVS by Cederqvist
is at <url url="http://www.cvshome.org/docs/manual/cvs.html">
FAQ for CVS is at <url url="http://www.cs.utah.edu/dept/old/texinfo/cvs/FAQ.txt">
<!--
*******************************************
************ End of Section ***************
*******************************************
-->
<sect1> CVS Training <label id="training">
<p>
<itemize>
<item> <url url="http://rpmfind.net/tools/CVS/training/cvstrain.html">
<item> <url url="http://www.loria.fr/~molli/cvs/cvs-tut/cvs_tutorial_toc.html">
<item> <url url="http://atlas.web.cern.ch/Atlas/GROUPS/SOFTWARE/OO/tools/srt/">
<item> <url url="http://durak.org/cvswebsites/">
<item> <url url="http://www-users.informatik.rwth-aachen.de/~wge/tools/cvs/cvsclient/cvsclient_toc.html">
<item> <url url="http://www-users.informatik.rwth-aachen.de/~wge/tools/cvs.html">
<p>
General utilities for cvs (third party)
<item> <url url="http://www.zevils.com/doc/cvsbook/cvsbook_8.html">
<item> <url url="http://www.zevils.com/doc/cvsbook/cvsbook_toc.html#SEC_Contents">
<item> <url url="http://rcs.ee.washington.edu/spp/Projects/Manastash/Links/cvsbook_toc.html">
</itemize>
<!--
*******************************************
************ End of Section ***************
@ -727,10 +752,27 @@ is at <url url="http://www.cvshome.org/docs/manual/cvs.html">
-->
<sect> Graphical Front ends <label id="frontend">
<p>
The following GUI front ends for CVS are available.
But it is <bf>very strongly recommended</bf> that you use
<url name="Samba(on cdrom samba*.rpm)" url="http://www.samba.org">
and
<ref id="win95" name="PC X-Server">
on MS Windows 95/NT. By using Samba the remote directory on unix
will look like local folder on MS Windows. See next section for
<ref id="win95" name="PC X-Server">.
<itemize>
<item> CVS Web for windows <url url="http://www.devguy.com/fp/cfgmgmt/cvs/cvs_admin_nt.htm#CVSWEBIIS"> and at <url url="http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi">
<item> TkCVS <url url="http://www.tkcvs.org"> is the Tcl/Tk GUI interface to CVS.
And at <url name="cyclicsite" url="http://www.cvshome.org/cyclic/tkcvs/index.html">
<item> gCVS: A portable GUI for non-technical CVS user <url url="http://www.arachne.org/software/gcvs">
<item> jCVS is a CVS client package written entirely in Java <url url="http://www.jcvs.org">
And at <url name="cyclicsite" url="http://www.cvshome.org/cyclic/jcvs/index.html">
<item> WinCVS <url url="http://www.cvshome.org/cyclic/cvs/soft-maccvs.html">
and at <url name="cyclicsite" url="http://www.cvshome.org/cyclic/cvs/soft-maccvs.html">
<item> Component soft Win CVS <url url="http://www.componentsoftware.com/cvs">
<item> JA-SIG UPortal CVS <url url="http://www.mis3.udel.edu/~jlaker/development">
<item> <url url="http://ppprs1.phy.tu-dresden.de/~trogisch/lincvs/lincvsen.html">
<item> <url url="http://www.loria.fr/~molli/cvs/doc/cvs_toc.html">
</itemize>
<!--
*******************************************
@ -738,6 +780,61 @@ is at <url url="http://www.cvshome.org/docs/manual/cvs.html">
*******************************************
-->
<sect1> CVS from Windows 95/NT/2000 <label id="win95">
<p>
It is <bf>very strongly recommended</bf> that you use
<url name="Samba(on cdrom samba*.rpm)" url="http://www.samba.org">
and PC X-Server on MS Windows 95/NT. By using Samba the remote directory on unix
will look like local folder on MS Windows.
Install samba*.rpm on unix/linux server(which has CVS repository) and install the PC X-server on
MS Windows 95/NT/2000 desktop. Using PC X-server you can easily log on to the
unix box and check-out/check-in the files. And you can use the tools like
Java Visual Cafe or Java JBuilder on MS Windows to edit the files located in unix/linux
folder(via samba). With samba the unix/linux CVS server will be like a <bf>file server</bf>.
After editing, you can check-in the files to unix thru PC X-server.
The following PC X-servers are available
<itemize>
<item> Low cost, best and small size (3 MB) <url url="http://www.microimages.com"> and
click on "X-Server (MI/X) for Windows"
<item> Humming bird eXceed 14 MB <url url="http://www.hummingbird.com">
<item> Starnet 5.2 MB<url url="http://www.starnet.com">
<p>
There are more than 2 dozen vendors for X-Server for Windows:
<item> X-win pro 6.34 MB <url url="http://www.labf.com">
<item> X-WinPro <url url="http://lab-pro.com">
<item> X-Link <url url="http://www.xlink.com/x.htm">
<item> Xoftware <url url="http://www.age.com">
<p>
University resources:
<item> University listings <url url="http://www.et.byu.edu/support/pc/xterm.html">
<item> Floppy based PC "X server" <url url="http://mirriwinni.cse.rmit.edu.au/~brad/co338/sem1/floppy.html">
<p> Alternatives to X-servers:
<item>VNC (Virtual Network Computing) at <url url="http://www.uk.research.att.com/vnc">
VNC is not a X-server but can display the remote unix on Windows.
</itemize>
<!--
*******************************************
************ End of Section ***************
*******************************************
-->
<sect1> Windows 95/NT/2000 FTP Tools<label id="ftptools">
<p>
You can also use the ftp tools on MS Windows to transfer files from Unix/linux(CVS repository)
to windows:
<itemize>
<item> Goto Tucows and search "ftp tools" for MS Windows <url url="http://www.tucows.com">
</itemize>
<!--
*******************************************
************ End of Section ***************
*******************************************
<chapt> Multi-User CVS Remote Repository <label id="multiuser">
@ -770,6 +867,8 @@ you MUST do this critical step:
<code>
bash# chmod 6000 .rhosts
</code>
See also JA-SIG UPortal CVS repository <url url="http://www.mis3.udel.edu/~jlaker/development">
<!--
*******************************************
************ End of Section ***************
@ -1080,13 +1179,66 @@ for Project tracking system.
<chapt> Configuration Management System Tools <label id="configmgt">
-->
<sect> Configuration Management System Tools <label id="configmgt">
<p>
<bf>What is Configuration Management (CM) ?</bf>
There are a number of different interpretations.
It is about tracking and
control of software development and its activities. That is, the
mangement of software development projects with
respect to issues such as multiple developers working on the
same code at the same time, targetting multiple
platforms, supporting multiple versions, and controlling the
status of code (for example beta test versus real release).
Even within that scope there are different schools of thought:
<itemize>
<item>Traditional Configuration Management - checkin/checkout control
of sources (and sometimes binaries) and the
ability to perform builds (or compiles) of the entities. Other
functions may be included as well.
<item>Process Management - control of the software development
activities. For example, it might check to ensure
that a change request existed and had been approved for fixing
and that the associated design, documentation,
and review activities have been completed before allowing the
code to be "checked in" again.
</itemize>
While process management and control are necessary for a
repeatable, optimized development process, a solid
configuration management foundation for that process is essential.
Visit the following links:
<itemize>
<item> FAQ on Configuration Management tools <url url="http://www.iac.honeywell.com/Pub/Tech/CM/CMFAQ.html">
<item>Linux version control and configuration management tools <url url="http://linas.org/linux/cmvc.html">
<item> Configuration Management systems <url url="http://www.cmtoday.com/yp/commercial.html">
<item> Configuration Management Tools <url url="http://www.iac.honeywell.com/Pub/Tech/CM/CMTools.html">
<item> DevGuy CVS config mgmt <url url="http://devguy.com/fp/cfgmgmt/cvs">
<item> <url name="Yahoo category site" url="http://dir.yahoo.com/Computers_and_Internet/software/programming_tools/software_engineering/configuration_management/cvs___concurrent_versions_system">
<item> Free config mgmt tool <url url="http://www.canb.auug.org.au/~millerp/aegis/aegis.html">
<item> Free CM tools <url url="http://www.loria.fr/cgi-bin/molli/cm/wilma/fcmt">
<item> Rational ClearCase tool <url url="http://www.rational.com/products/clearcase/prodinfo.jsp">
</itemize>
<!--
*******************************************
************ End of Section ***************
*******************************************
<chapt> Related sites <label id="relatedsites">
-->
<sect> Related sites <label id="relatedsites">
<p>
Related URLs are at -
<itemize>
<item>Linux version control and configuration management tools <url url="http://linas.org/linux/cmvc.html">
<item> Linux goodies <url url="http://www.aldev.8m.com">
and mirrors at
<url url="http://aldev.webjump.com" name="webjump">,
@ -1100,8 +1252,6 @@ and mirrors at
<url url="http://www3.bcity.com/aldev" name="bcity">,
<url url="http://aldev.50megs.com" name="50megs">
<item> Configuration Management systems <url url="http://www.cmtoday.com/yp/commercial.html">
<item> Configuration Management Tools <url url="http://www.iac.honeywell.com/Pub/Tech/CM/CMTools.html">
<item> CVS Bubbles <url url="http://www.loria.fr/~molli/cvs-index.html">
<item> CSSC (SCCS like system) <url url="ftp://alpha.gnu.org/pub/gnu/CSSC">
<item> SCCS for linux <url url="http://www.bitmover.com/bitkeeper">
@ -1161,12 +1311,17 @@ RTF(Rich Text Format), Plain-text, Unix man pages and SGML.
You can get this HOWTO document as a single file tar ball in HTML, DVI,
Postscript or SGML formats from -
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/other-formats/">
and <url url="http://www.linuxdoc.org/docs.html#howto">
<item>Plain text format is in: <url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
and <url url="http://www.linuxdoc.org/docs.html#howto">
<item>Single HTML file format is in:
<url url="http://www.linuxdoc.org/docs.html#howto">
<item>Translations to other languages like French, German, Spanish,
Chinese, Japanese are in
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
and <url url="http://www.linuxdoc.org/docs.html#howto">
Any help from you to translate to other languages is welcome.
</itemize>
The document is written using a tool called "SGML-Tools" which can be got from -
@ -1659,11 +1814,16 @@ print "\nNow getting the file $fname from CVS repository ...\n"
if [ -e "$HOME/$subdir/$fname" ]; then
# The lockfile is $CVSROOT/$subdir/Locks/$fname-$OARG1
touch $lockfile
if [ -e $lockfile ]; then
print "\nDone $cmdname"
else
print "\nFatal Error: File $fname Revision $OARG1 not locked !!"
print "\nCheck the reason for this failure.. before proceeding..."
fi
fi
#pwd
print "\nDone $cmdname"
#print "\nTip (Usage): $cmdname <filename> \n"
</code>

View File

@ -45,13 +45,14 @@ PHP HOW-TO
" name="
alavoor@yahoo.com
">
<date>v14.0, 02 Jan 2001
<date>v15.0, 21 Jan 2001
<abstract>
This document tells you howto develop PHP programs and also to migrate all the
Windows 95 GUI applications to powerful PHP + HTML + DHTML + XML + Java applets + Javascript.
The information in this document applies to all the operating sytems
where PHP is ported that is - Linux, Windows 95/NT,
OS/2, all flavors of Unix like Solaris, HPUX, AIX, SCO, Sinix, BSD, etc..
where PHP is ported that is - Linux, Windows 95/98/NT/ME, Windows 2000, BeOS,
OS/2, all flavors of Unix like Solaris, HPUX, AIX, SCO, Unixware, Sinix, BSD, SunOS, etc..
and some mainframe operating systems.
</abstract>
<!-- Table of contents -->
@ -497,7 +498,7 @@ SESSION["user"]["email"] The user's email address.
SESSION["user"]["priv"] The user's privilege level.
</code>
Let's talk a bit about the privilege levels. We are going to have two levels of security: (1) normal customers and (2) administrative users. Normal customers can use the system, browse through the catalog, and do other customer functions. Administrators can do everything a normal user can do, but also has the ability to perform system administrative functions (e.g. everything from part 1 of this guide). In real life, there are probably many more privilege levels that you want defined but we are going to keep things simple here.
Let's talk a bit about the privilege levels. We are going to have two levels of security: (1) normal customers and (2) administrative users. Normal customers can use the system, browse through the catalog, and do other customer functions. Administrators can do everything a normal user can do, but also has the ability to perform system administrative functions. In real life, there are probably many more privilege levels that you want defined but we are going to keep things simple here.
This is all fine and dandy, but where do we get this user information from? We need to have a way to store all the users on the system, and the perfect place for that would be in the database. We're going to create a users table to hold all our users.
<!--
@ -894,6 +895,14 @@ char *rtrim(char *ee)
-->
<sect> Debugging PHP <label id = "debugphp">
<p>
<!--
*******************************************
************ End of Section ***************
*******************************************
-->
<sect1> Debug Tools
<p>
PHP Debugger is available at <url url="http://www.phpdebug.com">
<!--
*******************************************
@ -1210,21 +1219,27 @@ single HTML file and SGML.
You can get this HOWTO document as a single file tar ball in HTML, DVI,
Postscript or SGML formats from -
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/other-formats/">
and <url url="http://www.linuxdoc.org/docs.html#howto">
<item>Plain text format is in: <url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
<item>Plain text format is in:
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
and <url url="http://www.linuxdoc.org/docs.html#howto">
<item>Single HTML file format is in:
<url url="http://www.linuxdoc.org/docs.html#howto">
<item>Translations to other languages like French, German, Spanish,
Chinese, Japanese are in
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
and <url url="http://www.linuxdoc.org/docs.html#howto">
Any help from you to translate to other languages is welcome.
</itemize>
The document is written using a tool called "SGML-Tools" which can be got from -
<url url="http://www.sgmltools.org">
Compiling the source you will get the following commands like
<itemize>
<item>sgml2html CVS-HOWTO.sgml (to generate html file)
<item>sgml2rtf CVS-HOWTO.sgml (to generate RTF file)
<item>sgml2latex CVS-HOWTO.sgml (to generate latex file)
<item>sgml2html PHP-HOWTO.sgml (to generate html file)
<item>sgml2rtf PHP-HOWTO.sgml (to generate RTF file)
<item>sgml2latex PHP-HOWTO.sgml (to generate latex file)
</itemize>
LaTeX documents may be converted into PDF files simply by
@ -1251,19 +1266,19 @@ see the documentation on building Ghostscript for details.
This howto document is located at -
<itemize>
<item> <url url="http://sunsite.unc.edu/LDP/HOWTO/CVS-HOWTO.html">
<item> <url url="http://sunsite.unc.edu/LDP/HOWTO/PHP-HOWTO.html">
</itemize>
Also you can find this document at the following mirrors sites -
<itemize>
<item> <url url="http://www.caldera.com/LDP/HOWTO/CVS-HOWTO.html">
<item> <url url="http://www.WGS.com/LDP/HOWTO/CVS-HOWTO.html">
<item> <url url="http://www.cc.gatech.edu/linux/LDP/HOWTO/CVS-HOWTO.html">
<item> <url url="http://www.redhat.com/linux-info/ldp/HOWTO/CVS-HOWTO.html">
<item> <url url="http://www.caldera.com/LDP/HOWTO/PHP-HOWTO.html">
<item> <url url="http://www.WGS.com/LDP/HOWTO/PHP-HOWTO.html">
<item> <url url="http://www.cc.gatech.edu/linux/LDP/HOWTO/PHP-HOWTO.html">
<item> <url url="http://www.redhat.com/linux-info/ldp/HOWTO/PHP-HOWTO.html">
<item> Other mirror sites near you (network-address-wise) can be found at
<url url="http://sunsite.unc.edu/LDP/hmirrors.html">
select a site and go to directory /LDP/HOWTO/CVS-HOWTO.html
select a site and go to directory /LDP/HOWTO/PHP-HOWTO.html
</itemize>
@ -2066,9 +2081,11 @@ function whois($domain, $server="whois.internic.net")
<bf>Blocking and non-blocking operations: </bf>
But there's a problem with all those functions. They work fine if
<enum>
<item> You have a conenction with low latency and
<item> You have a connection with low latency and
<item> If the server you're connecting to is up and
running. If not, your script will be busy until
running.
</enum>
If not, your script will be busy until
it times out. The reason for this is that default socket connections
are blocking and don't time out. You can avoid these "hanging scripts"
by switching to non-blocking socket operations. The function
@ -2076,7 +2093,6 @@ set_socket_blocking() does just that: it set all operations on a socket
(first parameter: socket pointer) to either blocking (second parameter:
true) or false (second parameter: false). Using non-blocking
operations, the finger function would like like this:
</enum>
<code>
$fp = fsockopen($host, 79, &$errno, &$errstr) or die("$errno: [ ] $errstr");
@ -2496,7 +2512,7 @@ class Recordset
if ($this->getNumOfRows() > 0) {
$this->fields = array();
$num_of_rows = $this->getNumOfRows();
/* $num_of_rows decemented at above */
/* $num_of_rows decremented at above */
$this->_currentRow = --$num_of_rows;
$this->fields = @pg_fetch_array($this->_queryID, $this->_currentRow);
/* This is not working. True all the time */
@ -2950,7 +2966,7 @@ class Recordset
$num_of_rows = $this->getNumOfRows();
$this->_tempResult = @mssql_data_seek($this->_queryID, --$num_of_rows);
if ($this->_tempResult) {
/* $num_of_rows decemented at above */
/* $num_of_rows decremented at above */
$this->_currentRow = $num_of_rows;
$this->fields = @mssql_fetch_array($this->_queryID);
/* This is not working. True all the time */
@ -3395,7 +3411,7 @@ class Recordset
$num_of_rows = $this->getNumOfRows();
$this->_tempResult = @sybase_data_seek($this->_queryID, --$num_of_rows);
if ($this->_tempResult) {
/* $num_of_rows decemented at above */
/* $num_of_rows decremented at above */
$this->_currentRow = $num_of_rows;
$this->fields = @sybase_fetch_array($this->_queryID);
/* This is not working. True all the time */
@ -3547,7 +3563,7 @@ Recordset for result data manipulation. Database results
are flushed automatically by phpDB.
To get this file, in the web-browser, save this file as 'Text' type
as phpDB-mssql.lib
as phpDBTest.php3
<code>
<html>
< head>