summaryrefslogtreecommitdiff
path: root/devel/py-dulwich
diff options
context:
space:
mode:
authorryoon <ryoon>2012-02-07 20:06:44 +0000
committerryoon <ryoon>2012-02-07 20:06:44 +0000
commite1927bdb81d2350a2cc96d992dda23038c8269ad (patch)
tree193564380891d66218a46f0df005a6d4315644ab /devel/py-dulwich
parent30e3f7a0ff4f17ab1b9c47fa01600800d9f30084 (diff)
downloadpkgsrc-e1927bdb81d2350a2cc96d992dda23038c8269ad.tar.gz
Update to 0.8.3
Changelog: 0.8.3 2012-01-21 FEATURES * The config parser now supports the git-config file format as described in git-config(1) and can write git config files. (Jelmer Vernooij, #531092, #768687) * ``Repo.do_commit`` will now use the user identity from .git/config or ~/.gitconfig if none was explicitly specified. (Jelmer Vernooij) BUG FIXES * Allow ``determine_wants`` methods to include the zero sha in their return value. (Jelmer Vernooij) 0.8.2 2011-12-18 BUG FIXES * Cope with different zlib buffer sizes in sha1 file parser. (Jelmer Vernooij) * Fix get_transport_and_path for HTTP/HTTPS URLs. (Bruno ReniƩ) * Avoid calling free_objects() on NULL in error cases. (Chris Eberle) * Fix use --bare argument to 'dulwich init'. (Chris Eberle) * Properly abort connections when the determine_wants function raises an exception. (Jelmer Vernooij, #856769) * Tweak xcodebuild hack to deal with more error output. (Jelmer Vernooij, #903840) FEATURES * Add support for retrieving tarballs from remote servers. (Jelmer Vernooij, #379087) * New method ``update_server_info`` which generates data for dumb server access. (Jelmer Vernooij, #731235) 0.8.1 2011-10-31 FEATURES * Repo.do_commit has a new argument 'ref'. * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij) * New ``Repo.get_walker`` method. (Jelmer Vernooij) * New ``Repo.clone`` method. (Jelmer Vernooij, #725369) * ``GitClient.send_pack`` now supports the 'side-band-64k' capability. (Jelmer Vernooij) * ``HttpGitClient`` which supports the smart server protocol over HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688) * Add basic support for alternates. (Jelmer Vernooij, #810429) CHANGES * unittest2 or python >= 2.7 is now required for the testsuite. testtools is no longer supported. (Jelmer Vernooij, #830713) BUG FIXES * Fix compilation with older versions of MSVC. (Martin gz) * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577) * Smart protocol clients can now change refs even if they are not uploading new data. (Jelmer Vernooij, #855993) * Don't compile C extensions when running in pypy. (Ronny Pfannschmidt, #881546) * Use different name for strnlen replacement function to avoid clashing with system strnlen. (Jelmer Vernooij, #880362) API CHANGES * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``. (Jelmer Vernooij) 0.8.0 2011-08-07 FEATURES * New DeltaChainIterator abstract class for quickly iterating all objects in a pack, with implementations for pack indexing and inflation. (Dave Borowitz) * New walk module with a Walker class for customizable commit walking. (Dave Borowitz) * New tree_changes_for_merge function in diff_tree. (Dave Borowitz) * Easy rename detection in RenameDetector even without find_copies_harder. (Dave Borowitz) BUG FIXES * Avoid storing all objects in memory when writing pack. (Jelmer Vernooij, #813268) * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543) * Improve performance of Repo.revision_history(). (Timo Schmid, #535118) * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035) * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543) * Prevent raising ValueError for correct refs in RefContainer.__delitem__. * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz) * Fix a bug in reading the pack checksum when there are fewer than 20 bytes left in the buffer. (Dave Borowitz) * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555) * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz) * ObjectStore.get_graph_walker() now no longer yields the same revision more than once. This has a significant improvement for performance when wide revision graphs are involved. (Jelmer Vernooij, #818168) * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz) * Don't send a pack with duplicates of the same object. (Dave Borowitz) * Teach the server how to serve a clone of an empty repo. (Dave Borowitz) * Correctly advertise capabilities during receive-pack. (Dave Borowitz) * Fix add/add and add/rename conflicts in tree_changes_for_merge. (Dave Borowitz) * Use correct MIME types in web server. (Dave Borowitz) API CHANGES * write_pack no longer takes the num_objects argument and requires an object to be passed in that is iterable (rather than an iterator) and that provides __len__. (Jelmer Vernooij) * write_pack_data has been renamed to write_pack_objects and no longer takes a num_objects argument. (Jelmer Vernooij) * take_msb_bytes, read_zlib_chunks, unpack_objects, and PackStreamReader.read_objects now take an additional argument indicating a crc32 to compute. (Dave Borowitz) * PackObjectIterator was removed; its functionality is still exposed by PackData.iterobjects. (Dave Borowitz) * Add a sha arg to write_pack_object to incrementally compute a SHA. (Dave Borowitz) * Include offset in PackStreamReader results. (Dave Borowitz) * Move PackStreamReader from server to pack. (Dave Borowitz) * Extract a check_length_and_checksum, compute_file_sha, and pack_object_header pack helper functions. (Dave Borowitz) * Extract a compute_file_sha function. (Dave Borowitz) * Remove move_in_thin_pack as a separate method; add_thin_pack now completes the thin pack and moves it in in one step. Remove ThinPackData as well. (Dave Borowitz) * Custom buffer size in read_zlib_chunks. (Dave Borowitz) * New UnpackedObject data class that replaces ad-hoc tuples in the return value of unpack_object and various DeltaChainIterator methods. (Dave Borowitz) * Add a lookup_path convenience method to Tree. (Dave Borowitz) * Optionally create RenameDetectors without passing in tree SHAs. (Dave Borowitz) * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz) * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz) * Optionally pass a request object through to server handlers. (Dave Borowitz) TEST CHANGES * If setuptools is installed, "python setup.py test" will now run the testsuite. (Jelmer Vernooij) * Add a new build_pack test utility for building packs from a simple spec. (Dave Borowitz) * Add a new build_commit_graph test utility for building commits from a simple spec. (Dave Borowitz) 0.7.1 2011-04-12 BUG FIXES * Fix double decref in _diff_tree.c. (Ted Horst, #715528) * Fix the build on Windows. (Pascal Quantin) * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python. (Max Bowsher, #707438) * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs. (Jelmer Vernooij) * write_tree_diff() now supports submodules. (Jelmer Vernooij) * Fix compilation for XCode 4 and older versions of distutils.sysconfig. (Daniele Sluijters) IMPROVEMENTS * Sphinxified documentation. (Lukasz Balcerzak) * Add Pack.keep.(Marc Brinkmann) API CHANGES * The order of the parameters to Tree.add(name, mode, sha) has changed, and is now consistent with the rest of Dulwich. Existing code will still work but print a DeprecationWarning. (Jelmer Vernooij, #663550) * Tree.entries() is now deprecated in favour of Tree.items() and Tree.iteritems(). (Jelmer Vernooij) 0.7.0 2011-01-21 FEATURES * New `dulwich.diff_tree` module for simple content-based rename detection. (Dave Borowitz) * Add Tree.items(). (Jelmer Vernooij) * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz) * Add write_tree_diff(). (Jelmer Vernooij) * Add `serve_command` function for git server commands as executables. (Jelmer Vernooij) * dulwich.client.get_transport_and_path now supports rsync-style repository URLs. (Dave Borowitz, #568493) BUG FIXES * Correct short-circuiting operation for no-op fetches in the server. (Dave Borowitz) * Support parsing git mbox patches without a version tail, as generated by Mercurial. (Jelmer Vernooij) * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij) * Zero-padded file modes in Tree objects no longer trigger an exception but the check code warns about them. (Augie Fackler, #581064) * Repo.init() now honors the mkdir flag. (#671159) * The ref format is now checked when setting a ref rather than when reading it back. (Dave Borowitz, #653527) * Make sure pack files are closed correctly. (Tay Ray Chuan) DOCUMENTATION * Run the tutorial inside the test suite. (Jelmer Vernooij) * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550, #610540) 0.6.2 2010-10-16 BUG FIXES * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz) * Don't error when creating GitFiles with the default mode. (Dave Borowitz) * ThinPackData.from_file now works with resolve_ext_ref callback. (Dave Borowitz) * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek) * Set bare=true in the configuratin for bare repositories. (Dirk Neumann) FEATURES * Use slots for core objects to save up on memory. (Jelmer Vernooij) * Web server supports streaming progress/pack output. (Dave Borowitz) * New public function dulwich.pack.write_pack_header. (Dave Borowitz) * Distinguish between missing files and read errors in HTTP server. (Dave Borowitz) * Initial work on support for fastimport using python-fastimport. (Jelmer Vernooij) * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij) * Delegate SHA peeling to the object store. (Dave Borowitz) TESTS * Use GitFile when modifying packed-refs in tests. (Dave Borowitz) * New tests in test_web with better coverage and fewer ad-hoc mocks. (Dave Borowitz) * Standardize quote delimiters in test_protocol. (Dave Borowitz) * Fix use when testtools is installed. (Jelmer Vernooij) * Add trivial test for write_pack_header. (Jelmer Vernooij) * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz) * Allow overwriting id property of objects in test utils. (Dave Borowitz) * Use real in-memory objects rather than stubs for server tests. (Dave Borowitz) * Clean up MissingObjectFinder. (Dave Borowitz) API CHANGES * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted order. (Dave Borowitz) * ObjectStore.iter_tree_contents can optionally yield tree objects as well. (Dave Borowitz). * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz) * Change server capabilities methods to classmethods. (Dave Borowitz) * Tweak server handler injection. (Dave Borowitz) * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is itself a subclass of PackIndex. (Jelmer Vernooij) DOCUMENTATION * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij) * Clean up docstrings in dulwich.protocol. (Dave Borowitz) * Explicitly specify allowed protocol commands to ProtocolGraphWalker.read_proto_line. (Dave Borowitz) * Add utility functions to DictRefsContainer. (Dave Borowitz) 0.6.1 2010-07-22 BUG FIXES * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz) * Use correct path separators for named repo files. (Dave Borowitz) * python > 2.7 and testtools-based test runners will now also pick up skipped tests correctly. (Jelmer Vernooij) FEATURES * Move named file initilization to BaseRepo. (Dave Borowitz) * Add logging utilities and git/HTTP server logging. (Dave Borowitz) * The GitClient interface has been cleaned up and instances are now reusable. (Augie Fackler) * Allow overriding paths to executables in GitSSHClient. (Ross Light, Jelmer Vernooij, #585204) * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij) TESTS * Add tests for sorted_tree_items and C implementation. (Dave Borowitz) * Add a MemoryRepo that stores everything in memory. (Dave Borowitz) * Quiet logging output from web tests. (Dave Borowitz) * More flexible version checking for compat tests. (Dave Borowitz) * Compat tests for servers with and without side-band-64k. (Dave Borowitz) CLEANUP * Clean up file headers. (Dave Borowitz) TESTS * Use GitFile when modifying packed-refs in tests. (Dave Borowitz) API CHANGES * dulwich.pack.write_pack_index_v{1,2} now take a file-like object rather than a filename. (Jelmer Vernooij) * Make dul-daemon/dul-web trivial wrappers around server functionality. (Dave Borowitz) * Move reference WSGI handler to web.py. (Dave Borowitz) * Factor out _report_status in ReceivePackHandler. (Dave Borowitz) * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
Diffstat (limited to 'devel/py-dulwich')
-rw-r--r--devel/py-dulwich/Makefile4
-rw-r--r--devel/py-dulwich/PLIST36
-rw-r--r--devel/py-dulwich/distinfo8
3 files changed, 38 insertions, 10 deletions
diff --git a/devel/py-dulwich/Makefile b/devel/py-dulwich/Makefile
index ccb59a62961..e26f59a40ac 100644
--- a/devel/py-dulwich/Makefile
+++ b/devel/py-dulwich/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2010/06/14 10:15:15 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2012/02/07 20:06:44 ryoon Exp $
#
-DISTNAME= dulwich-0.6.0
+DISTNAME= dulwich-0.8.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
EGG_NAME= ${DISTNAME}
CATEGORIES= devel python
diff --git a/devel/py-dulwich/PLIST b/devel/py-dulwich/PLIST
index 3be8150a1e0..a94a6ece926 100644
--- a/devel/py-dulwich/PLIST
+++ b/devel/py-dulwich/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2010/06/14 10:15:15 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2012/02/07 20:06:44 ryoon Exp $
bin/dul-daemon
bin/dul-web
bin/dulwich
@@ -9,11 +9,21 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/dulwich/__init__.py
${PYSITELIB}/dulwich/__init__.pyc
${PYSITELIB}/dulwich/__init__.pyo
+${PYSITELIB}/dulwich/_compat.py
+${PYSITELIB}/dulwich/_compat.pyc
+${PYSITELIB}/dulwich/_compat.pyo
+${PYSITELIB}/dulwich/_diff_tree.so
${PYSITELIB}/dulwich/_objects.so
${PYSITELIB}/dulwich/_pack.so
${PYSITELIB}/dulwich/client.py
${PYSITELIB}/dulwich/client.pyc
${PYSITELIB}/dulwich/client.pyo
+${PYSITELIB}/dulwich/config.py
+${PYSITELIB}/dulwich/config.pyc
+${PYSITELIB}/dulwich/config.pyo
+${PYSITELIB}/dulwich/diff_tree.py
+${PYSITELIB}/dulwich/diff_tree.pyc
+${PYSITELIB}/dulwich/diff_tree.pyo
${PYSITELIB}/dulwich/errors.py
${PYSITELIB}/dulwich/errors.pyc
${PYSITELIB}/dulwich/errors.pyo
@@ -26,12 +36,12 @@ ${PYSITELIB}/dulwich/file.pyo
${PYSITELIB}/dulwich/index.py
${PYSITELIB}/dulwich/index.pyc
${PYSITELIB}/dulwich/index.pyo
+${PYSITELIB}/dulwich/log_utils.py
+${PYSITELIB}/dulwich/log_utils.pyc
+${PYSITELIB}/dulwich/log_utils.pyo
${PYSITELIB}/dulwich/lru_cache.py
${PYSITELIB}/dulwich/lru_cache.pyc
${PYSITELIB}/dulwich/lru_cache.pyo
-${PYSITELIB}/dulwich/misc.py
-${PYSITELIB}/dulwich/misc.pyc
-${PYSITELIB}/dulwich/misc.pyo
${PYSITELIB}/dulwich/object_store.py
${PYSITELIB}/dulwich/object_store.pyc
${PYSITELIB}/dulwich/object_store.pyo
@@ -56,9 +66,18 @@ ${PYSITELIB}/dulwich/server.pyo
${PYSITELIB}/dulwich/tests/__init__.py
${PYSITELIB}/dulwich/tests/__init__.pyc
${PYSITELIB}/dulwich/tests/__init__.pyo
+${PYSITELIB}/dulwich/tests/test_blackbox.py
+${PYSITELIB}/dulwich/tests/test_blackbox.pyc
+${PYSITELIB}/dulwich/tests/test_blackbox.pyo
${PYSITELIB}/dulwich/tests/test_client.py
${PYSITELIB}/dulwich/tests/test_client.pyc
${PYSITELIB}/dulwich/tests/test_client.pyo
+${PYSITELIB}/dulwich/tests/test_config.py
+${PYSITELIB}/dulwich/tests/test_config.pyc
+${PYSITELIB}/dulwich/tests/test_config.pyo
+${PYSITELIB}/dulwich/tests/test_diff_tree.py
+${PYSITELIB}/dulwich/tests/test_diff_tree.pyc
+${PYSITELIB}/dulwich/tests/test_diff_tree.pyo
${PYSITELIB}/dulwich/tests/test_fastexport.py
${PYSITELIB}/dulwich/tests/test_fastexport.pyc
${PYSITELIB}/dulwich/tests/test_fastexport.pyo
@@ -92,12 +111,21 @@ ${PYSITELIB}/dulwich/tests/test_repository.pyo
${PYSITELIB}/dulwich/tests/test_server.py
${PYSITELIB}/dulwich/tests/test_server.pyc
${PYSITELIB}/dulwich/tests/test_server.pyo
+${PYSITELIB}/dulwich/tests/test_utils.py
+${PYSITELIB}/dulwich/tests/test_utils.pyc
+${PYSITELIB}/dulwich/tests/test_utils.pyo
+${PYSITELIB}/dulwich/tests/test_walk.py
+${PYSITELIB}/dulwich/tests/test_walk.pyc
+${PYSITELIB}/dulwich/tests/test_walk.pyo
${PYSITELIB}/dulwich/tests/test_web.py
${PYSITELIB}/dulwich/tests/test_web.pyc
${PYSITELIB}/dulwich/tests/test_web.pyo
${PYSITELIB}/dulwich/tests/utils.py
${PYSITELIB}/dulwich/tests/utils.pyc
${PYSITELIB}/dulwich/tests/utils.pyo
+${PYSITELIB}/dulwich/walk.py
+${PYSITELIB}/dulwich/walk.pyc
+${PYSITELIB}/dulwich/walk.pyo
${PYSITELIB}/dulwich/web.py
${PYSITELIB}/dulwich/web.pyc
${PYSITELIB}/dulwich/web.pyo
diff --git a/devel/py-dulwich/distinfo b/devel/py-dulwich/distinfo
index acdceff6e06..f061f23e5ee 100644
--- a/devel/py-dulwich/distinfo
+++ b/devel/py-dulwich/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2010/06/14 10:15:15 joerg Exp $
+$NetBSD: distinfo,v 1.4 2012/02/07 20:06:44 ryoon Exp $
-SHA1 (dulwich-0.6.0.tar.gz) = 4ef7d920582372f4af690f5fcb1177f343caaf92
-RMD160 (dulwich-0.6.0.tar.gz) = ee8aadfe4661db79c89d4110f349b33f5da6108d
-Size (dulwich-0.6.0.tar.gz) = 127143 bytes
+SHA1 (dulwich-0.8.3.tar.gz) = d22041d2b7be93d11042087749d4203062b6d12e
+RMD160 (dulwich-0.8.3.tar.gz) = 915ad05a7653d88439c287b1a49a2e44122fdcf8
+Size (dulwich-0.8.3.tar.gz) = 200480 bytes