2
0

NEWS 65 KB

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