NEWS 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086
  1. 0.9.8 UNRELEASED
  2. IMPROVEMENTS
  3. * Add porcelain 'receive-pack' and 'upload-pack'. (Jelmer Vernooij)
  4. * Handle SIGINT signals in bin/dulwich. (Jelmer Vernooij)
  5. * Add 'status' support to bin/dulwich. (Jelmer Vernooij)
  6. 0.9.7 2014-06-08
  7. BUG FIXES
  8. * Fix tests dependent on hash ordering. (Michael Edgar)
  9. * Support staging symbolic links in Repo.stage.
  10. (Robert Brown)
  11. * Ensure that all files object are closed when running the test suite.
  12. (Gary van der Merwe)
  13. * When writing OFS_DELTA pack entries, write correct offset.
  14. (Augie Fackler)
  15. * Fix handler of larger copy operations in packs. (Augie Fackler)
  16. * Various fixes to improve test suite running on Windows.
  17. (Gary van der Merwe)
  18. * Fix logic for extra adds of identical files in rename detector.
  19. (Robert Brown)
  20. IMPROVEMENTS
  21. * Add porcelain 'status'. (Ryan Faulkner)
  22. * Add porcelain 'daemon'. (Jelmer Vernooij)
  23. * Add `dulwich.greenthreads` module which provides support
  24. for concurrency of some object store operations.
  25. (Fabien Boucher)
  26. * Various changes to improve compatibility with Python 3.
  27. (Gary van der Merwe, Hannu Valtonen, michael-k)
  28. * Add OpenStack Swift backed repository implementation
  29. in dulwich.contrib. See README.swift for details. (Fabien Boucher)
  30. API CHANGES
  31. * An optional close function can be passed to the Protocol class. This will
  32. be called by its close method. (Gary van der Merwe)
  33. * All classes with close methods are now context managers, so that they can
  34. be easily closed using a `with` statement. (Gary van der Merwe)
  35. * Remove deprecated `num_objects` argument to `write_pack` methods.
  36. (Jelmer Vernooij)
  37. OTHER CHANGES
  38. * The 'dul-daemon' script has been removed. The same functionality
  39. is now available as 'dulwich daemon'. (Jelmer Vernooij)
  40. 0.9.6 2014-04-23
  41. IMPROVEMENTS
  42. * Add support for recursive add in 'git add'.
  43. (Ryan Faulkner, Jelmer Vernooij)
  44. * Add porcelain 'list_tags'. (Ryan Faulkner)
  45. * Add porcelain 'push'. (Ryan Faulkner)
  46. * Add porcelain 'pull'. (Ryan Faulkner)
  47. * Support 'http.proxy' in HttpGitClient.
  48. (Jelmer Vernooij, #1096030)
  49. * Support 'http.useragent' in HttpGitClient.
  50. (Jelmer Vernooij)
  51. * In server, wait for clients to send empty list of
  52. wants when talking to empty repository.
  53. (Damien Tournoud)
  54. * Various changes to improve compatibility with
  55. Python 3. (Gary van der Merwe)
  56. BUG FIXES
  57. * Support unseekable 'wsgi.input' streams.
  58. (Jonas Haag)
  59. * Raise TypeError when passing unicode() object
  60. to Repo.__getitem__.
  61. (Jonas Haag)
  62. * Fix handling of `reset` command in dulwich.fastexport.
  63. (Jelmer Vernooij, #1249029)
  64. * In client, don't wait for server to close connection
  65. first. Fixes hang when used against GitHub
  66. server implementation. (Siddharth Agarwal)
  67. * DeltaChainIterator: fix a corner case where an object is inflated as an
  68. object already in the repository.
  69. (Damien Tournoud, #135)
  70. * Stop leaking file handles during pack reload. (Damien Tournoud)
  71. * Avoid reopening packs during pack cache reload. (Jelmer Vernooij)
  72. API CHANGES
  73. * Drop support for Python 2.6. (Jelmer Vernooij)
  74. 0.9.5 2014-02-23
  75. IMPROVEMENTS
  76. * Add porcelain 'tag'. (Ryan Faulkner)
  77. * New module `dulwich.objectspec` for parsing strings referencing
  78. objects and commit ranges. (Jelmer Vernooij)
  79. * Add shallow branch support. (milki)
  80. * Allow passing urllib2 `opener` into HttpGitClient.
  81. (Dov Feldstern, #909037)
  82. CHANGES
  83. * Drop support for Python 2.4 and 2.5. (Jelmer Vernooij)
  84. API CHANGES
  85. * Remove long deprecated ``Repo.commit``, ``Repo.get_blob``,
  86. ``Repo.tree`` and ``Repo.tag``. (Jelmer Vernooij)
  87. * Remove long deprecated ``Repo.revision_history`` and ``Repo.ref``.
  88. (Jelmer Vernooij)
  89. * Remove long deprecated ``Tree.entries``. (Jelmer Vernooij)
  90. BUG FIXES
  91. * Raise KeyError rather than TypeError when passing in
  92. unicode object of length 20 or 40 to Repo.__getitem__.
  93. (Jelmer Vernooij)
  94. * Use 'rm' rather than 'unlink' in tests, since the latter
  95. does not exist on OpenBSD and other platforms.
  96. (Dmitrij D. Czarkoff)
  97. 0.9.4 2013-11-30
  98. IMPROVEMENTS
  99. * Add ssh_kwargs attribute to ParamikoSSHVendor. (milki)
  100. * Add Repo.set_description(). (Víðir Valberg Guðmundsson)
  101. * Add a basic `dulwich.porcelain` module. (Jelmer Vernooij, Marcin Kuzminski)
  102. * Various performance improvements for object access.
  103. (Jelmer Vernooij)
  104. * New function `get_transport_and_path_from_url`,
  105. similar to `get_transport_and_path` but only
  106. supports URLs.
  107. (Jelmer Vernooij)
  108. * Add support for file:// URLs in `get_transport_and_path_from_url`.
  109. (Jelmer Vernooij)
  110. * Add LocalGitClient implementation.
  111. (Jelmer Vernooij)
  112. BUG FIXES
  113. * Support filesystems with 64bit inode and device numbers.
  114. (André Roth)
  115. CHANGES
  116. * Ref handling has been moved to dulwich.refs.
  117. (Jelmer Vernooij)
  118. API CHANGES
  119. * Remove long deprecated RefsContainer.set_ref().
  120. (Jelmer Vernooij)
  121. * Repo.ref() is now deprecated in favour of Repo.refs[].
  122. (Jelmer Vernooij)
  123. FEATURES
  124. * Add support for graftpoints. (milki)
  125. 0.9.3 2013-09-27
  126. BUG FIXES
  127. * Fix path for stdint.h in MANIFEST.in. (Jelmer Vernooij)
  128. 0.9.2 2013-09-26
  129. BUG FIXES
  130. * Include stdint.h in MANIFEST.in (Mark Mikofski)
  131. 0.9.1 2013-09-22
  132. BUG FIXES
  133. * Support lookups of 40-character refs in BaseRepo.__getitem__. (Chow Loong Jin, Jelmer Vernooij)
  134. * Fix fetching packs with side-band-64k capability disabled. (David Keijser, Jelmer Vernooij)
  135. * Several fixes in send-pack protocol behaviour - handling of empty pack files and deletes.
  136. (milki, #1063087)
  137. * Fix capability negotiation when fetching packs over HTTP.
  138. (#1072461, William Grant)
  139. * Enforce determine_wants returning an empty list rather than None. (Fabien Boucher, Jelmer Vernooij)
  140. * In the server, support pushes just removing refs. (Fabien Boucher, Jelmer Vernooij)
  141. IMPROVEMENTS
  142. * Support passing a single revision to BaseRepo.get_walker() rather than a list of revisions.
  143. (Alberto Ruiz)
  144. * Add `Repo.get_description` method. (Jelmer Vernooij)
  145. * Support thin packs in Pack.iterobjects() and Pack.get_raw().
  146. (William Grant)
  147. * Add `MemoryObjectStore.add_pack` and `MemoryObjectStore.add_thin_pack` methods.
  148. (David Bennett)
  149. * Add paramiko-based SSH vendor. (Aaron O'Mullan)
  150. * Support running 'dulwich.server' and 'dulwich.web' using 'python -m'.
  151. (Jelmer Vernooij)
  152. * Add ObjectStore.close(). (Jelmer Vernooij)
  153. * Raise appropriate NotImplementedError when encountering dumb HTTP servers.
  154. (Jelmer Vernooij)
  155. API CHANGES
  156. * SSHVendor.connect_ssh has been renamed to SSHVendor.run_command.
  157. (Jelmer Vernooij)
  158. * ObjectStore.add_pack() now returns a 3-tuple. The last element will be an
  159. abort() method that can be used to cancel the pack operation.
  160. (Jelmer Vernooij)
  161. 0.9.0 2013-05-31
  162. BUG FIXES
  163. * Push efficiency - report missing objects only. (#562676, Artem Tikhomirov)
  164. * Use indentation consistent with C Git in config files.
  165. (#1031356, Curt Moore, Jelmer Vernooij)
  166. * Recognize and skip binary files in diff function.
  167. (Takeshi Kanemoto)
  168. * Fix handling of relative paths in dulwich.client.get_transport_and_path.
  169. (Brian Visel, #1169368)
  170. * Preserve ordering of entries in configuration.
  171. (Benjamin Pollack)
  172. * Support ~ expansion in SSH client paths. (milki, #1083439)
  173. * Support relative paths in alternate paths.
  174. (milki, Michel Lespinasse, #1175007)
  175. * Log all error messages from wsgiref server to the logging module. This
  176. makes the test suit quiet again. (Gary van der Merwe)
  177. * Support passing None for empty tree in changes_from_tree.
  178. (Kevin Watters)
  179. * Support fetching empty repository in client. (milki, #1060462)
  180. IMPROVEMENTS:
  181. * Add optional honor_filemode flag to build_index_from_tree.
  182. (Mark Mikofski)
  183. * Support core/filemode setting when building trees. (Jelmer Vernooij)
  184. * Add chapter on tags in tutorial. (Ryan Faulkner)
  185. FEATURES
  186. * Add support for mergetags. (milki, #963525)
  187. * Add support for posix shell hooks. (milki)
  188. 0.8.7 2012-11-27
  189. BUG FIXES
  190. * Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}.
  191. (Dmitriy)
  192. * Fix compatibility with Python 2.4. (David Carr)
  193. 0.8.6 2012-11-09
  194. API CHANGES
  195. * dulwich.__init__ no longer imports client, protocol, repo and
  196. server modules. (Jelmer Vernooij)
  197. FEATURES
  198. * ConfigDict now behaves more like a dictionary.
  199. (Adam 'Cezar' Jenkins, issue #58)
  200. * HTTPGitApplication now takes an optional
  201. `fallback_app` argument. (Jonas Haag, issue #67)
  202. * Support for large pack index files. (Jameson Nash)
  203. TESTING
  204. * Make index entry tests a little bit less strict, to cope with
  205. slightly different behaviour on various platforms.
  206. (Jelmer Vernooij)
  207. * ``setup.py test`` (available when setuptools is installed) now
  208. runs all tests, not just the basic unit tests.
  209. (Jelmer Vernooij)
  210. BUG FIXES
  211. * Commit._deserialize now actually deserializes the current state rather than
  212. the previous one. (Yifan Zhang, issue #59)
  213. * Handle None elements in lists of TreeChange objects. (Alex Holmes)
  214. * Support cloning repositories without HEAD set.
  215. (D-Key, Jelmer Vernooij, issue #69)
  216. * Support ``MemoryRepo.get_config``. (Jelmer Vernooij)
  217. * In ``get_transport_and_path``, pass extra keyword arguments on to
  218. HttpGitClient. (Jelmer Vernooij)
  219. 0.8.5 2012-03-29
  220. BUG FIXES
  221. * Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
  222. * Be a little bit strict about OS behaviour in index tests.
  223. Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
  224. 0.8.4 2012-03-28
  225. BUG FIXES
  226. * Options on the same line as sections in config files are now supported.
  227. (Jelmer Vernooij, #920553)
  228. * Only negotiate capabilities that are also supported by the server.
  229. (Rod Cloutier, Risto Kankkunen)
  230. * Fix parsing of invalid timezone offsets with two minus signs.
  231. (Jason R. Coombs, #697828)
  232. * Reset environment variables during tests, to avoid
  233. test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)
  234. TESTS
  235. * $HOME is now explicitly specified for tests that use it to read
  236. ``~/.gitconfig``, to prevent test isolation issues.
  237. (Jelmer Vernooij, #920330)
  238. FEATURES
  239. * Additional arguments to get_transport_and_path are now passed
  240. on to the constructor of the transport. (Sam Vilain)
  241. * The WSGI server now transparently handles when a git client submits data
  242. using Content-Encoding: gzip.
  243. (David Blewett, Jelmer Vernooij)
  244. * Add dulwich.index.build_index_from_tree(). (milki)
  245. 0.8.3 2012-01-21
  246. FEATURES
  247. * The config parser now supports the git-config file format as
  248. described in git-config(1) and can write git config files.
  249. (Jelmer Vernooij, #531092, #768687)
  250. * ``Repo.do_commit`` will now use the user identity from
  251. .git/config or ~/.gitconfig if none was explicitly specified.
  252. (Jelmer Vernooij)
  253. BUG FIXES
  254. * Allow ``determine_wants`` methods to include the zero sha in their
  255. return value. (Jelmer Vernooij)
  256. 0.8.2 2011-12-18
  257. BUG FIXES
  258. * Cope with different zlib buffer sizes in sha1 file parser.
  259. (Jelmer Vernooij)
  260. * Fix get_transport_and_path for HTTP/HTTPS URLs.
  261. (Bruno Renié)
  262. * Avoid calling free_objects() on NULL in error cases. (Chris Eberle)
  263. * Fix use --bare argument to 'dulwich init'. (Chris Eberle)
  264. * Properly abort connections when the determine_wants function
  265. raises an exception. (Jelmer Vernooij, #856769)
  266. * Tweak xcodebuild hack to deal with more error output.
  267. (Jelmer Vernooij, #903840)
  268. FEATURES
  269. * Add support for retrieving tarballs from remote servers.
  270. (Jelmer Vernooij, #379087)
  271. * New method ``update_server_info`` which generates data
  272. for dumb server access. (Jelmer Vernooij, #731235)
  273. 0.8.1 2011-10-31
  274. FEATURES
  275. * Repo.do_commit has a new argument 'ref'.
  276. * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)
  277. * New ``Repo.get_walker`` method. (Jelmer Vernooij)
  278. * New ``Repo.clone`` method. (Jelmer Vernooij, #725369)
  279. * ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
  280. (Jelmer Vernooij)
  281. * ``HttpGitClient`` which supports the smart server protocol over
  282. HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688)
  283. * Add basic support for alternates. (Jelmer Vernooij, #810429)
  284. CHANGES
  285. * unittest2 or python >= 2.7 is now required for the testsuite.
  286. testtools is no longer supported. (Jelmer Vernooij, #830713)
  287. BUG FIXES
  288. * Fix compilation with older versions of MSVC. (Martin gz)
  289. * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577)
  290. * Smart protocol clients can now change refs even if they are
  291. not uploading new data. (Jelmer Vernooij, #855993)
  292. * Don't compile C extensions when running in pypy.
  293. (Ronny Pfannschmidt, #881546)
  294. * Use different name for strnlen replacement function to avoid clashing
  295. with system strnlen. (Jelmer Vernooij, #880362)
  296. API CHANGES
  297. * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
  298. (Jelmer Vernooij)
  299. 0.8.0 2011-08-07
  300. FEATURES
  301. * New DeltaChainIterator abstract class for quickly iterating all objects in
  302. a pack, with implementations for pack indexing and inflation.
  303. (Dave Borowitz)
  304. * New walk module with a Walker class for customizable commit walking.
  305. (Dave Borowitz)
  306. * New tree_changes_for_merge function in diff_tree. (Dave Borowitz)
  307. * Easy rename detection in RenameDetector even without find_copies_harder.
  308. (Dave Borowitz)
  309. BUG FIXES
  310. * Avoid storing all objects in memory when writing pack.
  311. (Jelmer Vernooij, #813268)
  312. * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543)
  313. * Improve performance of Repo.revision_history(). (Timo Schmid, #535118)
  314. * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035)
  315. * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543)
  316. * Prevent raising ValueError for correct refs in RefContainer.__delitem__.
  317. * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)
  318. * Fix a bug in reading the pack checksum when there are fewer than 20 bytes
  319. left in the buffer. (Dave Borowitz)
  320. * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555)
  321. * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)
  322. * ObjectStore.get_graph_walker() now no longer yields the same
  323. revision more than once. This has a significant improvement for
  324. performance when wide revision graphs are involved.
  325. (Jelmer Vernooij, #818168)
  326. * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)
  327. * Don't send a pack with duplicates of the same object. (Dave Borowitz)
  328. * Teach the server how to serve a clone of an empty repo. (Dave Borowitz)
  329. * Correctly advertise capabilities during receive-pack. (Dave Borowitz)
  330. * Fix add/add and add/rename conflicts in tree_changes_for_merge.
  331. (Dave Borowitz)
  332. * Use correct MIME types in web server. (Dave Borowitz)
  333. API CHANGES
  334. * write_pack no longer takes the num_objects argument and requires an object
  335. to be passed in that is iterable (rather than an iterator) and that
  336. provides __len__. (Jelmer Vernooij)
  337. * write_pack_data has been renamed to write_pack_objects and no longer takes a
  338. num_objects argument. (Jelmer Vernooij)
  339. * take_msb_bytes, read_zlib_chunks, unpack_objects, and
  340. PackStreamReader.read_objects now take an additional argument indicating a
  341. crc32 to compute. (Dave Borowitz)
  342. * PackObjectIterator was removed; its functionality is still exposed by
  343. PackData.iterobjects. (Dave Borowitz)
  344. * Add a sha arg to write_pack_object to incrementally compute a SHA.
  345. (Dave Borowitz)
  346. * Include offset in PackStreamReader results. (Dave Borowitz)
  347. * Move PackStreamReader from server to pack. (Dave Borowitz)
  348. * Extract a check_length_and_checksum, compute_file_sha, and
  349. pack_object_header pack helper functions. (Dave Borowitz)
  350. * Extract a compute_file_sha function. (Dave Borowitz)
  351. * Remove move_in_thin_pack as a separate method; add_thin_pack now completes
  352. the thin pack and moves it in in one step. Remove ThinPackData as well.
  353. (Dave Borowitz)
  354. * Custom buffer size in read_zlib_chunks. (Dave Borowitz)
  355. * New UnpackedObject data class that replaces ad-hoc tuples in the return
  356. value of unpack_object and various DeltaChainIterator methods.
  357. (Dave Borowitz)
  358. * Add a lookup_path convenience method to Tree. (Dave Borowitz)
  359. * Optionally create RenameDetectors without passing in tree SHAs.
  360. (Dave Borowitz)
  361. * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)
  362. * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)
  363. * Optionally pass a request object through to server handlers. (Dave Borowitz)
  364. TEST CHANGES
  365. * If setuptools is installed, "python setup.py test" will now run the testsuite.
  366. (Jelmer Vernooij)
  367. * Add a new build_pack test utility for building packs from a simple spec.
  368. (Dave Borowitz)
  369. * Add a new build_commit_graph test utility for building commits from a
  370. simple spec. (Dave Borowitz)
  371. 0.7.1 2011-04-12
  372. BUG FIXES
  373. * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
  374. * Fix the build on Windows. (Pascal Quantin)
  375. * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
  376. (Max Bowsher, #707438)
  377. * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
  378. (Jelmer Vernooij)
  379. * write_tree_diff() now supports submodules.
  380. (Jelmer Vernooij)
  381. * Fix compilation for XCode 4 and older versions of distutils.sysconfig.
  382. (Daniele Sluijters)
  383. IMPROVEMENTS
  384. * Sphinxified documentation. (Lukasz Balcerzak)
  385. * Add Pack.keep.(Marc Brinkmann)
  386. API CHANGES
  387. * The order of the parameters to Tree.add(name, mode, sha) has changed, and
  388. is now consistent with the rest of Dulwich. Existing code will still
  389. work but print a DeprecationWarning. (Jelmer Vernooij, #663550)
  390. * Tree.entries() is now deprecated in favour of Tree.items() and
  391. Tree.iteritems(). (Jelmer Vernooij)
  392. 0.7.0 2011-01-21
  393. FEATURES
  394. * New `dulwich.diff_tree` module for simple content-based rename detection.
  395. (Dave Borowitz)
  396. * Add Tree.items(). (Jelmer Vernooij)
  397. * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)
  398. * Add write_tree_diff(). (Jelmer Vernooij)
  399. * Add `serve_command` function for git server commands as executables.
  400. (Jelmer Vernooij)
  401. * dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
  402. (Dave Borowitz, #568493)
  403. BUG FIXES
  404. * Correct short-circuiting operation for no-op fetches in the server.
  405. (Dave Borowitz)
  406. * Support parsing git mbox patches without a version tail, as generated by
  407. Mercurial. (Jelmer Vernooij)
  408. * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)
  409. * Zero-padded file modes in Tree objects no longer trigger an exception but
  410. the check code warns about them. (Augie Fackler, #581064)
  411. * Repo.init() now honors the mkdir flag. (#671159)
  412. * The ref format is now checked when setting a ref rather than when reading it back.
  413. (Dave Borowitz, #653527)
  414. * Make sure pack files are closed correctly. (Tay Ray Chuan)
  415. DOCUMENTATION
  416. * Run the tutorial inside the test suite. (Jelmer Vernooij)
  417. * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550,
  418. #610540)
  419. 0.6.2 2010-10-16
  420. BUG FIXES
  421. * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
  422. * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
  423. * ThinPackData.from_file now works with resolve_ext_ref callback.
  424. (Dave Borowitz)
  425. * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
  426. * Set bare=true in the configuratin for bare repositories. (Dirk Neumann)
  427. FEATURES
  428. * Use slots for core objects to save up on memory. (Jelmer Vernooij)
  429. * Web server supports streaming progress/pack output. (Dave Borowitz)
  430. * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
  431. * Distinguish between missing files and read errors in HTTP server.
  432. (Dave Borowitz)
  433. * Initial work on support for fastimport using python-fastimport.
  434. (Jelmer Vernooij)
  435. * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
  436. * Delegate SHA peeling to the object store. (Dave Borowitz)
  437. TESTS
  438. * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
  439. * New tests in test_web with better coverage and fewer ad-hoc mocks.
  440. (Dave Borowitz)
  441. * Standardize quote delimiters in test_protocol. (Dave Borowitz)
  442. * Fix use when testtools is installed. (Jelmer Vernooij)
  443. * Add trivial test for write_pack_header. (Jelmer Vernooij)
  444. * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
  445. * Allow overwriting id property of objects in test utils. (Dave Borowitz)
  446. * Use real in-memory objects rather than stubs for server tests.
  447. (Dave Borowitz)
  448. * Clean up MissingObjectFinder. (Dave Borowitz)
  449. API CHANGES
  450. * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
  451. order. (Dave Borowitz)
  452. * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
  453. (Dave Borowitz).
  454. * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
  455. * Change server capabilities methods to classmethods. (Dave Borowitz)
  456. * Tweak server handler injection. (Dave Borowitz)
  457. * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is
  458. itself a subclass of PackIndex. (Jelmer Vernooij)
  459. DOCUMENTATION
  460. * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
  461. * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
  462. * Explicitly specify allowed protocol commands to
  463. ProtocolGraphWalker.read_proto_line. (Dave Borowitz)
  464. * Add utility functions to DictRefsContainer. (Dave Borowitz)
  465. 0.6.1 2010-07-22
  466. BUG FIXES
  467. * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
  468. * Use correct path separators for named repo files. (Dave Borowitz)
  469. * python > 2.7 and testtools-based test runners will now also pick up skipped
  470. tests correctly. (Jelmer Vernooij)
  471. FEATURES
  472. * Move named file initilization to BaseRepo. (Dave Borowitz)
  473. * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
  474. * The GitClient interface has been cleaned up and instances are now reusable.
  475. (Augie Fackler)
  476. * Allow overriding paths to executables in GitSSHClient.
  477. (Ross Light, Jelmer Vernooij, #585204)
  478. * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
  479. TESTS
  480. * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
  481. * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
  482. * Quiet logging output from web tests. (Dave Borowitz)
  483. * More flexible version checking for compat tests. (Dave Borowitz)
  484. * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
  485. CLEANUP
  486. * Clean up file headers. (Dave Borowitz)
  487. TESTS
  488. * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
  489. API CHANGES
  490. * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
  491. rather than a filename. (Jelmer Vernooij)
  492. * Make dul-daemon/dul-web trivial wrappers around server functionality.
  493. (Dave Borowitz)
  494. * Move reference WSGI handler to web.py. (Dave Borowitz)
  495. * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
  496. * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
  497. 0.6.0 2010-05-22
  498. note: This list is most likely incomplete for 0.6.0.
  499. BUG FIXES
  500. * Fix ReceivePackHandler to disallow removing refs without delete-refs.
  501. (Dave Borowitz)
  502. * Deal with capabilities required by the client, even if they
  503. can not be disabled in the server. (Dave Borowitz)
  504. * Fix trailing newlines in generated patch files.
  505. (Jelmer Vernooij)
  506. * Implement RefsContainer.__contains__. (Jelmer Vernooij)
  507. * Cope with \r in ref files on Windows. (
  508. http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
  509. * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
  510. * Support packed ref deletion with no peeled refs. (Augie Fackler)
  511. * Fix send pack when there is nothing to fetch. (Augie Fackler)
  512. * Fix fetch if no progress function is specified. (Augie Fackler)
  513. * Allow double-staging of files that are deleted in the index.
  514. (Dave Borowitz)
  515. * Fix RefsContainer.add_if_new to support dangling symrefs.
  516. (Dave Borowitz)
  517. * Non-existant index files in non-bare repositories are now treated as
  518. empty. (Dave Borowitz)
  519. * Always update ShaFile.id when the contents of the object get changed.
  520. (Jelmer Vernooij)
  521. * Various Python2.4-compatibility fixes. (Dave Borowitz)
  522. * Fix thin pack handling. (Dave Borowitz)
  523. FEATURES
  524. * Add include-tag capability to server. (Dave Borowitz)
  525. * New dulwich.fastexport module that can generate fastexport
  526. streams. (Jelmer Vernooij)
  527. * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
  528. * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
  529. * Overall improvements checking Git objects. (Dave Borowitz)
  530. * Packs are now verified while they are received. (Dave Borowitz)
  531. TESTS
  532. * Add framework for testing compatibility with C Git. (Dave Borowitz)
  533. * Add various tests for the use of non-bare repositories. (Dave Borowitz)
  534. * Cope with diffstat not being available on all platforms.
  535. (Tay Ray Chuan, Jelmer Vernooij)
  536. * Add make_object and make_commit convenience functions to test utils.
  537. (Dave Borowitz)
  538. API BREAKAGES
  539. * The 'committer' and 'message' arguments to Repo.do_commit() have
  540. been swapped. 'committer' is now optional. (Jelmer Vernooij)
  541. * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
  542. (Jelmer Vernooij)
  543. * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
  544. for clarity. (Jelmer Vernooij)
  545. API CHANGES
  546. * The primary serialization APIs in dulwich.objects now work
  547. with chunks of strings rather than with full-text strings.
  548. (Jelmer Vernooij)
  549. 0.5.02010-03-03
  550. BUG FIXES
  551. * Support custom fields in commits (readonly). (Jelmer Vernooij)
  552. * Improved ref handling. (Dave Borowitz)
  553. * Rework server protocol to be smarter and interoperate with cgit client.
  554. (Dave Borowitz)
  555. * Add a GitFile class that uses the same locking protocol for writes as
  556. cgit. (Dave Borowitz)
  557. * Cope with forward slashes correctly in the index on Windows.
  558. (Jelmer Vernooij, #526793)
  559. FEATURES
  560. * --pure option to setup.py to allow building/installing without the C
  561. extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
  562. * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
  563. * HTTP dumb and smart server. (Dave Borowitz)
  564. * Add abstract baseclass for Repo that does not require file system
  565. operations. (Dave Borowitz)
  566. 0.4.1 2010-01-03
  567. FEATURES
  568. * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
  569. * Add Index.changes_from_tree(). (Jelmer Vernooij)
  570. * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
  571. * Add functionality for writing patches in dulwich.patch.
  572. (Jelmer Vernooij)
  573. 0.4.0 2009-10-07
  574. DOCUMENTATION
  575. * Added tutorial.
  576. API CHANGES
  577. * dulwich.object_store.tree_lookup_path will now return the mode and
  578. sha of the object found rather than the object itself.
  579. BUG FIXES
  580. * Use binascii.hexlify / binascii.unhexlify for better performance.
  581. * Cope with extra unknown data in index files by ignoring it (for now).
  582. * Add proper error message when server unexpectedly hangs up. (#415843)
  583. * Correctly write opcode for equal in create_delta.
  584. 0.3.3 2009-07-23
  585. FEATURES
  586. * Implement ShaFile.__hash__().
  587. * Implement Tree.__len__()
  588. BUG FIXES
  589. * Check for 'objects' and 'refs' directories
  590. when looking for a Git repository. (#380818)
  591. 0.3.2 2009-05-20
  592. BUG FIXES
  593. * Support the encoding field in Commits.
  594. * Some Windows compatibility fixes.
  595. * Fixed several issues in commit support.
  596. FEATURES
  597. * Basic support for handling submodules.
  598. 0.3.1 2009-05-13
  599. FEATURES
  600. * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to
  601. access content.
  602. API CHANGES
  603. * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and
  604. Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
  605. refs.
  606. BUG FIXES
  607. * Removed import of 'sha' module in objects.py, which was causing
  608. deprecation warnings on Python 2.6.
  609. 0.3.0 2009-05-10
  610. FEATURES
  611. * A new function 'commit_tree' has been added that can commit a tree
  612. based on an index.
  613. BUG FIXES
  614. * The memory usage when generating indexes has been significantly reduced.
  615. * A memory leak in the C implementation of parse_tree has been fixed.
  616. * The send-pack smart server command now works. (Thanks Scott Chacon)
  617. * The handling of short timestamps (less than 10 digits) has been fixed.
  618. * The handling of timezones has been fixed.
  619. 0.2.1 2009-04-30
  620. BUG FIXES
  621. * Fix compatibility with Python2.4.
  622. 0.2.0 2009-04-30
  623. FEATURES
  624. * Support for activity reporting in smart protocol client.
  625. * Optional C extensions for better performance in a couple of
  626. places that are performance-critical.
  627. 0.1.1 2009-03-13
  628. BUG FIXES
  629. * Fixed regression in Repo.find_missing_objects()
  630. * Don't fetch ^{} objects from remote hosts, as requesting them
  631. causes a hangup.
  632. * Always write pack to disk completely before calculating checksum.
  633. FEATURES
  634. * Allow disabling thin packs when talking to remote hosts.
  635. 0.1.0 2009-01-24
  636. * Initial release.