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