mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
* gdbint.texinfo (Releasing GDB): Revise the section ``Cut the
Branch''.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2002-06-08 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* gdbint.texinfo (Releasing GDB): Revise the section ``Cut the
|
||||||
|
Branch''.
|
||||||
|
|
||||||
2002-06-01 Andrew Cagney <ac131313@redhat.com>
|
2002-06-01 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* gdbint.texinfo (Target Architecture Definition): Add section
|
* gdbint.texinfo (Target Architecture Definition): Add section
|
||||||
|
@ -5417,38 +5417,141 @@ Close anything obviously fixed.
|
|||||||
The targets are listed in @file{gdb/MAINTAINERS}.
|
The targets are listed in @file{gdb/MAINTAINERS}.
|
||||||
|
|
||||||
|
|
||||||
@section Cut the branch
|
@section Cut the Branch
|
||||||
|
|
||||||
@subheading The dirty work
|
@subheading Create the branch
|
||||||
|
|
||||||
I think something like the below was used:
|
|
||||||
|
|
||||||
@smallexample
|
@smallexample
|
||||||
$ d=`date -u +%Y-%m-%d`
|
$ u=5.1
|
||||||
$ echo $d
|
$ v=5.2
|
||||||
2002-01-24
|
$ V=`echo $v | sed 's/\./_/g'`
|
||||||
$ cvs -f -d /cvs/src rtag -D $d-gmt \
|
$ D=`date -u +%Y-%m-%d`
|
||||||
gdb_5_1-$d-branchpoint insight+dejagnu
|
$ echo $u $V $D
|
||||||
$ cvs -f -d /cvs/src rtag -b -r gdb_V_V-$d-branchpoint \
|
5.1 5_2 2002-03-03
|
||||||
gdb_5_1-$d-branch insight+dejagnu
|
$ echo cvs -f -d :ext:sources.redhat.com:/cvs/src rtag \
|
||||||
|
-D $D-gmt gdb_$V-$D-branchpoint insight+dejagnu
|
||||||
|
cvs -f -d :ext:sources.redhat.com:/cvs/src rtag
|
||||||
|
-D 2002-03-03-gmt gdb_5_2-2002-03-03-branchpoint insight+dejagnu
|
||||||
|
$ ^echo ^^
|
||||||
|
...
|
||||||
|
$ echo cvs -f -d :ext:sources.redhat.com:/cvs/src rtag \
|
||||||
|
-b -r gdb_$V-$D-branchpoint gdb_$V-branch insight+dejagnu
|
||||||
|
cvs -f -d :ext:sources.redhat.com:/cvs/src rtag \
|
||||||
|
-b -r gdb_5_2-2002-03-03-branchpoint gdb_5_2-branch insight+dejagnu
|
||||||
|
$ ^echo ^^
|
||||||
|
...
|
||||||
$
|
$
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
@itemize @bullet
|
@itemize @bullet
|
||||||
@item
|
@item
|
||||||
the @kbd{-D YYYY-MM-DD-gmt} forces the branch to an exact date/time.
|
by using @kbd{-D YYYY-MM-DD-gmt} the branch is forced to an exact
|
||||||
|
date/time.
|
||||||
@item
|
@item
|
||||||
the trunk is first tagged so that the branch point can easily be found
|
the trunk is first taged so that the branch point can easily be found
|
||||||
@item
|
@item
|
||||||
Insight (which includes GDB) and dejagnu are tagged at the same time
|
Insight (which includes GDB) and dejagnu are all tagged at the same time
|
||||||
|
@item
|
||||||
|
@file{version.in} gets bumped to avoid version number conflicts
|
||||||
|
@item
|
||||||
|
the reading of @file{.cvsrc} is disabled using @file{-f}
|
||||||
|
@end itemize
|
||||||
|
|
||||||
|
@subheading Update @file{version.in}
|
||||||
|
|
||||||
|
@smallexample
|
||||||
|
$ u=5.1
|
||||||
|
$ v=5.2
|
||||||
|
$ V=`echo $v | sed 's/\./_/g'`
|
||||||
|
$ echo $u $v$V
|
||||||
|
5.1 5_2
|
||||||
|
$ cd /tmp
|
||||||
|
$ echo cvs -f -d :ext:sources.redhat.com:/cvs/src co \
|
||||||
|
-r gdb_$V-branch src/gdb/version.in
|
||||||
|
cvs -f -d :ext:sources.redhat.com:/cvs/src co
|
||||||
|
-r gdb_5_2-branch src/gdb/version.in
|
||||||
|
$ ^echo ^^
|
||||||
|
U src/gdb/version.in
|
||||||
|
$ cd src/gdb
|
||||||
|
$ echo $u.90-0000-00-00-cvs > version.in
|
||||||
|
$ cat version.in
|
||||||
|
5.1.90-0000-00-00-cvs
|
||||||
|
$ cvs -f commit version.in
|
||||||
|
@end smallexample
|
||||||
|
|
||||||
|
@itemize @bullet
|
||||||
|
@item
|
||||||
|
@file{0000-00-00} is used as a date to pump prime the version.in update
|
||||||
|
mechanism
|
||||||
|
@item
|
||||||
|
@file{.90} and the previous branch version are used as fairly arbitrary
|
||||||
|
initial branch version number
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
@subheading Post the branch info
|
|
||||||
|
|
||||||
@subheading Update the web and news pages
|
@subheading Update the web and news pages
|
||||||
|
|
||||||
|
Something?
|
||||||
|
|
||||||
@subheading Tweak cron to track the new branch
|
@subheading Tweak cron to track the new branch
|
||||||
|
|
||||||
|
The file @file{gdbadmin/cron/crontab} contains gdbadmin's cron table.
|
||||||
|
This file needs to be updated so that:
|
||||||
|
|
||||||
|
@itemize @bullet
|
||||||
|
@item
|
||||||
|
a daily timestamp is added to the file @file{version.in}
|
||||||
|
@item
|
||||||
|
the new branch is included in the snapshot process
|
||||||
|
@end itemize
|
||||||
|
|
||||||
|
@noindent
|
||||||
|
See the file @file{gdbadmin/cron/README} for how to install the updated
|
||||||
|
cron table.
|
||||||
|
|
||||||
|
The file @file{gdbadmin/ss/README} should also be reviewed to reflect
|
||||||
|
any changes. That file is copied to both the branch/ and current/
|
||||||
|
snapshot directories.
|
||||||
|
|
||||||
|
|
||||||
|
@subheading Update the NEWS and README files
|
||||||
|
|
||||||
|
The @file{NEWS} file needs to be updated so that on the branch it refers
|
||||||
|
to @emph{changes in the current release} while on the trunk it also
|
||||||
|
refers to @emph{changes since the current release}.
|
||||||
|
|
||||||
|
The @file{README} file needs to be updated so that it refers to the
|
||||||
|
current release.
|
||||||
|
|
||||||
|
@subheading Post the branch info
|
||||||
|
|
||||||
|
Send an announcement to the mailing lists:
|
||||||
|
|
||||||
|
@itemize @bullet
|
||||||
|
@item
|
||||||
|
@email{gdb-announce@@sources.redhat.com, GDB Announcement mailing list}
|
||||||
|
@item
|
||||||
|
@email{gdb@@sources.redhat.com, GDB Discsussion mailing list} and
|
||||||
|
@email{gdb-testers@@sources.redhat.com, GDB Discsussion mailing list}
|
||||||
|
@endi itemize
|
||||||
|
|
||||||
|
@emph{Pragmatics: The branch creation is sent to the announce list to
|
||||||
|
ensure that people people not subscribed to the higher volume discussion
|
||||||
|
list are alerted.}
|
||||||
|
|
||||||
|
The announcement should include:
|
||||||
|
|
||||||
|
@itemize @bullet
|
||||||
|
@item
|
||||||
|
the branch tag
|
||||||
|
@item
|
||||||
|
how to check out the branch using CVS
|
||||||
|
@item
|
||||||
|
the date/number of weeks until the release
|
||||||
|
@item
|
||||||
|
the branch commit policy
|
||||||
|
still holds.
|
||||||
|
|
||||||
@section Stabilize the branch
|
@section Stabilize the branch
|
||||||
|
|
||||||
Something goes here.
|
Something goes here.
|
||||||
|
Reference in New Issue
Block a user