NEWS 68 KB

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