run_build.pl ~ By Andrew Dunstan

Started by cinuabout 18 years ago2 messages
#1cinu
cheriyamoozhiyilcinu@yahoo.co.in

Hi All,

I was exploring through the BuildFarm specific perl
script run_build.pl.
I executed the perl script and it went on file by
downloading the latest PostgreSQL source code that is
8.3Beta2, after successful completion of the script it
creates the required set of logfiles in the
"lastrun-logs" folder.

Now Inside this script there are certain places where
the "rmtree"command is used for removing the
installation, if I comment these places it should not
remove the current installation, but infact it is
doing so, it is installing the latest version of
PostgreSQL in the location "/HEAD/inst/bin" and after
the execution of the script it is cleaning the folder
"inst".

Please tell me :
1) Is "rmtree" the command used for removing the
installation or is there any other command for the
same, please specify?
2) Is there any site or portal where I can get
detailed description about the perl script
run_build.pl?
3) If I rename the perl script "run_build.pl" to some
other file like "test.pl" will it execute or will it
give errors?

For your information :

I am running this script through the postgres user.

Please let me know if there is any other details
required.

Thanks in advance
Regards
Cinu Kuriakose

Chat on a cool, new interface. No download required. Go to http://in.messenger.yahoo.com/webmessengerpromo.php

#2Andrew Dunstan
andrew@dunslane.net
In reply to: cinu (#1)
Re: run_build.pl ~ By Andrew Dunstan

cinu wrote:

Hi All,

I was exploring through the BuildFarm specific perl
script run_build.pl.
I executed the perl script and it went on file by
downloading the latest PostgreSQL source code that is
8.3Beta2, after successful completion of the script it
creates the required set of logfiles in the
"lastrun-logs" folder.

Now Inside this script there are certain places where
the "rmtree"command is used for removing the
installation, if I comment these places it should not
remove the current installation, but infact it is
doing so, it is installing the latest version of
PostgreSQL in the location "/HEAD/inst/bin" and after
the execution of the script it is cleaning the folder
"inst".

Please tell me :
1) Is "rmtree" the command used for removing the
installation or is there any other command for the
same, please specify?
2) Is there any site or portal where I can get
detailed description about the perl script
run_build.pl?
3) If I rename the perl script "run_build.pl" to some
other file like "test.pl" will it execute or will it
give errors?

For your information :

I am running this script through the postgres user.

First, -hackers is not the appropriate forum for questions regarding the
buildfarm code.

Second, there should not be any need to change the script. There are
switches to do most of the things you might want to do.

Third, unless you show the exact changes you have made it is impossible
to comment further. Why don't you say what it is you actually want to
do and why?

cheers

andrew