2
0

NEWS 82 KB

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