Merge lp://staging/~abentley/bzr-builder/safe into lp://staging/bzr-builder

Proposed by Aaron Bentley
Status: Merged
Merged at revision: 104
Proposed branch: lp://staging/~abentley/bzr-builder/safe
Merge into: lp://staging/bzr-builder
Diff against target: 200 lines (+47/-21)
4 files modified
cmds.py (+21/-6)
recipe.py (+12/-9)
tests/test_blackbox.py (+12/-4)
tests/test_recipe.py (+2/-2)
To merge this branch: bzr merge lp://staging/~abentley/bzr-builder/safe
Reviewer Review Type Date Requested Status
James Westby Pending
Review via email: mp+33685@code.staging.launchpad.net

Commit message

Add --safe option to prevent arbitrary code execution.

Description of the change

This branch adds the --safe option, as we discussed.
It changes forbidden_instructions to permitted_instructions.
It removes the period from the problem, because a period is supplied by
RecipeParseError.
It fixes the error I was getting with an unchanged trunk.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches