Revision 9b1e1cc9
b/.gitignore | ||
---|---|---|
1 |
/apidoc/
|
|
2 |
/.hpc/
|
|
3 |
/coverage/
|
|
1 |
/apidoc |
|
2 |
/.hpc |
|
3 |
/coverage |
|
4 | 4 |
|
5 | 5 |
*.o |
6 | 6 |
*.patch |
... | ... | |
25 | 25 |
version |
26 | 26 |
Version.hs |
27 | 27 |
|
28 |
htools-*.tar.gz |
|
29 |
htools-*.tar.gz.asc |
|
28 |
*.tar.gz |
|
29 |
*.tar.gz.asc |
b/Ganeti/HTools/QC.hs | ||
---|---|---|
1 |
{-| Unittests for htools |
|
1 |
{-| Unittests for ganeti-htools
|
|
2 | 2 |
|
3 | 3 |
-} |
4 | 4 |
|
b/Ganeti/HTools/Version.hs.in | ||
---|---|---|
7 | 7 |
|
8 | 8 |
-- | The version of the sources. |
9 | 9 |
version :: String |
10 |
version = "(htools) version %ver%" |
|
10 |
version = "(ganeti-htools) version %ver%" |
b/Makefile | ||
---|---|---|
31 | 31 |
$$file > $(HDDIR)/Ganeti/HTools/`basename $$file .hs`.html ; \ |
32 | 32 |
done |
33 | 33 |
haddock --odir $(HDDIR) --html --ignore-all-exports \ |
34 |
-t htools -p haddock-prologue \ |
|
34 |
-t ganeti-htools -p haddock-prologue \
|
|
35 | 35 |
--source-module="%{MODULE/.//}.html" \ |
36 | 36 |
--source-entity="%{MODULE/.//}.html#%{NAME}" \ |
37 | 37 |
$(HSRCS) |
... | ... | |
53 | 53 |
|
54 | 54 |
dist: Ganeti/HTools/Version.hs version doc |
55 | 55 |
VN=$$(cat version|sed 's/^v//') ; \ |
56 |
ANAME="htools-$$VN.tar" ; \ |
|
56 |
PFX="ganeti-htools-$$VN" ; \ |
|
57 |
ANAME="$$PFX.tar" ; \ |
|
57 | 58 |
rm -f $$ANAME $$ANAME.gz ; \ |
58 |
git archive --format=tar --prefix=htools-$$VN/ HEAD > $$ANAME ; \
|
|
59 |
git archive --format=tar --prefix=$$PFX/ HEAD > $$ANAME ; \
|
|
59 | 60 |
tar -r -f $$ANAME --owner root --group root \ |
60 |
--transform="s,^,htools-$$VN/," version apidoc $(DOCS) ; \
|
|
61 |
--transform="s,^,$$PFX/," version apidoc $(DOCS) ; \
|
|
61 | 62 |
gzip -v9 $$ANAME ; \ |
62 | 63 |
tar tzvf $$ANAME.gz |
63 | 64 |
|
b/haddock-prologue | ||
---|---|---|
1 |
This is the internal documentation for htools, a couple of small tools
|
|
2 |
for Ganeti cluster analysis. |
|
1 |
This is the internal documentation for ganeti-htools, a couple of
|
|
2 |
small tools for Ganeti cluster analysis.
|
|
3 | 3 |
|
4 | 4 |
The "Ganeti.HTools.Cluster" module is the one holding most high-level |
5 | 5 |
logic, the "Ganeti.HTools.Node" and "Ganeti.HTools.Instance" modules |
b/test.hs | ||
---|---|---|
1 |
{-| Unittest runner for htools |
|
1 |
{-| Unittest runner for ganeti-htools
|
|
2 | 2 |
|
3 | 3 |
-} |
4 | 4 |
|
Also available in: Unified diff