Skip to content
Snippets Groups Projects
  1. Apr 30, 2013
    • Iustin Pop's avatar
      Fix bug in group queries related to node/instance fields · c42fbe28
      Iustin Pop authored
      
      Since we use the primitive string type for group UUIDs, the group
      fields have a bug where we pass the group name as filter for node
      tests, whereas the nodes themselves use the group UUID. This results
      in zero node count, empty node list, and no instances being reported
      as assigned to groups.
      
      The patch fixes this and adds a test for the node count. It does some
      test generation improvement, and also cleans up whitespace issues in
      Test/G/Q/Query.hs (the functions case_queryNode_allfields,
      prop_queryGroup_noUnknown and case_queryGroup_allfields are unchanged
      but simply have indentation fixed).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      
      Cherry-pick of e7124835, fixes issue 436
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      
      Conflicts:
      	test/hs/Test/Ganeti/Objects.hs
      	test/hs/Test/Ganeti/Query/Query.hs
      c42fbe28
  2. Apr 17, 2013
  3. Apr 11, 2013
  4. Apr 08, 2013
  5. Apr 05, 2013
  6. Mar 11, 2013
  7. Mar 05, 2013
    • Iustin Pop's avatar
      Expand Haddock to run over test files as well · 7ddd8e4c
      Iustin Pop authored
      
      This patch does multiple enhancements to the way we build the Haddock
      docs, motivated by the fact that if we don't run Haddock over test
      files as well, bad formatting can be submitted and will accumulate
      over time (without any checks).
      
      The patch does:
      
      - replace manual built ALL_APIDOC_HS_DIRS with automatically built one
        (from HS_DIRS)
      - change Haddock so that it runs from the top directory (instead of
        from src/)
      - change HsColour target file to be built via bash parameter
        substitution, rather than sed (I don't know how to do it in one go,
        so I use 2 intermediate variables)
      - change 'hs-apidoc' target so that it depends on the real target
        file; in case no source file has been modified, running 'make
        hs-apidoc' twice will not result in two runs
      - run HsColour/Haddock under en_US.UTF-8 locale, otherwise they can't
        parse correctly the Unicode chars in the test files
      
      Additionally, wrong formatting (oops) in a test file has been
      corrected.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
      7ddd8e4c
  8. Mar 04, 2013
  9. Feb 18, 2013
  10. Feb 15, 2013
  11. Feb 12, 2013
  12. Feb 11, 2013
  13. Feb 07, 2013
  14. Feb 05, 2013
  15. Feb 04, 2013
  16. Jan 23, 2013
  17. Jan 22, 2013
  18. Jan 18, 2013
  19. Jan 16, 2013
  20. Jan 15, 2013
Loading