Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos.buildout
Commits
eb0bc6bd
Commit
eb0bc6bd
authored
Aug 06, 2015
by
Reinout van Rees
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #255 from mauritsvanrees/maurits-check-use-dependency-links-earlier
Check the 'use-dependency-links' option earlier.
parents
84053ef6
30683a0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
13 deletions
+15
-13
CHANGES.rst
CHANGES.rst
+3
-1
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+12
-12
No files found.
CHANGES.rst
View file @
eb0bc6bd
...
@@ -4,7 +4,9 @@ Change History
...
@@ -4,7 +4,9 @@ Change History
2.4.1
(
unreleased
)
2.4.1
(
unreleased
)
==================
==================
-
Nothing
changed
yet
.
-
Check
the
``
use
-
dependency
-
links
``
option
earlier
.
This
can
give
a
small
speed
increase
.
[
maurits
]
2.4.0
(
2015
-
07
-
01
)
2.4.0
(
2015
-
07
-
01
)
...
...
src/zc/buildout/easy_install.py
View file @
eb0bc6bd
...
@@ -552,18 +552,18 @@ class Installer:
...
@@ -552,18 +552,18 @@ class Installer:
else
:
else
:
dists
=
[
dist
]
dists
=
[
dist
]
for
dist
in
dist
s
:
if
not
self
.
_install_from_cache
and
self
.
_use_dependency_link
s
:
if
(
dist
.
has_metadata
(
'dependency_links.txt'
)
for
dist
in
dists
:
and
not
self
.
_install_from_cache
if
dist
.
has_metadata
(
'dependency_links.txt'
):
and
self
.
_use_dependency_links
for
link
in
dist
.
get_metadata_lines
(
'dependency_links.txt'
):
):
link
=
link
.
strip
()
for
link
in
dist
.
get_metadata_lines
(
'dependency_links.txt'
)
:
if
link
not
in
self
.
_links
:
link
=
link
.
strip
()
logger
.
debug
(
'Adding find link %r from %s'
,
if
link
not
in
self
.
_links
:
link
,
dist
)
logger
.
debug
(
'Adding find link %r from %s'
,
link
,
dist
)
self
.
_links
.
append
(
link
)
self
.
_links
.
append
(
link
)
self
.
_index
=
_get_index
(
self
.
_index_url
,
self
.
_index
=
_get_index
(
self
.
_index_url
,
self
.
_links
,
self
.
_links
,
self
.
_allow_hosts
)
self
.
_allow_hosts
)
for
dist
in
dists
:
for
dist
in
dists
:
# Check whether we picked a version and, if we did, report it:
# Check whether we picked a version and, if we did, report it:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment