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
297aaa05
Commit
297aaa05
authored
May 16, 2022
by
Kian-Meng Ang
Committed by
Michael Howitz
May 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos
parent
e11eaf96
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
20 additions
and
20 deletions
+20
-20
CHANGES.rst
CHANGES.rst
+3
-3
dev.py
dev.py
+1
-1
doc/topics/bootstrapping.rst
doc/topics/bootstrapping.rst
+1
-1
old-tutorial/tutorial.txt
old-tutorial/tutorial.txt
+5
-5
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+4
-4
src/zc/buildout/download.py
src/zc/buildout/download.py
+1
-1
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+1
-1
src/zc/buildout/tests/buildout.txt
src/zc/buildout/tests/buildout.txt
+1
-1
src/zc/buildout/tests/configparser.test
src/zc/buildout/tests/configparser.test
+1
-1
src/zc/buildout/tests/test_all.py
src/zc/buildout/tests/test_all.py
+2
-2
No files found.
CHANGES.rst
View file @
297aaa05
...
...
@@ -536,7 +536,7 @@ Development:
running buildout.
[lelit]
- A new boostrap.py file is released (version 2015-07-01).
- A new boo
t
strap.py file is released (version 2015-07-01).
- When bootstrapping, the ``develop-eggs/`` directory is first removed. This
prevents old left-over ``.egg-link`` files from breaking buildout'
s
careful
...
...
@@ -565,10 +565,10 @@ Development:
- Fixed: Buildout merged single-version requirements with
version-range requirements in a way that caused it to think there
wasn'
t
a
single
-
version
requirement
.
IOW
,
buildout
through
t
that
wasn'
t
a
single
-
version
requirement
.
IOW
,
buildout
through
that
versions
were
being
picked
when
they
weren
't.
- Suppress spurios (and possibly non-spurious) version-parsing warnings.
- Suppress spurio
u
s (and possibly non-spurious) version-parsing warnings.
2.3.0 (2014-12-14)
==================
...
...
dev.py
View file @
297aaa05
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""Bootstrap the buildout project itself.
This is different from a normal boostrapping process because the
This is different from a normal boo
t
strapping process because the
buildout egg itself is installed as a develop egg.
"""
import
sys
...
...
doc/topics/bootstrapping.rst
View file @
297aaa05
...
...
@@ -43,7 +43,7 @@ Local bootstrapping using the ``bootstrap`` command
===================================================
You can use the :ref:`bootstrap command <bootstrap-command>` of a
``buildout`` script installed in your Python environment to boostrap
``buildout`` script installed in your Python environment to boo
t
strap
a new buildout in the current directory:
.. code-block:: console
...
...
old-tutorial/tutorial.txt
View file @
297aaa05
...
...
@@ -1238,14 +1238,14 @@ Provides default buildout settings (unless -U option is used):
[buildout]
# Shared eggs directory:
eggs-directory = /home/jim/.eggs
# Newest mode off, reenable with -n
# Newest mode off, re
-
enable with -n
newst = false
[python24]
executabe = /usr/local/python/2.4/bin/python
executab
l
e = /usr/local/python/2.4/bin/python
[python25]
executabe = /usr/local/python/2.5/bin/python
executab
l
e = /usr/local/python/2.5/bin/python
.. class:: handout
...
...
@@ -1382,7 +1382,7 @@ Example: zc.sharing (1/2)
You can largely ignore the details of the Zope 3 instance recipe.
If you aren't a Zope user, you don't care. If you are a Zope user,
you should be aware that much better recipes have been develop
p
ed.
you should be aware that much better recipes have been developed.
This project uses multiple source directories, the current
directory and the zc.security directory, which is a subversion
...
...
@@ -1638,7 +1638,7 @@ be checked out and reproduced.
- Run with -v
- Look for out
o
ut lines of form:
- Look for out
p
ut lines of form:
::
...
...
src/zc/buildout/buildout.py
View file @
297aaa05
...
...
@@ -1444,7 +1444,7 @@ def _install_and_load(spec, group, entry, buildout):
v
=
sys
.
exc_info
()[
1
]
buildout
.
_logger
.
log
(
1
,
"Could't load %s entry point %s
\
n
from %s:
\
n
%s."
,
"Could
n
't load %s entry point %s
\
n
from %s:
\
n
%s."
,
group
,
entry
,
spec
,
v
)
raise
...
...
@@ -1954,10 +1954,10 @@ def _update_section(in1, s2):
s1
=
copy
.
deepcopy
(
in1
)
# Base section 2 on section 1; section 1 is copied, with key-value pairs
# in section 2 overriding those in section 1. If there are += or -=
# operators in section 2, process these to add or sub
s
tract items (delimited
# operators in section 2, process these to add or subtract items (delimited
# by newlines) from the preexisting values.
s2
=
copy
.
deepcopy
(
s2
)
# avoid mutating the second argument, which is unexpected
# Sort on key, then on the addition or sub
s
traction operator (+ comes first)
# Sort on key, then on the addition or subtraction operator (+ comes first)
for
k
,
v
in
sorted
(
s2
.
items
(),
key
=
lambda
x
:
(
x
[
0
].
rstrip
(
' +'
),
x
[
0
][
-
1
])):
if
k
.
endswith
(
'+'
):
key
=
k
.
rstrip
(
' +'
)
...
...
@@ -2059,7 +2059,7 @@ Options:
-D
Debug errors. If an error occurs, then the post-mortem debugger
will be started. This is especially useful for debuging recipe
will be started. This is especially useful for debug
g
ing recipe
problems.
-h, --help
...
...
src/zc/buildout/download.py
View file @
297aaa05
...
...
@@ -30,7 +30,7 @@ except ImportError:
import
urllib2
def
urlretrieve
(
url
,
tmp_path
):
"""Work around Python issue 24599 includig basic auth support
"""Work around Python issue 24599 includi
n
g basic auth support
"""
scheme
,
netloc
,
path
,
params
,
query
,
frag
=
urlparse
(
url
)
auth
,
host
=
urllib2
.
splituser
(
netloc
)
...
...
src/zc/buildout/easy_install.py
View file @
297aaa05
...
...
@@ -324,7 +324,7 @@ class Installer(object):
"""Return textual requirements/constraint information for debug purposes
We do a very simple textual search, as that filters out most
extraneous information witout missing anything.
extraneous information wit
h
out missing anything.
"""
output
=
[
...
...
src/zc/buildout/tests/buildout.txt
View file @
297aaa05
...
...
@@ -1067,7 +1067,7 @@ For continuous integration, it might be useful to query the buildout config.
first
second
As with assignments, if the section is om
m
itted, 'buildout' section is assumed.
As with assignments, if the section is omitted, 'buildout' section is assumed.
>>> print_(system(buildout+ ' query develop'), end='')
.
...
...
src/zc/buildout/tests/configparser.test
View file @
297aaa05
...
...
@@ -19,7 +19,7 @@ First, an example that illustrates a well-formed configuration::
# not a comment
# comment
;
also
a
coment
;
also
a
com
m
ent
b
...
...
src/zc/buildout/tests/test_all.py
View file @
297aaa05
...
...
@@ -660,7 +660,7 @@ the comparison with the saved value works correctly.
Develop: '/sample-buildout/recipes'
Installing debug.
If we run the buildout again, we shoudn't get a message about
If we run the buildout again, we shou
l
dn't get a message about
uninstalling anything because the configuration hasn't changed.
>>> print_(system(buildout), end='')
...
...
@@ -2570,7 +2570,7 @@ We get an error if we specify anything but true or false:
def
wont_downgrade_due_to_prefer_final
():
r"""
If we install a non-final buildout version, we don't want to
downgrade just bcause we prefer-final. If a buildout version
downgrade just b
e
cause we prefer-final. If a buildout version
isn't specified using a versions entry, then buildout's version
requirement gets set to >=CURRENT_VERSION.
...
...
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