Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
reprotest
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Reproducible Builds
reprotest
Commits
4a080375
Commit
4a080375
authored
Sep 22, 2016
by
Ximin Luo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If no virtual_server is given then use "null"
parent
91852a1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
reprotest/__init__.py
reprotest/__init__.py
+4
-4
No files found.
reprotest/__init__.py
View file @
4a080375
...
@@ -67,7 +67,7 @@ class Script(collections.namedtuple('_Script', 'build_command setup cleanup')):
...
@@ -67,7 +67,7 @@ class Script(collections.namedtuple('_Script', 'build_command setup cleanup')):
setarch.
setarch.
setup (_shell_ast.AndList): These are shell commands that change the
setup (_shell_ast.AndList): These are shell commands that change the
shell environment and need to be run as part of the same script as
shell environment and need to be run as part of the same script as
the main build command but don't take other commands as arguments.
the main build command but don't take other commands as arguments.
These execute conditionally because if one command fails,
These execute conditionally because if one command fails,
the whole script should fail. Examples: cd, umask.
the whole script should fail. Examples: cd, umask.
cleanup (_shell_ast.List): All commands that have to be run to return
cleanup (_shell_ast.List): All commands that have to be run to return
...
@@ -350,7 +350,7 @@ COMMAND_LINE_OPTIONS = types.MappingProxyType(collections.OrderedDict([
...
@@ -350,7 +350,7 @@ COMMAND_LINE_OPTIONS = types.MappingProxyType(collections.OrderedDict([
'default'
:
None
,
'nargs'
:
'?'
,
'default'
:
None
,
'nargs'
:
'?'
,
'help'
:
'Build artifact to test for reproducibility.'
})),
'help'
:
'Build artifact to test for reproducibility.'
})),
(
'virtual_server_args'
,
types
.
MappingProxyType
({
(
'virtual_server_args'
,
types
.
MappingProxyType
({
'default'
:
None
,
'nargs'
:
'*'
,
'default'
:
[
"null"
]
,
'nargs'
:
'*'
,
'help'
:
'Arguments to pass to the virtual_server.'
})),
'help'
:
'Arguments to pass to the virtual_server.'
})),
(
'--source-root'
,
types
.
MappingProxyType
({
(
'--source-root'
,
types
.
MappingProxyType
({
'dest'
:
'source_root'
,
'type'
:
pathlib
.
Path
,
'dest'
:
'source_root'
,
'type'
:
pathlib
.
Path
,
...
@@ -406,10 +406,10 @@ def command_line():
...
@@ -406,10 +406,10 @@ def command_line():
return
types
.
MappingProxyType
({
k
:
v
for
k
,
v
in
vars
(
args
)
.
items
()
if
v
is
not
None
})
return
types
.
MappingProxyType
({
k
:
v
for
k
,
v
in
vars
(
args
)
.
items
()
if
v
is
not
None
})
def
main
():
def
main
():
config_options
=
config
()
config_options
=
config
()
# Argparse exits with status code 2 if something goes wrong, which
# Argparse exits with status code 2 if something goes wrong, which
# is already the right status exit code for reprotest.
# is already the right status exit code for reprotest.
command_line_options
=
command_line
()
command_line_options
=
command_line
()
...
...
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