History | View | Annotate | Download (2.5 kB)
Small update to the Makefile
Makefile: Switch from subshell to $(MAKE) -C
It seems that set -e does not affect subshell (only simple commands),and thus we don't actually get failures from make check being run in asubshell. Rather than trying to handle this better, we remove thesubshell and invoke make with the required subdirectory.
Improve the dist build rule
This changes the 'dist' rule to also do a check that the archive canbuild all the programs and passes the check test itself, and shows thesha1sum at the end automatically.
Remove Version.hs during clean too
Ganeti/HTools/Version.hs is generated at build time from version (whichis the only one shipped), so it must be removed by the clean rule.
Only update the version file on make dist
Since on regular compiles the version information is not critical, it'sbetter to only update it on make dist; furthermore, there it is indeedneeded to regenerate it automatically, without requiring the use of make...
makefile: regenerate version when it changes
If we're building on a different version, the version file needs to beregenerated.
Signed-off-by: Guido Trotter <ultrotter@google.com>Reviewed-by: Michael Hanselmann <hansmi@google.com>
Split the Luxi generic parts from the loader
The Luxi loader implements both a generic Ganeti Luxi client and theloader; it is better if these two are separated. The patch adds aGaneti/Luxi.hs (not under HTools!) since that is generic for Ganeti, andnot related necessarily to htools.
Brown-paper-bag release fixing haddock issues
Haddock doesn't like pre-processed files (at least not in all versions).Thus we need to remove the ExtLoader module from the haddock-procesedfile list.
Turn on, and fix, more warnings
The Makefile was intented to be -Wall and not simply -W, but I missedthat. This enables more warnings and also enables -Werror (except forthe tests).
Add a 'tags' makefile target
This uses hasktags for building emacs TAGS.
Remove hn1 and related code
hn1 was deprecated for a while and this patch removes it altogether. Thesupport code in Cluster.hs is also removed.
Initial add of the hspace tool
This is a tool that checks how many instances (of same size, specifiedby command line arguments) can be added to a cluster while remaining N+1compliant.
Ensure consistent naming of the tools
This patch makes sure that all references to the name of the software isganeti-htools, not simply htools.
Lots of documentation updates
This patch does only doc build changes, doc changes and function movearound (for more logical documentation). It should have no impact at allon the code.
Change the check rule in Makefile
Since ghc won't trigger recompilation due to the -fhpc flag, it's notuseful to rm && make test, as this will only relink the binary.Therefore we simplify this rule.
Add test infrastructure and initial tests
This patch adds a QuickCheck-based test infrastructure and initial testsbased on it. The PeerMap module has a 100% coverage ☺
Side-note: one has to read the source of QuickCheck to see how to use it(especially the Batch submodule), the docs are not enough…
Add a maintainer-clean makefile rule
This splits the current “clean” rule into proper clean (cleaning ofbuild artifacts) and maintainer-clean (cleaning of distributed files).This should make it better for Debian packaging.
Initial work on hail
This makes hail compile and get a request parsed via IAlloc, but nothingmore.
Remove the apidoc dir on clean
Fix the makefile dist rule
It was missing a dependency on the Version.hs file, so right after “makeclean”, a “make dist” used to fail.
Fix the makefile clean rule
Use the $HPROGS variable instead of hardcoding the program names.
More documentation updates
This removes most of the content of the README file (obsoleted by newalgorithm and man pages), modifies the Makefile to include the builtdocumentation in the source archive (so that haddock/hscolour are notneeded) and updates the haddock-prologue with current information.
Add hscan to Makefile
Some small changes in preparation for hscan
This patch does some small changes: - fixes a comment - export more node functions (unneeded now, but hscan will use them) - fixes Makefile rule for building the programs
More fixes to the Makefile
Some updates to the apidoc rules
Fix/enhance makefile rules after the rename
Introduce a namespace for the modules
The modules are moved from the ‘top’ namespace to ‘Ganeti.HTools’, incompliance with standard practices.
First try to embed VCS id in binaries
This patch attempts to embed the VCS id in binaries, based on the wayother projects seem to do this.
Don't build documentation for the Main modules
This fixes the doc issue which exists since the addition of hbal. Nowmake doc makes sense again.
Initial import
This is the initial import of release 0.0.3.