NEWS 47 KB

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