2
0

NEWS 70 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701
  1. 0.22.6 2024-11-16
  2. * ``ObjectStore.iter_prefix``: fix handling of missing
  3. loose object directories. (Jelmer Vernooij)
  4. * Reject invalid refcontainer values (not 40 characters or symref).
  5. (Arun Babu Neelicattu)
  6. * Add type hints to various functions. (Castedo Ellerman)
  7. 0.22.5 2024-11-07
  8. * Drop support for Python 3.8. (Jelmer Vernooij)
  9. * Fix refspec handling in porcelain.pull. (Jelmer Vernooij)
  10. * Drop broken refspec support in porcelain.clone.
  11. (Jelmer Vernooij)
  12. * Provide ``ref_prefix`` functionality client-side
  13. if the server does not support it. (Jelmer Vernooij)
  14. * Consistently honor ``ref_prefix`` and ``protocol_version``
  15. arguments in client. (Jelmer Vernooij)
  16. * Strip pkt-line when negotiating protocol v2. Fixes
  17. compatibility with gerrit. (Rémy Pecqueur, #1423)
  18. * Don't pull in ``setuptools_rust`` when building pure
  19. package. (Eli Schwartz)
  20. * Return peeled refs from ``GitClient.get_refs`` if protocol-v2
  21. is used. (Stefan Sperling, #1410)
  22. * Drop outdated performance file. (Jelmer Vernooij, #1411)
  23. 0.22.4 2024-11-01
  24. * Fix handling of symrefs with protocol v2.
  25. (Jelmer Vernooij, #1389)
  26. * Add ``ObjectStore.iter_prefix``. (Jelmer Vernooij)
  27. * Revert back to version 3 of ``Cargo.lock``, to allow
  28. building with older Cargo versions.
  29. (Jelmer Vernooij)
  30. * Use a default ref-prefix when fetching with git protocol v2
  31. (Stefan Sperling, #1389)
  32. * Add `ObjectStore.iter_prefix`. (Jelmer Vernooij)
  33. 0.22.3 2024-10-15
  34. * Improve wheel building in CI, so we can upload wheels for the next release.
  35. (Jelmer Vernooij)
  36. 0.22.2 2024-10-09
  37. * Ship ``Cargo.lock``. (Jelmer Vernooij, #1287)
  38. * Ship ``tests/`` and ``testdata/`` in sdist. (Jelmer Vernooij, #1292)
  39. * Add initial integration with OSS-Fuzz for continuous fuzz testing and first fuzzing test (David Lakin, #1302)
  40. * Drop Python 3.7 support. (Jelmer Vernooij)
  41. * Improve fuzzing coverage (David Lakin)
  42. * Support Python 3.13. (Edgar Ramírez-Mondragón, #1352)
  43. * Initial support for smart protocol v2. (Stefan Sperling)
  44. 0.22.1 2024-04-23
  45. * Handle alternate case for worktreeconfig setting (Will Shanks, #1285)
  46. * Ship rust files. (Jelmer Vernooij, #1287)
  47. 0.22.0 2024-04-22
  48. * Stop installing docs/ as part of package code. (Jelmer Vernooij, #1248)
  49. * Move tests to root. (Jelmer Vernooij, #1024)
  50. * Convert the optional C implementations to Rust.
  51. (Jelmer Vernooij)
  52. 0.21.7 2023-12-05
  53. * Fix NameError when encountering errors during HTTP operation.
  54. (Jelmer Vernooij, #1208)
  55. * Raise exception when default identity can't be found.
  56. (Jelmer Vernooij)
  57. * Add a dedicated exception class for unresolved
  58. deltas. (Jelmer Vernooij, #1221)
  59. * Support credentials in proxy URL. (Jelmer Vernooij, #1227)
  60. * Add ``dulwich.porcelain.for_each_ref``. (Daniele Trifirò)
  61. 0.21.6 2023-09-02
  62. * Convert _objects.c to rust.
  63. (Jelmer Vernooij)
  64. * index: Handle different stages of conflicted paths.
  65. (Kevin Hendricks, Jelmer Vernooij)
  66. * Improve LCA finding performance. (Kevin Hendricks)
  67. * client: Handle Content-Type with encoding set.
  68. (Antoine Lambert)
  69. * Only import _hashlib for type checking.
  70. (David Hotham)
  71. * Update docs regarding building dulwich without c bindings (#103)
  72. (Adam Plaice)
  73. * objects: Define a stricter return type for _parse_message
  74. (Vincent Lorentz)
  75. * Raise GitProtocolError when encountering HTTP Errors in
  76. HTTPGitClient. (Jelmer Vernooij, #1199)
  77. 0.21.5 2023-05-04
  78. * Be more tolerant to non-3-length tuple versions.
  79. (Jelmer Vernooij)
  80. 0.21.4.1 2023-05-04
  81. * Support ``core.symlinks=false``. (Jelmer Vernooij, #1169)
  82. * Deprecate ``dulwich.objects.parse_commit``.
  83. * Fix fetching into MemoryRepo. (Jelmer Vernooij, #1157)
  84. * Support ``init.defaultBranch`` config.
  85. (Jelmer Vernooij)
  86. * Fix ``ObjectStore.iterobjects_subset()`` when
  87. hex shas are passed for objects that live in packs.
  88. (Jelmer Vernooij, #1166)
  89. * client: Handle absolute path as redirect location in HTTP client.
  90. (Antoine Lambert)
  91. 0.21.3 2023-02-17
  92. * Add support for ``worktreeconfig`` extension.
  93. (Jelmer Vernooij)
  94. * Deprecate ``Commit.extra``; the Git project specifically
  95. discourages adding custom lines, and the contents of
  96. ``Commit.extra`` are unpredictable as contents
  97. may be different between different versions of Dulwich
  98. with support for different headers.
  99. ``Commit._extra`` still exists.
  100. (Jelmer Vernooij)
  101. 0.21.2 2023-01-18
  102. * Fix early file close bug in ``dulwich.pack.extend_pack``.
  103. (Jelmer Vernooij)
  104. 0.21.1 2023-01-17
  105. * Factor out ``dulwich.pack.extend_pack``.
  106. (Jelmer Vernooij)
  107. 0.21.0 2023-01-16
  108. * Pack internals have been significantly refactored, including
  109. significant low-level API changes.
  110. As a consequence of this, Dulwich now reuses pack deltas
  111. when communicating with remote servers, which brings a
  112. big boost to network performance.
  113. (Jelmer Vernooij)
  114. * Add 'pack-refs' command.
  115. (Dan Villiom Podlaski Christiansen)
  116. * Handle more errors when trying to read a ref
  117. (Dan Villiom Podlaski Christiansen)
  118. * Allow for reuse of existing deltas while creating pack files
  119. (Stefan Sperling)
  120. * cli: fix argument parsing for pack-objects --stdout
  121. (Stefan Sperling)
  122. * cli: open pack-objects output files in binary mode to avoid write() error
  123. (Stefan Sperling)
  124. * Bump minimum python version to 3.7. (Jelmer Vernooij)
  125. * honor no_proxy environment variable (#1098, afaul)
  126. * In HTTP Git Client, allow missing Content-Type.
  127. (Jelmer Vernooij)
  128. * Fix --pure builds (Jelmer Vernooij, #1093)
  129. * Allow passing abbrev to describe (#1084, Seppo Yli-Olli)
  130. 0.20.50 2022-10-30
  131. * Add --deltify option to ``dulwich pack-objects`` which enables
  132. deltification, and add initial support for reusing suitable
  133. deltas found in an existing pack file.
  134. (Stefan Sperling)
  135. * Fix Repo.reset_index.
  136. Previously, it instead took the union with the given tree.
  137. (Christian Sattler, #1072)
  138. * Add -b argument to ``dulwich clone``.
  139. (Jelmer Vernooij)
  140. * On Windows, provide a hint about developer mode
  141. when creating symlinks fails due to a permission
  142. error. (Jelmer Vernooij, #1005)
  143. * Add new ``ObjectID`` type in ``dulwich.objects``,
  144. currently just an alias for ``bytes``.
  145. (Jelmer Vernooij)
  146. * Support repository format version 1.
  147. (Jelmer Vernooij, #1056)
  148. * Support \r\n line endings with continuations when parsing
  149. configuration files. (Jelmer Vernooij)
  150. * Fix handling of SymrefLoop in RefsContainer.__setitem__.
  151. (Dominic Davis-Foster, Jelmer Vernooij)
  152. 0.20.46 2022-09-06
  153. * Apply insteadOf to rsync-style location strings
  154. (previously it was just applied to URLs).
  155. (Jelmer Vernooij, python-poetry/poetry#6329)
  156. * Drop use of certifi, instead relying on urllib3's default
  157. code to find system CAs. (Jelmer Vernooij, #1025)
  158. * Implement timezone parsing in porcelain.
  159. (springheeledjack0, #1026)
  160. * Drop support for running without setuptools.
  161. (Jelmer Vernooij)
  162. * Ensure configuration is loaded when
  163. running "dulwich clone".
  164. (Jelmer Vernooij)
  165. * Build 32 bit wheels for Windows.
  166. (Benjamin Parzella)
  167. * tests: Ignore errors when deleting GNUPG
  168. home directory. Fixes spurious errors racing
  169. gnupg-agent. Thanks, Matěj Cepl. Fixes #1000
  170. * config: Support closing brackets in quotes in section
  171. names. (Jelmer Vernooij, #10124)
  172. * Various and formatting fixes. (Kian-Meng Ang)
  173. * Document basic authentication in dulwich.porcelain.clone.
  174. (TuringTux)
  175. * Flush before calling fsync, ensuring buffers
  176. are filled. (wernha)
  177. * Support GPG commit signing. (springheeledjack0)
  178. * Add python 3.11 support. (Saugat Pachhai)
  179. * Allow missing GPG during tests. (Jakub Kulík)
  180. * status: return posix-style untracked paths instead of nt-style paths on
  181. win32 (Daniele Trifirò)
  182. * Honour PATH environment when running C Git for testing.
  183. (Stefan Sperling)
  184. * Split out exception for symbolic reference loops.
  185. (Jelmer Vernooij)
  186. * Move various long-deprecated methods.
  187. (Jelmer Vernooij)
  188. 0.20.45 2022-07-15
  189. * Add basic ``dulwich.porcelain.submodule_list`` and ``dulwich.porcelain.submodule_add``
  190. (Jelmer Vernooij)
  191. 0.20.44 2022-06-30
  192. * Fix reading of chunks in server. (Jelmer Vernooij, #977)
  193. * Support applying of URL rewriting using ``insteadOf`` / ``pushInsteadOf``.
  194. (Jelmer Vernooij, #706)
  195. 0.20.43 2022-06-07
  196. * Lazily import url2pathname.
  197. (Jelmer Vernooij)
  198. * Drop caching of full HTTP response. Attempt #2.
  199. (jelmer Vernooij, Antoine Lambert, #966)
  200. 0.20.42 2022-05-24
  201. * Drop ``RefsContainer.watch`` that was always flaky.
  202. (Jelmer Vernooij, #886)
  203. 0.20.41 2022-05-24
  204. * Fix wheel uploading, properly. (Ruslan Kuprieiev)
  205. 0.20.40 2022-05-19
  206. * Fix wheel uploading. (Daniele Trifirò, Jelmer Vernooij)
  207. 0.20.39 2022-05-19
  208. 0.20.38 2022-05-17
  209. * Disable paramiko tests if paramiko is not available. (Michał Górny)
  210. * Set flag to re-enable paramiko server side on gentoo for running paramiko
  211. tests. (Michał Górny)
  212. * Increase tolerance when comparing time stamps; fixes some
  213. spurious test failures on slow CI systems. (Jelmer Vernooij)
  214. * Revert removal of caching of full HTTP response. This breaks
  215. access to some HTTP servers.
  216. (Jelmer Vernooij)
  217. 0.20.37 2022-05-16
  218. * Avoid making an extra copy when fetching pack files.
  219. (Jelmer Vernooij)
  220. * Add ``porcelain.remote_remove``.
  221. (Jelmer Vernooij, #923)
  222. 0.20.36 2022-05-15
  223. * Add ``walk_untracked`` argument to ``porcelain.status``.
  224. (Daniele Trifirò)
  225. * Add tests for paramiko SSH Vendor.
  226. (Filipp Frizzy)
  227. 0.20.35 2022-03-20
  228. * Document the ``path`` attribute for ``Repo``.
  229. (Jelmer Vernooij, #854)
  230. 0.20.34 2022-03-14
  231. * Add support for multivars in configuration.
  232. (Jelmer Vernooij, #718)
  233. 0.20.33 2022-03-05
  234. * Fix handling of escaped characters in ignore patterns.
  235. (Jelmer Vernooij, #930)
  236. * Add ``dulwich.contrib.requests_vendor``. (epopcon)
  237. * Ensure git config is available in a linked working tree.
  238. (Jesse Cureton, #926)
  239. 0.20.32 2022-01-24
  240. * Properly close result repository during test.
  241. (Jelmer Vernooij, #928)
  242. 0.20.31 2022-01-21
  243. * Add GitClient.clone(). (Jelmer Vernooij, #920)
  244. 0.20.30 2022-01-08
  245. 0.20.29 2022-01-08
  246. * Support staging submodules.
  247. (Jelmer Vernooij)
  248. * Drop deprecated Index.iterblobs and iter_fresh_blobs.
  249. (Jelmer Vernooij)
  250. * Unify clone behaviour of ``Repo.clone`` and
  251. ``porcelain.clone``, and add branch parameter for
  252. clone. (Peter Rowlands, #851)
  253. 0.20.28 2022-01-05
  254. * Fix hook test on Mac OSX / Linux when dulwich is
  255. not installed system-wide. (Jelmer Vernooij, #919)
  256. * Cope with gecos being unset.
  257. (Jelmer Vernooij, #917)
  258. 0.20.27 2022-01-04
  259. * Allow adding files to repository in pre-commit hook.
  260. (Jelmer Vernooij, #916)
  261. * Raise SubmoduleEncountered in ``tree_lookup_path``.
  262. (Jelmer Vernooij)
  263. 0.20.26 2021-10-29
  264. * Support os.PathLike arguments to Repo.stage().
  265. (Jan Wiśniewski, #907)
  266. * Drop support for Python 3.5. (Jelmer Vernooij)
  267. * Add ``dulwich.porcelain._reset_file``.
  268. (Ded_Secer)
  269. * Add ``Repo.unstage``. (Ded_Secer)
  270. 0.20.25 2021-08-23
  271. * Fix ``dulwich`` script when installed via setup.py.
  272. (Dan Villiom Podlaski Christiansen)
  273. * Make default file mask consistent
  274. with Git. (Dan Villiom Podlaski Christiansen, #884)
  275. 0.20.24 2021-07-18
  276. * config: disregard UTF-8 BOM when reading file.
  277. (Dan Villiom Podlaski Christiansen)
  278. * Skip lines with spaces only in .gitignore. (Andrey Torsunov, #878)
  279. * Add a separate HTTPProxyUnauthorized exception for 407 errors.
  280. (Jelmer Vernooij, #822)
  281. * Split out a AbstractHTTPGitClient class.
  282. (Jelmer Vernooij)
  283. 0.20.23 2021-05-24
  284. * Fix installation of GPG during package publishing.
  285. (Ruslan Kuprieiev)
  286. 0.20.22 2021-05-24
  287. * Prevent removal of refs directory when the last ref is
  288. deleted. (Jelmer Vernooij)
  289. * Fix filename: MERGE_HEADS => MERGE_HEAD.
  290. (Jelmer Vernooij, #861)
  291. * For ignored directories, porcelain.add and porcelain.status now only return
  292. the path to directory itself in the list of ignored paths. Previously, paths
  293. for all files within the directory would also be included in the list.
  294. (Peter Rowlands, #853)
  295. * Provide depth argument to ``determine_wants``.
  296. (Peter Rowlands)
  297. * Various tag signature handling improvements.
  298. (Daniel Murphy)
  299. * Add separate Tag.verify(). (Peter Rowlands)
  300. * Add support for version 3 index files. (Jelmer Vernooij)
  301. * Fix autocrlf=input handling. (Peter Rowlands, Boris Feld)
  302. * Attempt to find C Git global config on Windows.
  303. (Peter Rowlands)
  304. API CHANGES
  305. * The APIs for writing and reading individual index entries have changed
  306. to handle lists of (name, entry) tuples rather than tuples.
  307. 0.20.21 2021-03-20
  308. * Add basic support for a GcsObjectStore that stores
  309. pack files in gcs. (Jelmer Vernooij)
  310. * In porcelain.push, default to local active branch.
  311. (Jelmer Vernooij, #846)
  312. * Support fetching symrefs.
  313. (Jelmer Vernooij, #485, #847)
  314. * Add aarch64 wheel building.
  315. (odidev, Jelmer Vernooij)
  316. 0.20.20 2021-03-03
  317. * Implement ``Stash.drop``. (Peter Rowlands)
  318. * Support untracked symlinks to paths outside the
  319. repository. (Peter Rowlands, #842)
  320. 0.20.19 2021-02-11
  321. * Fix handling of negative matches in nested gitignores.
  322. (Corentin Hembise, #836)
  323. 0.20.18 2021-02-04
  324. * Fix formatting in setup.py. (Jelmer Vernooij)
  325. * Add release configuration. (Jelmer Vernooij)
  326. 0.20.17 2021-02-04
  327. * credentials: ignore end-of-line character. (Georges Racinet)
  328. * Fix failure in get_untracked_paths when the repository contains symlinks.
  329. (#830, #793, mattseddon)
  330. * docs: Clarify that Git objects are created on `git add`.
  331. (Utku Gultopu)
  332. 0.20.16 2021-01-16
  333. * Add flag to only attempt to fetch ignored untracked files when specifically requested.
  334. (Matt Seddon)
  335. 0.20.15 2020-12-23
  336. * Add some functions for parsing and writing bundles.
  337. (Jelmer Vernooij)
  338. * Add ``no_verify`` flag to ``porcelain.commit`` and ``Repo.do_commit``.
  339. (Peter Rowlands)
  340. * Remove dependency on external mock module.
  341. (Matěj Cepl, #820)
  342. 0.20.14 2020-11-26
  343. * Fix some stash functions on Python 3. (Peter Rowlands)
  344. * Fix handling of relative paths in alternates files on Python 3.
  345. (Georges Racinet)
  346. 0.20.13 2020-11-22
  347. * Add py.typed to allow type checking. (David Caro)
  348. * Add tests demonstrating a bug in the walker code.
  349. (Doug Hellman)
  350. 0.20.11 2020-10-30
  351. * Fix wheels build on Linux. (Ruslan Kuprieiev)
  352. * Enable wheels build for Python 3.9 on Linux. (Jelmer Vernooij)
  353. 0.20.8 2020-10-29
  354. * Build wheels on Mac OS X / Windows for Python 3.9.
  355. (Jelmer Vernooij)
  356. 0.20.7 2020-10-29
  357. * Check core.repositoryformatversion. (Jelmer Vernooij, #803)
  358. * Fix ACK/NACK handling in archive command handling in dulwich.client.
  359. (DzmitrySudnik, #805)
  360. 0.20.6 2020-08-29
  361. * Add a ``RefsContainer.watch`` interface.
  362. (Jelmer Vernooij, #751)
  363. * Fix pushing of new branches from porcelain.push.
  364. (Jelmer Vernooij, #788)
  365. * Honor shallows when pushing from a shallow clone.
  366. (Jelmer Vernooij, #794)
  367. * Fix porcelain.path_to_tree_path for Python 3.5.
  368. (Boris Feld, #777)
  369. * Add support for honor proxy environment variables for HTTP.
  370. (Aurélien Campéas, #797)
  371. 0.20.5 2020-06-22
  372. * Print a clearer exception when setup.py is executed on Python < 3.5.
  373. (Jelmer Vernooij, #783)
  374. * Send an empty pack to clients if they requested objects, even if they
  375. already have those objects. Thanks to Martijn Pieters for
  376. the detailed bug report. (Jelmer Vernooij, #781)
  377. * porcelain.pull: Don't ask for objects that we already have.
  378. (Jelmer Vernooij, #782)
  379. * Add LCA implementation. (Kevin Hendricks)
  380. * Add functionality for finding the merge base. (Kevin Hendricks)
  381. * Check for diverged branches during push.
  382. (Jelmer Vernooij, #494)
  383. * Check for fast-forward during pull. (Jelmer Vernooij, #666)
  384. * Return a SendPackResult object from
  385. GitClient.send_pack(). (Jelmer Vernooij)
  386. * ``GitClient.send_pack`` now sets the ``ref_status`` attribute
  387. on its return value to a dictionary mapping ref names
  388. to error messages. Previously, it raised UpdateRefsError
  389. if any of the refs failed to update.
  390. (Jelmer Vernooij, #780)
  391. * Add a ``porcelain.Error`` object that most errors in porcelain
  392. derive from. (Jelmer Vernooij)
  393. * Fix argument parsing in dulwich command-line app.
  394. (Jelmer Vernooij, #784)
  395. 0.20.3 2020-06-14
  396. * Add support for remembering remote refs after push/pull.
  397. (Jelmer Vernooij, #752)
  398. * Support passing tree and output encoding to
  399. dulwich.patch.unified_diff. (Jelmer Vernooij, #763)
  400. * Fix pushing of new refs over HTTP(S) when there are
  401. no new objects to be sent.
  402. (Jelmer Vernooij, #739)
  403. * Raise new error HTTPUnauthorized when the server sends
  404. back a 401. The client can then retry with credentials.
  405. (Jelmer Vernooij, #691)
  406. * Move the guts of bin/dulwich to dulwich.cli, so it is easier to
  407. test or import. (Jelmer Vernooij)
  408. * Install dulwich script from entry_points when setuptools is available,
  409. making it slightly easier to use on Windows. (Jelmer Vernooij, #540)
  410. * Set python_requires>=3.5 in setup.py. (Manuel Jacob)
  411. 0.20.2 2020-06-01
  412. * Brown bag release to fix uploads of Windows wheels.
  413. 0.20.1 2020-06-01
  414. * Publish binary wheels for: Windows, Linux, Mac OS X.
  415. (Jelmer Vernooij, #711, #710, #629)
  416. 0.20.0 2020-06-01
  417. * Drop support for Python 2. (Jelmer Vernooij)
  418. * Only return files from the loose store that look like git objects.
  419. (Nicolas Dandrimont)
  420. * Ignore agent= capability if sent by client.
  421. (Jelmer Vernooij)
  422. * Don't break when encountering block devices.
  423. (Jelmer Vernooij)
  424. * Decode URL paths in HttpGitClient using utf-8 rather than file system
  425. encoding. (Manuel Jacob)
  426. * Fix pushing from a shallow clone.
  427. (Brecht Machiels, #705)
  428. 0.19.16 2020-04-17
  429. * Don't send "deepen None" to server if graph walker
  430. supports shallow. (Jelmer Vernooij, #747)
  431. * Support tweaking the compression level for
  432. loose objects through the "core.looseCompression" and
  433. "core.compression" settings. (Jelmer Vernooij)
  434. * Support tweaking the compression level for
  435. pack objects through the "core.packCompression" and
  436. "core.compression" settings. (Jelmer Vernooij)
  437. * Add a "dulwich.contrib.diffstat" module.
  438. (Kevin Hendricks)
  439. 0.19.15 2020-01-26
  440. * Properly handle files that are just executable for the
  441. current user. (Jelmer Vernooij, #734)
  442. * Fix handling of stored encoding in
  443. ``dulwich.porcelain.get_object_by_path`` on Python 3.
  444. (Jelmer Vernooij)
  445. * Support the include_trees and rename_detector arguments
  446. at the same time when diffing trees.
  447. (Jelmer Vernooij)
  448. 0.19.14 2019-11-30
  449. * Strip superfluous <> around email. (monnerat)
  450. * Stop checking for ref validity client-side. Users can
  451. still call check_wants manually. (Jelmer Vernooij)
  452. * Switch over to Google-style docstrings.
  453. (Jelmer Vernooij)
  454. * Add a ``dulwich.porcelain.active_branch`` function.
  455. (Jelmer Vernooij)
  456. * Cleanup new directory if clone fails. (Jelmer Vernooij, #733)
  457. * Expand "~" in global exclude path. (Jelmer Vernooij)
  458. 0.19.13 2019-08-19
  459. BUG FIXES
  460. * Avoid ``PermissionError``, since it is Python3-specific.
  461. (Jelmer Vernooij)
  462. * Fix regression that added a dependency on C git for the
  463. test suite. (Jelmer Vernooij, #720)
  464. * Fix compatibility with Python 3.8 - mostly deprecation warnings.
  465. (Jelmer Vernooij)
  466. 0.19.12 2019-08-13
  467. BUG FIXES
  468. * Update directory detection for `get_unstaged_changes` for Python 3.
  469. (Boris Feld, #684)
  470. * Add a basic ``porcelain.clean``. (Lane Barlow, #398)
  471. * Fix output format of ``porcelain.diff`` to match that of
  472. C Git. (Boris Feld)
  473. * Return a 404 not found error when repository is not found.
  474. * Mark ``.git`` directories as hidden on Windows.
  475. (Martin Packman, #585)
  476. * Implement ``RefsContainer.__iter__``
  477. (Jelmer Vernooij, #717)
  478. * Don't trust modes if they can't be modified after a file has been created.
  479. (Jelmer Vernooij, #719)
  480. 0.19.11 2019-02-07
  481. IMPROVEMENTS
  482. * Use fullname from gecos field, if available.
  483. (Jelmer Vernooij)
  484. * Support ``GIT_AUTHOR_NAME`` / ``GIT_AUTHOR_EMAIL``.
  485. (Jelmer Vernooij)
  486. * Add support for short ids in parse_commit. (Jelmer Vernooij)
  487. * Add support for ``prune`` and ``prune_tags`` arguments
  488. to ``porcelain.fetch``. (Jelmer Vernooij, #681)
  489. BUG FIXES
  490. * Fix handling of race conditions when new packs appear.
  491. (Jelmer Vernooij)
  492. 0.19.10 2018-01-15
  493. IMPROVEMENTS
  494. * Add `dulwich.porcelain.write_tree`.
  495. (Jelmer Vernooij)
  496. * Support reading ``MERGE_HEADS`` in ``Repo.do_commit``.
  497. (Jelmer Vernooij)
  498. * Import from ``collections.abc`` rather than ``collections`` where
  499. applicable. Required for 3.8 compatibility.
  500. (Jelmer Vernooij)
  501. * Support plain strings as refspec arguments to
  502. ``dulwich.porcelain.push``. (Jelmer Vernooij)
  503. * Add support for creating signed tags.
  504. (Jelmer Vernooij, #542)
  505. BUG FIXES
  506. * Handle invalid ref that pretends to be a sub-folder under a valid ref.
  507. (KS Chan)
  508. 0.19.9 2018-11-17
  509. BUG FIXES
  510. * Avoid fetching ghosts in ``Repo.fetch``.
  511. (Jelmer Vernooij)
  512. * Preserve port and username in parsed HTTP URLs.
  513. (Jelmer Vernooij)
  514. * Add basic server side implementation of ``git-upload-archive``.
  515. (Jelmer Vernooij)
  516. 0.19.8 2018-11-06
  517. * Fix encoding when reading README file in setup.py.
  518. (egor <egor@sourced.tech>, #668)
  519. 0.19.7 2018-11-05
  520. CHANGES
  521. * Drop support for Python 3 < 3.4. This is because
  522. pkg_resources (which get used by setuptools and mock)
  523. no longer supports 3.3 and earlier. (Jelmer Vernooij)
  524. IMPROVEMENTS
  525. * Support ``depth`` argument to ``GitClient.fetch_pack`` and support
  526. fetching and updating shallow metadata. (Jelmer Vernooij, #240)
  527. BUG FIXES
  528. * Don't write to stdout and stderr when they are not available
  529. (such as is the case for pythonw). (Sylvia van Os, #652)
  530. * Fix compatibility with newer versions of git, which expect CONTENT_LENGTH
  531. to be set to 0 for empty body requests. (Jelmer Vernooij, #657)
  532. * Raise an exception client-side when a caller tries to request
  533. SHAs that are not directly referenced the servers' refs.
  534. (Jelmer Vernooij)
  535. * Raise more informative errors when unable to connect to repository
  536. over SSH or subprocess. (Jelmer Vernooij)
  537. * Handle commit identity fields with multiple ">" characters.
  538. (Nicolas Dandrimont)
  539. IMPROVEMENTS
  540. * ``dulwich.porcelain.get_object_by_path`` method for easily
  541. accessing a path in another tree. (Jelmer Vernooij)
  542. * Support the ``i18n.commitEncoding`` setting in config.
  543. (Jelmer Vernooij)
  544. 0.19.6 2018-08-11
  545. BUG FIXES
  546. * Fix support for custom transport arguments in ``dulwich.porcelain.clone``.
  547. (Semyon Slepov)
  548. * Fix compatibility with Python 3.8 (Jelmer Vernooij, Daniel M. Capella)
  549. * Fix some corner cases in ``path_to_tree_path``. (Romain Keramitas)
  550. * Support paths as bytestrings in various places in ``dulwich.index``
  551. (Jelmer Vernooij)
  552. * Avoid setup.cfg for now, since it seems to break pypi metadata.
  553. (Jelmer Vernooij, #658)
  554. 0.19.5 2018-07-08
  555. IMPROVEMENTS
  556. * Add ``porcelain.describe``. (Sylvia van Os)
  557. BUG FIXES
  558. * Fix regression in ``dulwich.porcelain.clone`` that prevented cloning
  559. of remote repositories. (Jelmer Vernooij, #639)
  560. * Don't leave around empty parent directories for removed refs.
  561. (Damien Tournoud, #640)
  562. 0.19.4 2018-06-24
  563. IMPROVEMENTS
  564. * Add ``porcelain.ls_files``. (Jelmer Vernooij)
  565. * Add ``Index.items``. (Jelmer Vernooij)
  566. BUG FIXES
  567. * Avoid unicode characters (e.g. the digraph ij in my surname) in setup.cfg,
  568. since setuptools doesn't deal well with them. See
  569. https://github.com/pypa/setuptools/issues/1062. (Jelmer Vernooij, #637)
  570. 0.19.3 2018-06-17
  571. IMPROVEMENTS
  572. * Add really basic `dulwich.porcelain.fsck` implementation.
  573. (Jelmer Vernooij)
  574. * When the `DULWICH_PDB` environment variable is set, make
  575. SIGQUIT open pdb in the 'dulwich' command.
  576. * Add `checkout` argument to `Repo.clone`.
  577. (Jelmer Vernooij, #503)
  578. * Add `Repo.get_shallow` method. (Jelmer Vernooij)
  579. * Add basic `dulwich.stash` module. (Jelmer Vernooij)
  580. * Support a `prefix` argument to `dulwich.archive.tar_stream`.
  581. (Jelmer Vernooij)
  582. BUG FIXES
  583. * Fix handling of encoding for tags. (Jelmer Vernooij, #608)
  584. * Fix tutorial tests on Python 3. (Jelmer Vernooij, #573)
  585. * Fix remote refs created by `porcelain.fetch`. (Daniel Andersson, #623)
  586. * More robust pack creation on Windows. (Daniel Andersson)
  587. * Fix recursive option for `porcelain.ls_tree`. (Romain Keramitas)
  588. TESTS
  589. * Some improvements to paramiko tests. (Filipp Frizzy)
  590. 0.19.2 2018-04-07
  591. BUG FIXES
  592. * Fix deprecated Index.iterblobs method.
  593. (Jelmer Vernooij)
  594. 0.19.1 2018-04-05
  595. IMPROVEMENTS
  596. * Add 'dulwich.mailmap' file for reading mailmap files.
  597. (Jelmer Vernooij)
  598. * Dulwich no longer depends on urllib3[secure]. Instead,
  599. "dulwich[https]" can be used to pull in the necessary
  600. dependencies for HTTPS support. (Jelmer Vernooij, #616)
  601. * Support the `http.sslVerify` and `http.sslCAInfo`
  602. configuration options. (Jelmer Vernooij)
  603. * Factor out `dulwich.client.parse_rsync_url` function.
  604. (Jelmer Vernooij)
  605. * Fix repeat HTTP requests using the same smart HTTP client.
  606. (Jelmer Vernooij)
  607. * New 'client.PLinkSSHVendor' for creating connections using PuTTY's plink.exe.
  608. (Adam Bradley, Filipp Frizzy)
  609. * Only pass in `key_filename` and `password` to SSHVendor
  610. implementations if those parameters are set.
  611. (This helps with older SSHVendor implementations)
  612. (Jelmer Vernooij)
  613. API CHANGES
  614. * Index.iterblobs has been renamed to Index.iterobjects.
  615. (Jelmer Vernooij)
  616. 0.19.0 2018-03-10
  617. BUG FIXES
  618. * Make `dulwich.archive` set the gzip header file modification time so that
  619. archives created from the same Git tree are always identical.
  620. (#577, Jonas Haag)
  621. * Allow comment characters (#, ;) within configuration file strings
  622. (Daniel Andersson, #579)
  623. * Raise exception when passing in invalid author/committer values
  624. to Repo.do_commit(). (Jelmer Vernooij, #602)
  625. IMPROVEMENTS
  626. * Add a fastimport ``extra``. (Jelmer Vernooij)
  627. * Start writing reflog entries. (Jelmer Vernooij)
  628. * Add ability to use password and keyfile ssh options with SSHVendor. (Filipp Kucheryavy)
  629. * Add ``change_type_same`` flag to ``tree_changes``.
  630. (Jelmer Vernooij)
  631. API CHANGES
  632. * ``GitClient.send_pack`` now accepts a ``generate_pack_data``
  633. rather than a ``generate_pack_contents`` function for
  634. performance reasons. (Jelmer Vernooij)
  635. * Dulwich now uses urllib3 internally for HTTP requests.
  636. The `opener` argument to `dulwich.client.HttpGitClient` that took a
  637. `urllib2` opener instance has been replaced by a `pool_manager` argument
  638. that takes a `urllib3` pool manager instance.
  639. (Daniel Andersson)
  640. 0.18.6 2017-11-11
  641. BUG FIXES
  642. * Fix handling of empty repositories in ``porcelain.clone``.
  643. (#570, Jelmer Vernooij)
  644. * Raise an error when attempting to add paths that are not under the
  645. repository. (Jelmer Vernooij)
  646. * Fix error message for missing trailing ]. (Daniel Andersson)
  647. * Raise EmptyFileException when corruption (in the form of an empty
  648. file) is detected. (Antoine R. Dumont, #582)
  649. IMPROVEMENTS
  650. * Enforce date field parsing consistency. This also add checks on
  651. those date fields for potential overflow.
  652. (Antoine R. Dumont, #567)
  653. 0.18.5 2017-10-29
  654. BUG FIXES
  655. * Fix cwd for hooks. (Fabian Grünbichler)
  656. * Fix setting of origin in config when non-standard origin is passed into
  657. ``Repo.clone``. (Kenneth Lareau, #565)
  658. * Prevent setting SSH arguments from SSH URLs when using SSH through a
  659. subprocess. Note that Dulwich doesn't support cloning submodules.
  660. (CVE-2017-16228) (Jelmer Vernooij)
  661. IMPROVEMENTS
  662. * Silently ignored directories in ``Repo.stage``.
  663. (Jelmer Vernooij, #564)
  664. API CHANGES
  665. * GitFile now raises ``FileLocked`` when encountering a lock
  666. rather than OSError(EEXIST). (Jelmer Vernooij)
  667. 0.18.4 2017-10-01
  668. BUG FIXES
  669. * Make default User-Agent start with "git/" because GitHub won't response to
  670. HTTP smart server requests otherwise (and reply with a 404).
  671. (Jelmer vernooij, #562)
  672. 0.18.3 2017-09-03
  673. BUG FIXES
  674. * Read config during porcelain operations that involve remotes.
  675. (Jelmer Vernooij, #545)
  676. * Fix headers of empty chunks in unified diffs. (Taras Postument, #543)
  677. * Properly follow redirects over HTTP. (Jelmer Vernooij, #117)
  678. IMPROVEMENTS
  679. * Add ``dulwich.porcelain.update_head``. (Jelmer Vernooij, #439)
  680. * ``GitClient.fetch_pack`` now returns symrefs.
  681. (Jelmer Vernooij, #485)
  682. * The server now supports providing symrefs.
  683. (Jelmer Vernooij, #485)
  684. * Add ``dulwich.object_store.commit_tree_changes`` to incrementally
  685. commit changes to a tree structure. (Jelmer Vernooij)
  686. * Add basic ``PackBasedObjectStore.repack`` method.
  687. (Jelmer Vernooij, Earl Chew, #296, #549, #552)
  688. 0.18.2 2017-08-01
  689. TEST FIXES
  690. * Use constant timestamp so tests pass in all timezones, not just BST.
  691. (Jelmer Vernooij)
  692. 0.18.1 2017-07-31
  693. BUG FIXES
  694. * Fix syntax error in dulwich.contrib.test_swift_smoke.
  695. (Jelmer Vernooij)
  696. 0.18.0 2017-07-31
  697. BUG FIXES
  698. * Fix remaining tests on Windows. (Jelmer Vernooij, #493)
  699. * Fix build of C extensions with Python 3 on Windows.
  700. (Jelmer Vernooij)
  701. * Pass 'mkdir' argument onto Repo.init_bare in Repo.clone.
  702. (Jelmer Vernooij, #504)
  703. * In ``dulwich.porcelain.add``, if no files are specified,
  704. add from current working directory rather than repository root.
  705. (Jelmer Vernooij, #521)
  706. * Properly deal with submodules in 'porcelain.status'.
  707. (Jelmer Vernooij, #517)
  708. * ``dulwich.porcelain.remove`` now actually removes files from
  709. disk, not just from the index. (Jelmer Vernooij, #488)
  710. * Fix handling of "reset" command with markers and without
  711. "from". (Antoine Pietri)
  712. * Fix handling of "merge" command with markers. (Antoine Pietri)
  713. * Support treeish argument to porcelain.reset(), rather than
  714. requiring a ref/commit id. (Jelmer Vernooij)
  715. * Handle race condition when mtime doesn't change between writes/reads.
  716. (Jelmer Vernooij, #541)
  717. * Fix ``dulwich.porcelain.show`` on commits with Python 3.
  718. (Jelmer Vernooij, #532)
  719. IMPROVEMENTS
  720. * Add basic support for reading ignore files in ``dulwich.ignore``.
  721. ``dulwich.porcelain.add`` and ``dulwich.porcelain.status`` now honor
  722. ignores. (Jelmer Vernooij, Segev Finer, #524, #526)
  723. * New ``dulwich.porcelain.check_ignore`` command.
  724. (Jelmer Vernooij)
  725. * ``dulwich.porcelain.status`` now supports a ``ignored`` argument.
  726. (Jelmer Vernooij)
  727. DOCUMENTATION
  728. * Clarified docstrings for Client.{send_pack,fetch_pack} implementations.
  729. (Jelmer Vernooij, #523)
  730. 0.17.3 2017-03-20
  731. PLATFORM SUPPORT
  732. * List Python 3.3 as supported. (Jelmer Vernooij, #513)
  733. BUG FIXES
  734. * Fix compatibility with pypy 3. (Jelmer Vernooij)
  735. 0.17.2 2017-03-19
  736. BUG FIXES
  737. * Add workaround for
  738. https://bitbucket.org/pypy/pypy/issues/2499/cpyext-pystring_asstring-doesnt-work,
  739. fixing Dulwich when used with C extensions on pypy < 5.6. (Victor Stinner)
  740. * Properly quote config values with a '#' character in them.
  741. (Jelmer Vernooij, #511)
  742. 0.17.1 2017-03-01
  743. IMPROVEMENTS
  744. * Add basic 'dulwich pull' command. (Jelmer Vernooij)
  745. BUG FIXES
  746. * Cope with existing submodules during pull.
  747. (Jelmer Vernooij, #505)
  748. 0.17.0 2017-03-01
  749. TEST FIXES
  750. * Skip test that requires sync to synchronize filesystems if os.sync is
  751. not available. (Koen Martens)
  752. IMPROVEMENTS
  753. * Implement MemoryRepo.{set_description,get_description}.
  754. (Jelmer Vernooij)
  755. * Raise exception in Repo.stage() when absolute paths are
  756. passed in. Allow passing in relative paths to
  757. porcelain.add().(Jelmer Vernooij)
  758. BUG FIXES
  759. * Handle multi-line quoted values in config files.
  760. (Jelmer Vernooij, #495)
  761. * Allow porcelain.clone of repository without HEAD.
  762. (Jelmer Vernooij, #501)
  763. * Support passing tag ids to Walker()'s include argument.
  764. (Jelmer Vernooij)
  765. * Don't strip trailing newlines from extra headers.
  766. (Nicolas Dandrimont)
  767. * Set bufsize=0 for subprocess interaction with SSH client.
  768. Fixes hangs on Python 3. (René Stern, #434)
  769. * Don't drop first slash for SSH paths, except for those
  770. starting with "~". (Jelmer Vernooij, René Stern, #463)
  771. * Properly log off after retrieving just refs.
  772. (Jelmer Vernooij)
  773. 0.16.3 2016-01-14
  774. TEST FIXES
  775. * Remove racy check that relies on clock time changing between writes.
  776. (Jelmer Vernooij)
  777. IMPROVEMENTS
  778. * Add porcelain.remote_add. (Jelmer Vernooij)
  779. 0.16.2 2016-01-14
  780. IMPROVEMENTS
  781. * Fixed failing test-cases on windows.
  782. (Koen Martens)
  783. API CHANGES
  784. * Repo is now a context manager, so that it can be easily
  785. closed using a ``with`` statement. (Søren Løvborg)
  786. TEST FIXES
  787. * Only run worktree list compat tests against git 2.7.0,
  788. when 'git worktree list' was introduced. (Jelmer Vernooij)
  789. BUG FIXES
  790. * Ignore filemode when building index when core.filemode
  791. is false.
  792. (Koen Martens)
  793. * Initialize core.filemode configuration setting by
  794. probing the filesystem for trustable permissions.
  795. (Koen Martens)
  796. * Fix ``porcelain.reset`` to respect the committish argument.
  797. (Koen Martens)
  798. * Fix dulwich.porcelain.ls_remote() on Python 3.
  799. (#471, Jelmer Vernooij)
  800. * Allow both unicode and byte strings for host paths
  801. in dulwich.client. (#435, Jelmer Vernooij)
  802. * Add remote from porcelain.clone. (#466, Jelmer Vernooij)
  803. * Fix unquoting of credentials before passing to urllib2.
  804. (#475, Volodymyr Holovko)
  805. * Cope with submodules in `build_index_from_tree`.
  806. (#477, Jelmer Vernooij)
  807. * Handle deleted files in `get_unstaged_changes`.
  808. (#483, Doug Hellmann)
  809. * Don't overwrite files when they haven't changed in
  810. `build_file_from_blob`.
  811. (#479, Benoît HERVIER)
  812. * Check for existence of index file before opening pack.
  813. Fixes a race when new packs are being added.
  814. (#482, wme)
  815. 0.16.1 2016-12-25
  816. BUG FIXES
  817. * Fix python3 compatibility for dulwich.contrib.release_robot.
  818. (Jelmer Vernooij)
  819. 0.16.0 2016-12-24
  820. IMPROVEMENTS
  821. * Add support for worktrees. See `git-worktree(1)` and
  822. `gitrepository-layout(5)`. (Laurent Rineau)
  823. * Add support for `commondir` file in Git control
  824. directories. (Laurent Rineau)
  825. * Add support for passwords in HTTP URLs.
  826. (Jon Bain, Mika Mäenpää)
  827. * Add `release_robot` script to contrib,
  828. allowing easy finding of current version based on Git tags.
  829. (Mark Mikofski)
  830. * Add ``Blob.splitlines`` method.
  831. (Jelmer Vernooij)
  832. BUG FIXES
  833. * Fix handling of ``Commit.tree`` being set to an actual
  834. tree object rather than a tree id. (Jelmer Vernooij)
  835. * Return remote refs from LocalGitClient.fetch_pack(),
  836. consistent with the documentation for that method.
  837. (#461, Jelmer Vernooij)
  838. * Fix handling of unknown URL schemes in get_transport_and_path.
  839. (#465, Jelmer Vernooij)
  840. 0.15.0 2016-10-09
  841. BUG FIXES
  842. * Allow missing trailing LF when reading service name from
  843. HTTP servers. (Jelmer Vernooij, Andrew Shadura, #442)
  844. * Fix dulwich.porcelain.pull() on Python3. (Jelmer Vernooij, #451)
  845. * Properly pull in tags during dulwich.porcelain.clone.
  846. (Jelmer Vernooij, #408)
  847. CHANGES
  848. * Changed license from "GNU General Public License, version 2.0 or later"
  849. to "Apache License, version 2.0 or later or GNU General Public License,
  850. version 2.0 or later". (#153)
  851. IMPROVEMENTS
  852. * Add ``dulwich.porcelain.ls_tree`` implementation. (Jelmer Vernooij)
  853. 0.14.1 2016-07-05
  854. BUG FIXES
  855. * Fix regression removing untouched refs when pushing over SSH.
  856. (Jelmer Vernooij #441)
  857. * Skip Python3 tests for SWIFT contrib module, as it has not yet
  858. been ported.
  859. 0.14.0 2016-07-03
  860. BUG FIXES
  861. * Fix ShaFile.id after modification of a copied ShaFile.
  862. (Félix Mattrat, Jelmer Vernooij)
  863. * Support removing refs from porcelain.push.
  864. (Jelmer Vernooij, #437)
  865. * Stop magic protocol ref `capabilities^{}` from leaking out
  866. to clients. (Jelmer Vernooij, #254)
  867. IMPROVEMENTS
  868. * Add `dulwich.config.parse_submodules` function.
  869. * Add `RefsContainer.follow` method. (#438)
  870. 0.13.0 2016-04-24
  871. IMPROVEMENTS
  872. * Support `ssh://` URLs in get_transport_and_path_from_url().
  873. (Jelmer Vernooij, #402)
  874. * Support missing empty line after headers in Git commits and tags.
  875. (Nicolas Dandrimont, #413)
  876. * Fix `dulwich.porcelain.status` when used in empty trees.
  877. (Jelmer Vernooij, #415)
  878. * Return copies of objects in MemoryObjectStore rather than
  879. references, making the behaviour more consistent with that of
  880. DiskObjectStore. (Félix Mattrat, Jelmer Vernooij)
  881. * Fix ``dulwich.web`` on Python3. (#295, Jonas Haag)
  882. CHANGES
  883. * Drop support for Python 2.6.
  884. * Fix python3 client web support. (Jelmer Vernooij)
  885. BUG FIXES
  886. * Fix hang on Gzip decompression. (Jonas Haag)
  887. * Don't rely on working tell() and seek() methods
  888. on wsgi.input. (Jonas Haag)
  889. * Support fastexport/fastimport functionality on python3 with newer
  890. versions of fastimport (>= 0.9.5). (Jelmer Vernooij, Félix Mattrat)
  891. 0.12.0 2015-12-13
  892. IMPROVEMENTS
  893. * Add a `dulwich.archive` module that can create tarballs.
  894. Based on code from Jonas Haag in klaus.
  895. * Add a `dulwich.reflog` module for reading and writing reflogs.
  896. (Jelmer Vernooij)
  897. * Fix handling of ambiguous refs in `parse_ref` to make
  898. it match the behaviour described in https://git-scm.com/docs/gitrevisions.
  899. (Chris Bunney)
  900. * Support Python3 in C modules. (Lele Gaifax)
  901. BUG FIXES
  902. * Simplify handling of SSH command invocation.
  903. Fixes quoting of paths. Thanks, Thomas Liebetraut. (#384)
  904. * Fix inconsistent handling of trailing slashes for DictRefsContainer. (#383)
  905. * Add hack to support thin packs duing fetch(), albeit while requiring the
  906. entire pack file to be loaded into memory. (jsbain)
  907. CHANGES
  908. * This will be the last release to support Python 2.6.
  909. 0.11.2 2015-09-18
  910. IMPROVEMENTS
  911. * Add support for agent= capability. (Jelmer Vernooij, #298)
  912. * Add support for quiet capability. (Jelmer Vernooij)
  913. CHANGES
  914. * The ParamikoSSHVendor class has been moved to
  915. * dulwich.contrib.paramiko_vendor, as it's currently untested.
  916. (Jelmer Vernooij, #364)
  917. 0.11.1 2015-09-13
  918. Fix-up release to exclude broken blame.py file.
  919. 0.11.0 2015-09-13
  920. IMPROVEMENTS
  921. * Extended Python3 support to most of the codebase.
  922. (Gary van der Merwe, Jelmer Vernooij)
  923. * The `Repo` object has a new `close` method that can be called to close any
  924. open resources. (Gary van der Merwe)
  925. * Support 'git.bat' in SubprocessGitClient on Windows.
  926. (Stefan Zimmermann)
  927. * Advertise 'ofs-delta' capability in receive-pack server side
  928. capabilities. (Jelmer Vernooij)
  929. * Switched `default_local_git_client_cls` to `LocalGitClient`.
  930. (Gary van der Merwe)
  931. * Add `porcelain.ls_remote` and `GitClient.get_refs`.
  932. (Michael Edgar)
  933. * Add `Repo.discover` method. (B. M. Corser)
  934. * Add `dulwich.objectspec.parse_refspec`. (Jelmer Vernooij)
  935. * Add `porcelain.pack_objects` and `porcelain.repack`.
  936. (Jelmer Vernooij)
  937. BUG FIXES
  938. * Fix handling of 'done' in graph walker and implement the
  939. 'no-done' capability. (Tommy Yu, #88)
  940. * Avoid recursion limit issues resolving deltas. (William Grant, #81)
  941. * Allow arguments in local client binary path overrides.
  942. (Jelmer Vernooij)
  943. * Fix handling of commands with arguments in paramiko SSH
  944. client. (Andreas Klöckner, Jelmer Vernooij, #363)
  945. * Fix parsing of quoted strings in configs. (Jelmer Vernooij, #305)
  946. 0.10.1 2015-03-25
  947. BUG FIXES
  948. * Return `ApplyDeltaError` when encountering delta errors
  949. in both C extensions and native delta application code.
  950. (Jelmer Vernooij, #259)
  951. 0.10.0 2015-03-22
  952. BUG FIXES
  953. * In dulwich.index.build_index_from_tree, by default
  954. refuse to create entries that start with .git/.
  955. (Jelmer Vernooij, CVE-2014-9706)
  956. * Fix running of testsuite when installed.
  957. (Jelmer Vernooij, #223)
  958. * Use a block cache in _find_content_rename_candidates(),
  959. improving performance. (Mike Williams)
  960. * Add support for ``core.protectNTFS`` setting.
  961. (Jelmer Vernooij)
  962. * Fix TypeError when fetching empty updates.
  963. (Hwee Miin Koh)
  964. * Resolve delta refs when pulling into a MemoryRepo.
  965. (Max Shawabkeh, #256)
  966. * Fix handling of tags of non-commits in missing object finder.
  967. (Augie Fackler, #211)
  968. * Explicitly disable mmap on plan9 where it doesn't work.
  969. (Jeff Sickel)
  970. IMPROVEMENTS
  971. * New public method `Repo.reset_index`. (Jelmer Vernooij)
  972. * Prevent duplicate parsing of loose files in objects
  973. directory when reading. Thanks to David Keijser for the
  974. report. (Jelmer Vernooij, #231)
  975. 0.9.9 2015-03-20
  976. SECURITY BUG FIXES
  977. * Fix buffer overflow in C implementation of pack apply_delta().
  978. (CVE-2015-0838)
  979. Thanks to Ivan Fratric of the Google Security Team for
  980. reporting this issue.
  981. (Jelmer Vernooij)
  982. 0.9.8 2014-11-30
  983. BUG FIXES
  984. * Various fixes to improve test suite running on Windows.
  985. (Gary van der Merwe)
  986. * Limit delta copy length to 64K in v2 pack files. (Robert Brown)
  987. * Strip newline from final ACKed SHA while fetching packs.
  988. (Michael Edgar)
  989. * Remove assignment to PyList_SIZE() that was causing segfaults on
  990. pypy. (Jelmer Vernooij, #196)
  991. IMPROVEMENTS
  992. * Add porcelain 'receive-pack' and 'upload-pack'. (Jelmer Vernooij)
  993. * Handle SIGINT signals in bin/dulwich. (Jelmer Vernooij)
  994. * Add 'status' support to bin/dulwich. (Jelmer Vernooij)
  995. * Add 'branch_create', 'branch_list', 'branch_delete' porcelain.
  996. (Jelmer Vernooij)
  997. * Add 'fetch' porcelain. (Jelmer Vernooij)
  998. * Add 'tag_delete' porcelain. (Jelmer Vernooij)
  999. * Add support for serializing/deserializing 'gpgsig' attributes in Commit.
  1000. (Jelmer Vernooij)
  1001. CHANGES
  1002. * dul-web is now available as 'dulwich web-daemon'.
  1003. (Jelmer Vernooij)
  1004. * dulwich.porcelain.tag has been renamed to tag_create.
  1005. dulwich.porcelain.list_tags has been renamed to tag_list.
  1006. (Jelmer Vernooij)
  1007. API CHANGES
  1008. * Restore support for Python 2.6. (Jelmer Vernooij, Gary van der Merwe)
  1009. 0.9.7 2014-06-08
  1010. BUG FIXES
  1011. * Fix tests dependent on hash ordering. (Michael Edgar)
  1012. * Support staging symbolic links in Repo.stage.
  1013. (Robert Brown)
  1014. * Ensure that all files object are closed when running the test suite.
  1015. (Gary van der Merwe)
  1016. * When writing OFS_DELTA pack entries, write correct offset.
  1017. (Augie Fackler)
  1018. * Fix handler of larger copy operations in packs. (Augie Fackler)
  1019. * Various fixes to improve test suite running on Windows.
  1020. (Gary van der Merwe)
  1021. * Fix logic for extra adds of identical files in rename detector.
  1022. (Robert Brown)
  1023. IMPROVEMENTS
  1024. * Add porcelain 'status'. (Ryan Faulkner)
  1025. * Add porcelain 'daemon'. (Jelmer Vernooij)
  1026. * Add `dulwich.greenthreads` module which provides support
  1027. for concurrency of some object store operations.
  1028. (Fabien Boucher)
  1029. * Various changes to improve compatibility with Python 3.
  1030. (Gary van der Merwe, Hannu Valtonen, michael-k)
  1031. * Add OpenStack Swift backed repository implementation
  1032. in dulwich.contrib. See README.swift for details. (Fabien Boucher)
  1033. API CHANGES
  1034. * An optional close function can be passed to the Protocol class. This will
  1035. be called by its close method. (Gary van der Merwe)
  1036. * All classes with close methods are now context managers, so that they can
  1037. be easily closed using a `with` statement. (Gary van der Merwe)
  1038. * Remove deprecated `num_objects` argument to `write_pack` methods.
  1039. (Jelmer Vernooij)
  1040. OTHER CHANGES
  1041. * The 'dul-daemon' script has been removed. The same functionality
  1042. is now available as 'dulwich daemon'. (Jelmer Vernooij)
  1043. 0.9.6 2014-04-23
  1044. IMPROVEMENTS
  1045. * Add support for recursive add in 'git add'.
  1046. (Ryan Faulkner, Jelmer Vernooij)
  1047. * Add porcelain 'list_tags'. (Ryan Faulkner)
  1048. * Add porcelain 'push'. (Ryan Faulkner)
  1049. * Add porcelain 'pull'. (Ryan Faulkner)
  1050. * Support 'http.proxy' in HttpGitClient.
  1051. (Jelmer Vernooij, #1096030)
  1052. * Support 'http.useragent' in HttpGitClient.
  1053. (Jelmer Vernooij)
  1054. * In server, wait for clients to send empty list of
  1055. wants when talking to empty repository.
  1056. (Damien Tournoud)
  1057. * Various changes to improve compatibility with
  1058. Python 3. (Gary van der Merwe)
  1059. BUG FIXES
  1060. * Support unseekable 'wsgi.input' streams.
  1061. (Jonas Haag)
  1062. * Raise TypeError when passing unicode() object
  1063. to Repo.__getitem__.
  1064. (Jonas Haag)
  1065. * Fix handling of `reset` command in dulwich.fastexport.
  1066. (Jelmer Vernooij, #1249029)
  1067. * In client, don't wait for server to close connection
  1068. first. Fixes hang when used against GitHub
  1069. server implementation. (Siddharth Agarwal)
  1070. * DeltaChainIterator: fix a corner case where an object is inflated as an
  1071. object already in the repository.
  1072. (Damien Tournoud, #135)
  1073. * Stop leaking file handles during pack reload. (Damien Tournoud)
  1074. * Avoid reopening packs during pack cache reload. (Jelmer Vernooij)
  1075. API CHANGES
  1076. * Drop support for Python 2.6. (Jelmer Vernooij)
  1077. 0.9.5 2014-02-23
  1078. IMPROVEMENTS
  1079. * Add porcelain 'tag'. (Ryan Faulkner)
  1080. * New module `dulwich.objectspec` for parsing strings referencing
  1081. objects and commit ranges. (Jelmer Vernooij)
  1082. * Add shallow branch support. (milki)
  1083. * Allow passing urllib2 `opener` into HttpGitClient.
  1084. (Dov Feldstern, #909037)
  1085. CHANGES
  1086. * Drop support for Python 2.4 and 2.5. (Jelmer Vernooij)
  1087. API CHANGES
  1088. * Remove long deprecated ``Repo.commit``, ``Repo.get_blob``,
  1089. ``Repo.tree`` and ``Repo.tag``. (Jelmer Vernooij)
  1090. * Remove long deprecated ``Repo.revision_history`` and ``Repo.ref``.
  1091. (Jelmer Vernooij)
  1092. * Remove long deprecated ``Tree.entries``. (Jelmer Vernooij)
  1093. BUG FIXES
  1094. * Raise KeyError rather than TypeError when passing in
  1095. unicode object of length 20 or 40 to Repo.__getitem__.
  1096. (Jelmer Vernooij)
  1097. * Use 'rm' rather than 'unlink' in tests, since the latter
  1098. does not exist on OpenBSD and other platforms.
  1099. (Dmitrij D. Czarkoff)
  1100. 0.9.4 2013-11-30
  1101. IMPROVEMENTS
  1102. * Add ssh_kwargs attribute to ParamikoSSHVendor. (milki)
  1103. * Add Repo.set_description(). (Víðir Valberg Guðmundsson)
  1104. * Add a basic `dulwich.porcelain` module. (Jelmer Vernooij, Marcin Kuzminski)
  1105. * Various performance improvements for object access.
  1106. (Jelmer Vernooij)
  1107. * New function `get_transport_and_path_from_url`,
  1108. similar to `get_transport_and_path` but only
  1109. supports URLs.
  1110. (Jelmer Vernooij)
  1111. * Add support for file:// URLs in `get_transport_and_path_from_url`.
  1112. (Jelmer Vernooij)
  1113. * Add LocalGitClient implementation.
  1114. (Jelmer Vernooij)
  1115. BUG FIXES
  1116. * Support filesystems with 64bit inode and device numbers.
  1117. (André Roth)
  1118. CHANGES
  1119. * Ref handling has been moved to dulwich.refs.
  1120. (Jelmer Vernooij)
  1121. API CHANGES
  1122. * Remove long deprecated RefsContainer.set_ref().
  1123. (Jelmer Vernooij)
  1124. * Repo.ref() is now deprecated in favour of Repo.refs[].
  1125. (Jelmer Vernooij)
  1126. FEATURES
  1127. * Add support for graftpoints. (milki)
  1128. 0.9.3 2013-09-27
  1129. BUG FIXES
  1130. * Fix path for stdint.h in MANIFEST.in. (Jelmer Vernooij)
  1131. 0.9.2 2013-09-26
  1132. BUG FIXES
  1133. * Include stdint.h in MANIFEST.in (Mark Mikofski)
  1134. 0.9.1 2013-09-22
  1135. BUG FIXES
  1136. * Support lookups of 40-character refs in BaseRepo.__getitem__. (Chow Loong Jin, Jelmer Vernooij)
  1137. * Fix fetching packs with side-band-64k capability disabled. (David Keijser, Jelmer Vernooij)
  1138. * Several fixes in send-pack protocol behaviour - handling of empty pack files and deletes.
  1139. (milki, #1063087)
  1140. * Fix capability negotiation when fetching packs over HTTP.
  1141. (#1072461, William Grant)
  1142. * Enforce determine_wants returning an empty list rather than None. (Fabien Boucher, Jelmer Vernooij)
  1143. * In the server, support pushes just removing refs. (Fabien Boucher, Jelmer Vernooij)
  1144. IMPROVEMENTS
  1145. * Support passing a single revision to BaseRepo.get_walker() rather than a list of revisions.
  1146. (Alberto Ruiz)
  1147. * Add `Repo.get_description` method. (Jelmer Vernooij)
  1148. * Support thin packs in Pack.iterobjects() and Pack.get_raw().
  1149. (William Grant)
  1150. * Add `MemoryObjectStore.add_pack` and `MemoryObjectStore.add_thin_pack` methods.
  1151. (David Bennett)
  1152. * Add paramiko-based SSH vendor. (Aaron O'Mullan)
  1153. * Support running 'dulwich.server' and 'dulwich.web' using 'python -m'.
  1154. (Jelmer Vernooij)
  1155. * Add ObjectStore.close(). (Jelmer Vernooij)
  1156. * Raise appropriate NotImplementedError when encountering dumb HTTP servers.
  1157. (Jelmer Vernooij)
  1158. API CHANGES
  1159. * SSHVendor.connect_ssh has been renamed to SSHVendor.run_command.
  1160. (Jelmer Vernooij)
  1161. * ObjectStore.add_pack() now returns a 3-tuple. The last element will be an
  1162. abort() method that can be used to cancel the pack operation.
  1163. (Jelmer Vernooij)
  1164. 0.9.0 2013-05-31
  1165. BUG FIXES
  1166. * Push efficiency - report missing objects only. (#562676, Artem Tikhomirov)
  1167. * Use indentation consistent with C Git in config files.
  1168. (#1031356, Curt Moore, Jelmer Vernooij)
  1169. * Recognize and skip binary files in diff function.
  1170. (Takeshi Kanemoto)
  1171. * Fix handling of relative paths in dulwich.client.get_transport_and_path.
  1172. (Brian Visel, #1169368)
  1173. * Preserve ordering of entries in configuration.
  1174. (Benjamin Pollack)
  1175. * Support ~ expansion in SSH client paths. (milki, #1083439)
  1176. * Support relative paths in alternate paths.
  1177. (milki, Michel Lespinasse, #1175007)
  1178. * Log all error messages from wsgiref server to the logging module. This
  1179. makes the test suit quiet again. (Gary van der Merwe)
  1180. * Support passing None for empty tree in changes_from_tree.
  1181. (Kevin Watters)
  1182. * Support fetching empty repository in client. (milki, #1060462)
  1183. IMPROVEMENTS:
  1184. * Add optional honor_filemode flag to build_index_from_tree.
  1185. (Mark Mikofski)
  1186. * Support core/filemode setting when building trees. (Jelmer Vernooij)
  1187. * Add chapter on tags in tutorial. (Ryan Faulkner)
  1188. FEATURES
  1189. * Add support for mergetags. (milki, #963525)
  1190. * Add support for posix shell hooks. (milki)
  1191. 0.8.7 2012-11-27
  1192. BUG FIXES
  1193. * Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}.
  1194. (Dmitriy)
  1195. * Fix compatibility with Python 2.4. (David Carr)
  1196. 0.8.6 2012-11-09
  1197. API CHANGES
  1198. * dulwich.__init__ no longer imports client, protocol, repo and
  1199. server modules. (Jelmer Vernooij)
  1200. FEATURES
  1201. * ConfigDict now behaves more like a dictionary.
  1202. (Adam 'Cezar' Jenkins, issue #58)
  1203. * HTTPGitApplication now takes an optional
  1204. `fallback_app` argument. (Jonas Haag, issue #67)
  1205. * Support for large pack index files. (Jameson Nash)
  1206. TESTING
  1207. * Make index entry tests a little bit less strict, to cope with
  1208. slightly different behaviour on various platforms.
  1209. (Jelmer Vernooij)
  1210. * ``setup.py test`` (available when setuptools is installed) now
  1211. runs all tests, not just the basic unit tests.
  1212. (Jelmer Vernooij)
  1213. BUG FIXES
  1214. * Commit._deserialize now actually deserializes the current state rather than
  1215. the previous one. (Yifan Zhang, issue #59)
  1216. * Handle None elements in lists of TreeChange objects. (Alex Holmes)
  1217. * Support cloning repositories without HEAD set.
  1218. (D-Key, Jelmer Vernooij, issue #69)
  1219. * Support ``MemoryRepo.get_config``. (Jelmer Vernooij)
  1220. * In ``get_transport_and_path``, pass extra keyword arguments on to
  1221. HttpGitClient. (Jelmer Vernooij)
  1222. 0.8.5 2012-03-29
  1223. BUG FIXES
  1224. * Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
  1225. * Be a little bit strict about OS behaviour in index tests.
  1226. Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
  1227. 0.8.4 2012-03-28
  1228. BUG FIXES
  1229. * Options on the same line as sections in config files are now supported.
  1230. (Jelmer Vernooij, #920553)
  1231. * Only negotiate capabilities that are also supported by the server.
  1232. (Rod Cloutier, Risto Kankkunen)
  1233. * Fix parsing of invalid timezone offsets with two minus signs.
  1234. (Jason R. Coombs, #697828)
  1235. * Reset environment variables during tests, to avoid
  1236. test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)
  1237. TESTS
  1238. * $HOME is now explicitly specified for tests that use it to read
  1239. ``~/.gitconfig``, to prevent test isolation issues.
  1240. (Jelmer Vernooij, #920330)
  1241. FEATURES
  1242. * Additional arguments to get_transport_and_path are now passed
  1243. on to the constructor of the transport. (Sam Vilain)
  1244. * The WSGI server now transparently handles when a git client submits data
  1245. using Content-Encoding: gzip.
  1246. (David Blewett, Jelmer Vernooij)
  1247. * Add dulwich.index.build_index_from_tree(). (milki)
  1248. 0.8.3 2012-01-21
  1249. FEATURES
  1250. * The config parser now supports the git-config file format as
  1251. described in git-config(1) and can write git config files.
  1252. (Jelmer Vernooij, #531092, #768687)
  1253. * ``Repo.do_commit`` will now use the user identity from
  1254. .git/config or ~/.gitconfig if none was explicitly specified.
  1255. (Jelmer Vernooij)
  1256. BUG FIXES
  1257. * Allow ``determine_wants`` methods to include the zero sha in their
  1258. return value. (Jelmer Vernooij)
  1259. 0.8.2 2011-12-18
  1260. BUG FIXES
  1261. * Cope with different zlib buffer sizes in sha1 file parser.
  1262. (Jelmer Vernooij)
  1263. * Fix get_transport_and_path for HTTP/HTTPS URLs.
  1264. (Bruno Renié)
  1265. * Avoid calling free_objects() on NULL in error cases. (Chris Eberle)
  1266. * Fix use --bare argument to 'dulwich init'. (Chris Eberle)
  1267. * Properly abort connections when the determine_wants function
  1268. raises an exception. (Jelmer Vernooij, #856769)
  1269. * Tweak xcodebuild hack to deal with more error output.
  1270. (Jelmer Vernooij, #903840)
  1271. FEATURES
  1272. * Add support for retrieving tarballs from remote servers.
  1273. (Jelmer Vernooij, #379087)
  1274. * New method ``update_server_info`` which generates data
  1275. for dumb server access. (Jelmer Vernooij, #731235)
  1276. 0.8.1 2011-10-31
  1277. FEATURES
  1278. * Repo.do_commit has a new argument 'ref'.
  1279. * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)
  1280. * New ``Repo.get_walker`` method. (Jelmer Vernooij)
  1281. * New ``Repo.clone`` method. (Jelmer Vernooij, #725369)
  1282. * ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
  1283. (Jelmer Vernooij)
  1284. * ``HttpGitClient`` which supports the smart server protocol over
  1285. HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688)
  1286. * Add basic support for alternates. (Jelmer Vernooij, #810429)
  1287. CHANGES
  1288. * unittest2 or python >= 2.7 is now required for the testsuite.
  1289. testtools is no longer supported. (Jelmer Vernooij, #830713)
  1290. BUG FIXES
  1291. * Fix compilation with older versions of MSVC. (Martin gz)
  1292. * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577)
  1293. * Smart protocol clients can now change refs even if they are
  1294. not uploading new data. (Jelmer Vernooij, #855993)
  1295. * Don't compile C extensions when running in pypy.
  1296. (Ronny Pfannschmidt, #881546)
  1297. * Use different name for strnlen replacement function to avoid clashing
  1298. with system strnlen. (Jelmer Vernooij, #880362)
  1299. API CHANGES
  1300. * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
  1301. (Jelmer Vernooij)
  1302. 0.8.0 2011-08-07
  1303. FEATURES
  1304. * New DeltaChainIterator abstract class for quickly iterating all objects in
  1305. a pack, with implementations for pack indexing and inflation.
  1306. (Dave Borowitz)
  1307. * New walk module with a Walker class for customizable commit walking.
  1308. (Dave Borowitz)
  1309. * New tree_changes_for_merge function in diff_tree. (Dave Borowitz)
  1310. * Easy rename detection in RenameDetector even without find_copies_harder.
  1311. (Dave Borowitz)
  1312. BUG FIXES
  1313. * Avoid storing all objects in memory when writing pack.
  1314. (Jelmer Vernooij, #813268)
  1315. * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543)
  1316. * Improve performance of Repo.revision_history(). (Timo Schmid, #535118)
  1317. * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035)
  1318. * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543)
  1319. * Prevent raising ValueError for correct refs in RefContainer.__delitem__.
  1320. * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)
  1321. * Fix a bug in reading the pack checksum when there are fewer than 20 bytes
  1322. left in the buffer. (Dave Borowitz)
  1323. * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555)
  1324. * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)
  1325. * ObjectStore.get_graph_walker() now no longer yields the same
  1326. revision more than once. This has a significant improvement for
  1327. performance when wide revision graphs are involved.
  1328. (Jelmer Vernooij, #818168)
  1329. * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)
  1330. * Don't send a pack with duplicates of the same object. (Dave Borowitz)
  1331. * Teach the server how to serve a clone of an empty repo. (Dave Borowitz)
  1332. * Correctly advertise capabilities during receive-pack. (Dave Borowitz)
  1333. * Fix add/add and add/rename conflicts in tree_changes_for_merge.
  1334. (Dave Borowitz)
  1335. * Use correct MIME types in web server. (Dave Borowitz)
  1336. API CHANGES
  1337. * write_pack no longer takes the num_objects argument and requires an object
  1338. to be passed in that is iterable (rather than an iterator) and that
  1339. provides __len__. (Jelmer Vernooij)
  1340. * write_pack_data has been renamed to write_pack_objects and no longer takes a
  1341. num_objects argument. (Jelmer Vernooij)
  1342. * take_msb_bytes, read_zlib_chunks, unpack_objects, and
  1343. PackStreamReader.read_objects now take an additional argument indicating a
  1344. crc32 to compute. (Dave Borowitz)
  1345. * PackObjectIterator was removed; its functionality is still exposed by
  1346. PackData.iterobjects. (Dave Borowitz)
  1347. * Add a sha arg to write_pack_object to incrementally compute a SHA.
  1348. (Dave Borowitz)
  1349. * Include offset in PackStreamReader results. (Dave Borowitz)
  1350. * Move PackStreamReader from server to pack. (Dave Borowitz)
  1351. * Extract a check_length_and_checksum, compute_file_sha, and
  1352. pack_object_header pack helper functions. (Dave Borowitz)
  1353. * Extract a compute_file_sha function. (Dave Borowitz)
  1354. * Remove move_in_thin_pack as a separate method; add_thin_pack now completes
  1355. the thin pack and moves it in in one step. Remove ThinPackData as well.
  1356. (Dave Borowitz)
  1357. * Custom buffer size in read_zlib_chunks. (Dave Borowitz)
  1358. * New UnpackedObject data class that replaces ad-hoc tuples in the return
  1359. value of unpack_object and various DeltaChainIterator methods.
  1360. (Dave Borowitz)
  1361. * Add a lookup_path convenience method to Tree. (Dave Borowitz)
  1362. * Optionally create RenameDetectors without passing in tree SHAs.
  1363. (Dave Borowitz)
  1364. * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)
  1365. * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)
  1366. * Optionally pass a request object through to server handlers. (Dave Borowitz)
  1367. TEST CHANGES
  1368. * If setuptools is installed, "python setup.py test" will now run the testsuite.
  1369. (Jelmer Vernooij)
  1370. * Add a new build_pack test utility for building packs from a simple spec.
  1371. (Dave Borowitz)
  1372. * Add a new build_commit_graph test utility for building commits from a
  1373. simple spec. (Dave Borowitz)
  1374. 0.7.1 2011-04-12
  1375. BUG FIXES
  1376. * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
  1377. * Fix the build on Windows. (Pascal Quantin)
  1378. * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
  1379. (Max Bowsher, #707438)
  1380. * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
  1381. (Jelmer Vernooij)
  1382. * write_tree_diff() now supports submodules.
  1383. (Jelmer Vernooij)
  1384. * Fix compilation for XCode 4 and older versions of distutils.sysconfig.
  1385. (Daniele Sluijters)
  1386. IMPROVEMENTS
  1387. * Sphinxified documentation. (Lukasz Balcerzak)
  1388. * Add Pack.keep.(Marc Brinkmann)
  1389. API CHANGES
  1390. * The order of the parameters to Tree.add(name, mode, sha) has changed, and
  1391. is now consistent with the rest of Dulwich. Existing code will still
  1392. work but print a DeprecationWarning. (Jelmer Vernooij, #663550)
  1393. * Tree.entries() is now deprecated in favour of Tree.items() and
  1394. Tree.iteritems(). (Jelmer Vernooij)
  1395. 0.7.0 2011-01-21
  1396. FEATURES
  1397. * New `dulwich.diff_tree` module for simple content-based rename detection.
  1398. (Dave Borowitz)
  1399. * Add Tree.items(). (Jelmer Vernooij)
  1400. * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)
  1401. * Add write_tree_diff(). (Jelmer Vernooij)
  1402. * Add `serve_command` function for git server commands as executables.
  1403. (Jelmer Vernooij)
  1404. * dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
  1405. (Dave Borowitz, #568493)
  1406. BUG FIXES
  1407. * Correct short-circuiting operation for no-op fetches in the server.
  1408. (Dave Borowitz)
  1409. * Support parsing git mbox patches without a version tail, as generated by
  1410. Mercurial. (Jelmer Vernooij)
  1411. * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)
  1412. * Zero-padded file modes in Tree objects no longer trigger an exception but
  1413. the check code warns about them. (Augie Fackler, #581064)
  1414. * Repo.init() now honors the mkdir flag. (#671159)
  1415. * The ref format is now checked when setting a ref rather than when reading it back.
  1416. (Dave Borowitz, #653527)
  1417. * Make sure pack files are closed correctly. (Tay Ray Chuan)
  1418. DOCUMENTATION
  1419. * Run the tutorial inside the test suite. (Jelmer Vernooij)
  1420. * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550,
  1421. #610540)
  1422. 0.6.2 2010-10-16
  1423. BUG FIXES
  1424. * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
  1425. * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
  1426. * ThinPackData.from_file now works with resolve_ext_ref callback.
  1427. (Dave Borowitz)
  1428. * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
  1429. * Set bare=true in the configuration for bare repositories. (Dirk Neumann)
  1430. FEATURES
  1431. * Use slots for core objects to save up on memory. (Jelmer Vernooij)
  1432. * Web server supports streaming progress/pack output. (Dave Borowitz)
  1433. * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
  1434. * Distinguish between missing files and read errors in HTTP server.
  1435. (Dave Borowitz)
  1436. * Initial work on support for fastimport using python-fastimport.
  1437. (Jelmer Vernooij)
  1438. * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
  1439. * Delegate SHA peeling to the object store. (Dave Borowitz)
  1440. TESTS
  1441. * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
  1442. * New tests in test_web with better coverage and fewer ad-hoc mocks.
  1443. (Dave Borowitz)
  1444. * Standardize quote delimiters in test_protocol. (Dave Borowitz)
  1445. * Fix use when testtools is installed. (Jelmer Vernooij)
  1446. * Add trivial test for write_pack_header. (Jelmer Vernooij)
  1447. * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
  1448. * Allow overwriting id property of objects in test utils. (Dave Borowitz)
  1449. * Use real in-memory objects rather than stubs for server tests.
  1450. (Dave Borowitz)
  1451. * Clean up MissingObjectFinder. (Dave Borowitz)
  1452. API CHANGES
  1453. * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
  1454. order. (Dave Borowitz)
  1455. * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
  1456. (Dave Borowitz).
  1457. * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
  1458. * Change server capabilities methods to classmethods. (Dave Borowitz)
  1459. * Tweak server handler injection. (Dave Borowitz)
  1460. * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is
  1461. itself a subclass of PackIndex. (Jelmer Vernooij)
  1462. DOCUMENTATION
  1463. * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
  1464. * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
  1465. * Explicitly specify allowed protocol commands to
  1466. ProtocolGraphWalker.read_proto_line. (Dave Borowitz)
  1467. * Add utility functions to DictRefsContainer. (Dave Borowitz)
  1468. 0.6.1 2010-07-22
  1469. BUG FIXES
  1470. * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
  1471. * Use correct path separators for named repo files. (Dave Borowitz)
  1472. * python > 2.7 and testtools-based test runners will now also pick up skipped
  1473. tests correctly. (Jelmer Vernooij)
  1474. FEATURES
  1475. * Move named file initialization to BaseRepo. (Dave Borowitz)
  1476. * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
  1477. * The GitClient interface has been cleaned up and instances are now reusable.
  1478. (Augie Fackler)
  1479. * Allow overriding paths to executables in GitSSHClient.
  1480. (Ross Light, Jelmer Vernooij, #585204)
  1481. * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
  1482. TESTS
  1483. * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
  1484. * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
  1485. * Quiet logging output from web tests. (Dave Borowitz)
  1486. * More flexible version checking for compat tests. (Dave Borowitz)
  1487. * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
  1488. CLEANUP
  1489. * Clean up file headers. (Dave Borowitz)
  1490. TESTS
  1491. * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
  1492. API CHANGES
  1493. * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
  1494. rather than a filename. (Jelmer Vernooij)
  1495. * Make dul-daemon/dul-web trivial wrappers around server functionality.
  1496. (Dave Borowitz)
  1497. * Move reference WSGI handler to web.py. (Dave Borowitz)
  1498. * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
  1499. * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
  1500. 0.6.0 2010-05-22
  1501. note: This list is most likely incomplete for 0.6.0.
  1502. BUG FIXES
  1503. * Fix ReceivePackHandler to disallow removing refs without delete-refs.
  1504. (Dave Borowitz)
  1505. * Deal with capabilities required by the client, even if they
  1506. can not be disabled in the server. (Dave Borowitz)
  1507. * Fix trailing newlines in generated patch files.
  1508. (Jelmer Vernooij)
  1509. * Implement RefsContainer.__contains__. (Jelmer Vernooij)
  1510. * Cope with \r in ref files on Windows. (
  1511. http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
  1512. * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
  1513. * Support packed ref deletion with no peeled refs. (Augie Fackler)
  1514. * Fix send pack when there is nothing to fetch. (Augie Fackler)
  1515. * Fix fetch if no progress function is specified. (Augie Fackler)
  1516. * Allow double-staging of files that are deleted in the index.
  1517. (Dave Borowitz)
  1518. * Fix RefsContainer.add_if_new to support dangling symrefs.
  1519. (Dave Borowitz)
  1520. * Non-existent index files in non-bare repositories are now treated as
  1521. empty. (Dave Borowitz)
  1522. * Always update ShaFile.id when the contents of the object get changed.
  1523. (Jelmer Vernooij)
  1524. * Various Python2.4-compatibility fixes. (Dave Borowitz)
  1525. * Fix thin pack handling. (Dave Borowitz)
  1526. FEATURES
  1527. * Add include-tag capability to server. (Dave Borowitz)
  1528. * New dulwich.fastexport module that can generate fastexport
  1529. streams. (Jelmer Vernooij)
  1530. * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
  1531. * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
  1532. * Overall improvements checking Git objects. (Dave Borowitz)
  1533. * Packs are now verified while they are received. (Dave Borowitz)
  1534. TESTS
  1535. * Add framework for testing compatibility with C Git. (Dave Borowitz)
  1536. * Add various tests for the use of non-bare repositories. (Dave Borowitz)
  1537. * Cope with diffstat not being available on all platforms.
  1538. (Tay Ray Chuan, Jelmer Vernooij)
  1539. * Add make_object and make_commit convenience functions to test utils.
  1540. (Dave Borowitz)
  1541. API BREAKAGES
  1542. * The 'committer' and 'message' arguments to Repo.do_commit() have
  1543. been swapped. 'committer' is now optional. (Jelmer Vernooij)
  1544. * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
  1545. (Jelmer Vernooij)
  1546. * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
  1547. for clarity. (Jelmer Vernooij)
  1548. API CHANGES
  1549. * The primary serialization APIs in dulwich.objects now work
  1550. with chunks of strings rather than with full-text strings.
  1551. (Jelmer Vernooij)
  1552. 0.5.02010-03-03
  1553. BUG FIXES
  1554. * Support custom fields in commits (readonly). (Jelmer Vernooij)
  1555. * Improved ref handling. (Dave Borowitz)
  1556. * Rework server protocol to be smarter and interoperate with cgit client.
  1557. (Dave Borowitz)
  1558. * Add a GitFile class that uses the same locking protocol for writes as
  1559. cgit. (Dave Borowitz)
  1560. * Cope with forward slashes correctly in the index on Windows.
  1561. (Jelmer Vernooij, #526793)
  1562. FEATURES
  1563. * --pure option to setup.py to allow building/installing without the C
  1564. extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
  1565. * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
  1566. * HTTP dumb and smart server. (Dave Borowitz)
  1567. * Add abstract baseclass for Repo that does not require file system
  1568. operations. (Dave Borowitz)
  1569. 0.4.1 2010-01-03
  1570. FEATURES
  1571. * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
  1572. * Add Index.changes_from_tree(). (Jelmer Vernooij)
  1573. * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
  1574. * Add functionality for writing patches in dulwich.patch.
  1575. (Jelmer Vernooij)
  1576. 0.4.0 2009-10-07
  1577. DOCUMENTATION
  1578. * Added tutorial.
  1579. API CHANGES
  1580. * dulwich.object_store.tree_lookup_path will now return the mode and
  1581. sha of the object found rather than the object itself.
  1582. BUG FIXES
  1583. * Use binascii.hexlify / binascii.unhexlify for better performance.
  1584. * Cope with extra unknown data in index files by ignoring it (for now).
  1585. * Add proper error message when server unexpectedly hangs up. (#415843)
  1586. * Correctly write opcode for equal in create_delta.
  1587. 0.3.3 2009-07-23
  1588. FEATURES
  1589. * Implement ShaFile.__hash__().
  1590. * Implement Tree.__len__()
  1591. BUG FIXES
  1592. * Check for 'objects' and 'refs' directories
  1593. when looking for a Git repository. (#380818)
  1594. 0.3.2 2009-05-20
  1595. BUG FIXES
  1596. * Support the encoding field in Commits.
  1597. * Some Windows compatibility fixes.
  1598. * Fixed several issues in commit support.
  1599. FEATURES
  1600. * Basic support for handling submodules.
  1601. 0.3.1 2009-05-13
  1602. FEATURES
  1603. * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to
  1604. access content.
  1605. API CHANGES
  1606. * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and
  1607. Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
  1608. refs.
  1609. BUG FIXES
  1610. * Removed import of 'sha' module in objects.py, which was causing
  1611. deprecation warnings on Python 2.6.
  1612. 0.3.0 2009-05-10
  1613. FEATURES
  1614. * A new function 'commit_tree' has been added that can commit a tree
  1615. based on an index.
  1616. BUG FIXES
  1617. * The memory usage when generating indexes has been significantly reduced.
  1618. * A memory leak in the C implementation of parse_tree has been fixed.
  1619. * The send-pack smart server command now works. (Thanks Scott Chacon)
  1620. * The handling of short timestamps (less than 10 digits) has been fixed.
  1621. * The handling of timezones has been fixed.
  1622. 0.2.1 2009-04-30
  1623. BUG FIXES
  1624. * Fix compatibility with Python2.4.
  1625. 0.2.0 2009-04-30
  1626. FEATURES
  1627. * Support for activity reporting in smart protocol client.
  1628. * Optional C extensions for better performance in a couple of
  1629. places that are performance-critical.
  1630. 0.1.1 2009-03-13
  1631. BUG FIXES
  1632. * Fixed regression in Repo.find_missing_objects()
  1633. * Don't fetch ^{} objects from remote hosts, as requesting them
  1634. causes a hangup.
  1635. * Always write pack to disk completely before calculating checksum.
  1636. FEATURES
  1637. * Allow disabling thin packs when talking to remote hosts.
  1638. 0.1.0 2009-01-24
  1639. * Initial release.