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