NEWS 67 KB

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