2007-06-17 14:17:22 -07:00
|
|
|
Steps in doing an ns-3 release
|
|
|
|
|
|
2008-06-18 11:04:07 -07:00
|
|
|
1. check out a clean ns-3-dev somewhere
|
|
|
|
|
2. prepare the source files
|
2007-06-17 14:17:22 -07:00
|
|
|
- revise and check in AUTHORS, if needed
|
|
|
|
|
- revise and check in RELEASE_NOTES
|
2008-06-18 11:04:07 -07:00
|
|
|
- DO NOT change VERSION at this time
|
2007-10-27 16:19:06 -07:00
|
|
|
- confirm that Doxygen builds cleanly and without warnings
|
2008-06-02 21:21:16 -07:00
|
|
|
(./waf check; ./waf --doxygen), and check in any necessary changes
|
2008-06-17 11:53:20 -07:00
|
|
|
- ensure no regressions (./waf --regression)
|
2008-06-18 11:04:07 -07:00
|
|
|
3. ./waf configure; ./waf dist
|
|
|
|
|
- this will create an ns-3-dev.tar.bz2 tarball
|
|
|
|
|
- this will also create a ns-3-dev-ref-traces.tar.bz2 tarball
|
|
|
|
|
4. test dev tarball on release platforms (waf check and maybe some other
|
|
|
|
|
scripts)
|
|
|
|
|
5. once you are happy with the tarball, tag ns-3-dev and ns-3-dev-ref-traces
|
2008-06-17 12:52:46 -07:00
|
|
|
- hg tag "release ns-3.1x"
|
2007-10-15 21:59:41 -07:00
|
|
|
- hg push
|
2008-06-18 11:04:07 -07:00
|
|
|
- cd into regression/ns-3-dev-ref-traces
|
|
|
|
|
- hg tag "release ns-3.1x"
|
|
|
|
|
- hg push
|
|
|
|
|
6. clone the tagged ns-3-dev and place it on the repository
|
2008-02-16 13:24:08 -08:00
|
|
|
- ssh code.nsnam.org; sudo tcsh; su code;
|
2008-06-17 12:52:46 -07:00
|
|
|
- cp -r /home/code/repos/ns-3-dev /home/code/repos/ns-3.1x
|
|
|
|
|
- cd /home/code/repos/ns-3.1x/.hg and edit the hgrc appropriately:
|
|
|
|
|
"description = ns-3.1x release
|
|
|
|
|
name = ns-3.1x"
|
2008-06-18 11:04:07 -07:00
|
|
|
- clone the ns-3-dev-ref-traces and place it on the repository as above
|
|
|
|
|
but use the name ns-3.1x-ref-traces
|
|
|
|
|
7. check out a clean version of the new release (ns-3.1x) somewhere
|
|
|
|
|
8. Update the VERSION for this new release
|
|
|
|
|
- change the string 3-dev in the VERSION file to the real version
|
|
|
|
|
(e.g. 3.1) This must agree with the version name you chose in the clone
|
|
|
|
|
for the regression tests to work.
|
|
|
|
|
- hg commit
|
|
|
|
|
- hg push
|
|
|
|
|
9. Run the regression tests on the new release
|
2008-04-07 21:07:38 -07:00
|
|
|
- ./waf --regression
|
|
|
|
|
- ./waf --valgrind --regression (for valgrind version)
|
2008-06-02 21:21:16 -07:00
|
|
|
- There should be no regression errors at this time
|
2008-06-18 11:04:07 -07:00
|
|
|
10. Create final tarballs
|
|
|
|
|
- run "./waf dist"
|
|
|
|
|
11. upload "ns-3.1x.tar.bz2" to the /var/www/html/releases/ directory on
|
2007-10-15 21:59:41 -07:00
|
|
|
the www.nsnam.org server
|
2008-02-16 13:24:08 -08:00
|
|
|
- give it 644 file permissions, and user/group = apache
|
2008-06-18 11:04:07 -07:00
|
|
|
12. upload "ns-3.1x-ref-traces.tar.bz2" to the /var/www/html/releases/
|
2008-04-02 21:33:31 -07:00
|
|
|
directory on the www.nsnam.org server
|
|
|
|
|
- give it 644 file permissions, and user/group = apache
|
2008-06-18 11:04:07 -07:00
|
|
|
13. update web pages on www.nsnam.org (source is in the www/ module)
|
2008-06-17 11:53:20 -07:00
|
|
|
- clone the source repo (hg clone http://code.nsnam.org/www)
|
2007-06-17 14:17:22 -07:00
|
|
|
- add link to news.html
|
2007-10-15 21:59:41 -07:00
|
|
|
- update getting_started.html
|
|
|
|
|
- update documents.html
|
|
|
|
|
- update roadmap on wiki
|
2008-06-17 11:53:20 -07:00
|
|
|
- commit and push changes
|
|
|
|
|
- build and update HTML directory on the server
|
2007-10-15 21:59:41 -07:00
|
|
|
-- ssh www.nsnam.org; sudo tcsh; su nsnam;
|
2008-06-17 11:53:20 -07:00
|
|
|
-- run ~/bin/update-html
|
|
|
|
|
- build and update Doxygen directory on the server
|
2007-12-15 15:08:30 -08:00
|
|
|
-- edit ~/bin/update-doxygen-release file and change RELEASE variable
|
|
|
|
|
to the right version number
|
|
|
|
|
-- run ~/bin/update-doxygen-release
|
2008-06-18 11:04:07 -07:00
|
|
|
14. Final checks
|
|
|
|
|
- download tarball from web, build and run regression tests for as many
|
|
|
|
|
targets as you can
|
|
|
|
|
- download release from mercurial, build and run regression tests for as
|
|
|
|
|
many targets as you can
|
|
|
|
|
15. announce to ns-developers, with summary of release notes
|