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
Łukasz Nowak
slapos.buildout
Commits
52179e18
Commit
52179e18
authored
Dec 13, 2007
by
Christophe Combelles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typos found during translation
parent
b6283508
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
doc/tutorial.txt
doc/tutorial.txt
+20
-20
No files found.
doc/tutorial.txt
View file @
52179e18
...
@@ -15,7 +15,7 @@ DZUG 2007
...
@@ -15,7 +15,7 @@ DZUG 2007
What is zc.buildout?
What is zc.buildout?
====================
====================
- Co
u
rse-grained python-based configuration-driven build tool
- Co
a
rse-grained python-based configuration-driven build tool
- Tool for working with eggs
- Tool for working with eggs
...
@@ -29,7 +29,7 @@ What is zc.buildout?
...
@@ -29,7 +29,7 @@ What is zc.buildout?
- Developer oriented
- Developer oriented
Co
u
rse-grained building
Co
a
rse-grained building
=======================
=======================
- make and scons (and distutils) are fine grained
- make and scons (and distutils) are fine grained
...
@@ -44,7 +44,7 @@ Course-grained building
...
@@ -44,7 +44,7 @@ Course-grained building
- dependency and change driven
- dependency and change driven
- zc.buildout is co
u
rse-grained
- zc.buildout is co
a
rse-grained
- Build large components of a system
- Build large components of a system
...
@@ -232,7 +232,7 @@ Egg jargon
...
@@ -232,7 +232,7 @@ Egg jargon
.. class:: handout
.. class:: handout
Requirements are strings that name distributions. Th
is
consist
Requirements are strings that name distributions. Th
ey
consist
of a project name, optional version specifiers, and optional
of a project name, optional version specifiers, and optional
extras specifiers. Extras are names of features of a package
extras specifiers. Extras are names of features of a package
that may have special dependencies.
that may have special dependencies.
...
@@ -531,7 +531,7 @@ Buildout steps
...
@@ -531,7 +531,7 @@ Buildout steps
version number that includes the subversion revision number of
version number that includes the subversion revision number of
the project. The -b option specified a revision tag. Here we
the project. The -b option specified a revision tag. Here we
specified a revision tag of "dev", which marks the release as a
specified a revision tag of "dev", which marks the release as a
devlopment release. These are useful when making development
dev
e
lopment release. These are useful when making development
releases.
releases.
Exercise 1
Exercise 1
...
@@ -636,7 +636,7 @@ A Minimal/Develop ``setup.py``
...
@@ -636,7 +636,7 @@ A Minimal/Develop ``setup.py``
.. class:: handout
.. class:: handout
If we're only going to use a package as a devlop egg, we just need
If we're only going to use a package as a dev
e
lop egg, we just need
to specify the project name, and, if there is a separate source
to specify the project name, and, if there is a separate source
directory, then we need to specify that location.
directory, then we need to specify that location.
...
@@ -787,7 +787,7 @@ Extras
...
@@ -787,7 +787,7 @@ Extras
test = ['zope.testing', 'ZODB3',
test = ['zope.testing', 'ZODB3',
'zope.configuration', 'zope.security', 'zope.proxy',
'zope.configuration', 'zope.security', 'zope.proxy',
'zope.i18nmessageid',
'zope.i18nmessageid',
'zope.location', # should be depenency of zope.security
'zope.location', # should be depen
d
ency of zope.security
],
],
hook = ['zope.hookable'],
hook = ['zope.hookable'],
persistentregistry = ['ZODB3'],
persistentregistry = ['ZODB3'],
...
@@ -800,9 +800,9 @@ Extras
...
@@ -800,9 +800,9 @@ Extras
Extras provide a way to help manage dependencies.
Extras provide a way to help manage dependencies.
A common use of extras is to separate test dependencies from normal
A common use of extras is to separate test dependencies from normal
depenencies. A package may provide other optional features that
depen
d
encies. A package may provide other optional features that
cause other dependencies. For example, the zcml module in
cause other dependencies. For example, the zcml module in
zope.component adds lots of depenencies that we don't want to
zope.component adds lots of depen
d
encies that we don't want to
impose on people that don't use it.
impose on people that don't use it.
``zc.recipe.egg``
``zc.recipe.egg``
...
@@ -858,7 +858,7 @@ Installing scripts
...
@@ -858,7 +858,7 @@ Installing scripts
.. class:: handout
.. class:: handout
If any of the
of the
named eggs have ``console_script`` entry
If any of the named eggs have ``console_script`` entry
points, then scripts will be generated for the entry points.
points, then scripts will be generated for the entry points.
If a distribution doesn't use setuptools, it may not declare it's
If a distribution doesn't use setuptools, it may not declare it's
...
@@ -961,7 +961,7 @@ Custom egg building
...
@@ -961,7 +961,7 @@ Custom egg building
eggs are buildout specific.
eggs are buildout specific.
This example illustrates use of the zc.recipe.cmmi recipe with
This example illustrates use of the zc.recipe.cmmi recipe with
supports installation of software that uses configure
and make
.
supports installation of software that uses configure
, make, make install
.
Here, we used the recipe to install the spread toolkit, which is
Here, we used the recipe to install the spread toolkit, which is
installed in the parts directory.
installed in the parts directory.
...
@@ -982,7 +982,7 @@ Part dependencies
...
@@ -982,7 +982,7 @@ Part dependencies
In the previous example, we used the spread toolkit location in the
In the previous example, we used the spread toolkit location in the
spreadmodule part definition. This reference was sufficient to make
spreadmodule part definition. This reference was sufficient to make
the spreadtoolkit part a dependency of the spreadmodule part and
the spreadtoolkit part a dependency of the spreadmodule part and
cause it to be installed first
,
cause it to be installed first
.
Custom develop eggs
Custom develop eggs
===================
===================
...
@@ -1051,7 +1051,7 @@ Writing recipes
...
@@ -1051,7 +1051,7 @@ Writing recipes
.. class:: handout
.. class:: handout
Most recipes simply create files or directories and the
Most recipes simply create files or directories and the
buil
d
-in buildout uninstall support is sufficient. If a recipe
buil
t
-in buildout uninstall support is sufficient. If a recipe
does more than simply create files, then an uninstall recipe
does more than simply create files, then an uninstall recipe
will likely be needed.
will likely be needed.
...
@@ -1088,7 +1088,7 @@ Install Recipes
...
@@ -1088,7 +1088,7 @@ Install Recipes
- Log error details using the Python logger module.
- Log error details using the Python logger module.
- Raise a zc.buildout.UserErr
p
r exception.
- Raise a zc.buildout.UserErr
o
r exception.
``mkdirrecipe``.py continued
``mkdirrecipe``.py continued
============================
============================
...
@@ -1214,7 +1214,7 @@ Buildout modes
...
@@ -1214,7 +1214,7 @@ Buildout modes
- Disabled by default
- Disabled by default
- If enabled with -o or buildout offline option set to false.
- If enabled
, turn off
with -o or buildout offline option set to false.
.. class:: handout
.. class:: handout
...
@@ -1381,7 +1381,7 @@ Example: zc.sharing (1/2)
...
@@ -1381,7 +1381,7 @@ Example: zc.sharing (1/2)
You can largely ignore the details of the Zope 3 instance recipe.
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,
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
are in development
.
you should be aware that much better recipes
have been developped
.
This project uses multiple source directories, the current
This project uses multiple source directories, the current
directory and the zc.security directory, which is a subversion
directory and the zc.security directory, which is a subversion
...
@@ -1427,7 +1427,7 @@ Example: zc.sharing (2/2)
...
@@ -1427,7 +1427,7 @@ Example: zc.sharing (2/2)
- We've used the extra-paths option to tell the test runner to
- We've used the extra-paths option to tell the test runner to
include the Zope 3 checkout source directory in sys.path. This
include the Zope 3 checkout source directory in sys.path. This
won't be necessary when Zope 3 is
available entirely as eggs.
is not necessary as Zope 3 is now
available entirely as eggs.
Source vs Binary
Source vs Binary
================
================
...
@@ -1608,7 +1608,7 @@ ZRS spec file (3/3)
...
@@ -1608,7 +1608,7 @@ ZRS spec file (3/3)
- Reruns the buildout:
- Reruns the buildout:
- Using a post-installation configuration that specified the
- Using a post-installation configuration that specified the
parts who
's
paths need to be adjusted.
parts who
se
paths need to be adjusted.
- In offline mode because we don't want any network access or new
- In offline mode because we don't want any network access or new
software installed that isn't in the RPM.
software installed that isn't in the RPM.
...
@@ -1630,10 +1630,10 @@ ZRS spec file (3/3)
...
@@ -1630,10 +1630,10 @@ ZRS spec file (3/3)
Repeatability
Repeatability
=============
=============
We want to be able to check cert
t
ain configuration into svn that can
We want to be able to check certain configuration into svn that can
be checked out and reproduced.
be checked out and reproduced.
- We let buildout tell
is
what versions it picked for distributions
- We let buildout tell what versions it picked for distributions
- Run with -v
- Run with -v
...
...
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