NEWS 29 KB

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