2
0

NEWS 65 KB

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