Skip to content
Snippets Groups Projects
  1. Aug 07, 2012
    • Iustin Pop's avatar
      Switch job IDs to numeric · 76b62028
      Iustin Pop authored
      
      This has been a long-standing cleanup item, which we've always
      refrained from doing due to the high estimated effort needed.
      
      In reality, it turned out that after some infrastructure improvements
      (the previous patches), the actual job queue-related changes are quite
      small.
      
      We will need to update the NEWS file later, but so far the RAPI
      documentation doesn't mention that the job ID is a string (it only
      says it is "a number"), so it doesn't look like it needs update.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      76b62028
    • Iustin Pop's avatar
      Add infrastructure for building numeric namefield filters · 6f287cf3
      Iustin Pop authored
      
      Currently, all the CLI helpers in qlang.py and cli.py assume that all
      namefields are string, which leads to various breakage in case the're
      actually not.
      
      To improve the flexibility of the helpers, we add a bit of
      infrastructure for accepting so called "numeric" namefields; this is a
      bit of a hack, as a proper fix would actually add QFT_* support to the
      helpers, and case for example the regex/globbing on QFT_TEXT, etc. But
      that's left for (eventual) later improvement.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      6f287cf3
  2. Aug 02, 2012
    • Iustin Pop's avatar
      Fix uses of OpPrereqError without code info · 2cfbc784
      Iustin Pop authored
      
      A while back, we did cleanup the code and ensured (manually) that use
      of OpPrereqError includes an errors.ECODE_* field as second
      argument. Since we cannot automate the check for this, it turns out
      that more and more such usage has crept over the years, including in
      the master code (the use on the CLI side is not as important).
      
      Note that this also uncovered a few errors in ovf.py where the errors
      messages were wrongly constructed.
      
      Still looking for a way to automate this check…
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      2cfbc784
  3. Jun 14, 2012
  4. Mar 30, 2012
  5. Aug 30, 2011
  6. Aug 08, 2011
  7. Aug 05, 2011
  8. Apr 18, 2011
  9. Apr 05, 2011
  10. Mar 15, 2011
  11. Mar 14, 2011
  12. Mar 07, 2011
  13. Mar 01, 2011
  14. Dec 13, 2010
  15. Nov 29, 2010
Loading