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

Progress Reporting for Long Running Operations + Custom Commands #3130

Merged
merged 137 commits into from
May 5, 2017

Conversation

oakeyc
Copy link
Contributor

@oakeyc oakeyc commented May 2, 2017


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

  • Each command and parameter has a meaningful description.
  • Each new command has a test.

(see Authoring Command Modules)

@oakeyc
Copy link
Contributor Author

oakeyc commented May 5, 2017

@troydai and @derekbekoe, can you please take another look

@troydai
Copy link
Contributor

troydai commented May 5, 2017

Reviewing.


def stop(self):
""" if there is an abupt stop before ending """
self.add(message='Interupted')
Copy link
Member

Choose a reason for hiding this comment

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

Typo with 'Interupted'

shell.cli.buffers['progress'].reset(
initial_document=Document(doc))
shell.cli.request_redraw()
if PROGRESS == 'Finished' or PROGRESS == 'Interupted':
Copy link
Member

Choose a reason for hiding this comment

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

Typo 'Interupted'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@derekbekoe derekbekoe merged commit 743b4fb into Azure:master May 5, 2017
@oakeyc oakeyc deleted the progress branch May 5, 2017 18:35
@oakeyc oakeyc restored the progress branch May 8, 2017 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants