commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/1a4a65522d02/ Changeset: 1a4a65522d02 User: dannon Date: 2015-02-12 12:57:51+00:00 Summary: Fix at least one error with zipfile downloads and file permissions not being set correctly. Affected #: 1 file diff -r 10a1ea8d9e153bd1abe30de07a64d3d043601889 -r 1a4a65522d02834212a3e05487ae1e97071bb6be lib/galaxy/eggs/__init__.py --- a/lib/galaxy/eggs/__init__.py +++ b/lib/galaxy/eggs/__init__.py @@ -463,7 +463,7 @@ try: for info in z.infolist(): name = info.filename - perm = (info.external_attr >> 16L) & 0777 + mode = (info.external_attr >> 16L) & 0777 # don't extract absolute paths or ones with .. in them if name.startswith('/') or '..' in name: continue https://bitbucket.org/galaxy/galaxy-central/commits/5b2f1eab2819/ Changeset: 5b2f1eab2819 User: dannon Date: 2015-02-12 13:28:37+00:00 Summary: Fix path manipulation during fetch_eggs. This getting an external version of pkg_resources (and not ours in lib/) is what is causing the weird egg fetching errors. Newer versions of pkg_resources create a mangled distribution string for some eggs with nonstandard version identifiers. Affected #: 1 file diff -r 1a4a65522d02834212a3e05487ae1e97071bb6be -r 5b2f1eab281920eca6c9d1b84e6cebf02866ea09 scripts/fetch_eggs.py --- a/scripts/fetch_eggs.py +++ b/scripts/fetch_eggs.py @@ -32,7 +32,7 @@ root.addHandler( logging.StreamHandler( sys.stdout ) ) lib = os.path.abspath( os.path.join( os.path.dirname( __file__ ), "..", "lib" ) ) -sys.path.append( lib ) +sys.path.insert(1, lib) from galaxy.eggs import Crate, EggNotFetchable import pkg_resources Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org