Merge lp://qastaging/~dobey/tarmac/bzr-export into lp://qastaging/tarmac

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 409
Merged at revision: 409
Proposed branch: lp://qastaging/~dobey/tarmac/bzr-export
Merge into: lp://qastaging/tarmac
Diff against target: 156 lines (+39/-15)
4 files modified
HACKING (+4/-4)
docs/introduction.txt (+3/-2)
tarmac/plugins/command.py (+14/-4)
tarmac/plugins/tests/test_command.py (+18/-5)
To merge this branch: bzr merge lp://qastaging/~dobey/tarmac/bzr-export
Reviewer Review Type Date Requested Status
Mike McCracken Approve
Chris Johnston Approve
Review via email: mp+193130@code.qastaging.launchpad.net

Commit message

Export the merged tree with changes to a temporary location for testing.
Update the documentation for running the tests, as mock is now required.

Description of the change

This changes Tarmac to always run the verify_command in an exported tree that contains the uncommitted changes, to make it easier to securely run tarmac on a production system with minimal setup.

To post a comment you must log in.
Revision history for this message
Mike McCracken (mikemc) wrote :

command.py and test_command.py should have updated copyrights

test_run_exported_tree should have its own personal docstring

review: Needs Fixing
Revision history for this message
Chris Johnston (cjohnston) wrote :

LG

review: Approve
Revision history for this message
Mike McCracken (mikemc) :
review: Approve
Revision history for this message
Tarmac Traffic Controller (tarmac-atc) wrote :

The attempt to merge lp:~dobey/tarmac/bzr-export into lp:tarmac failed. Below is the output from the failed tests.

Traceback (most recent call last):
  File "setup.py", line 20, in <module>
    from setuptools import setup
ImportError: No module named setuptools

Revision history for this message
Tarmac Traffic Controller (tarmac-atc) wrote :
Download full text (12.7 KiB)

The attempt to merge lp:~dobey/tarmac/bzr-export into lp:tarmac failed. Below is the output from the failed tests.

running test
running egg_info
creating tarmac.egg-info
writing tarmac.egg-info/PKG-INFO
writing top-level names to tarmac.egg-info/top_level.txt
writing dependency_links to tarmac.egg-info/dependency_links.txt
writing manifest file 'tarmac.egg-info/SOURCES.txt'
reading manifest file 'tarmac.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'tarmac.egg-info/SOURCES.txt'
running build_ext

test_person_is_in_subteam (tarmac.plugins.tests.test_allowedcontributors.AllowedContributorTests)
tarmac.plugins.tests.test_allowedcontributors.AllowedContributorTests.test_person_is_in_subteam ... ok
test_person_not_in_team (tarmac.plugins.tests.test_allowedcontributors.AllowedContributorTests)
tarmac.plugins.tests.test_allowedcontributors.AllowedContributorTests.test_person_not_in_team ... ok
test_run (tarmac.plugins.tests.test_allowedcontributors.AllowedContributorTests)
tarmac.plugins.tests.test_allowedcontributors.AllowedContributorTests.test_run ... ok
test_run_failure (tarmac.plugins.tests.test_allowedcontributors.AllowedContributorTests)
tarmac.plugins.tests.test_allowedcontributors.AllowedContributorTests.test_run_failure ... ok
test_run_private_team (tarmac.plugins.tests.test_allowedcontributors.AllowedContributorTests)
tarmac.plugins.tests.test_allowedcontributors.AllowedContributorTests.test_run_private_team ... ok
test_count_pending (tarmac.plugins.tests.test_votes.TestVotes)
tarmac.plugins.tests.test_votes.TestVotes.test_count_pending ... ok
test_count_votes (tarmac.plugins.tests.test_votes.TestVotes)
tarmac.plugins.tests.test_votes.TestVotes.test_count_votes ... ok
test_evaluate_criteria (tarmac.plugins.tests.test_votes.TestVotes)
tarmac.plugins.tests.test_votes.TestVotes.test_evaluate_criteria ... ok
test_parse_criteria (tarmac.plugins.tests.test_votes.TestVotes)
tarmac.plugins.tests.test_votes.TestVotes.test_parse_criteria ... ok
test_parse_invalid_criteria (tarmac.plugins.tests.test_votes.TestVotes)
tarmac.plugins.tests.test_votes.TestVotes.test_parse_invalid_criteria ... ok
test_run (tarmac.plugins.tests.test_votes.TestVotes)
tarmac.plugins.tests.test_votes.TestVotes.test_run ... ok
test_run_failure (tarmac.plugins.tests.test_votes.TestVotes)
tarmac.plugins.tests.test_votes.TestVotes.test_run_failure ... ok
test_run_global_config (tarmac.plugins.tests.test_votes.TestVotes)
tarmac.plugins.tests.test_votes.TestVotes.test_run_global_config ... ok
test_run_global_config_failure (tarmac.plugins.tests.test_votes.TestVotes)
tarmac.plugins.tests.test_votes.TestVotes.test_run_global_config_failure ... ok
test_run_no_votes (tarmac.plugins.tests.test_votes.TestVotes)
tarmac.plugins.tests.test_votes.TestVotes.test_run_no_votes ... ok
test_run (tarmac.plugins.tests.test_bugresolver.BugResolverTests)
tarmac.plugins.tests.test_bugresolver.BugResolverTests.test_run ... ok
test_run_with_no_bugs (tarmac.plugins.tests.test_bugresolver.BugResolverTests)
tarmac.plugins.tests.test_bugresolver.BugResolverTests.test_run_with_no_bugs ... ok
test_run_with_series (tarmac.plugins.tests.test_bugresolver.BugResolverTests)
...

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