Skip to content

Commit

Permalink
Add XDB client for saved state XDB
Browse files Browse the repository at this point in the history
Summary:
Pull the XDB-specific parts of the manifold saved state manager
out into a separate class. This class should do nothing but provide
an interface to the xdb. The only method it provides returns the most
recent saved state revision with a commit date less than or equal to
the given source control commit date.

Reviewed By: wez

Differential Revision: D8292011

fbshipit-source-id: 9bfcb9f01a998a2e27b6621813943bf7176fc0c4
  • Loading branch information
kcoons authored and facebook-github-bot committed Aug 2, 2018
1 parent 275f46c commit 5f11716
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,15 @@ cpp_library(
],
)

cpp_library(
name = "manifold_saved_state_deps",
srcs = [],
compiler_flags = compiler_flags,
deps = [
"//common/db/mysql_client:mysql_client",
],
)

# The bulk of the watchman implementation lives in this library
cpp_library(
name = "watchmanlib",
Expand All @@ -216,6 +225,7 @@ cpp_library(
"cmds/*.cpp",
"scm/*.cpp",
"saved_state/*.cpp",
"facebook/saved_state/*.cpp",
],
excludes = [
"main.cpp",
Expand All @@ -238,6 +248,7 @@ cpp_library(
":err",
":headers",
":log",
":manifold_saved_state_deps",
":pcre",
":string",
":sysdep_watcher",
Expand Down

0 comments on commit 5f11716

Please sign in to comment.