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