/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/en/upgrade-guide/overview.txt

  • Committer: Jelmer Vernooij
  • Date: 2019-05-29 03:22:34 UTC
  • mfrom: (7303 work)
  • mto: This revision was merged to the branch mainline in revision 7306.
  • Revision ID: jelmer@jelmer.uk-20190529032234-mt3fuws8gq03tapi
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Overview
 
2
########
 
3
 
 
4
High level upgrade process
 
5
--------------------------
 
6
 
 
7
In broad terms, there are 3 steps involved in upgrading a new format:
 
8
 
 
9
1. Upgrade the core software
 
10
 
 
11
2. Upgrade required plugins
 
12
 
 
13
3. Migrate data to the new default format.
 
14
 
 
15
Breezy supports branches in earlier formats so the third step is strictly not
 
16
required. However, when new default formats are introduced, they are more
 
17
space efficient, faster on large projects and/or provide new features. So it
 
18
is recommended that most projects migrate to it at a convenient time.
 
19
 
 
20
For most users, upgrading and migrating to the new format is straight
 
21
forward. For projects with a large community of developers though, things
 
22
become more complex. In these cases, careful planning and good communications
 
23
become essential. This document provides general advice which aims to assist
 
24
in this regard. If in doubt, please contact us on our mailing list or IRC
 
25
channel with any questions or concerns you have.
 
26
 
 
27
 
 
28
Upgrading the core software
 
29
---------------------------
 
30
 
 
31
The steps required to upgrade the core software vary from operating system to
 
32
operating system.  A brief outline of the steps is given below.
 
33
 
 
34
To upgrade Breezy on Ubuntu:
 
35
 
 
36
1. Ensure your package manager is configured with the required software
 
37
   sources, e.g. the official stable release PPA for Ubuntu:
 
38
   https://launchpad.net/~brz/+archive
 
39
 
 
40
2. Use your package manager to upgrade to the latest version.
 
41
 
 
42
To upgrade Breezy on Windows:
 
43
 
 
44
1. Uninstall the existing version using Add/Remove Programs.
 
45
 
 
46
2. Install the new version using the relevant installer.
 
47
 
 
48
To upgrade Breezy on OS X (via the installer):
 
49
 
 
50
1. Install the new version using the relevant installer.
 
51
 
 
52
To upgrade Breezy on OS X (via MacPorts):
 
53
 
 
54
1. Refresh the package metadata using **sudo port selfupdate**
 
55
 
 
56
2. Upgrade to the latest version using **sudo port upgrade brz**
 
57
 
 
58
For further information on installing and upgrading, see
 
59
https://www.breezy-vcs.org/pages/download.html
 
60
 
 
61
 
 
62
Upgrading required plugins
 
63
--------------------------
 
64
 
 
65
Many plugins are not dependent on a particular Breezy version so
 
66
upgrading them is optional. Other plugins, notably bzr-svn, are more tightly
 
67
associated with Breezy's APIs so these typically need to be upgraded in
 
68
lockstep with the core software.
 
69
 
 
70
 
 
71
Migrating data to the new default format
 
72
----------------------------------------
 
73
 
 
74
As mentioned earlier, the complexity of migrating to a new format
 
75
depends on several factors, particularly project community size.
 
76
It also depends on how data is currently stored, e.g. in a
 
77
standalone branch, multiple branches in a shared repository,
 
78
stacked branches on Launchpad, etc. These various scenarios are
 
79
covered in the next chapter.