Finalise SVN migration.
This commit is contained in:
11
.cvsignore
11
.cvsignore
@@ -1,11 +0,0 @@
|
|||||||
config.inc.php
|
|
||||||
config.header.inc.php
|
|
||||||
config.footer.inc.php
|
|
||||||
phpmyadmin.wpj
|
|
||||||
*.swp
|
|
||||||
upload
|
|
||||||
save
|
|
||||||
.vimrc
|
|
||||||
.project
|
|
||||||
.settings
|
|
||||||
config
|
|
14
ChangeLog
Executable file → Normal file
14
ChangeLog
Executable file → Normal file
@@ -5,6 +5,20 @@ phpMyAdmin - ChangeLog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2006-10-12 Michal Čihař <michal@cihar.com>
|
||||||
|
* Documentation.html: Change CVS instructions to SVN.
|
||||||
|
* scripts/create-release.sh: Switch to SVN:
|
||||||
|
- use svn instead of cvs
|
||||||
|
- remove chmod (we can have correct permissions in svn)
|
||||||
|
- some cleanup
|
||||||
|
- use export and thus remove need for removing files
|
||||||
|
- fix help instructions to contain correct version
|
||||||
|
- CHANGE: you have to prepend "tags" or "branches" to tag or branch
|
||||||
|
specification
|
||||||
|
* */.cvsignore: Removed, this is now stored in svn:ignore property (use
|
||||||
|
svn propget/propset to work with them).
|
||||||
|
* many files: Fix permissions.
|
||||||
|
|
||||||
2006-10-11 Marc Delisle <lem9@users.sourceforge.net>
|
2006-10-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
### Migration to Subversion
|
### Migration to Subversion
|
||||||
|
|
||||||
|
23
Documentation.html
Executable file → Normal file
23
Documentation.html
Executable file → Normal file
@@ -3777,9 +3777,9 @@ chmod o+rwx tmp
|
|||||||
<a href="#faq7_2">7.2 I want to translate the messages to a new language or upgrade an
|
<a href="#faq7_2">7.2 I want to translate the messages to a new language or upgrade an
|
||||||
existing language, where do I start?</a></h4>
|
existing language, where do I start?</a></h4>
|
||||||
|
|
||||||
<p> Always use the current CVS version of your language file.
|
<p> Always use the current SVN version of your language file.
|
||||||
For a new language, start from <i>english-iso-8859-1.inc.php</i>. If you
|
For a new language, start from <i>english-iso-8859-1.inc.php</i>. If you
|
||||||
don't know how to get the CVS version, please ask one of the developers.
|
don't know how to get the SVN version, please ask one of the developers.
|
||||||
<br />
|
<br />
|
||||||
Please note that we try not to use HTML entities like &eacute; in
|
Please note that we try not to use HTML entities like &eacute; in
|
||||||
the translations, since we define the right character set in the file.
|
the translations, since we define the right character set in the file.
|
||||||
@@ -3798,19 +3798,20 @@ chmod o+rwx tmp
|
|||||||
|
|
||||||
<p> The following method is preferred for new developers:</p>
|
<p> The following method is preferred for new developers:</p>
|
||||||
|
|
||||||
<ol><li>fetch the current CVS tree over anonymous CVS:<br />
|
<ol><li>fetch the current SVN tree over anonymous SVN:<br />
|
||||||
<tt>cvs -d:pserver:anonymous@phpmyadmin.cvs.sourceforge.net:/cvsroot/phpmyadmin login</tt><br />
|
<tt>svn co https://svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyAdmin</tt><br />
|
||||||
[Password: simply press the Enter key]<br />
|
</li>
|
||||||
<tt>cvs -z3 -d:pserver:anonymous@phpmyadmin.cvs.sourceforge.net:/cvsroot/phpmyadmin checkout phpMyAdmin</tt><br />
|
|
||||||
[This will create a new sub-directory named phpMyAdmin]</li>
|
|
||||||
<li>add your stuff</li>
|
<li>add your stuff</li>
|
||||||
<li>put the modified files (tar'ed and gzip'ed) inside the patch tracker of
|
<li>generate patch with your changes:
|
||||||
the
|
<tt>svn diff</tt><br />
|
||||||
<a href="http://sf.net/projects/phpmyadmin/">phpMyAdmin SourceForge account</a>.
|
</li>
|
||||||
|
<li>put the patch inside the <a
|
||||||
|
href="https://sourceforge.net/tracker/?group_id=23067&atid=377410">patch
|
||||||
|
tracker of the phpMyAdmin project</a>.
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<p> Write access to the CVS tree is granted only to experienced developers who
|
<p> Write access to the SVN tree is granted only to experienced developers who
|
||||||
have already contributed something useful to phpMyAdmin.<br />
|
have already contributed something useful to phpMyAdmin.<br />
|
||||||
Also, have a look at the <a href="#developers">Developers section</a>.</p>
|
Also, have a look at the <a href="#developers">Developers section</a>.</p>
|
||||||
|
|
||||||
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1,3 +0,0 @@
|
|||||||
tmp-check
|
|
||||||
added_messages.php
|
|
||||||
*.swp
|
|
0
lang/add_message.sh
Normal file → Executable file
0
lang/add_message.sh
Normal file → Executable file
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
0
libraries/transformations/generator.sh
Normal file → Executable file
0
libraries/transformations/generator.sh
Normal file → Executable file
0
libraries/transformations/template_generator.sh
Normal file → Executable file
0
libraries/transformations/template_generator.sh
Normal file → Executable file
0
libraries/transformations/template_generator_mimetype.sh
Normal file → Executable file
0
libraries/transformations/template_generator_mimetype.sh
Normal file → Executable file
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -77,52 +77,32 @@ COMPRESSIONS="zip-7z tbz tgz 7z"
|
|||||||
|
|
||||||
if [ $# = 0 ]
|
if [ $# = 0 ]
|
||||||
then
|
then
|
||||||
echo "Usage: create-release.sh version from_branch devname"
|
echo "Usage: create-release.sh version from_branch"
|
||||||
echo " (no spaces allowed!)"
|
echo " (no spaces allowed!)"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Example: create-release.sh 2.9.0-rc1 QA_2_9 lem9"
|
echo "Examples:"
|
||||||
|
echo " create-release.sh 2.9.0-rc1 branches/QA_2_9"
|
||||||
|
echo " create-release.sh 2.9.0 tags/RELEASE_2_9_0"
|
||||||
exit 65
|
exit 65
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "snapshot" ]
|
branch='trunk'
|
||||||
then
|
|
||||||
branch=''
|
|
||||||
elif [ "$#" -ge 2 ]
|
|
||||||
then
|
|
||||||
branch="-r $2"
|
|
||||||
fi
|
|
||||||
|
|
||||||
user="anonymous"
|
if [ "$1" = "snapshot" ] ; then
|
||||||
if [ "$#" -eq 3 ]
|
|
||||||
then
|
|
||||||
user=$3
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [ $1 = "snapshot" ]
|
|
||||||
then
|
|
||||||
mode="snapshot"
|
mode="snapshot"
|
||||||
date_snapshot=`date +%Y%m%d-%H%M%S`
|
date_snapshot=`date +%Y%m%d-%H%M%S`
|
||||||
fi
|
|
||||||
|
|
||||||
# Set target name
|
|
||||||
if [ "$mode" != "snapshot" ]
|
|
||||||
then
|
|
||||||
target=$1
|
|
||||||
else
|
|
||||||
target=$date_snapshot
|
target=$date_snapshot
|
||||||
|
else
|
||||||
|
if [ "$#" -ge 2 ] ; then
|
||||||
|
branch="$2"
|
||||||
fi
|
fi
|
||||||
|
target="$1"
|
||||||
|
|
||||||
if [ "$mode" != "snapshot" ]
|
|
||||||
then
|
|
||||||
|
|
||||||
cat <<END
|
cat <<END
|
||||||
|
|
||||||
Please ensure you have:
|
Please ensure you have:
|
||||||
1. incremented rc count or version in CVS :
|
1. incremented rc count or version in subversion :
|
||||||
- in libraries/Config.class.php PMA_Config::__constructor() the line
|
- in libraries/Config.class.php PMA_Config::__constructor() the line
|
||||||
" $this->set( 'PMA_VERSION', '2.7.1-dev' ); "
|
" \$this->set( 'PMA_VERSION', '$1' ); "
|
||||||
- in Documentation.html the 2 lines
|
- in Documentation.html the 2 lines
|
||||||
" <title>phpMyAdmin $1 - Documentation</title> "
|
" <title>phpMyAdmin $1 - Documentation</title> "
|
||||||
" <h1>phpMyAdmin $1 Documentation</h1> "
|
" <h1>phpMyAdmin $1 Documentation</h1> "
|
||||||
@@ -136,7 +116,6 @@ Please ensure you have:
|
|||||||
|
|
||||||
Continue (y/n)?
|
Continue (y/n)?
|
||||||
END
|
END
|
||||||
printf "\a"
|
|
||||||
read do_release
|
read do_release
|
||||||
|
|
||||||
if [ "$do_release" != 'y' ]; then
|
if [ "$do_release" != 'y' ]; then
|
||||||
@@ -144,6 +123,7 @@ END
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# FIXME: this was kept, but actually this is not used
|
||||||
if [ "$mode" = "snapshot" -a "$2" != "local" ] ; then
|
if [ "$mode" = "snapshot" -a "$2" != "local" ] ; then
|
||||||
# Goto project dir
|
# Goto project dir
|
||||||
cd /home/groups/p/ph/phpmyadmin/htdocs
|
cd /home/groups/p/ph/phpmyadmin/htdocs
|
||||||
@@ -162,50 +142,22 @@ if [ "$mode" = "snapshot" -a "$2" != "local" ] ; then
|
|||||||
mv cvs cvs-prev
|
mv cvs cvs-prev
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Do CVS checkout
|
# Do SVNcheckout
|
||||||
mkdir cvs
|
mkdir -p ./svn
|
||||||
cd cvs
|
cd svn
|
||||||
|
|
||||||
if [ "$mode" != "snapshot" ] ; then
|
echo "Exporting repository from subversion"
|
||||||
if grep -Fq ':pserver:anonymous@phpmyadmin.cvs.sourceforge.net:2401/cvsroot/phpmyadmin' ~/.cvspass ; then
|
|
||||||
echo "You seem to be already logged into phpMyAdmin CVS, skipping that"
|
|
||||||
else
|
|
||||||
if [ $user = "anonymous" ] ; then
|
|
||||||
echo "Press [ENTER]!"
|
|
||||||
cvs -q -d:pserver:anonymous@$cvsserver:/cvsroot/phpmyadmin login
|
|
||||||
if [ $? -ne 0 ] ; then
|
|
||||||
echo "CVS login failed, bailing out"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $user = "anonymous" ] ; then
|
svn export -q https://svn.sourceforge.net/svnroot/phpmyadmin/$branch/phpMyAdmin
|
||||||
cvs -q -z3 -d:pserver:anonymous@$cvsserver:/cvsroot/phpmyadmin co -P $branch phpMyAdmin
|
|
||||||
else
|
|
||||||
cvs -q -z3 -d:ext:$user@$cvsserver:/cvsroot/phpmyadmin co -P $branch phpMyAdmin
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
echo "CVS checkout failed, bailing out"
|
echo "Subversion checkout failed, bailing out"
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cleanup release dir
|
# Cleanup release dir
|
||||||
LC_ALL=C date -u > phpMyAdmin/RELEASE-DATE-${target}
|
LC_ALL=C date -u > phpMyAdmin/RELEASE-DATE-${target}
|
||||||
|
|
||||||
# Olivier asked to keep those in the cvs release, to allow testers to use
|
|
||||||
# cvs update on it
|
|
||||||
if [ "$mode" != "snapshot" ]
|
|
||||||
then
|
|
||||||
find phpMyAdmin \( -name .cvsignore -o -name CVS \) -print0 | xargs -0 rm -rf
|
|
||||||
fi
|
|
||||||
|
|
||||||
find phpMyAdmin -type d -print0 | xargs -0 chmod 755
|
|
||||||
find phpMyAdmin -type f -print0 | xargs -0 chmod 644
|
|
||||||
find phpMyAdmin \( -name '*.sh' -o -name '*.pl' \) -print0 | xargs -0 chmod 755
|
|
||||||
|
|
||||||
# Building Documentation.txt
|
# Building Documentation.txt
|
||||||
LC_ALL=C w3m -dump phpMyAdmin/Documentation.html > phpMyAdmin/Documentation.txt
|
LC_ALL=C w3m -dump phpMyAdmin/Documentation.html > phpMyAdmin/Documentation.txt
|
||||||
|
|
||||||
@@ -296,8 +248,8 @@ cat <<END
|
|||||||
|
|
||||||
Todo now:
|
Todo now:
|
||||||
---------
|
---------
|
||||||
1. tag the cvs tree with the new revision number for a plain release or a
|
1. tag the subversion tree with the new revision number for a plain release
|
||||||
release candidate:
|
or a release candidate:
|
||||||
version 2.7.0 gets two tags: RELEASE_2_7_0 and STABLE
|
version 2.7.0 gets two tags: RELEASE_2_7_0 and STABLE
|
||||||
version 2.7.1-rc1 gets RELEASE_2_7_1RC1 and TESTING
|
version 2.7.1-rc1 gets RELEASE_2_7_1RC1 and TESTING
|
||||||
|
|
||||||
@@ -305,7 +257,7 @@ Todo now:
|
|||||||
ftp upload.sourceforge.net
|
ftp upload.sourceforge.net
|
||||||
cd incoming
|
cd incoming
|
||||||
binary
|
binary
|
||||||
mput cvs/*.gz *.zip *.bz2
|
mput svn/*.gz *.zip *.bz2
|
||||||
3. add files to SF files page (cut and paste changelog since last release)
|
3. add files to SF files page (cut and paste changelog since last release)
|
||||||
4. add SF news item to phpMyAdmin project
|
4. add SF news item to phpMyAdmin project
|
||||||
5. update web page:
|
5. update web page:
|
||||||
@@ -320,7 +272,7 @@ Todo now:
|
|||||||
Don't forget to update the Description section in the announcement,
|
Don't forget to update the Description section in the announcement,
|
||||||
based on Documentation.html.
|
based on Documentation.html.
|
||||||
|
|
||||||
8. increment rc count or version in CVS :
|
8. increment rc count or version in subversion :
|
||||||
- in libraries/Config.class.php PMA_Config::__constructor() the line
|
- in libraries/Config.class.php PMA_Config::__constructor() the line
|
||||||
" $this->set( 'PMA_VERSION', '2.7.1-dev' ); "
|
" $this->set( 'PMA_VERSION', '2.7.1-dev' ); "
|
||||||
- in Documentation.html the 2 lines
|
- in Documentation.html the 2 lines
|
||||||
@@ -339,12 +291,6 @@ END
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$mode" = "snapshot" -a "$2" != "local" ] ; then
|
|
||||||
cd ..
|
|
||||||
find cvs -type d -print0 | xargs -0 chmod 775
|
|
||||||
find cvs -type f -print0 | xargs -0 chmod 664
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Removed due to not needed thanks to clever scripting by Robbat2
|
# Removed due to not needed thanks to clever scripting by Robbat2
|
||||||
# 9. update the demo subdirectory:
|
# 9. update the demo subdirectory:
|
||||||
# - in htdocs, cvs update phpMyAdmin
|
# - in htdocs, cvs update phpMyAdmin
|
||||||
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1,19 +0,0 @@
|
|||||||
*.7z
|
|
||||||
*.zip
|
|
||||||
simple
|
|
||||||
arctic_ocean
|
|
||||||
xp_dirty
|
|
||||||
xp_green
|
|
||||||
xp_silver
|
|
||||||
aqua
|
|
||||||
aqua_brushed
|
|
||||||
cactica_blues
|
|
||||||
darkblue_gray
|
|
||||||
garvblue
|
|
||||||
green_orange
|
|
||||||
openphpnuke
|
|
||||||
paradice
|
|
||||||
xampp
|
|
||||||
xp_basic
|
|
||||||
xp_blue
|
|
||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
@@ -1 +0,0 @@
|
|||||||
*.swp
|
|
Reference in New Issue
Block a user