Use python-fastimport.
[jelmer/dulwich-libgit2.git] / NEWS
1 0.6.2   UNRELEASED
2
3  BUG FIXES
4
5   * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
6
7   * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
8
9   * ThinPackData.from_file now works with resolve_ext_ref callback.
10     (Dave Borowitz)
11
12   * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
13
14  FEATURES
15
16   * Use slots for core objects to save up on memory. (Jelmer Vernooij)
17
18   * Web server supports streaming progress/pack output. (Dave Borowitz)
19
20   * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
21
22   * Distinguish between missing files and read errors in HTTP server.
23     (Dave Borowitz)
24
25   * Initial work on support for fastimport using python-fastimport.
26     (Jelmer Vernooij)
27
28   * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
29
30   * Delegate SHA peeling to the object store.  (Dave Borowitz)
31
32  TESTS
33
34   * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
35
36   * New tests in test_web with better coverage and fewer ad-hoc mocks.
37     (Dave Borowitz)
38
39   * Standardize quote delimiters in test_protocol. (Dave Borowitz)
40
41   * Fix use when testtools is installed. (Jelmer Vernooij)
42
43   * Add trivial test for write_pack_header. (Jelmer Vernooij)
44
45   * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
46
47   * Allow overwriting id property of objects in test utils. (Dave Borowitz)
48
49   * Use real in-memory objects rather than stubs for server tests.
50     (Dave Borowitz)
51
52   * Clean up MissingObjectFinder. (Dave Borowitz)
53
54  API CHANGES
55
56   * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
57     order. (Dave Borowitz)
58
59   * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
60     (Dave Borowitz).
61
62   * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
63
64   * Change server capabilities methods to classmethods. (Dave Borowitz)
65
66   * Tweak server handler injection. (Dave Borowitz)
67
68   * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is 
69     itself a subclass of PackIndex. (Jelmer Vernooij)
70
71  DOCUMENTATION
72
73   * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
74
75   * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
76
77   * Explicitly specify allowed protocol commands to
78     ProtocolGraphWalker.read_proto_line.  (Dave Borowitz)
79
80   * Add utility functions to DictRefsContainer. (Dave Borowitz)
81
82
83 0.6.1   2010-07-22
84
85  BUG FIXES
86
87   * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
88
89   * Use correct path separators for named repo files. (Dave Borowitz)
90
91   * python > 2.7 and testtools-based test runners will now also pick up skipped
92     tests correctly. (Jelmer Vernooij)
93
94  FEATURES
95
96   * Move named file initilization to BaseRepo. (Dave Borowitz)
97
98   * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
99
100   * The GitClient interface has been cleaned up and instances are now reusable.
101     (Augie Fackler)
102
103   * Allow overriding paths to executables in GitSSHClient. 
104     (Ross Light, Jelmer Vernooij, #585204)
105
106   * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
107
108  TESTS
109
110   * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
111
112   * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
113
114   * Quiet logging output from web tests. (Dave Borowitz)
115
116   * More flexible version checking for compat tests. (Dave Borowitz)
117
118   * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
119
120  CLEANUP
121
122   * Clean up file headers. (Dave Borowitz)
123
124  TESTS
125
126   * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
127
128  API CHANGES
129
130   * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
131     rather than a filename. (Jelmer Vernooij)
132
133   * Make dul-daemon/dul-web trivial wrappers around server functionality.
134     (Dave Borowitz)
135
136   * Move reference WSGI handler to web.py. (Dave Borowitz)
137
138   * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
139
140   * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
141
142
143 0.6.0   2010-05-22
144
145 note: This list is most likely incomplete for 0.6.0.
146
147  BUG FIXES
148  
149   * Fix ReceivePackHandler to disallow removing refs without delete-refs.
150     (Dave Borowitz)
151
152   * Deal with capabilities required by the client, even if they 
153     can not be disabled in the server. (Dave Borowitz)
154
155   * Fix trailing newlines in generated patch files.
156     (Jelmer Vernooij)
157
158   * Implement RefsContainer.__contains__. (Jelmer Vernooij)
159
160   * Cope with \r in ref files on Windows. (
161         http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
162
163   * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
164
165   * Support packed ref deletion with no peeled refs. (Augie Fackler)
166
167   * Fix send pack when there is nothing to fetch. (Augie Fackler)
168
169   * Fix fetch if no progress function is specified. (Augie Fackler)
170
171   * Allow double-staging of files that are deleted in the index. 
172     (Dave Borowitz)
173
174   * Fix RefsContainer.add_if_new to support dangling symrefs.
175     (Dave Borowitz)
176
177   * Non-existant index files in non-bare repositories are now treated as 
178     empty. (Dave Borowitz)
179
180   * Always update ShaFile.id when the contents of the object get changed. 
181     (Jelmer Vernooij)
182
183   * Various Python2.4-compatibility fixes. (Dave Borowitz)
184
185   * Fix thin pack handling. (Dave Borowitz)
186  
187  FEATURES
188
189   * Add include-tag capability to server. (Dave Borowitz)
190
191   * New dulwich.fastexport module that can generate fastexport 
192     streams. (Jelmer Vernooij)
193
194   * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
195
196   * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
197
198   * Overall improvements checking Git objects. (Dave Borowitz)
199
200   * Packs are now verified while they are received. (Dave Borowitz)
201
202  TESTS
203
204   * Add framework for testing compatibility with C Git. (Dave Borowitz)
205
206   * Add various tests for the use of non-bare repositories. (Dave Borowitz)
207
208   * Cope with diffstat not being available on all platforms. 
209     (Tay Ray Chuan, Jelmer Vernooij)
210
211   * Add make_object and make_commit convenience functions to test utils.
212     (Dave Borowitz)
213
214  API BREAKAGES
215
216   * The 'committer' and 'message' arguments to Repo.do_commit() have 
217     been swapped. 'committer' is now optional. (Jelmer Vernooij)
218
219   * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
220     (Jelmer Vernooij)
221
222   * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
223     for clarity. (Jelmer Vernooij)
224
225  API CHANGES
226
227   * The primary serialization APIs in dulwich.objects now work 
228     with chunks of strings rather than with full-text strings. 
229     (Jelmer Vernooij)
230
231 0.5.0   2010-03-03
232
233  BUG FIXES
234
235   * Support custom fields in commits (readonly). (Jelmer Vernooij)
236
237   * Improved ref handling. (Dave Borowitz)
238
239   * Rework server protocol to be smarter and interoperate with cgit client.
240     (Dave Borowitz)
241
242   * Add a GitFile class that uses the same locking protocol for writes as 
243     cgit. (Dave Borowitz)
244
245   * Cope with forward slashes correctly in the index on Windows.
246     (Jelmer Vernooij, #526793)
247
248  FEATURES
249
250   * --pure option to setup.py to allow building/installing without the C 
251     extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
252
253   * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
254
255   * HTTP dumb and smart server. (Dave Borowitz)
256
257   * Add abstract baseclass for Repo that does not require file system 
258     operations. (Dave Borowitz)
259
260 0.4.1   2010-01-03
261
262  FEATURES
263
264   * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
265
266   * Add Index.changes_from_tree(). (Jelmer Vernooij)
267
268   * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
269
270   * Add functionality for writing patches in dulwich.patch.
271     (Jelmer Vernooij)
272
273 0.4.0   2009-10-07
274
275  DOCUMENTATION
276
277   * Added tutorial.
278
279  API CHANGES
280
281   * dulwich.object_store.tree_lookup_path will now return the mode and 
282     sha of the object found rather than the object itself.
283
284  BUG FIXES
285
286   * Use binascii.hexlify / binascii.unhexlify for better performance.
287
288   * Cope with extra unknown data in index files by ignoring it (for now).
289
290   * Add proper error message when server unexpectedly hangs up. (#415843)
291
292   * Correctly write opcode for equal in create_delta.
293
294 0.3.3   2009-07-23
295
296  FEATURES
297
298   * Implement ShaFile.__hash__().
299
300   * Implement Tree.__len__()
301
302  BUG FIXES
303   
304   * Check for 'objects' and 'refs' directories
305     when looking for a Git repository. (#380818)
306
307 0.3.2   2009-05-20
308
309  BUG FIXES
310
311   * Support the encoding field in Commits.
312   
313   * Some Windows compatibility fixes.
314
315   * Fixed several issues in commit support.
316
317  FEATURES
318
319   * Basic support for handling submodules.
320
321 0.3.1   2009-05-13
322
323  FEATURES
324
325   * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to 
326     access content.
327
328  API CHANGES
329
330   * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and 
331     Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
332         refs.
333
334  BUG FIXES
335
336   * Removed import of 'sha' module in objects.py, which was causing 
337     deprecation warnings on Python 2.6.
338
339 0.3.0   2009-05-10
340
341  FEATURES
342
343   * A new function `commit_tree' has been added that can commit a tree 
344     based on an index.
345
346  BUG FIXES
347
348   * The memory usage when generating indexes has been significantly reduced.
349  
350   * A memory leak in the C implementation of parse_tree has been fixed.
351
352   * The send-pack smart server command now works. (Thanks Scott Chacon)
353
354   * The handling of short timestamps (less than 10 digits) has been fixed.
355
356   * The handling of timezones has been fixed.
357
358 0.2.1   2009-04-30
359
360  BUG FIXES
361
362   * Fix compatibility with Python2.4.
363
364 0.2.0   2009-04-30
365
366  FEATURES
367
368   * Support for activity reporting in smart protocol client.
369
370   * Optional C extensions for better performance in a couple of 
371     places that are performance-critical.
372
373 0.1.1   2009-03-13
374
375  BUG FIXES
376
377   * Fixed regression in Repo.find_missing_objects()
378
379   * Don't fetch ^{} objects from remote hosts, as requesting them 
380     causes a hangup.
381
382   * Always write pack to disk completely before calculating checksum.
383
384  FEATURES
385
386   * Allow disabling thin packs when talking to remote hosts.
387
388 0.1.0   2009-01-24
389
390  * Initial release.