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

Homogenize async progress #1948

Merged
merged 2 commits into from
Sep 5, 2018
Merged

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented Sep 4, 2018

jobs: improve progress echo

  • Only echo status when g:go_echo_command_info is set.
  • Echo status when starting a job.

improve use of statustype and progress messages

  • Make sure all async jobs set the statustype option key so that their
    progress will be echoed appropriately.
  • Move some progress messages that were written just prior to starting
    an async job to be written just before executing the similar
    synchronous execution (e.g. in go#cmd#Test).
  • Move the "analysing with scope" message in guru so that it will be
    written after the async job is started and make sure it's guarded by
    a go#config#EchoProgress check.
  • Remove remaining progress messages that were written just prior to
    starting async jobs.

* Only echo status when g:go_echo_command_info is set.
* Echo status when starting a job.
* Make sure all async jobs set the statustype option key so that their
  progress will be echoed appropriately.
* Move some progress messages that were written just prior to starting
  an async job to be written just before executing the similar
  synchronous execution (e.g. in `go#cmd#Test`).
* Move the "analysing with scope" message in guru so that it will be
  written _after_ the async job is started and make sure it's guarded by
  a `go#config#EchoProgress` check.
* Remove remaining progress messages that were written just prior to
  starting async jobs.
@fatih
Copy link
Owner

fatih commented Sep 5, 2018

lgtm

@bhcleek bhcleek merged commit 552f7b2 into fatih:master Sep 5, 2018
bhcleek added a commit that referenced this pull request Sep 5, 2018
@bhcleek bhcleek deleted the homogenize-async-progress branch September 5, 2018 19:37
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.

2 participants