/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: 2019-03-05 07:32:38 UTC
  • mto: (7290.1.21 work)
  • mto: This revision was merged to the branch mainline in revision 7311.
  • Revision ID: jelmer@jelmer.uk-20190305073238-zlqn981opwnqsmzi
Add appveyor configuration.

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