NEWS 61 KB

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