P4DB.conf.txt #4

  • //
  • guest/
  • fredric_fredricson/
  • P4DB/
  • main/
  • P4DB.conf.txt
  • View
  • Commits
  • Open Download .zip Download (8 KB)
##################################################################
#                  P4DB configuration file                       #
#                        Release: 3.0                            #
#                                                                #
#  The configuration must change to match your environment       #
#  before P4DB can be used.                                      #
#                                                                #
##################################################################
#                                                                #
#  The general format of the file is:                            #
#   <identifier>:<data>                                          #
#   Whitespace is allowed before identifier and before data.     #
#   The data format depends on the identifier                    #
#   Sometimes there can be more than one line with the same      #
#   identifier, for example P4DB_ADMIN-lines.                    #
#                                                                #
#   In general whitespaces are NOT allowed in filenames. Sorry.  #
#                                                                #
##################################################################

##################################
###     Set up environment     ###
###                            ###

  #####
  # 1 #
  ################################################################
  # Path to p4 program.                                          #
  #   You probably need to modify this                           #
  P4PATH: /home/fredric/bin/p4

  #####
  # 2 #
  ################################################################
  # Path to help files and other html.                           #
  # The default works just fine unless you do not want to mix    #
  # CGIs and regular html files in the same directory.           #
  #                                                              #
  # NOTE: If this is modified, be sure to move all .html files   #
  #       as well.                                               #
  HTML_HELPFILE_PATH: .

  #####
  # 3 #
  ################################################################
  # Set administrator(s) for P4DB.                               #
  # The default will NOT do.                                     #
  #  Data Format: <email address> <full name>                    #
  #  Zero or more administrators can be specified.               #
  #  If specified, these will appear as mailto: targets in the   #
  #  standard page footer.                                       #
  P4DB_ADMIN: MrDDuck@disney.com  Donald Duck
  P4DB_ADMIN: MrMMouse@disney.com  M. Mouse


##############################################
###     Variables to facilitate ports      ###
###                                        ###
##################################################################
# NOTE!                                                          #
#   You should pay special attention to this part if your OS is  #
#   Windows NT. For Unix and Linux the default is probably fine. #
#                                                                #
#   I do not have access to a Windows machine with a web server  #
#   so I can not test this. The recommended settings are from    #
#   email conversations I have had with P4DB users that run on   #
#   Windows.                                                     #
################################################################## 

  #####
  # 4 #
  ################################################################
  # NT needs the SHELL variable set to some UNIX-style shell     #
  # program (like kornshell in  MKS toolkit, check out           #
  # http://www.datafocus.com/products/tk/ )                      #
  # Leave empty for Unix/Linux.
  SHELL: 

  #####
  # 5 #
  ################################################################
  # P4DB sometimes needs to redirect error messages that should  #
  # be ignored to a null device. God named the null device       #
  # "/dev/null" but Bill G. et al. ignored this and called it    #
  # "NUL:".                                                      #
  # Make sure it is set to whatever your OS calls the null       #
  # device.                                                      #
  # Don't remove the "2>"-part                                   #
  REDIRECT_ERROR_TO_NULL_DEVICE: 2>/dev/null
  # >>>> this line should work for NT: (not tested) 
  #  REDIRECT_ERROR_TO_NULL_DEVICE: 2>NUL: 

  #####
  # 6 #
  ################################################################
  # P4DB sometimes needs to redirect error messages that should  #
  # be parsed to the standard out stream. This is the command    #
  # used for this. Set to nothing if your OS does not differ     #
  # between stdout and stderr.                                   #
  REDIRECT_ERROR_TO_STDOUT: 2>&1

##############################
###     Specify servers    ###
###                        ### 

  #####
  # 7 #
  ################################################################
  # Specify one or more p4 servers  to point P4DB to. If more    #
  # than one server is specified the user can select one using   #
  # the "preferences"-page. The first will be the default.       #
  #                                                              #
  # Data format:                                                 #
  #   <host>:<port> <user> <client> <password> ; <short desc.>   #
  # (no spaces in password, user or client).                     #
  # For password: '*' equals no password                         #
  DEPOT: p4:1666     user    client    passwrd    ; Default depot
  DEPOT: public.perforce.com:1666 fredric_fredricson fredric_client * ; Perforce Public Depot
  DEPOT: NoSuch:1666 Anyuser anyClient aPassword  ; Nonexisting, for test
  
  #### SECURITY NOTE #############################################
  # The lines above potentially give away the p4 user and        #
  # password. Read "Security Note 1" in the "Installation and    #
  # Configuration" chapter in README.html                        #
  ################################################################

#############################
###     Style Sheets      ###
###                       ###

  #####
  # 8 #
  ################################################################
  # Specify CSS (Cascaded Style Sheet) files for the user to     #
  # select from. The P4DB layout relies heavily on style sheet   #
  # files. This has the disadvantage that a fairly recent        #
  # browser is required but the advantage that a it is possible  #
  # to create a nicer user interface.                            #
  # Data format:                                                 #
  # <FileName> ; <short description>                             #
  # Three files are distributed with P4DB.                       #
  STYLES: P4DB.css ; Standard
  STYLES: P4DBlarge.css ; Large fonts
  STYLES: P4DBsmall.css ; Small fonts

##############################################
###    control miscellaneous behaviour     ###
###                                        ###

  #####
  # 9 #
  ################################################################
  # Control when warning should be printed for "unused client"   #
  # and "unused user".                                           #
  # In the client and users lists P4DB will print a warning next #
  # to a client or user if it has not been used for a specified  #
  # number of weeks. The default is 10 but can be changed here.  #
  UNUSED_CLIENT_WARNING_LEVEL: 10
  UNUSED_USER_WARNING_LEVEL:   10


################################################################
#		End of P4DB configuration file.                #
################################################################
# Change User Description Committed
#11 4990 Fredric Fredricson P4DB: Improved error handling:
#10 4989 Fredric Fredricson P4DB: Some small fixed in documentation and make shortcut icon
configurable
#9 4844 Fredric Fredricson P4DB: A few fixes:
Added new config option that controls login page
Added two new CSS-files (for large fonts and smaller fonts)
Fixed sort order on users in login page
Stepped up to version 4.0
#8 4834 Fredric Fredricson P4DB: Incremented version to 4.0beta1
#7 4313 Fredric Fredricson P4DB:
- Removed some error messages (that clobbers the error log for the web server)
- Added a CSS file that works for people with color vision deficiency
- Fixed minor bug in the scripts that creates the tarball and zip-file
#6 4237 Fredric Fredricson P4DB: Maybe the final submit for P4DB 3.1.0
#5 4216 Fredric Fredricson P4DB: Another partial submit on my way to P4DB 3.1...
#4 4152 Fredric Fredricson P4DB: Some more work on tha way to version 3.1....
#3 2875 Fredric Fredricson P4DB 3.0 first beta...
#2 1920 Fredric Fredricson P4DB: Mainly some user interface fixes:
* Added a small arrow that points to selection in list of options
* Added tooltip help
* Added user prefereces to turn the above off (or on)
* Some other user interface fixes
And fixed a bug in jobList.cgi and some minor bugs in label and branch
viewers.
#1 1638 Fredric Fredricson P4DB: Added all (I think) files for P4DB