From 86fc61db75385d6fb452b4cf88aec1deffa3a5be Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 23 Nov 2010 15:51:54 +0100 Subject: remove sqlite DB This change removes sqlite database. Database was used to find dump dirs by [UID:]UUID. This patch uses more natural way: dump dirs are addressed by their directory names. DB was also used to produce a list of dump dirs. Now it is done by iterating over the /var/spool/abrt directory. And finally, DB was also used to find duplicate UUIDs. Now it is done by iterating over the /var/spool/abrt directory. Crash count, "inform all" and reporting result message are moved from DB field to a file in dump dir. "Reported" DB field is deleted - if message != "", then this dump was reported. Signed-off-by: Denys Vlasenko --- src/plugins/Makefile.am | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/plugins/Makefile.am') diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index 8a8a6f30..c60c06fe 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -7,8 +7,7 @@ libexec_SCRIPTS = \ pluginslib_LTLIBRARIES = \ libCCpp.la \ - libKerneloopsScanner.la \ - libSQLite3.la + libKerneloopsScanner.la dist_pluginslib_DATA = \ Logger.glade \ @@ -27,8 +26,7 @@ dist_pluginsconf_DATA = \ Kerneloops.conf \ Bugzilla.conf \ RHTSupport.conf \ - Upload.conf \ - SQLite3.conf + Upload.conf man_MANS = \ abrt-Bugzilla.7 \ @@ -37,7 +35,6 @@ man_MANS = \ abrt-Logger.7 \ abrt-Mailx.7 \ abrt-Upload.7 \ - abrt-SQLite3.7 \ abrt-plugins.7 EXTRA_DIST = $(man_MANS) abrt-action-install-debuginfo @@ -47,7 +44,6 @@ $(DESTDIR)/$(DEBUG_INFO_DIR): install-data-hook: $(DESTDIR)/$(DEBUG_INFO_DIR) sed 's: = /var/: = $(localstatedir)/:g' -i \ - $(DESTDIR)$(sysconfdir)/abrt/plugins/SQLite3.conf \ $(DESTDIR)$(sysconfdir)/abrt/plugins/Logger.conf # CCpp @@ -66,12 +62,6 @@ libKerneloopsScanner_la_SOURCES = KerneloopsScanner.cpp KerneloopsScanner.h Kern libKerneloopsScanner_la_LDFLAGS = -avoid-version $(GLIB_LIBS) libKerneloopsScanner_la_CPPFLAGS = -I$(INC_PATH) -I$(UTILS_PATH) -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" $(GLIB_CFLAGS) -# SQLite3 -libSQLite3_la_SOURCES = SQLite3.cpp SQLite3.h -libSQLite3_la_LDFLAGS = -avoid-version -libSQLite3_la_LIBADD = $(SQLITE3_LIBS) $(GLIB_LIBS) -libSQLite3_la_CPPFLAGS = -I$(INC_PATH) -I$(UTILS_PATH) $(SQLITE3_CFLAGS) -DLOCALSTATEDIR='"$(localstatedir)"' $(GLIB_CFLAGS) - libexec_PROGRAMS = \ abrt-action-analyze-c \ abrt-action-analyze-python \ -- cgit