1. 29 May, 2013 1 commit
  2. 23 May, 2013 1 commit
  3. 17 May, 2013 18 commits
  4. 13 May, 2013 1 commit
  5. 30 Apr, 2013 1 commit
  6. 29 Apr, 2013 1 commit
  7. 25 Apr, 2013 1 commit
  8. 24 Apr, 2013 1 commit
  9. 22 Apr, 2013 1 commit
    • Klaus Aehlig's avatar
      Add unit tests for hroller · 754b9b1c
      Klaus Aehlig authored
      
      
      Add a unit test for hroller in a situation where the order
      is completely determined. There are 3 nodes where node 2 has,
      for each of the other nodes, an instanced shared with it. So
      node 2 has to be a reboot group of its own. There are no more
      instances, hence, my minimality, the other two nodes have to
      form a single group. Node 1 is the master, and hence has to
      be rebooted last; this determines the order.
      
      Also add a unit test verifying that hroller rejects configurations
      with multiple master nodes, even if the option --force is given.
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      754b9b1c
  10. 19 Apr, 2013 1 commit
  11. 17 Apr, 2013 2 commits
  12. 11 Apr, 2013 2 commits
  13. 09 Apr, 2013 1 commit
  14. 05 Apr, 2013 1 commit
  15. 21 Mar, 2013 1 commit
  16. 15 Mar, 2013 1 commit
  17. 13 Mar, 2013 1 commit
  18. 06 Mar, 2013 2 commits
    • Iustin Pop's avatar
      Fix bug in man build rule · 67c15d8b
      Iustin Pop authored
      
      
      Currently the man page build rule is run without ‘-e’, so the actual
      checks in there are just warnings (check-man-warnings,
      check-man-dashes).
      
      The patch fixes this and also fixes the man pages which made me see the
      problem.
      
      Additionally, check-man-dashes is now verbose, otherwise it's hard to
      find out actually where in the page the error is.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
      67c15d8b
    • Iustin Pop's avatar
      Fix hscolour style sheet building · e61db4b2
      Iustin Pop authored
      
      
      Currently we only symlink this into two hard-coded directories, which
      breaks the source code viewing for all the others.
      
      The patch replaces this with automatic building; as playing with
      relative symlinks is non-trivial, I just generate it many times (the
      file is small enough (<250) that it shouldn't matter, size-wise, and
      it takes 2ms to do it).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
      e61db4b2
  19. 05 Mar, 2013 1 commit
    • 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
  20. 25 Feb, 2013 1 commit
    • Iustin Pop's avatar
      Implement Export queries in Haskell · c4bf507b
      Iustin Pop authored
      
      
      This is a simple query as it has only two fields, however it's the
      first query that doesn't have a clear 'base' object and 1:1
      correspondence between such objects and the results (groups, nodes and
      networks do so).
      
      We keep nodes as the 'base' object, since that's what we want to
      filter on for RPC selection, and we have a very simple type as the
      runtime type, since we only have one other field. The
      'collectLiveData' function is the one that does the expansion from
      [node] to [(node, path)], with the help of 'rpcExtractor'.
      
      Also, this patch introduces a slightly different naming structure for
      the exported names out of the module, to reduce naming conflicts.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      c4bf507b