Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Migrate old state to new. #383
Conversation
kyrofa
closed this
Mar 21, 2016
kyrofa
reopened this
Mar 21, 2016
sergiusens
reviewed
Mar 21, 2016
| + for step in common.COMMAND_ORDER: | ||
| + shutil.rmtree(common.get_partsdir()) | ||
| + with self.subTest('{} step'.format(step)): | ||
| + part_name = 'foo' |
sergiusens
Mar 21, 2016
Collaborator
just a very minor thing, this doesn't need to be nested in the context nor the loop
sergiusens
reviewed
Mar 21, 2016
| @@ -301,6 +301,19 @@ def test_mark_done_clears_later_steps(self): | ||
| os.path.exists(handler._step_state_file(later_step)), | ||
| 'Expected later step states to be cleared') | ||
| + def test_state_file_migration(self): | ||
| + for step in common.COMMAND_ORDER: | ||
| + shutil.rmtree(common.get_partsdir()) |
coveralls
commented
Mar 21, 2016
|
Created PR #385 to rebase and land |
sergiusens
closed this
Mar 21, 2016
kyrofa
deleted the
kyrofa:feature/1560158/migrate_state_tracking
branch
Apr 13, 2016
pushed a commit
to smoser/snapcraft
that referenced
this pull request
Sep 14, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kyrofa commentedMar 21, 2016
This PR resolves LP: #1560158 by migrating the old state tracking mechanism seamlessly to use the new.