Moved to using updatedocs.sh for updating documentation. Make tarring faster by re-arranging ops.

This commit is contained in:
Robin Johnson
2003-06-22 20:32:32 +00:00
parent 8f26e1b4f7
commit 58ec7e4699
2 changed files with 27 additions and 7 deletions

View File

@@ -5,6 +5,13 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-06-22 Robin Johnson <robbat2@users.sourceforge.net>
* scripts/updatedocs.sh:
- Cleanup scripts/updatedocs.sh (I use it elsewhere as well).
* scripts/create-release.sh:
- Moved to using updatedocs.sh for updating documentation.
- Make tarring faster by re-arranging ops.
2003-06-21 Marc Delisle <lem9@users.sourceforge.net> 2003-06-21 Marc Delisle <lem9@users.sourceforge.net>
* sql.php3: typo in call to cleanup columns * sql.php3: typo in call to cleanup columns

View File

@@ -2,6 +2,10 @@
# #
# $Id$ # $Id$
# #
# 2003-06-22, robbat2@users.sourceforge.net:
# - Moved to using updatedocs.sh for updating documentation
# - Make tarring faster by re-arranging ops
#
# 2003-01-17, rabus@users.sourceforge.net: # 2003-01-17, rabus@users.sourceforge.net:
# - Changed the CVS hostname to cvs1 because cvs1.sourceforge.net is now blocked # - Changed the CVS hostname to cvs1 because cvs1.sourceforge.net is now blocked
# for the SF shell servers, too. Note: The script now works on the SF shell # for the SF shell servers, too. Note: The script now works on the SF shell
@@ -59,7 +63,7 @@ Please ensure you have:
" <h1>phpMyAdmin $1 Documentation</h1> " " <h1>phpMyAdmin $1 Documentation</h1> "
- in translators.html - in translators.html
2. built the new "Documentation.txt" version using: 2. built the new "Documentation.txt" version using:
lynx --dont_wrap_pre --nolist --dump Documentation.html > Documentation.txt "./scripts/updatedocs.sh"
3. synchronized the language files: 3. synchronized the language files:
cd lang cd lang
./sync_lang.sh ./sync_lang.sh
@@ -75,11 +79,12 @@ if [ "$do_release" != 'y' ]; then
exit exit
fi fi
# Move old cvs dir
if [ -e cvs ]; if [ -e cvs ];
then then
mv cvs cvs-`date +%s` mv cvs cvs-`date +%s`
fi fi
# Do CVS checkout
mkdir cvs mkdir cvs
cd cvs cd cvs
echo "Press [ENTER]!" echo "Press [ENTER]!"
@@ -94,21 +99,29 @@ if [ $? -ne 0 ] ; then
exit 2 exit 2
fi fi
LC_ALL=C date > phpMyAdmin/RELEASE-DATE-$1 # Cleanup release dir
LC_ALL=C date -u > phpMyAdmin/RELEASE-DATE-$1
find phpMyAdmin \( -name .cvsignore -o -name CVS \) -print0 | xargs -0 rm -rf find phpMyAdmin \( -name .cvsignore -o -name CVS \) -print0 | xargs -0 rm -rf
find phpMyAdmin -type d -print0 | xargs -0 chmod 755 find phpMyAdmin -type d -print0 | xargs -0 chmod 755
find phpMyAdmin -type f -print0 | xargs -0 chmod 644 find phpMyAdmin -type f -print0 | xargs -0 chmod 644
find phpMyAdmin \( -name '*.sh' -o -name '*.pl' \) -print0 | xargs -0 chmod 755 find phpMyAdmin \( -name '*.sh' -o -name '*.pl' \) -print0 | xargs -0 chmod 755
mv phpMyAdmin phpMyAdmin-$1 mv phpMyAdmin phpMyAdmin-$1
# Roll up '.php3' release
zip -9 -r phpMyAdmin-$1-php3.zip phpMyAdmin-$1 zip -9 -r phpMyAdmin-$1-php3.zip phpMyAdmin-$1
tar cvzf phpMyAdmin-$1-php3.tar.gz phpMyAdmin-$1 tar cvf phpMyAdmin-$1-php3.tar phpMyAdmin-$1
tar cvjf phpMyAdmin-$1-php3.tar.bz2 phpMyAdmin-$1 bzip -9kv phpMyAdmin-$1-php3.tar
gzip -9v phpMyAdmin-$1-php3.tar
# Setup for '.php' release
cd phpMyAdmin-$1 cd phpMyAdmin-$1
./scripts/extchg.sh php3 php ./scripts/extchg.sh php3 php
cd .. cd ..
# Roll up '.php' release
zip -9 -r phpMyAdmin-$1-php.zip phpMyAdmin-$1 zip -9 -r phpMyAdmin-$1-php.zip phpMyAdmin-$1
tar cvzf phpMyAdmin-$1-php.tar.gz phpMyAdmin-$1 tar cvf phpMyAdmin-$1-php.tar phpMyAdmin-$1
tar cvjf phpMyAdmin-$1-php.tar.bz2 phpMyAdmin-$1 bzip -9kv phpMyAdmin-$1-php.tar
gzip -9v phpMyAdmin-$1-php.tar
echo "" echo ""
echo "" echo ""