NEWS 35 KB

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