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