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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.buildout
Commits
66ad3cab
Commit
66ad3cab
authored
May 13, 2008
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- merged
svn+ssh://andreasjung@svn.zope.org/repos/main/zc.buildout/branches/ajung-socket-timeout
- 1.0.2 release
parent
b6b1e0f5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
8 deletions
+34
-8
CHANGES.txt
CHANGES.txt
+3
-1
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+26
-7
src/zc/buildout/buildout.txt
src/zc/buildout/buildout.txt
+5
-0
No files found.
CHANGES.txt
View file @
66ad3cab
...
@@ -4,12 +4,14 @@ Status
...
@@ -4,12 +4,14 @@ Status
Change History
Change History
**************
**************
1.0.2 (
unreleased
)
1.0.2 (
2008-05-13
)
==================
==================
- More fixes for Windows. A quoted sha-bang is now used on Windows to make the
- More fixes for Windows. A quoted sha-bang is now used on Windows to make the
.exe files work with a Python executable in 'program files'.
.exe files work with a Python executable in 'program files'.
- added "-t <timeout_in_seconde>" option for specifying the socket timeout
1.0.1 (2008-04-02)
1.0.1 (2008-04-02)
==================
==================
...
...
src/zc/buildout/buildout.py
View file @
66ad3cab
...
@@ -1220,6 +1220,10 @@ Options:
...
@@ -1220,6 +1220,10 @@ Options:
This defaults to the file named "buildout.cfg" in the current
This defaults to the file named "buildout.cfg" in the current
working directory.
working directory.
-t socket_timeout
Specify the socket timeout in seconds.
-U
-U
Don't read user defaults.
Don't read user defaults.
...
@@ -1341,8 +1345,11 @@ def main(args=None):
...
@@ -1341,8 +1345,11 @@ def main(args=None):
_help
()
_help
()
op
=
op
[
1
:]
op
=
op
[
1
:]
if
op
[:
1
]
==
'c'
:
if
op
[:
1
]
in
(
'c'
,
't'
):
op_
=
op
[:
1
]
op
=
op
[
1
:]
op
=
op
[
1
:]
if
op_
==
'c'
:
if
op
:
if
op
:
config_file
=
op
config_file
=
op
else
:
else
:
...
@@ -1350,6 +1357,18 @@ def main(args=None):
...
@@ -1350,6 +1357,18 @@ def main(args=None):
config_file
=
args
.
pop
(
0
)
config_file
=
args
.
pop
(
0
)
else
:
else
:
_error
(
"No file name specified for option"
,
orig_op
)
_error
(
"No file name specified for option"
,
orig_op
)
elif
op_
==
't'
:
try
:
timeout
=
int
(
args
.
pop
(
0
))
except
IndexError
:
_error
(
"No timeout value specified for option"
,
orig_op
)
except
ValueError
:
_error
(
"No timeout value must be numeric"
,
orig_op
)
import
socket
print
'Setting socket time out to %d seconds'
%
timeout
socket
.
setdefaulttimeout
(
timeout
)
elif
op
:
elif
op
:
if
orig_op
==
'--help'
:
if
orig_op
==
'--help'
:
_help
()
_help
()
...
...
src/zc/buildout/buildout.txt
View file @
66ad3cab
...
@@ -1453,6 +1453,11 @@ The following options are supported:
...
@@ -1453,6 +1453,11 @@ The following options are supported:
The -c option can be used to specify a configuration file, rather than
The -c option can be used to specify a configuration file, rather than
buildout.cfg in the current directory.
buildout.cfg in the current directory.
-t socket_timeout
Specify the socket timeout in seconds.
-v
-v
Increment the verbosity by 10. The verbosity is used to adjust
Increment the verbosity by 10. The verbosity is used to adjust
the logging level. The verbosity is subtracted from the numeric
the logging level. The verbosity is subtracted from the numeric
...
...
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