/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: 2018-11-22 03:51:03 UTC
  • mfrom: (7192.5.2 remove-more-file-ids)
  • Revision ID: breezy.the.bot@gmail.com-20181122035103-1c5jnbdx2t5yujqb
Stop actually accepting optional file_id in many Tree methods.

Merged from https://code.launchpad.net/~jelmer/brz/remove-more-file-ids/+merge/358950

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