#!/usr/bin/perl -w # -*- perl -*- use P4CGI ; use strict ; # ################################################################# # CONFIGURATION INFORMATION # All config info should be in P4CGI.pm # ################################################################# # # P4 depot browser, top # ################################################################# print &P4CGI::start_page("Introduction to P4DB") ; print &P4CGI::start_table(" class=\"Text\""), "
\n". "This version is an untested pre-release and may contain bugs.\n" ; } else { $beta="" ; } while() { s/__VERSION__/$version/g ; s/__BETAWARNING__/$beta/g ; s/__CHANGELEVEL__/$changelevel/g ; s/__REQUIRED_SERVER_VERSION__/$required/g ; s/__CURR_DEPO_NO__/$depot/g ; s/__PATH__/$path/g ; print ; } print "
P4DB is a web based depot browser for Perforce p4. The purpose of P4DB is to present data and statistics retrieved from a p4 depot. P4DB can not modify data in the depot or retrieve any information from files on clients.
This is the default start page and when you first open this page there will be two pull-down menus and two buttons at the top of the page.
The Preferences page will let you select depot, if there is more than one, and also set up some preferences.
Important for people with color vision deficiency: In the Preferences page you can select a style sheet page that I hope works better for you than the standard style sheet page.
It you have a fairly recent browser you can let the pointer hoover over a link to get a small
tool-tip popup that will give you some more information about the link.
To find out if your brower supports tool-tips put the pointer over
this text
You might want to add a link to P4DB to a web page. P4DB works best if the link point to index.cgi. If you have more than one server to select from you also must add parameter DP=n where n is the server code to index.cgi.
If the correct server is set the easiest way is to copy this url:
__PATH__/index.cgi?DP=__CURR_DEPO_NO__.
P4DB use java-script and cookies. P4DB will not be easy to use without java-script. Without cookies you will not be able to modify your user preferences, add shortcuts or change default start page.
There are no supported platforms basically because there is no support. P4DB is open source software and I expect the brave p4 administrator that installs P4DB to provide support for end users. I will of course answer questions if I can and I am more than willing to listen to suggestions or constructive criticism but please forward all this through your administrator.
P4DB is developed using the Firefox web browser running on Linux. It is also tested with a recent version of MS Explorer on Windows. This version of P4DB use much more cascaded style sheets (CSS) and Java-Script than the earlier versions. This require more from the browser and P4DB __VERSION__ will probably not run well on Netscape browsers older than 6.2 or Explorer older than version 5.5.
P4DB __VERSION__ requires p4 server software __REQUIRED_SERVER_VERSION__ or newer.