1. 06 Mar, 2018 1 commit
  2. 27 Jul, 2015 1 commit
    • Luis Araujo's avatar
      Add the exit_codes API module · 92a60e7f
      Luis Araujo authored
      This commit adds the lqa_api.exit_codes module to contain all
      the required exit codes used by lqa for easy access from the
      API.
      
      It initially adds the following codes: SUCCESS, OPERATION_FAILED,
      and APPLICATION_ERROR.
      
      This commit also gets the current lqa code to start using these
      codes. The main change is that now lqa will exit with code 2 for
      any error instead of 1, which is now used for reporting operation
      failures.
      92a60e7f
  3. 17 Jun, 2015 1 commit
    • Luis Araujo's avatar
      Add the ProfileNotFound exception · 5033d22d
      Luis Araujo authored
      Add a module for exceptions and restructure the code to make it
      more convenient to use exceptions and write unit tests.
      
      - Add the ProfileNotFound exception. This makes the code clearer
        to catch this error from the submit command.
      - Now the command calls are simpler (omitting passing the parser).
      - Now the main method to start running the lqa sub-commands is called
        run() and the Cli() initialization only takes care of setting up
        the parser.
      5033d22d
  4. 11 Mar, 2015 1 commit
    • Enric Balletbo i Serra's avatar
      Add support for multiple subcommands (like git). · e88b1c57
      Enric Balletbo i Serra authored
      It's a common pattern for command line tools to have multiple subcommands, this
      patch implements a new subcommand command line interface. Each subcommand has
      its own set of required and optional parameters.
      
      The current implemented subcommands are:
      
          submit     Submit job files
          cancel     Cancel job files
          resubmit   Resubmit job files
          results    Fetch job id list results
      
      See 'lqa <command> -h' to read about a specific subcommand.
      Signed-off-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
      e88b1c57
  5. 13 Jan, 2015 1 commit
  6. 12 Jan, 2015 3 commits