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