Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make forbidden dependency check for model dirs (#267) #269

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cloud/blockstore/libs/storage/disk_agent/model/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY()

INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

SRCS(
compare_configs.cpp
config.cpp
Expand Down
2 changes: 2 additions & 0 deletions cloud/blockstore/libs/storage/disk_registry/model/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY()

#INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

SRCS(
agent_counters.cpp
agent_list.cpp
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY()

INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

SRCS(
config.cpp
)
Expand Down
2 changes: 2 additions & 0 deletions cloud/blockstore/libs/storage/model/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY()

INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

GENERATE_ENUM_SERIALIZATION(channel_data_kind.h)

PEERDIR(
Expand Down
2 changes: 2 additions & 0 deletions cloud/blockstore/libs/storage/partition/model/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY()

#INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

GENERATE_ENUM_SERIALIZATION(mixed_index_cache.h)
GENERATE_ENUM_SERIALIZATION(operation_status.h)

Expand Down
2 changes: 2 additions & 0 deletions cloud/blockstore/libs/storage/partition2/model/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY()

INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

GENERATE_ENUM_SERIALIZATION(alloc.h)
GENERATE_ENUM_SERIALIZATION(operation_status.h)

Expand Down
2 changes: 2 additions & 0 deletions cloud/blockstore/libs/storage/partition_common/model/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY()

INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

SRCS(
blob_markers.cpp
fresh_blob.cpp
Expand Down
2 changes: 2 additions & 0 deletions cloud/blockstore/libs/storage/partition_nonrepl/model/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY()

INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

SRCS(
processing_blocks.cpp
)
Expand Down
2 changes: 2 additions & 0 deletions cloud/blockstore/libs/storage/service/model/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY()

INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

SRCS(
ping_metrics.cpp
)
Expand Down
2 changes: 2 additions & 0 deletions cloud/blockstore/libs/storage/volume/model/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY()

#INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

GENERATE_ENUM_SERIALIZATION(checkpoint.h)

SRCS(
Expand Down
14 changes: 14 additions & 0 deletions cloud/deny_ydb_dependency.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
CHECK_DEPENDENT_DIRS(
DENY ALL
contrib/ydb

EXCEPT contrib/ydb/library/actors
EXCEPT contrib/ydb/library/services
EXCEPT contrib/ydb/library/yql/providers/generic/connector/api/common
EXCEPT contrib/ydb/library/yql/public/types
EXCEPT contrib/ydb/public/lib/validation/

EXCEPT GLOB contrib/ydb/**/proto
EXCEPT GLOB contrib/ydb/**/protos
EXCEPT GLOB contrib/ydb/**/protos/annotations
)
2 changes: 2 additions & 0 deletions cloud/filestore/libs/storage/model/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY(filestore-libs-storage-model)

INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

GENERATE_ENUM_SERIALIZATION(
channel_data_kind.h
)
Expand Down
2 changes: 2 additions & 0 deletions cloud/filestore/libs/storage/tablet/model/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY()

#INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

GENERATE_ENUM_SERIALIZATION(alloc.h)

SRCS(
Expand Down
2 changes: 2 additions & 0 deletions cloud/storage/core/libs/tablet/model/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
LIBRARY()

INCLUDE(${ARCADIA_ROOT}/cloud/deny_ydb_dependency.inc)

SRCS(
commit.cpp
partial_blob_id.cpp
Expand Down
Loading