radare2/doc/releases.md

56 lines
2.0 KiB
Markdown
Raw Normal View History

2018-02-27 09:54:54 +00:00
Releasing rules
=======================
The objective of this paper is to determine a set of rules to be done before
each release and define the instructions for generating the distribution
tarball together with a scheduler.
* We try to release every 1/2 months
2019-06-18 05:13:08 +00:00
* Version numbering (actually we don't follow any rules for this)
* Codenames for releases MUST be funny (until we didn't get a name that can make
2017-09-30 09:58:41 +00:00
me laugh, we should not release anything!)
Before any release we have to:
- Remove warnings
2019-06-18 05:13:08 +00:00
We don't want to fall in the warning nightmare of r1. Releases should contain
2018-02-27 09:54:54 +00:00
no warnings with `gcc -Wall` or at least no dangerous ones.
- Sync Vala APIs
Keeping the VAPI files the last ones to be developed between release cycles
we ensure that we do not have to maintain synced the code with the vapis
and it is possible to easily draw the LIBR API evolution by just diffing
the vapi directory.
- Unit test programs
If available, it would be good to have some unit tests to check nothing is
broken. Maybe Vala is the way to go when writing tests, because this way
we ensure that pkg-config, libr and vapis works in a shot.
- Test build on different platforms
The same codebase should be compilable on *nix and w32 systems without
modifications. It should be also possible to build it with make threads,
2018-02-27 09:54:54 +00:00
so using quadcore boxes with `-j8` should be a good place for finding
race conditions in the build system.
- Remove commented code and review TODO/BUG/XXX comments
While developing a new release, it's pretty common to keep old versions of
the code for testing parts of libraries and be able to go back or find bugs
while refactoring code or re-doing-it from scratch. This code, should be
reviewed and removed if necessary.
2018-02-27 09:54:54 +00:00
$ grep -r -e TODO -e XXX -e FIX libr
- Graph per symbol-module dependency graph to identify unused/dupped/-
simplificable use cases of the API for every module.
FUTURE
------
- Commands should be handled in a structural way, not by a bunch of switch/cases