Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • R reprotest
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Reproducible BuildsReproducible Builds
  • reprotest
  • Merge requests
  • !2
The source project of this merge request has been removed.

Fix --extra-build

Merged Ryan Scott requested to merge (removed):master into master Aug 08, 2018
  • Overview 1
  • Pipelines 0
  • Changes 1

Currently, any attempt to use the --extra-build flags fails with an error to this effect:

Traceback (most recent call last):
  File "/usr/local/bin/reprotest", line 9, in <module>
    load_entry_point('reprotest==0.7.8', 'console_scripts', 'reprotest')()
  File "/usr/local/lib/python3.5/dist-packages/reprotest-0.7.8-py3.5.egg/reprotest/__init__.py", line 864, in main
    r = run(sys.argv[1:])
  File "/usr/local/lib/python3.5/dist-packages/reprotest-0.7.8-py3.5.egg/reprotest/__init__.py", line 807, in run
    specs.append(spec.extend(extra_build))
NameError: name 'spec' is not defined

This appears to be because of this line of code. In particular, the spec variable is used without having previously been defined.

Note that there used to be a spec variable, but it appears to have been removed in 9b34f0a3. This PR simply adds it back.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master