/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-01-28 23:51:14 UTC
  • mfrom: (7251.1.1 skip-crypto-deprecation)
  • Revision ID: breezy.the.bot@gmail.com-20190128235114-wurthh67hpldlyip
Ignore UserWarning on travis.

Merged from https://code.launchpad.net/~jelmer/brz/skip-crypto-deprecation/+merge/362227

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.0: NOT RELEASED YET
 
17
 
 
18
External Compatibility Breaks
 
19
*****************************
 
20
 
 
21
 * The bzr command has been renamed to brz, to prevent clashes with upstream
 
22
   Bazaar.
 
23
   (Martin Packman, Jelmer Vernooij)
 
24
 
 
25
 * The --prefix/-p argument for ``brz 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
 * The ``bzr.transform.orphan_policy`` configuration option
 
67
   has been renamed to ``transform.orphan_policy``.
 
68
   (Jelmer Vernooij)
 
69
 
 
70
 * Backslash (\) is no longer accepted as a path separator
 
71
   on platforms where it is not the default path separator,
 
72
   e.g. POSIX systems. This is so that filenames with backslashes
 
73
   in their name can be added explicitly. (#176263, #165151)
 
74
 
 
75
 * One-letter shortcuts for Ubuntu releases are no
 
76
   longer supported after 'ubuntu:'. Bazaar's mapping for
 
77
   one-letter distroseries had not been updated since natty.
 
78
   (Jelmer Vernooij)
 
79
 
 
80
 * The ``brz lp-mirror-branch`` subcommand has been removed.
 
81
   Please use the ``lp-force-branch-mirror`` command from
 
82
   the lptools package instead. (Jelmer Vernooij, #518807)
 
83
 
 
84
 * Up-to-date checking for Bazaar packaging branches is no
 
85
   longer performed, since there are no longer
 
86
   any automated imports. (Jelmer Vernooij)
 
87
 
 
88
New Features
 
89
************
 
90
 
 
91
 * The 'bisect' plugin is now shipped with brz. (Jelmer Vernooij)
 
92
 
 
93
 * The 'fastimport' plugin is now bundled with Breezy.
 
94
   (Jelmer Vernooij)
 
95
 
 
96
 * The 'stats' plugin is now bundled with Breezy.
 
97
   (Jelmer Vernooij)
 
98
 
 
99
 * The 'upload' plugin is now bundled with Breezy.
 
100
   (Jelmer Vernooij)
 
101
 
 
102
 * The 'cvs' and 'mtn' plugins are now bundled with Breezy.
 
103
   (Jelmer Vernooij)
 
104
 
 
105
 * The 'email' plugin is now bundled with Breezy.
 
106
   (Jelmer Vernooij)
 
107
 
 
108
 * The 'import' command is now bundled with brz.
 
109
   Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij, #773241)
 
110
 
 
111
 * The 'link-tree' command is now bundled with brz.
 
112
   Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
 
113
 
 
114
 * The 'fetch-ghosts' command is now bundled with brz.
 
115
   Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
 
116
 
 
117
 * The 'commitfromnews' plugin is now bundled and
 
118
   can be enabled by setting ``commit.template_from_files = NEWS``.
 
119
   (Jelmer Vernooij)
 
120
 
 
121
 * The 'darcs' plugin is now bundled.
 
122
   (Jelmer Vernooij)
 
123
 
 
124
 * The functionality from ``bzr-guess`` is now merged into Breezy.
 
125
   It will provide suggestions if the user typoes a command.
 
126
   (Jelmer Vernooij)
 
127
 
 
128
 * Support the creation of colocated branches in ``brz fast-import``.
 
129
   (Jelmer Vernooij, #1744626)
 
130
 
 
131
 * New ``lp-logout`` command to unset launchpad username.
 
132
   (Jelmer Vernooij, #349143)
 
133
 
 
134
 * Plugins can now be registered using the 'entrypoints' mechanism in
 
135
   setuptools. (Jelmer Vernooij, #1802647)
 
136
 
 
137
Improvements
 
138
************
 
139
 
 
140
 * Doc generators now support the SOURCE_DATE_EPOCH environment
 
141
   variable (https://reproducible-builds.org/specs/source-date-epoch/).
 
142
   (Jelmer Vernooij)
 
143
 
 
144
 * The ``repodebug`` plugin is now bundled.
 
145
   (Jelmer Vernooij)
 
146
 
 
147
 * New ``brz cp`` command which copies files (but does not currently track
 
148
   history). (Jelmer Vernooij, start towards #269095)
 
149
 
 
150
 * HPSS calls for ``RevisionTree.archive`` and
 
151
   ``RevisionTree.annotate_iter`` have been added. (Jelmer Vernooij,
 
152
   #897781)
 
153
 
 
154
 * Report colocated branch information in ``brz info``.
 
155
   (Jelmer Vernooij, #1803846)
 
156
 
 
157
Bug Fixes
 
158
*********
 
159
 
 
160
* Support Server Name Indication (SNI) when talking to https servers.
 
161
  Cherry-picked from lp:~vila/bzr/1089352-sni-support
 
162
  (Vincent Ladeuil, #1089352)
 
163
 
 
164
* The ``bisect`` command now works in non-``.bzr`` directories.
 
165
  (Jelmer Vernooij)
 
166
 
 
167
* When creating ``authentication.conf``, umask is now set so only the
 
168
  current user can read the file. Breezy warns if the file is
 
169
  accessible for other users when it starts.
 
170
  (Joke de Buhr, Jelmer Vernooij, #475501)
 
171
 
 
172
* Support ``brz commit -x`` in combination with iter_changes.
 
173
  (Jelmer Vernooij, #796582, #403811, #694946, #268135, #299879)
 
174
 
 
175
* Print a proper error when encountering ghost revisions in
 
176
  mainline in ``brz log``. (Jelmer Vernooij, #726466)
 
177
 
 
178
* Security fix: hostnames starting with a dash in bzr+ssh URLs
 
179
  are now filtered out when using a subprocess SSH client.
 
180
  .
 
181
  Thanks to Augie Fackler for reporting.
 
182
  (Jelmer Vernooij, #1710979)
 
183
 
 
184
* Mark all options as unicode. Allows using non-ASCII values in most
 
185
  options. (Jelmer Vernooij, #563692)
 
186
 
 
187
* Support automatic rename tracking into new directories.
 
188
  (mnn, #373319)
 
189
 
 
190
* Avoid writing directly to sys.stdout, but use self.outf in
 
191
  Command implementations instead. (#268573, B. Clausius)
 
192
 
 
193
* It is now possible to version files with backslashes in their name
 
194
  on platforms that support it. (Jelmer Vernooij, #81844)
 
195
 
 
196
* Support '0' markers in fastimport plugin. (Jelmer Vernooij, #1744615)
 
197
 
 
198
* Support adding/removing filenames that consist of just
 
199
  backslashes in where backslash is not the path separator.
 
200
  (Jelmer Vernooij, #176263, #165151)
 
201
 
 
202
* Report correct path in output of ``brz add``.
 
203
  (Brian de Alwis, Jelmer Vernooij, #1799482)
 
204
 
 
205
* Don't report empty directories in git trees as changes.
 
206
  (Jelmer Vernooij, #1804072)
 
207
 
 
208
* Fix support for 'brz ignore' in Git trees.
 
209
  (Jelmer Vernooij, #1804053)
 
210
 
 
211
* Print a clearer error when GPG can't be found.
 
212
  (Jelmer Vernooij, #1803898)
 
213
 
 
214
* Fix a corner case when moving files.
 
215
  (Jelmer Vernooij, #533152)
 
216
 
 
217
* Fix fastexport output to standard output when
 
218
  running under Python 3. (Jelmer Vernooij, #1805172)
 
219
 
 
220
* Restore absolute URLs in branch reference URLs. This is
 
221
  needed for backwards compatibility with Bazaar.
 
222
  (Jelmer Vernooij, #1803845)
 
223
 
 
224
Documentation
 
225
*************
 
226
 
 
227
 * Various documents have been updated to explain that Breezy is a fork
 
228
   of Bazaar.
 
229
 
 
230
 * Documentation translations into Japanese, Spanish and Russian have been
 
231
   removed since there are no current translators to update them.
 
232
   (Jelmer Vernooij)
 
233
 
 
234
 * A quick introduction about using Breezy with GitHub has been added.
 
235
   (Jelmer Vernooij, #1803867)
 
236
 
 
237
API Changes
 
238
***********
 
239
 
 
240
 * bzrlib has been renamed to breezy. (Martin Packman, Jelmer Vernooij)
 
241
 
 
242
 * Signature of ``load_tests`` used by ``TestLoader`` changed to be
 
243
   compatible with standard libarary unittest.  (Martin Packman)
 
244
 
 
245
 * All previously deprecated functionality has been removed.
 
246
   (Jelmer Vernooij)
 
247
 
 
248
 * ``CommitBuilder.record_entry_contents`` has been removed.
 
249
   (Jelmer Vernooij, #731433, #604953)
 
250
 
 
251
 * Renamed ``breezy.delta.report_delta`` parameter ``filter=`` to
 
252
   ``predicate=``. (Martin Packman)
 
253
 
 
254
 * ``Branch.bzrdir``, ``Repository.bzrdir`` and ``WorkingTree.bzrdir``
 
255
   have been renamed to ``Branch.controldir``, ``Repository.controldir``
 
256
   and ``WorkingTree.controldir``, respectively.
 
257
   (Jelmer Vernooij, #1695774)
 
258
 
 
259
 * ``BzrBranch`` and the various bzr branch format implementations
 
260
   have been moved to ``breezy.bzr``. (Jelmer Vernooij)
 
261
 
 
262
 * ``MetaDirBranchFormatFactory`` has been removed.
 
263
   Use lazy registration on ``breezy.branch.format_registry``
 
264
   instead. (Jelmer Vernooij)
 
265
 
 
266
 * ``breezy.bzrdir.format_registry`` has been removed; use
 
267
   ``breezy.controldir.format_registry`` instead.
 
268
   (Jelmer Vernooij)
 
269
 
 
270
 * ``breezy.api`` has been removed.  (Jelmer Vernooij, #742192)
 
271
 
 
272
 * ``ControlDir.find_bzrdirs`` has been renamed to
 
273
   ``ControlDir.find_controldirs``. (Jelmer Vernooij)
 
274
 
 
275
 * ``Repository.get_revisions`` no longer accepts ``None`` as
 
276
   argument. (Jelmer Vernooij)
 
277
 
 
278
 * A new ``Repository.iter_revisions`` method has been added.
 
279
   (Jelmer Vernooij)
 
280
 
 
281
 * A new ``WorkingTreeFormat.supports_setting_file_ids`` property
 
282
   has been added that can be set to False to indicate a working tree
 
283
   doesn't support e.g. passing a file_id into ``WorkingTree.mkdir``.
 
284
   (Jelmer Vernooij, #1707533)
 
285
 
 
286
 * A new ``RepositoryFormat.supports_setting_revision_ids`` property
 
287
   has been added that can be set to False to indicate a repository
 
288
   doesn't support passing revision ids to ``CommitBuilder.commit``.
 
289
   (Jelmer Vernooij)
 
290
 
 
291
 * A new ``RepositoryFormat.supports_overriding_transport`` property
 
292
   has been added that can be set to False to indicate a repository
 
293
   doesn't support passing an alternative transport to
 
294
   ``RepositoryFormat.open``.
 
295
   (Jelmer Vernooij)
 
296
 
 
297
 * ``Repository.print_file`` and ``Branch.print_file`` have been removed.
 
298
   (Jelmer Vernooij)
 
299
 
 
300
 * Various ``lock_write`` and ``lock_read`` functions now return a
 
301
   context manager. (Jelmer Vernooij)
 
302
 
 
303
 * The ``BranchWriteLockResult.branch_token`` (returned by
 
304
   ``Branch.lock_write``) has been renamed to
 
305
   ``BranchWriteLockResult.token``. (Jelmer Vernooij)
 
306
 
 
307
 * ``breezy.decorators.needs_write_lock``,
 
308
   ``breezy.decorators.needs_read_lock`` and
 
309
   ``breezy.mutabletree.needs_tree_write_lock`` have been deprecated.
 
310
   Instead, use the context managers returned by ``.lock_write``,
 
311
   ``.lock_read`` and ``.lock_tree_write`` respectively. (Jelmer Vernooij)
 
312
 
 
313
 * ``Tree`` methods now take a ``path`` as primary key argument, rather
 
314
   than a ``file_id``. ``file_id`` is still present as optional argument
 
315
   for most functions, and can be specified to speed up lookups.
 
316
   (Jelmer Vernooij)
 
317
 
 
318
Internals
 
319
*********
 
320
 
 
321
.. Major internal changes, unlikely to be visible to users or plugin 
 
322
   developers, but interesting for brz developers.
 
323
 
 
324
* Allow overriding of default HTTP headers by caller.
 
325
  (Jelmer Vernooij, #1753734)
 
326
 
 
327
Testing
 
328
*******
 
329
 
 
330
 * Allow /dev/null to be a symlink to a chardev. (Igo Pashev, #832257)
 
331
 
 
332
 * A test isolation issue in ``breezy.tests.test_ui`` was fixed,
 
333
   which caused ``output_encoding = iso-8859-1`` to be added to the
 
334
   users' bazaar.conf. (Jelmer Vernooij)
 
335
 
 
336
 * Newer versions of ``pyftpdlib`` are now supported for running FTP tests.
 
337
   (Jelmer Vernooij)
 
338
 
 
339
 * The ``--subunit`` argument for ``brz selftest`` has been renamed to
 
340
   ``--subunit1``, and a new argument ``--subunit2`` has been added that
 
341
   outputs subunit v2.
 
342
   (Jelmer Vernooij, #1699346, #661205)
 
343
 
 
344
 * Launchpad plugin tests no longer try to connect to production
 
345
   Launchpad. (Jelmer Vernooij, #723183)
 
346
 
 
347
 * Set the ``GPGHOME`` environment variable during testing, to prevent
 
348
   e.g. leaking keys into the users' GNUPG directory.
 
349
   (Jelmer Vernooij, #843885)
 
350
 
 
351
 * Allow some slack when comparing times.
 
352
   (Jelmer Vernooij, #1804121)
 
353
 
 
354
 * Fix a spuriously failing fastexport test due to dictionary
 
355
   ordering. (Jelmer Vernooij, #1808630)
 
356
 
 
357
..
 
358
   vim: tw=74 ft=rst ff=unix