NEWS 66 KB

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