vgdb: Always check the result from asprintf and write calls
[valgrind.git] / README_DEVELOPERS_processes
blob7277c9cc3c5ab48c48bc6772eeb9ceaf0cd8183a
1 This file documents various "processes" that are used by Valgrind
2 developers for development and release activities.
3 This file contains one section for each process.
4 A summary of each process is given here. Each process is described
5 more in details afterwards.
8 * Update of the NEWS file: NEWS describes fixed bugs and new features.
9   It is updated and committed together with the code fixing the bug/implementing
10   the feature.
12 * Major release production: 
13   See docs/internals/release-HOWTO.txt (currently a bit out of date)
15 * Various guidelines/recommended usage for valgrind GIT
16   See docs/internals/git-HOWTO.txt
18 * Minor/correction release production: TBD
21 Processes detailed descriptions:
23 Update of the NEWS file.
24 ========================
25   The NEWS file gives for each release:
26     - the list of fixed bugs,
27     - a short description of each functional change,
28     - a short description of each technical change impacting the users.
29   
30   The update of the NEWS file should be committed together with the
31   code change (or as part of the last committed change) that fixes the
32   bug or implements the new feature/technical change.
33   The documentation (e.g. user manual) should also be committed as part of
34   the code change.
36   Fixing a bug
37   ------------
38   When fixing a bug, add a line in the 'FIXED BUGS' section of
39   the NEWS file.  Keep the list of bugs sorted by bugzilla entry number.
41   Once you have commit the change, update the bug status in bugzilla,
42   adding in the comment the revision number of the commit fixing the bug.
44   If a bug is not entered in bugzilla (not encouraged), use "n-i-bz"
45   and add the bug line at the end of the bug list.
47   The file docs/internals/X_Y_BUGSTATUS.txt (where X_Y is the last
48   major release e.g. 3_9) contains information/statuses for some bugs.
49   If a bug is fixed, remove the (possible) bug info from this file.
51   Implementing a change
52   ---------------------
53   When implementing a functional or 'user impacting' technical change,
54   add a short description of the change in the relevant sub-section
55   (e.g. TOOL CHANGES, PLATFORM CHANGES, ...).
58   Some special cases:
59   -------------------
60   Some changes or bug fixes are very big and might be implemented over
61   a significant period. In such a case, update the NEWS as part of the
62   final commit.
63   If relevant, you might already update the NEWS file as part of
64   earlier commits, using the word 'PARTIAL' to indicate that the change or
65   bug fix is not complete yet.
67   Some bugs are reported more than once in bugzilla.
68   Also document in NEWS that such duplicated bugs have been fixed, using a line
69   such as:
70      308333 == 307106
71   to indicate that the bug 308333 is a duplicate of 307106, and was thus
72   fixed in the commit that fixed 307106.
73   Change also the status of the duplicated bug  in bugzilla,
74   indicating in the comment the commit revision that fixed the 'master bug'.