2
0

NEWS 53 KB

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