NEWS 49 KB

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