Changeset 723 for trunk/technical


Ignore:
Timestamp:
Oct 2, 2008, 5:51:33 PM (16 years ago)
Author:
joergs
Message:

trying to avoid new version for the build server, when nothing has changed. Unfortunally, transfering data to the build server (tar.bz2) changes the file, resulting in a new commit every time the script is called.

Location:
trunk/technical/common/build
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/technical/common/build/svn_build_prepare.sh

    r721 r723  
    5959        if [ $SVN_BUILD_MODIFIED -gt 0 ]; then 
    6060            SVN_BUILD_RELEASE=${SVN_BUILD_RELEASE}m
     61            REBUILD="yes"
    6162        elif [ $SVN_LAST_MODIFICATION -ne $SVN_BUILD_RELEASE ]; then
    6263            SVN_BUILD_RELEASE=${SVN_BUILD_RELEASE}p
     64            REBUILD="yes"
    6365        else # check if RPM has been build already
    6466            # TODO: this chekc is broken for OpenSUSE build service,
     
    113115    if [ -r "SOURCES" ]; then
    114116        # create a tar file from the sources
     117        printf "creating $PACKAGE-$VERSION.tar.bz2:\n"
    115118        tar cvjf ${BUILDTEMP}/src/${PACKAGE}/$PACKAGE-$VERSION.tar.bz2 --files-from SOURCES --exclude .svn --exclude "*~"
    116119   
  • trunk/technical/common/build/svn_osc_build.sh

    r722 r723  
    6262
    6363cd $OSC_PACKAGE
    64 rsync -a --delete $BUILDSRC_DIR/. . --exclude .osc
     64# rsync -a: -rlptgoD
     65# but we don't want to check for timestamps
     66# TODO: if our data (tar.bz2) is transfered to the
     67#       openSUSE server, the size changed!!! Why?
     68#       Therefore every new build run
     69#       results in a new commit for the build server
     70rsync --checksum -r -v --delete $BUILDSRC_DIR/. . --exclude .osc
    6571
    6672# osc build DIST ARCH
Note: See TracChangeset for help on using the changeset viewer.