Author: astieger Date: Sat May 27 18:11:22 2017 New Revision: 1796434 URL: http://svn.apache.org/viewvc?rev=1796434&view=rev Log: Generation of an ABI compatibility timeline
Adds scripts and configuration for generating ABI compatibility timeline and reports using ABI Tracker, ABICC, ABI Dumper. * abi/generate.sh: new, run this * abi/html, abi/patches, abi/src, abi/work: new, work tree * abi/patches/0.6.1-build-problem.patch: new, local build fix for 0.6.1 * abi/src/install.sh: new, wrapper around make/scons * abi/src/serf.json: new, abi-monitor configuration Added: serf/tools/abi/ serf/tools/abi/generate.sh (with props) serf/tools/abi/html/ (with props) serf/tools/abi/patches/ serf/tools/abi/patches/0.6.1-build-problem.patch serf/tools/abi/src/ serf/tools/abi/src/install.sh (with props) serf/tools/abi/src/serf.json serf/tools/abi/work/ (with props) Added: serf/tools/abi/generate.sh URL: http://svn.apache.org/viewvc/serf/tools/abi/generate.sh?rev=1796434&view=auto ============================================================================== --- serf/tools/abi/generate.sh (added) +++ serf/tools/abi/generate.sh Sat May 27 18:11:22 2017 @@ -0,0 +1,6 @@ +#!/bin/sh -e +pushd work +abi-monitor -get -build -output ../work/serf.json ../src/serf.json +abi-tracker -build ../work/serf.json -deploy ../html +popd +echo `pwd`/html/timeline/serf/index.html Propchange: serf/tools/abi/generate.sh ------------------------------------------------------------------------------ svn:executable = * Propchange: serf/tools/abi/html/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Sat May 27 18:11:22 2017 @@ -0,0 +1 @@ +* Added: serf/tools/abi/patches/0.6.1-build-problem.patch URL: http://svn.apache.org/viewvc/serf/tools/abi/patches/0.6.1-build-problem.patch?rev=1796434&view=auto ============================================================================== --- serf/tools/abi/patches/0.6.1-build-problem.patch (added) +++ serf/tools/abi/patches/0.6.1-build-problem.patch Sat May 27 18:11:22 2017 @@ -0,0 +1,37 @@ +------------------------------------------------------------------------ +r1698931 | lgo | 2010-06-02 12:57:39 +0200 (Wed, 02 Jun 2010) | 1 line +Changed paths: + M /serf/branches/0.6.x + M /serf/branches/0.6.x/outgoing.c + +Merged r1372 from trunk to fix build problem. +------------------------------------------------------------------------ +Index: outgoing.c +=================================================================== +--- outgoing.c (revision 1698930) ++++ outgoing.c (revision 1698931) +@@ -480,7 +480,7 @@ static apr_status_t socket_writev(serf_connection_ + sizeof(struct iovec) * (conn->vec_len - i)); + conn->vec_len -= i; + } +- ((char *) conn->vec[0].iov_base) += conn->vec[0].iov_len - (len - written); ++ conn->vec[0].iov_base = (char *)conn->vec[0].iov_base + (conn->vec[0].iov_len - (len - written)); + conn->vec[0].iov_len = len - written; + break; + } + +Property changes on: outgoing.c +___________________________________________________________________ +Modified: svn:mergeinfo +## -0,0 +0,1 ## + Merged /serf/trunk/outgoing.c:r1698909 +Index: . +=================================================================== +--- . (revision 1698930) ++++ . (revision 1698931) + +Property changes on: . +___________________________________________________________________ +Modified: svn:mergeinfo +## -0,0 +0,1 ## + Merged /serf/trunk:r1698909 Added: serf/tools/abi/src/install.sh URL: http://svn.apache.org/viewvc/serf/tools/abi/src/install.sh?rev=1796434&view=auto ============================================================================== --- serf/tools/abi/src/install.sh (added) +++ serf/tools/abi/src/install.sh Sat May 27 18:11:22 2017 @@ -0,0 +1,14 @@ +#!/bin/sh +case "`basename $INSTALL_TO`" in + 0.6.1) + patch -p0 < $(dirname "$0")/../patches/0.6.1-build-problem.patch + ;& + 0.*|1.0*|1.1*|1.2*) + ./configure + make install DESTDIR=$INSTALL_TO CFLAGS="-g -Og" + ;; + *) + scons install --install-sandbox=$INSTALL_TO DEBUG=yes CFLAGS="-Og" + ;; +esac + Propchange: serf/tools/abi/src/install.sh ------------------------------------------------------------------------------ svn:executable = * Added: serf/tools/abi/src/serf.json URL: http://svn.apache.org/viewvc/serf/tools/abi/src/serf.json?rev=1796434&view=auto ============================================================================== --- serf/tools/abi/src/serf.json (added) +++ serf/tools/abi/src/serf.json Sat May 27 18:11:22 2017 @@ -0,0 +1,8 @@ +{ + "Name": "serf", + "SourceUrl": "https://archive.apache.org/dist/serf/", + "Svn": "https://svn.apache.org/repos/asf/serf/trunk", + "Maintainer": "Apache Serf", + "MaintainerUrl": "https://serf.apache.org/", + "BuildScript": "../src/install.sh", +} Propchange: serf/tools/abi/work/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Sat May 27 18:11:22 2017 @@ -0,0 +1 @@ +*