FTS Development Configurations
Configuration |
org.glite.data tag |
project tag |
Notes |
FTS 21 fix |
glite-data_R_3_1_96_3 |
glite_branch_3_1_0_patch1760 |
For bug fixes on the FTS version currently in pre-production (up to patches 2047/2048) |
FTS devel |
glite-data_branch_3_1_0_fts_dev |
glite_branch_3_1_0_dev |
For FTS development, including the service discovery and security components |
FTS 21 fix
Patches:
Fixing bugs:
Preparing the workspace:
etics-workspace-setup
cat > etics.properties << EOD
log4cpp.DEFAULT=log4cpp v. 0.3.4b-2
EOD
etics-get-project org.glite
etics-checkout --continueonerror --project-config glite_branch_3_1_0_patch1760 -c glite-data_R_3_1_96_3 org.glite.data
etics-build --continueonerror org.glite.data
transfer-url-copy
cvs -Q rtag -r glite-data-transfer-url-copy_R_2_1_2_1 -b glite-data-transfer-url-copy_R_2_1_2_1_fix org.glite.data.transfer-url-copy
cd org.glite.data.transfer-url-copy
cvs -Q up -r glite-data-transfer-url-copy_R_2_1_2_1_fix
transfer-agents
cvs -Q rtag -r glite-data-transfer-agents_R_3_1_1_1 -b glite-data-transfer-agents_R_3_1_1_1_fix org.glite.data.transfer-agents
cd org.glite.data.transfer-agents
cvs -Q up -r glite-data-transfer-agents_R_3_1_1_1_fix
FTS Development
Preparing the workspace:
etics-workspace-setup
etics-get-project org.glite
etics-checkout --ignorelocking --continueonerror --project-config glite_branch_3_1_0_dev -c glite-data_branch_3_1_0_fts_dev org.glite.data
etics-build --continueonerror org.glite.data
Of course, you should not need
'--continueonerror'
, however this is the development branch, so it might be broken for some reason.
Please use
'--ignorelocking'
, because otherwise the build would pick up dependencies from earlier production builds, which might have
already changed.
Setting up the development environment
CA rpms
To install the CA rpms (useful for some tests) do the following.
- In /etc/yum.repos.d create a new file, called CAs.repo with the following contents:
[CA]
name=CAs
baseurl=http://linuxsoft.cern.ch/LCG-CAs/current
Python 2.5
To install Python Version 2.5 (required to run some tests) do the following:
wget http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tar.bz2
bzcat Python-2.5.2.tar.bz2 | tar -xf -
cd Python-2.5.2
./configure
make
make install
Running unit tests
From the workspace root:
- check out, if necessary, the org.glite.data.test-utils module:
- copy the
test-config.sh
file to the workspace root (so you don't risk committing your local changes to CVS) and edit it to fit your environment
- source the
test-config.sh
script
- run the unit tests you're interested in
~/workspace $ cvs co org.glite.data.test-utils
~/workspace $ cp org.glite.data.test-utils/test-config.sh .
~/workspace $ vim test-config.sh
~/workspace $ . test-config.sh
~/workspace $ ./org.glite.data.transfer-url-copy/test/unit-test.sh
Last edit:
PaoloTedesco on 2009-01-22 - 13:32
Number of topics: 1
Maintainers:
PaoloTedesco,
AkosFrohner