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

Provide a useful implementation of onTransformResults #666

Merged
merged 5 commits into from
Feb 13, 2019

Conversation

jessitron
Copy link
Contributor

This is one way to get some notification when the save failed.

the story is: I made a transform with a colon in its name. When I ran it, it told me it was successful, because it didn't fail to edit the project. But it did fail to save those edits to a branch! It did not tell me!
Also it does not tell the branch when it succeeds; I have to go looking for it.

With this implementation of onTransformResults, I get a message in case of failure or success. It's very useful, I have wanted this a dozen times, and so it should be available in the library.

Copy link
Member

@cdupuis cdupuis left a comment

Choose a reason for hiding this comment

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

Can we use the standard slack message formatting of slackInfoMessage etc for these, please?

Other then that, this looks really useful. Thanks.

@cdupuis cdupuis added enhancement New feature or request changelog:added Add this issue or pull request to added changelog section auto-merge:on-approve Auto-merge on review approvals auto-merge-method:squash Auto-merge with squash and merge labels Jan 30, 2019
Jessica Kerr and others added 3 commits February 4, 2019 14:36
This is one way to get some notification when the save failed
[atomist:generated] [atomist:autofix=typescript_header]
[atomist:generated] [atomist:autofix=typescript_imports]
Jessica Kerr and others added 2 commits February 4, 2019 14:52
[atomist:generated] [atomist:autofix=typescript_imports]
@jessitron
Copy link
Contributor Author

@cdupuis like this?

@johnsonr johnsonr merged commit 960270f into master Feb 13, 2019
@johnsonr johnsonr deleted the nortissej/onTransformResults branch February 13, 2019 00:09
atomist-bot added a commit that referenced this pull request Feb 13, 2019
[atomist:generated]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge:on-approve Auto-merge on review approvals auto-merge-method:squash Auto-merge with squash and merge changelog:added Add this issue or pull request to added changelog section enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants