How to make a UPD product for the Author_survey_database package. Only the python code and a makeSymlinks file will be included in the UPD product. log into d0ora1 -- go to a clean directory and check out the cvs package cd cd junk setup d0cvs cvs co Author_survey_database -- create a new directory called ups and create two files in it mkdir ups cd ups cp ~vranicar/app/sam_doc/ups/makeSymlinks . cp ~vranicar/app/sam_doc/ups/sam_doc.table Author_survey_database.table xemacs Author_survey_database.table (change the product name to Product=Author_survey_database) -- add the new directory and the 2 files to cvs up add cvs ups/ cvs commit -m "add ups files" -- tag the cvs package cvs tag v0_1 -- need to make a tar file in products group with the files to go into UPD -- make sure no files to go in are world writeable -- make sure makeSimlinks has execute privileges newgrp products chmod -R o-w * chmod +x ups/MakeSimlinks -- don't include the cvs files in the tar file tar -cvf als_web.tar cgi/*.py ups/makeSimlinks -- Matt actually had to do this step because gallas is not authorized setup upd upd addproduct -T als_web.tar -M ups -m Author_survey_database.table -f NULL Author_survey_database v0_1 -c -- install the product on the development machine upd install Author_survey_database -G "-c" -- after I did this, a new directory appeared -- /fnal/ups/prd/Author_survey_database/v0_1/NULL/ -- with subdirectories cgi/ and ups/ containing the correct files. -- Matt did the same install on the integration and production machines. -- Matt also set some symbolic links (or equiv) on the Apache web server -- on the dev, int and prd machines. -- now the cgi can be accessed using -- http://d0db(,-prd,-int,-dev).fnal.gov/db/Author_survey_database/cgi/als1.py