Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed upgrade functionality #235

Merged
merged 3 commits into from
Jun 29, 2021
Merged

Changed upgrade functionality #235

merged 3 commits into from
Jun 29, 2021

Conversation

cjiang2000
Copy link
Contributor

Changed upgrade functionality, so that now it reverts to old theme files when it errors out.

J=SLAP-1308
TEST=manual/automatic

Tested by running jambo upgrade on the hitchhiker theme and making sure that upgrade ran unchanged when no error occurs. Also ran with an artificial error to make sure that theme files are reverted correctly.

Created acceptance test for themeupgrader that checks to make sure that when jambo upgrade errors out, the test-theme remains unchanged.

…les when it errors out.

J=SLAP-1308
TEST=manual/automatic

Tested by running jambo upgrade on the hitchhiker theme and making sure that upgrade ran unchanged when no error occurs. Also ran with an artificial error to make sure that theme files are reverted correctly.

Created acceptance test for themeupgrader that checks to make sure that when jambo upgrade errors out, the test-theme remains unchanged.
@coveralls
Copy link

coveralls commented Jun 28, 2021

Coverage Status

Coverage decreased (-0.1%) to 47.041% when pulling 1529ba8 on dev/upgrade into b2bce08 on develop.

@cjiang2000 cjiang2000 requested a review from cea2aj June 29, 2021 15:32
Copy link
Member

@cea2aj cea2aj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cjiang2000 cjiang2000 merged commit 501ed8b into develop Jun 29, 2021
@cjiang2000 cjiang2000 deleted the dev/upgrade branch June 29, 2021 15:50
@oshi97 oshi97 mentioned this pull request Aug 24, 2021
oshi97 added a commit that referenced this pull request Aug 24, 2021
* Do not run the babel helper in Development Mode. (#224) (#225)
* Use npmlog for logging with colors (#228)
* Add Jambo build validation hook (#229)
* Added acceptance testing framework + tests 
* add --globs param to `jambo extract-translations` (#233) 
* Pass partials to templatedatavalidator (#237)
* `jambo upgrade` no longer deletes the themes folder if there is an error when git checkout-ing the new branch (#235)
* Update canonicalizeLocale to handle 中文(chinese) (#239)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants