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
7
Merge Requests
7
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
slapos.buildout
Commits
4a398a3c
Commit
4a398a3c
authored
9 years ago
by
Reinout van Rees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Auto-creating the extends cache, just like downloads-cache
parent
f065f617
master
2.4.5-nexedi
2.4.5-nexedi-tested
2.4.5-nexedi-tested-alt
2.4.7-nexedi
2.5.0-nexedi
2.5.0-nexedi-sharing-part
2.5.1-nexedi
2.5.2-nexedi
2.5.2-nexedi-shared
3.0.1-nexedi
feat/integrity
install-only
interpreter
labraw/download
long-shebang
mr34
next
3.0.1+slapos009
3.0.1+slapos008
3.0.1+slapos007
3.0.1+slapos006
3.0.1+slapos005
3.0.1+slapos004
3.0.1+slapos003
3.0.1+slapos002
3.0.1+slapos001
2.7.1+slapos020
2.7.1+slapos019
2.7.1+slapos018
2.7.1+slapos017
2.7.1+slapos016
2.7.1+slapos015
2.7.1+slapos014
2.7.1+slapos013
2.7.1+slapos012
2.7.1+slapos010
2.7.1+slapos009
2.7.1+slapos008
2.7.1+slapos007
2.7.1+slapos006
2.7.1+slapos005
2.7.1+slapos004
2.7.1+slapos003
2.7.1+slapos002
2.7.1+slapos001
2.5.2+slapos013
2.5.2+slapos003
2.5.2+slapos002
2.5.2+slapos001
2.5.0.slapos001
2.4.7.slapos001
2.4.5.slapos001
zc.recipe.egg-2.0.3+slapos002
zc.recipe.egg-2.0.3+slapos001
zc.recipe.egg-2.0.3.post1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+6
-5
No files found.
src/zc/buildout/buildout.py
View file @
4a398a3c
...
...
@@ -390,6 +390,12 @@ class Buildout(DictMixin):
zc
.
buildout
.
easy_install
.
download_cache
(
download_cache
)
extends_cache
=
options
.
get
(
'extends-cache'
)
if
extends_cache
:
extends_cache
=
os
.
path
.
join
(
options
[
'directory'
],
extends_cache
)
if
not
os
.
path
.
exists
(
extends_cache
):
os
.
mkdir
(
extends_cache
)
if
bool_option
(
options
,
'install-from-cache'
):
if
self
.
offline
:
raise
zc
.
buildout
.
UserError
(
...
...
@@ -403,11 +409,6 @@ class Buildout(DictMixin):
for
name
in
_buildout_default_options
:
options
[
name
]
# Do the same for extends-cache which is not among the defaults but
# wasn't recognized as having been used since it was used before
# tracking was turned on.
options
.
get
(
'extends-cache'
)
os
.
chdir
(
options
[
'directory'
])
def
_buildout_path
(
self
,
name
):
...
...
This diff is collapsed.
Click to expand 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