1. 13 Jan, 2014 1 commit
  2. 22 Nov, 2013 1 commit
  3. 08 Nov, 2013 1 commit
  4. 31 Oct, 2013 1 commit
  5. 28 Oct, 2013 1 commit
  6. 25 Sep, 2013 1 commit
  7. 11 Sep, 2013 2 commits
  8. 29 Aug, 2013 2 commits
    • Jose A. Lopes's avatar
      Setup constant generation infrastructure · 1b2adaa6
      Jose A. Lopes authored
      Setup a transitional Haskell to Python constant generation
      infrastructure.  This infrastructure is transitional and Python
      constants will not be migrated to Haskell all at once.  Instead, some
      constants will be incrementally pulled from Python and moved to
      Haskell.  This is a list of the relevant modules in this
      * Ganeti.HsConstants: contains the Haskell constants that are used
        both in Haskell (once re-exported through Ganeti.Constants) and
        generated in Python
      * Ganety.Hs2Py.ListConstants: contains the list of Haskell constants
        to be generated in Python; these constants are defined in the
        previous module and the list is automatically generated by the
      * hs2py-constants: Haskell program that outputs the actual constant
        definitions in Python; this task cannot be performed by 'hs2py' just
        yet because this programs depends on the 'Constants' module. But
        once all the constants have migrated to Haskell, then
        'hs2py-constants' and 'hs2py' can be merged.
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    • Jose A. Lopes's avatar
      Rename 'Constants.hs' to 'PyConstants.hs' · fec1fac1
      Jose A. Lopes authored
      Rename the generated 'Constants.hs' module, which contains the Haskell
      constants generated from Python, to 'PyConstants.hs' in order to
      eliminate duplicated constants in Haskell, a problem introduced by the
      Haskell to Python constant generation, and to circumvent a problem
      with import/export of Haskell modules.  Add a new module named
      'Constants.hs' which imports 'PyConstants.hs' and exports its names.
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  9. 07 Aug, 2013 1 commit
  10. 23 Jul, 2013 1 commit
  11. 17 Jul, 2013 2 commits
  12. 28 Jun, 2013 1 commit
  13. 09 Apr, 2013 1 commit
  14. 05 Apr, 2013 1 commit
  15. 21 Mar, 2013 1 commit
  16. 25 Feb, 2013 1 commit
  17. 22 Feb, 2013 1 commit
  18. 16 Jan, 2013 1 commit
  19. 15 Jan, 2013 1 commit
    • Michael Hanselmann's avatar
      Option to include man pages in documentation · 41806ef4
      Michael Hanselmann authored
      Before this patch, HTML versions of man pages (man/*.rst) were already
      built. However, since they are separate from the normal documentation,
      their content is not indexed for Sphinx' search functionality.
      Additionally it would simply be nice to have everything in one place.
      To this end a new configure-time option is added to enable the inclusion
      of man pages into the documentation. A dedicated option is necessary to
      still be able to provide a static documentation build in the tarball
      (not including man pages) as man pages contain build-specific paths and
      values. The documentation with man pages is written to the directory
      A future patch will extend Sphinx to link occurences of “:manpage:`…`”
      to these man pages.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  20. 08 Jan, 2013 3 commits
    • Iustin Pop's avatar
      Remove some obsolete entries from .gitignore · 6210c812
      Iustin Pop authored
      Found while doing the previous .dot file changes and wondering what's
      this "doc/*.in" stuff… it looks like these were obsoleted over the
      years by not paying attention on cleanup patches:
      - doc/build: obsoleted by commit 13de7d59
      - doc/*.in: obsoleted by commit 2ab2b9f5
      - doc/html: was always a directory since its introduction in commit
        d17e74b4, mark it as so
      - devel/clean-cluster: was introduced with initial .gitignore addition
        (commit 7a47c582), but we don't actually generate it
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    • Iustin Pop's avatar
      Stop manually building images out of dot files · f8e233a3
      Iustin Pop authored
      The first dot files we added way back in the 2.0 release are managed
      manually: we build the .pngs ourselves, track them in .gitingore,
      etc. Since then, we have switched to allow sphinx to build/manage them
      itself, so it makes sense to cleanup the build system and covert
      everything to this simpler method.
      This patch simply converts from "image: x.png" to "graphviz: x.dot",
      as an externally-referenced dot file, and removes all the custom
      makefile rules for png conversion. The next patch will bring the
      conversion further (by inlining then).
      Additionally, while checking that the patch doesn't change the html
      output, I saw that the use of "shape=diamond" with non-trivial labels
      results in very ugly diagrams; so we split the question in such
      decision boxes to make them more reasonably looking.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    • Iustin Pop's avatar
      Remove intermediate footer.man/footer.html files · 6aff0514
      Iustin Pop authored
      I don't remember why I introduced these when switching to pandoc, but
      they are not absolutely needed. Instead of pre-generating them (which
      might save some trivial cpu time), we can simply pass footer.rst as an
      additional input file to pandoc.
      The advantage in doing so is that semantic information is preserved;
      when pre-generating and including them as-is, the entire structure is
      lost, as pandoc won't reinterpret them, so things like a potential
      table of contents will simply ignore the footer.
      The patch also adds a new target to rebuild all man pages (both groff
      and html formats), for testing changes to the pages easier.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  21. 27 Dec, 2012 2 commits
    • Iustin Pop's avatar
      Rename test/hs/test to htest · 3e16567e
      Iustin Pop authored
      The current base name of 'test' means that this binary will generate
      profiling, coverage, etc. files with the name 'test.*', result in
      tab-completion conflicts with the test directory. Let's slightly
      change its base name for typing easiness.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    • Iustin Pop's avatar
      Move htest/ files under the test/ tree · 83846468
      Iustin Pop authored
      htest/data becomes test/data/htools (basically reverting commit
      8feabc89), and htest/* becomes test/hs/*.
      Most changes beside the rename are trivial s/…/…, with the exception
      of autotools/run-in-tempdir, which needed some more changes now that
      test/ is not just Python files:
      - test/py is still being copied
      - test/hs moves from individual symlinks to entire dir symlink
      - test/data is symlinked in its entirety
      Checked with make distcheck, pep8 and pylint, so at least VPATH builds
      are OK.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  22. 24 Dec, 2012 1 commit
  23. 22 Dec, 2012 1 commit
  24. 21 Dec, 2012 1 commit
  25. 13 Dec, 2012 1 commit
  26. 12 Dec, 2012 1 commit
  27. 06 Dec, 2012 2 commits
  28. 23 Nov, 2012 1 commit
  29. 15 Nov, 2012 2 commits
  30. 07 Nov, 2012 1 commit
    • Iustin Pop's avatar
      Switch devel/upload to a static file · f9435bdc
      Iustin Pop authored
      We had twice in the past days questions about devel/upload being
      "broken", since bash re-reads shell scripts during their run and this
      file can get regenerated due to Makefile changes.
      Since we only need this to be dynamically built for 3 variables, let's
      make the file static and read those three variables when it is run,
      instead of when it is built, which allows us to re-read the "latest
      version" of these vars as well.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
  31. 23 Oct, 2012 1 commit
  32. 16 Oct, 2012 1 commit