summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-06-01 15:35:38 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-06-01 15:35:38 +0100
commitee54b9ee1743ed542e45de876bb296ad3c04ab30 (patch)
treee6adce9e4cad8bcb997a107df27018fcbbc74ed7
parentDon't delete packages and categories immediately when deleting ebuilds (they ... (diff)
downloadgentoobrowse-api-ee54b9ee1743ed542e45de876bb296ad3c04ab30.tar.bz2
gentoobrowse-api-ee54b9ee1743ed542e45de876bb296ad3c04ab30.tar.xz
gentoobrowse-api-ee54b9ee1743ed542e45de876bb296ad3c04ab30.zip
packageManifestProcessor isn't implemented yet, so just delete the stubgentoobrowse-api-0.4.3
-rw-r--r--gentoobrowse-api/service/maintenance/packageManifestProcessor.cpp26
-rw-r--r--gentoobrowse-api/service/maintenance/packageManifestProcessor.h22
-rw-r--r--gentoobrowse-api/service/maintenancePackageTree.cpp2
3 files changed, 0 insertions, 50 deletions
diff --git a/gentoobrowse-api/service/maintenance/packageManifestProcessor.cpp b/gentoobrowse-api/service/maintenance/packageManifestProcessor.cpp
deleted file mode 100644
index f4e67b3..0000000
--- a/gentoobrowse-api/service/maintenance/packageManifestProcessor.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "packageManifestProcessor.h"
-#include <modifycommand.h>
-#include "utils/fileUtils.h"
-
-using namespace Gentoo::Utils::File;
-
-namespace Gentoo {
- namespace Service {
- const int PackageManifestProcessor::FILETYPEID = 8;
-
- void
- PackageManifestProcessor::created(DB::Connection * dbc, const boost::filesystem::path & fn, const boost::filesystem::path &)
- {
- (void)dbc;
- (void)fn;
- }
-
- void
- PackageManifestProcessor::deleted(DB::Connection * dbc, const boost::filesystem::path & fn)
- {
- (void)dbc;
- (void)fn;
- }
- }
-}
-
diff --git a/gentoobrowse-api/service/maintenance/packageManifestProcessor.h b/gentoobrowse-api/service/maintenance/packageManifestProcessor.h
deleted file mode 100644
index e68257e..0000000
--- a/gentoobrowse-api/service/maintenance/packageManifestProcessor.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef GENTOOBROWSE_API_SERVICE_MAINTENANCE_PACKAGEMANIFESTPROC_H
-#define GENTOOBROWSE_API_SERVICE_MAINTENANCE_PACKAGEMANIFESTPROC_H
-
-#include "../maintenanceimpl.h"
-#include <connection.h>
-#include <modifycommand.h>
-#include <boost/filesystem/path.hpp>
-
-namespace Gentoo {
- namespace Service {
- class PackageManifestProcessor : public Maintenance::FileProcessor {
- public:
- static const int FILETYPEID;
-
- void created(DB::Connection * dbc, const boost::filesystem::path & fn, const boost::filesystem::path & path) override;
- void deleted(DB::Connection * dbc, const boost::filesystem::path & fn) override;
- };
- }
-}
-
-#endif
-
diff --git a/gentoobrowse-api/service/maintenancePackageTree.cpp b/gentoobrowse-api/service/maintenancePackageTree.cpp
index 03f8fe5..ce55c6a 100644
--- a/gentoobrowse-api/service/maintenancePackageTree.cpp
+++ b/gentoobrowse-api/service/maintenancePackageTree.cpp
@@ -10,7 +10,6 @@
#include <sql/maintenance/fileListCreate.sql.h>
#include <sql/maintenance/fileListCreatePk.sql.h>
#include "maintenance/categoryMetaProcessor.h"
-#include "maintenance/packageManifestProcessor.h"
#include "maintenance/packageMetaProcessor.h"
#include "maintenance/ebuildMetaProcessor.h"
#include "maintenance/useGlobalProcessor.h"
@@ -81,7 +80,6 @@ namespace Gentoo {
IceTray::AbstractDatabaseClient(d)
{
fpfs[CategoryMetaProcessor::FILETYPEID] = &createFileProessor<CategoryMetaProcessor>;
- fpfs[PackageManifestProcessor::FILETYPEID] = &createFileProessor<PackageManifestProcessor>;
fpfs[PackageMetaProcessor::FILETYPEID] = &createFileProessor<PackageMetaProcessor>;
fpfs[EbuildMetaProcessor::FILETYPEID] = &createFileProessor<EbuildMetaProcessor>;
fpfs[UseGlobalProcessor::FILETYPEID] = &createFileProessor<UseGlobalProcessor>;