~jr/bzrtools/bzrtools-test-import

505 by Aaron Bentley
Add packaging notes
1
Notes to packagers
2
##################
3
4
Hi there,
5
6
Thank you for packaging Bzrtools.  Here are some notes.
7
8
Bazaar version
9
==============
10
Bzrtools' major and minor version number should be the same as Bazaar's.
11
12
Newer versions of Bzrtools may use APIs that are not present in older Bazaar
13
versions.  To be on the safe side, Bzrtools disables itself in this
14
situation.
15
16
Old versions of Bzrtools may use APIs that are deprecated in newer versions
17
of Bazaar.  The deprecation period is one release, typically one month.
18
So technically, slightly old versions of Bzrtools should work with newer
19
versions of Bazaar.  But even so, they will emit unpleasant deprecation
20
warnings.
21
22
In order to make things easier on maintainers, I've adopted the policy of
23
releasing Bzrtools around the same time as the Bazaar release candidate.
24
This gives you about a week of lead time before the final Bazaar release.
25
26
Bzrtools releases are announced the bazaar@canonical.com and
27
bazaar-announce@canonical.com mailing lists.
28
29
Other dependencies
30
==================
31
Certain bzrtools use or can use tools from the following packages:
32
33
- rsync       (rspush)
34
- diff        (shelve/unshelve)
35
- patch       (shelve/unshelve)
549.1.1 by Adeodato Simó
Add graphviz to "Other dependencies".
36
- graphviz    (graph-ancestry)
37
- librsvg-bin (for antialiasing in graph-ancestry)
505 by Aaron Bentley
Add packaging notes
38
551 by Aaron Bentley
update PACKAGERS text
39
These can be treated as recommended rather than hard dependencies, because
40
many bzrtools commands will function properly without them.
505 by Aaron Bentley
Add packaging notes
41
551 by Aaron Bentley
update PACKAGERS text
42
Additionally, the test suite uses testresources:
43
http://www.robertcollins.net/unittest/testresources/
505 by Aaron Bentley
Add packaging notes
44
45
Testing
46
=======
47
Note that Medusa is not required for the Bzrtools test suite.  Medusa is used
551 by Aaron Bentley
update PACKAGERS text
48
strictly by Bazaar.  ``bzr selftest bzrtools`` will suggest installing
49
Medusa because ``bzr selftest`` always suggests installing Medusa, if it is
50
not already installed.
505 by Aaron Bentley
Add packaging notes
51
52
If you prefer, you can run the ``test.py`` script provided.  It runs the same
53
tests as ``bzr selftest bzrtools``.