Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
d9e27542865fcc2997b8f17d8258e011b9f1c68e
[simgrid.git] / doc / dev_guide / doxygen / release.doc
1 /*! 
2 \page release SimGrid Developer Guide - Releasing
3
4 \section release_c Releasing the main library
5
6 \subsection release_c_preconditions Before releasing
7
8 Please apply the following checklist before releasing.
9
10 - Sources
11   - The version number is correctly marked in CMakeList.txt, in macros
12     SIMGRID_VERSION_MAJOR and friends. Please also update the
13     comments right before these macros so that we keep a track of the
14     version numbers that were used.
15   - The" make distcheck" target works (testing that every files needed
16     to build and install are included in the archive)
17 - Tests
18   - All tests pass on a reasonable amount of platforms (typically,
19     everything on cdash)
20   - You also tested to build and install the content of the source
21     archive on a reasonable amount of platforms (typically, 2 or 3).
22 - ChangeLog file
23   - Every changes are documented
24   - The release date is indicated below the changes
25   - The release is marked as stable above the changes
26   - The release dub name matches the one given in NEWS file
27 - NEWS
28   - The most notable changes of the version are documented
29   - The release date is indicated right below the version name
30   - The release dub name matches the one given in ChangeLog file
31
32 \subsection release_c_source Building the source archive
33
34 First, clean up your git repository. Some files are included through
35 globbing, you must ensure that your tree contains no cruft. You can
36 either checkout a new tree or remove anything from your current tree:
37 \verbatim
38 $ cd simgrid
39 $ git reset --hard master
40 $ git clean -dfx
41 \endverbatim
42
43 You can then build the archive. This gives you your archive in the
44 build dir, named 'SimGrid-${release_version}.tar.gz'.
45
46 \verbatim
47 $ mkdir build
48 $ cd build
49 $ cmake ..
50 $ make dist
51 \endverbatim
52
53 \subsection release_c_win32 Binary distribution under Win32
54
55 You have to install nsis tool first. Download it 
56 <a href="http://nsis.sourceforge.net/Download">here</a>.
57
58 Then be sure having wget.exe in your path to get the online documentation. You can download it 
59 <a href="http://users.ugent.be/~bpuype/wget/">here</a>.
60
61 You can finally make the win installer.
62 \verbatim
63 $ cd simgrid
64 $ mkdir build
65 $ cd build
66 $ cmake ..
67 $ make nsis
68 \endverbatim
69
70 \subsection release_c_postchecks Check list after releasing
71
72 - Tag the git repository (don't forget to push the tags to the main
73   repo)
74 - Push the archive files on gforge
75 - Update the link ff-scm-v4-prod:/home/groups/simgrid/htdocs/simgrid/lastest
76 - Announce the release
77  - Mail the simgrid-user mailing list
78     - the NEWS chunk in the mail;
79     - the ChangeLog chunk as attachment
80  - Also mail some other lists (G5K users), with only the NEWS chunk
81    and the link to the download section
82
83 \section release_bindings Releasing the bindings
84
85 Please apply the above checklists before and after releasing the bindings.
86
87 Then, clean your git repository and build the archive. It will give
88 you an archive file in the build dir:
89 'SimGrid-Java-${release_version}.tar.gz' or
90 'SimGrid-Ruby-${release_version}.tar.gz'. 
91
92 \verbatim
93 $ cd simgrid-java (or simgrid-ruby)
94 $ git reset --hard master
95 $ git clean -dfx
96 $ mkdir build
97 $ cd build
98 $ cmake ..
99 $ make dist
100 \endverbatim
101
102 */