- #
- # Make a package
- #
- #
- Ver=`fgrep '$VERSION=' P4CGI.pm | perl -ne ' /.*?\"([\d\.]+[^"]*)/ ; print $1,"\n" ;'`
- echo VERSION: $Ver
- eval `p4 counters | sed 's/ //g'`
- OPENED=no
- if p4 opened | fgrep P4CGI.pm ; then
- OPENED=yes ;
- fi
- if [ $OPENED = "no" ] ; then
- p4 edit P4CGI.pm ;
- fi
- echo change: $change
- #cp P4CGI.pm P4CGI.pm.TMP
- ed P4CGI.pm <<END
- . p
- /CHANGELEVEL=[0-9]*/
- . p
- s/CHANGELEVEL=[0-9]*/CHANGELEVEL=$change/
- . p
- w
- q
- END
- PL_FILES=`ls -1 *.pl | fgrep -v install.pl` ;
- Files="P4CGI.pm *.cgi $PL_FILES viewConfig.pm colorView.pm P4DB.css P4DB_cvd.css P4DB_small.css P4DB_large.css hdrbg.jpg bg.jpg P4DB.ico" ;
- ReadMe="README.html P4CGI.html P4DB.conf.txt pod2html.css" ;
- pod2html P4CGI.pm |
- sed 's|</head>|<link rel="stylesheet" type="text/css" href="pod2html.css"/></head>|i' > P4CGI.html
- tar cvf cgi_files.tar $Files
- rm -f cgi_files.zip
- zip -v cgi_files.zip $Files
- tar cvzf P4DB_${Ver}_${change}.tar.gz $ReadMe install.pl cgi_files.tar
- rm -f P4DB_$Ver.zip
- zip -v P4DB_${Ver}_${change}.zip $ReadMe install.pl cgi_files.zip
- rm cgi_files.tar cgi_files.zip
- cp P4CGI.pm tmp.tmp
- #mv P4CGI.pm.TMP P4CGI.pm
- if [ $OPENED = "no" ] ; then
- p4 revert P4CGI.pm ;
- fi
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#10 | 4991 | Fredric Fredricson | P4DB: Modified the script that creates tgz and zip files to add change number to tgz and... zip file name, « |
20 years ago | |
#9 | 4965 | Fredric Fredricson | P4BD: Made P4DB 4,0 ready for "official" release * removed Beta status flag * added an ....ico file * some minor cosmetic changes « |
20 years ago | |
#8 | 4844 | Fredric Fredricson | P4DB: A few fixes: Added new config option that controls login page Added two new CSS-fi...les (for large fonts and smaller fonts) Fixed sort order on users in login page Stepped up to version 4.0 « |
20 years ago | |
#7 | 4832 | Fredric Fredricson |
P4DB: * Added login procedure (using tickes) * Requires 2004.2 * Minor cosmetic upgrade |
20 years ago | |
#6 | 4313 | Fredric Fredricson | P4DB: - Removed some error messages (that clobbers the error log for the web server) - Ad...ded a CSS file that works for people with color vision deficiency - Fixed minor bug in the scripts that creates the tarball and zip-file « |
21 years ago | |
#5 | 4216 | Fredric Fredricson | P4DB: Another partial submit on my way to P4DB 3.1... | 21 years ago | |
#4 | 2990 | Fredric Fredricson | P4DB: Added depot change level to version in intro page | 22 years ago | |
#3 | 2875 | Fredric Fredricson | P4DB 3.0 first beta... | 22 years ago | |
#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. « |
23 years ago | |
#1 | 1639 | Fredric Fredricson |
P4DB: Added a script "makepack" that I used to build tarballs for distribution |
23 years ago |