[Python-Dev] Re: RELEASED Python 2.3.1 (original) (raw)
Shane Hathaway shane at zope.com
Mon Sep 29 16:57:49 EDT 2003
- Previous message: [Python-Dev] Re: RELEASED Python 2.3.1
- Next message: [Python-Dev] Re: RELEASED Python 2.3.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Neil Schemenauer wrote:
* write scripts to generate the final package and also verify its sanity (e.g. check version numbers, dates, detect files that should not be included in the release)
FWIW, one thing I like to do is compare the list of files in the new release with the list of files in the previous release. It's amazing what can creep in. I've attached the script I use--it's ugly but it works.
Shane -------------- next part -------------- #!/bin/sh
This utility compares the directory listing of two tar files.
It detects .gz or .bz2 extensions automatically and acts accordingly.
if [ "$1" == "" ] || [ "$2" == "" ]; then echo usage: $0 tarfile1 tarfile2 exit 1 fi
f1=mktemp /tmp/difftar1.XXXXXX
f2=mktemp /tmp/difftar2.XXXXXX
if echo $1 | grep '.gz' > /dev/null; then flags='tfz' elif echo $1 | grep '.bz2' > /dev/null; then flags='tfj' else flags='tf' fi tar flagsflags flags1 | sort > $f1
if echo $2 | grep '.gz' > /dev/null; then flags='tfz' elif echo $2 | grep '.bz2' > /dev/null; then flags='tfj' else flags='tf' fi tar flagsflags flags2 | sort > $f2
diff -u f1f1 f1f2 rm -f f1f1 f1f2
- Previous message: [Python-Dev] Re: RELEASED Python 2.3.1
- Next message: [Python-Dev] Re: RELEASED Python 2.3.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]