NEWS 37 KB

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