[zanata/zanata-client] cc94d9: run befores, command and afters in order, abort if...

GitHub noreply at github.com
Mon Nov 18 04:09:45 UTC 2013


  Branch: refs/heads/add-command-hooks
  Home:   https://github.com/zanata/zanata-client
  Commit: cc94d9a4683e7d481563454340aaef4f4358b330
      https://github.com/zanata/zanata-client/commit/cc94d9a4683e7d481563454340aaef4f4358b330
  Author: David Mason <dr.d.mason at gmail.com>
  Date:   2013-11-17 (Sun, 17 Nov 2013)

  Changed paths:
    M zanata-client-commands/src/main/java/org/zanata/client/commands/ConfigurableProjectCommand.java

  Log Message:
  -----------
  run befores, command and afters in order, abort if any fails.

    Before and after commands will always run without waiting for
    command confirmation, but all remaining commands will be aborted
    if any command fails.

    Since the main use case of commands is to prepare files before
    push, waiting until after the initial analysis and confirmation
    does not make sense. For now I am implementing only the basic
    functionality that meets the use-case.





More information about the zanata-commits mailing list