Cluster Project branch, master, updated. cluster-2.99.06-5-g7b2e7da
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".
The branch, master has been updated
via 7b2e7daf60cd57c13e391372a835cf4b22146f1b (commit)
from d33f543aefb4e99638e5bd5568b59bde8f865c1d (commit)Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 7b2e7daf60cd57c13e391372a835cf4b22146f1b
Author: Christine Caulfield <[email protected]> Date: Wed Jul 16 09:03:58 2008 +0100
[CCS] Fold ccs_test into ccs_tool and tidy
Move all the code from ccs_test into ccs_tool and make it switch depending on argv[0]. Also add ccs_tool query that does full XPath queries on confdb.
When build with LEGACY_CODE set ccs_tool will behave as it used to, talking to ccsd. Without that it will use the new confdb system and assume that ccsd is NOT used for distribution of cluster configurations.
-----------------------------------------------------------------------
Summary of changes:
ccs/ccs_tool/Makefile | 15 +- ccs/ccs_tool/ccs_tool.c | 235 ++++++++++++++-- ccs/ccs_tool/old_parser.c | 688 --------------------------------------------- ccs/ccs_tool/old_parser.h | 64 ----- ccs/ccs_tool/upgrade.c | 259 ----------------- ccs/ccs_tool/upgrade.h | 6 - 6 files changed, 225 insertions(+), 1042 deletions(-) delete mode 100644 ccs/ccs_tool/old_parser.c delete mode 100644 ccs/ccs_tool/old_parser.h delete mode 100644 ccs/ccs_tool/upgrade.c delete mode 100644 ccs/ccs_tool/upgrade.h
ccs/ccs_tool/Makefile +10 -5
@@ -12,19 +12,24 @@ include $(OBJDIR)/make/uninstall.mk OBJS= ccs_tool.o \ update.o \ - upgrade.o \ - old_parser.o \ editconf.o CFLAGS += -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE CFLAGS += -I${cmanincdir} `xml2-config --cflags` -CFLAGS += -I$(S)/../libccscompat -I$(S)/../include +CFLAGS += -I${ccslibdir} -I$(S)/../include +CFLAGS += -I$(S)/../libccscompat CFLAGS += -I${incdir} +ifdef LEGACY_CODE +CFLAGS += -DLEGACY_CODE +endif -LDFLAGS += -L../libccscompat -lccscompat LDFLAGS += -L${cmanlibdir} -lcman LDFLAGS += `xml2-config --libs` -L${libdir} - +ifdef OLD_CCS_CODE +LDFLAGS += -L../libccscompat -lccscompat +else +LDFLAGS += -L${ccslibdir} -lccs +endif ${TARGET}: ${OBJS} $(CC) -o $@ $^ $(LDFLAGS)
ccs/ccs_tool/ccs_tool.c +215 -20
284 lines not on this page · raw message
ccs/ccs_tool/old_parser.c deleted +0 -688
688 lines not on this page · raw message
ccs/ccs_tool/old_parser.h deleted +0 -64
64 lines not on this page · raw message
ccs/ccs_tool/upgrade.c deleted +0 -259
259 lines not on this page · raw message
ccs/ccs_tool/upgrade.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __UPGRADE_DOT_H__ -#define __UPGRADE_DOT_H__ - -int upgrade (char *location); - -#endif /* __UPGRADE_DOT_H__ */
hooks/post-receive
--
Cluster Project