NEWS 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. 0.6.2 UNRELEASED
  2. BUG FIXES
  3. * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
  4. * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
  5. * ThinPackData.from_file now works with resolve_ext_ref callback.
  6. (Dave Borowitz)
  7. FEATURES
  8. * Use slots for core objects to save up on memory. (Jelmer Vernooij)
  9. * Web server supports streaming progress/pack output. (Dave Borowitz)
  10. * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
  11. * Distinguish between missing files and read errors in HTTP server.
  12. (Dave Borowitz)
  13. TESTS
  14. * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
  15. * New tests in test_web with better coverage and fewer ad-hoc mocks.
  16. (Dave Borowitz)
  17. API CHANGES
  18. * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
  19. order. (Dave Borowitz)
  20. * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
  21. (Dave Borowitz).
  22. 0.6.1 2010-07-22
  23. BUG FIXES
  24. * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
  25. * Use correct path separators for named repo files. (Dave Borowitz)
  26. * python > 2.7 and testtools-based test runners will now also pick up skipped
  27. tests correctly. (Jelmer Vernooij)
  28. FEATURES
  29. * Move named file initilization to BaseRepo. (Dave Borowitz)
  30. * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
  31. * The GitClient interface has been cleaned up and instances are now reusable.
  32. (Augie Fackler)
  33. * Allow overriding paths to executables in GitSSHClient.
  34. (Ross Light, Jelmer Vernooij, #585204)
  35. * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
  36. TESTS
  37. * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
  38. * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
  39. * Quiet logging output from web tests. (Dave Borowitz)
  40. CLEANUP
  41. * Clean up file headers. (Dave Borowitz)
  42. TESTS
  43. * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
  44. API CHANGES
  45. * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
  46. rather than a filename. (Jelmer Vernooij)
  47. * Make dul-daemon/dul-web trivial wrappers around server functionality.
  48. (Dave Borowitz)
  49. * Move reference WSGI handler to web.py. (Dave Borowitz)
  50. * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
  51. * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
  52. 0.6.0 2010-05-22
  53. note: This list is most likely incomplete for 0.6.0.
  54. BUG FIXES
  55. * Fix ReceivePackHandler to disallow removing refs without delete-refs.
  56. (Dave Borowitz)
  57. * Deal with capabilities required by the client, even if they
  58. can not be disabled in the server. (Dave Borowitz)
  59. * Fix trailing newlines in generated patch files.
  60. (Jelmer Vernooij)
  61. * Implement RefsContainer.__contains__. (Jelmer Vernooij)
  62. * Cope with \r in ref files on Windows. (
  63. http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
  64. * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
  65. * Support packed ref deletion with no peeled refs. (Augie Fackler)
  66. * Fix send pack when there is nothing to fetch. (Augie Fackler)
  67. * Fix fetch if no progress function is specified. (Augie Fackler)
  68. * Allow double-staging of files that are deleted in the index.
  69. (Dave Borowitz)
  70. * Fix RefsContainer.add_if_new to support dangling symrefs.
  71. (Dave Borowitz)
  72. * Non-existant index files in non-bare repositories are now treated as
  73. empty. (Dave Borowitz)
  74. * Always update ShaFile.id when the contents of the object get changed.
  75. (Jelmer Vernooij)
  76. * Various Python2.4-compatibility fixes. (Dave Borowitz)
  77. * Fix thin pack handling. (Dave Borowitz)
  78. FEATURES
  79. * Add include-tag capability to server. (Dave Borowitz)
  80. * New dulwich.fastexport module that can generate fastexport
  81. streams. (Jelmer Vernooij)
  82. * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
  83. * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
  84. * Overall improvements checking Git objects. (Dave Borowitz)
  85. * Packs are now verified while they are received. (Dave Borowitz)
  86. TESTS
  87. * Add framework for testing compatibility with C Git. (Dave Borowitz)
  88. * Add various tests for the use of non-bare repositories. (Dave Borowitz)
  89. * Cope with diffstat not being available on all platforms.
  90. (Tay Ray Chuan, Jelmer Vernooij)
  91. * Add make_object and make_commit convenience functions to test utils.
  92. (Dave Borowitz)
  93. API BREAKAGES
  94. * The 'committer' and 'message' arguments to Repo.do_commit() have
  95. been swapped. 'committer' is now optional. (Jelmer Vernooij)
  96. * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
  97. (Jelmer Vernooij)
  98. * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
  99. for clarity. (Jelmer Vernooij)
  100. API CHANGES
  101. * The primary serialization APIs in dulwich.objects now work
  102. with chunks of strings rather than with full-text strings.
  103. (Jelmer Vernooij)
  104. 0.5.0 2010-03-03
  105. BUG FIXES
  106. * Support custom fields in commits (readonly). (Jelmer Vernooij)
  107. * Improved ref handling. (Dave Borowitz)
  108. * Rework server protocol to be smarter and interoperate with cgit client.
  109. (Dave Borowitz)
  110. * Add a GitFile class that uses the same locking protocol for writes as
  111. cgit. (Dave Borowitz)
  112. * Cope with forward slashes correctly in the index on Windows.
  113. (Jelmer Vernooij, #526793)
  114. FEATURES
  115. * --pure option to setup.py to allow building/installing without the C
  116. extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
  117. * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
  118. * HTTP dumb and smart server. (Dave Borowitz)
  119. * Add abstract baseclass for Repo that does not require file system
  120. operations. (Dave Borowitz)
  121. 0.4.1 2010-01-03
  122. FEATURES
  123. * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
  124. * Add Index.changes_from_tree(). (Jelmer Vernooij)
  125. * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
  126. * Add functionality for writing patches in dulwich.patch.
  127. (Jelmer Vernooij)
  128. 0.4.0 2009-10-07
  129. DOCUMENTATION
  130. * Added tutorial.
  131. API CHANGES
  132. * dulwich.object_store.tree_lookup_path will now return the mode and
  133. sha of the object found rather than the object itself.
  134. BUG FIXES
  135. * Use binascii.hexlify / binascii.unhexlify for better performance.
  136. * Cope with extra unknown data in index files by ignoring it (for now).
  137. * Add proper error message when server unexpectedly hangs up. (#415843)
  138. * Correctly write opcode for equal in create_delta.
  139. 0.3.3 2009-07-23
  140. FEATURES
  141. * Implement ShaFile.__hash__().
  142. * Implement Tree.__len__()
  143. BUG FIXES
  144. * Check for 'objects' and 'refs' directories
  145. when looking for a Git repository. (#380818)
  146. 0.3.2 2009-05-20
  147. BUG FIXES
  148. * Support the encoding field in Commits.
  149. * Some Windows compatibility fixes.
  150. * Fixed several issues in commit support.
  151. FEATURES
  152. * Basic support for handling submodules.
  153. 0.3.1 2009-05-13
  154. FEATURES
  155. * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to
  156. access content.
  157. API CHANGES
  158. * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and
  159. Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
  160. refs.
  161. BUG FIXES
  162. * Removed import of 'sha' module in objects.py, which was causing
  163. deprecation warnings on Python 2.6.
  164. 0.3.0 2009-05-10
  165. FEATURES
  166. * A new function `commit_tree' has been added that can commit a tree
  167. based on an index.
  168. BUG FIXES
  169. * The memory usage when generating indexes has been significantly reduced.
  170. * A memory leak in the C implementation of parse_tree has been fixed.
  171. * The send-pack smart server command now works. (Thanks Scott Chacon)
  172. * The handling of short timestamps (less than 10 digits) has been fixed.
  173. * The handling of timezones has been fixed.
  174. 0.2.1 2009-04-30
  175. BUG FIXES
  176. * Fix compatibility with Python2.4.
  177. 0.2.0 2009-04-30
  178. FEATURES
  179. * Support for activity reporting in smart protocol client.
  180. * Optional C extensions for better performance in a couple of
  181. places that are performance-critical.
  182. 0.1.1 2009-03-13
  183. BUG FIXES
  184. * Fixed regression in Repo.find_missing_objects()
  185. * Don't fetch ^{} objects from remote hosts, as requesting them
  186. causes a hangup.
  187. * Always write pack to disk completely before calculating checksum.
  188. FEATURES
  189. * Allow disabling thin packs when talking to remote hosts.
  190. 0.1.0 2009-01-24
  191. * Initial release.