/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/release-notes/brz-3.0.txt

  • Committer: Jelmer Vernooij
  • Date: 2018-02-27 14:36:14 UTC
  • mto: This revision was merged to the branch mainline in revision 6866.
  • Revision ID: jelmer@jelmer.uk-20180227143614-2cuc06ngefq77gke
Move to errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
####################
 
2
Breezy Release Notes
 
3
####################
 
4
 
 
5
.. toctree::
 
6
   :maxdepth: 1
 
7
 
 
8
brz 3.0.0 is the first release of ``Breezy``, a fork of Bazaar. For more
 
9
information, see our release announcement on the Bazaar mailing list and
 
10
README.
 
11
 
 
12
brz 3.0.0
 
13
#########
 
14
 
 
15
:Codename: Pelican
 
16
:3.0.1: NOT RELEASED YET
 
17
 
 
18
External Compatibility Breaks
 
19
*****************************
 
20
 
 
21
 * The bzr command has been renamed to brz, to prevent
 
22
   clashes with upstream Bazaar.
 
23
   (Martin Packman, Jelmer Vernooij)
 
24
 
 
25
 * The --prefix/-p argument for ``bzr diff`` now defaults to -p1 rather
 
26
   than -p0. (Jelmer Vernooij, #1695126)
 
27
 
 
28
 * The ``brz register-branch`` command from the Launchpad plugin has been
 
29
   removed, because it has not worked for at least five years: it relies on
 
30
   password authentication rather than SSO, the relevant systems no longer
 
31
   have firewall-level access to the outside world, and in general the
 
32
   Mirrored branch type is deprecated.  Either just push the branch to
 
33
   Launchpad or use code imports instead
 
34
   (https://help.launchpad.net/VcsImports).
 
35
   (Colin Watson, #254567, #483689)
 
36
 
 
37
 * brz no longer supports building the C extensions using Pyrex.
 
38
   Only Cython is supported. (Jelmer Vernooij)
 
39
 
 
40
 * Support for HTTP support using "pycurl" and the associated
 
41
   URL schemes "http+pycurl://" and "https+pycurl://" has been dropped.
 
42
   (Jelmer Vernooij, #82086, #377389, #122258, #516222, #545776, #1696602)
 
43
 
 
44
 * Support for medusa for FTP tests has been dropped, only
 
45
   pyftpdlib is now supported. (Jelmer Vernooij)
 
46
 
 
47
 * The deprecated ``brz get`` and ``brz clone`` commands have been
 
48
   removed. (Jelmer Vernooij)
 
49
 
 
50
 * The setting to ignore missing C extensions has been changed from
 
51
   ``ignore_missing_extensions=True`` to
 
52
   ``suppress_warnings=missing_extensions``. (Jelmer Vernooij)
 
53
 
 
54
 * Remove format names as options to ``brz init`` and ``brz
 
55
   init-repository``.. Now you must use ``brz init --format=...``.
 
56
   This simplifies ``brz init --help``.
 
57
   (Neil Martinsen-Burrell, #330494)
 
58
 
 
59
 * ``python-gpg`` is now used for checking GPG signatures rather than
 
60
   ``python-gpgme``. (Jelmer Vernooij, #1702308)
 
61
 
 
62
 * ``python-gpg`` is now used for signing commits, rather than shelling
 
63
   out to the gnupg command. The ``gpg_signing_command`` option has been
 
64
   removed.  (Jelmer Vernooij, #847388)
 
65
 
 
66
New Features
 
67
************
 
68
 
 
69
 * The 'bisect' plugin is now shipped with bzr. (Jelmer Vernooij)
 
70
 
 
71
 * The 'fastimport' plugin is now bundled with Bazaar.
 
72
   (Jelmer Vernooij)
 
73
 
 
74
 * The 'stats' plugin is now bundled with Bazaar.
 
75
   (Jelmer Vernooij)
 
76
 
 
77
 * The 'upload' plugin is now bundled with Bazaar.
 
78
   (Jelmer Vernooij)
 
79
 
 
80
 * The 'cvs' and 'mtn' plugins are now bundled with Bazaar.
 
81
   (Jelmer Vernooij)
 
82
 
 
83
 * The 'email' plugin is now bundled with Bazaar.
 
84
   (Jelmer Vernooij)
 
85
 
 
86
 * The 'import' command is now bundled with brz.
 
87
   Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij, #773241)
 
88
 
 
89
 * The 'link-tree' command is now bundled with brz.
 
90
   Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
 
91
 
 
92
 * The 'fetch-ghosts' command is now bundled with brz.
 
93
   Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
 
94
 
 
95
 * The 'commitfromnews' plugin is now bundled and
 
96
   can be enabled by setting ``commit.template_from_files = NEWS``.
 
97
   (Jelmer Vernooij)
 
98
 
 
99
 * The 'darcs' plugin is now bundled.
 
100
   (Jelmer Vernooij)
 
101
 
 
102
 * The functionality from ``bzr-guess`` is now merged into Breezy.
 
103
   It will provide suggestions if the user typoes a command.
 
104
   (Jelmer Vernooij)
 
105
 
 
106
 * Support the creation of colocated branches in ``brz fast-import``.
 
107
   (Jelmer Vernooij, #1744626)
 
108
 
 
109
 * New ``lp-logout`` command to unset launchpad username.
 
110
   (Jelmer Vernooij, #349143)
 
111
 
 
112
Improvements
 
113
************
 
114
 
 
115
 * Doc generators now support the SOURCE_DATE_EPOCH environment
 
116
   variable (https://reproducible-builds.org/specs/source-date-epoch/).
 
117
   (Jelmer Vernooij)
 
118
 
 
119
 * The ``repodebug`` plugin is now bundled.
 
120
   (Jelmer Vernooij)
 
121
 
 
122
 * New ``bzr cp`` command which copies files (but does not currently track
 
123
   history). (Jelmer Vernooij, start towards #269095)
 
124
 
 
125
Bug Fixes
 
126
*********
 
127
 
 
128
* Support Server Name Indication (SNI) when talking to https servers.
 
129
  Cherry-picked from lp:~vila/bzr/1089352-sni-support
 
130
  (Vincent Ladeuil, #1089352)
 
131
 
 
132
* The ``bisect`` command now works in non-``.bzr`` directories.
 
133
  (Jelmer Vernooij)
 
134
 
 
135
* When creating ``authentication.conf``, umask is now set so only the
 
136
  current user can read the file. Breezy warns if the file is
 
137
  accessible for other users when it starts.
 
138
  (Joke de Buhr, Jelmer Vernooij, #475501)
 
139
 
 
140
* Support ``brz commit -x`` in combination with iter_changes.
 
141
  (Jelmer Vernooij, #796582, #403811, #694946, #268135, #299879)
 
142
 
 
143
* Print a proper error when encountering ghost revisions in
 
144
  mainline in ``bzr log``. (Jelmer Vernooij, #726466)
 
145
 
 
146
* Security fix: hostnames starting with a dash in bzr+ssh URLs
 
147
  are now filtered out when using a subprocess SSH client.
 
148
  .
 
149
  Thanks to Augie Fackler for reporting.
 
150
  (Jelmer Vernooij, #1710979)
 
151
 
 
152
* Mark all options as unicode. Allows using non-ASCII values in most
 
153
  options. (Jelmer Vernooij, #563692)
 
154
 
 
155
* Support automatic rename tracking into new directories.
 
156
  (mnn, #373319)
 
157
 
 
158
* Avoid writing directly to sys.stdout, but use self.outf in
 
159
  Command implementations instead. (#268573, B. Clausius)
 
160
 
 
161
* It is now possible to version files with backslashes in their name
 
162
  on platforms that support it. (Jelmer Vernooij, #81844)
 
163
 
 
164
* Support '0' markers in fastimport plugin. (Jelmer Vernooij, #1744615)
 
165
 
 
166
Documentation
 
167
*************
 
168
 
 
169
 * Various documents have been updated to explain that Breezy is a fork
 
170
   of Bazaar.
 
171
 
 
172
 * Documentation translations into Japanese, Spanish and Russian have been
 
173
   removed since there are no current translators to update them.
 
174
   (Jelmer Vernooij)
 
175
 
 
176
API Changes
 
177
***********
 
178
 
 
179
 * bzrlib has been renamed to breezy. (Martin Packman, Jelmer Vernooij)
 
180
 
 
181
 * Signature of ``load_tests`` used by ``TestLoader`` changed to be
 
182
   compatible with standard libarary unittest.  (Martin Packman)
 
183
 
 
184
 * All previously deprecated functionality has been removed.
 
185
   (Jelmer Vernooij)
 
186
 
 
187
 * ``CommitBuilder.record_entry_contents`` has been removed.
 
188
   (Jelmer Vernooij, #731433, #604953)
 
189
 
 
190
 * Renamed ``breezy.delta.report_delta`` parameter ``filter=`` to
 
191
   ``predicate=``. (Martin Packman)
 
192
 
 
193
 * ``Branch.bzrdir``, ``Repository.bzrdir`` and ``WorkingTree.bzrdir``
 
194
   have been renamed to ``Branch.controldir``, ``Repository.controldir``
 
195
   and ``WorkingTree.controldir``, respectively.
 
196
   (Jelmer Vernooij, #1695774)
 
197
 
 
198
 * ``BzrBranch`` and the various bzr branch format implementations
 
199
   have been moved to ``breezy.bzr``. (Jelmer Vernooij)
 
200
 
 
201
 * ``MetaDirBranchFormatFactory`` has been removed.
 
202
   Use lazy registration on ``breezy.branch.format_registry``
 
203
   instead. (Jelmer Vernooij)
 
204
 
 
205
 * ``breezy.bzrdir.format_registry`` has been removed; use
 
206
   ``breezy.controldir.format_registry`` instead.
 
207
   (Jelmer Vernooij)
 
208
 
 
209
 * ``breezy.api`` has been removed.  (Jelmer Vernooij, #742192)
 
210
 
 
211
 * ``ControlDir.find_bzrdirs`` has been renamed to
 
212
   ``ControlDir.find_controldirs``. (Jelmer Vernooij)
 
213
 
 
214
 * ``Repository.get_revisions`` no longer accepts ``None`` as
 
215
   argument. (Jelmer Vernooij)
 
216
 
 
217
 * A new ``Repository.iter_revisions`` method has been added.
 
218
   (Jelmer Vernooij)
 
219
 
 
220
 * A new ``WorkingTreeFormat.supports_setting_file_ids`` property
 
221
   has been added that can be set to False to indicate a working tree
 
222
   doesn't support e.g. passing a file_id into ``WorkingTree.mkdir``.
 
223
   (Jelmer Vernooij, #1707533)
 
224
 
 
225
 * A new ``RepositoryFormat.supports_setting_revision_ids`` property
 
226
   has been added that can be set to False to indicate a repository
 
227
   doesn't support passing revision ids to ``CommitBuilder.commit``.
 
228
   (Jelmer Vernooij)
 
229
 
 
230
 * A new ``RepositoryFormat.supports_overriding_transport`` property
 
231
   has been added that can be set to False to indicate a repository
 
232
   doesn't support passing an alternative transport to
 
233
   ``RepositoryFormat.open``.
 
234
   (Jelmer Vernooij)
 
235
 
 
236
 * ``Repository.print_file`` and ``Branch.print_file`` have been removed.
 
237
   (Jelmer Vernooij)
 
238
 
 
239
 * Various ``lock_write`` and ``lock_read`` functions now return a
 
240
   context manager. (Jelmer Vernooij)
 
241
 
 
242
 * The ``BranchWriteLockResult.branch_token`` (returned by
 
243
   ``Branch.lock_write``) has been renamed to
 
244
   ``BranchWriteLockResult.token``. (Jelmer Vernooij)
 
245
 
 
246
 * ``breezy.decorators.needs_write_lock``,
 
247
   ``breezy.decorators.needs_read_lock`` and
 
248
   ``breezy.mutabletree.needs_tree_write_lock`` have been deprecated.
 
249
   Instead, use the context managers returned by ``.lock_write``,
 
250
   ``.lock_read`` and ``.lock_tree_write`` respectively. (Jelmer Vernooij)
 
251
 
 
252
 * ``Tree`` methods now take a ``path`` as primary key argument, rather
 
253
   than a ``file_id``. ``file_id`` is still present as optional argument
 
254
   for most functions, and can be specified to speed up lookups.
 
255
   (Jelmer Vernooij)
 
256
 
 
257
Internals
 
258
*********
 
259
 
 
260
.. Major internal changes, unlikely to be visible to users or plugin 
 
261
   developers, but interesting for brz developers.
 
262
 
 
263
Testing
 
264
*******
 
265
 
 
266
 * A test isolation issue in ``breezy.tests.test_ui`` was fixed,
 
267
   which caused ``output_encoding = iso-8859-1`` to be added to the
 
268
   users' bazaar.conf. (Jelmer Vernooij)
 
269
 
 
270
 * Newer versions of ``pyftpdlib`` are now supported for running FTP tests.
 
271
   (Jelmer Vernooij)
 
272
 
 
273
 * The ``--subunit`` argument for ``brz selftest`` has been renamed to
 
274
   ``--subunit1``, and a new argument ``--subunit2`` has been added that
 
275
   outputs subunit v2.
 
276
   (Jelmer Vernooij, #1699346, #661205)
 
277
 
 
278
 * Launchpad plugin tests no longer try to connect to production
 
279
   Launchpad. (Jelmer Vernooij, #723183)
 
280
 
 
281
 * Set the ``GPGHOME`` environment variable during testing, to prevent
 
282
   e.g. leaking keys into the users' GNUPG directory.
 
283
   (Jelmer Vernooij, #843885)
 
284
 
 
285
..
 
286
   vim: tw=74 ft=rst ff=unix