diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ae-cvs-ci | 22 | ||||
-rwxr-xr-x | bin/ae-svn-ci | 22 |
2 files changed, 36 insertions, 8 deletions
diff --git a/bin/ae-cvs-ci b/bin/ae-cvs-ci index 3dcc287..47c8073 100755 --- a/bin/ae-cvs-ci +++ b/bin/ae-cvs-ci @@ -130,7 +130,7 @@ ${EXECUTE} cd $module # and so will not be readily compilable. # # gunzip < $baseline/export/${project}.tar.gz | tardy -rp ${project} | tar xf - -aetar -send -o - | tar xzf - +aetar -send -comp-alg=gzip -o - | tar xzf - # # If any new directories have been created we will need to add them @@ -145,9 +145,9 @@ then xargs --max-args=1 | while read dir do - if [ ! -d $dir/CVS ] + if [ ! -d "$dir/CVS" ] then - Command cvs add $dir + Command cvs add "$dir" fi done fi @@ -177,9 +177,23 @@ do done # +# Extract the brief description. We'd like to do this using aesub +# or something, like so: +# +# message=`aesub '${version} - ${change description}'` +# +# but the expansion of ${change description} has a lame hard-coded max of +# 80 characters, so we have to do this by hand. (This has the slight +# benefit of preserving backslashes in front of any double-quotes in +# the text; that will have to be handled if we go back to using aesub.) +# +description=`aegis -ca -l | sed -n 's/brief_description = "\(.*\)";$/\1/p'` +version=`aesub '${version}'` +message="$version - $description" + +# # Now commit all the changes. # -message=`aesub '${version} - ${change description}'` Command cvs -q commit -m \"$message\" # diff --git a/bin/ae-svn-ci b/bin/ae-svn-ci index e5b81a4..301d890 100755 --- a/bin/ae-svn-ci +++ b/bin/ae-svn-ci @@ -130,7 +130,7 @@ ${EXECUTE} cd $module # and so will not be readily compilable. # # gunzip < $baseline/export/${project}.tar.gz | tardy -rp ${project} | tar xf - -aetar -send -o - | tar xzf - +aetar -send -comp-alg=gzip -o - | tar xzf - # # If any new directories have been created we will need to add them @@ -145,9 +145,9 @@ then xargs --max-args=1 | while read dir do - if [ ! -d $dir/.svn ] + if [ ! -d "$dir/.svn" ] then - Command svn add -N $dir + Command svn add -N "$dir" fi done fi @@ -213,9 +213,23 @@ do done # +# Extract the brief description. We'd like to do this using aesub +# or something, like so: +# +# message=`aesub '${version} - ${change description}'` +# +# but the expansion of ${change description} has a lame hard-coded max of +# 80 characters, so we have to do this by hand. (This has the slight +# benefit of preserving backslashes in front of any double-quotes in +# the text; that will have to be handled if we go back to using aesub.) +# +description=`aegis -ca -l | sed -n 's/brief_description = "\(.*\)";$/\1/p'` +version=`aesub '${version}'` +message="$version - $description" + +# # Now commit all the changes. # -message=`aesub '${version} - ${change description}'` Command svn commit -m \"$message\" # |