aboutsummaryrefslogtreecommitdiffstats
path: root/build/rules/maps/maps.policy
blob: fcf68922afbb6f28b73e6a0678dcdced44957e48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
ALLOW maps/infra/ratelimiter2/server -> maps/libs/deprecated/bson
ALLOW maps/tools/grinder -> maps/libs/deprecated/bson
ALLOW taxi/tools/dorblu -> maps/libs/deprecated/bson

ALLOW maps/masstransit/info -> maps/libs/deprecated/mongo
ALLOW taxi/tools/dorblu -> maps/libs/deprecated/mongo

# Use maps/libs/locale instead
ALLOW maps/automotive/remote_access/libs/i18n -> maps/libs/deprecated/localeutils
ALLOW maps/carparks/renderer/datasource -> maps/libs/deprecated/localeutils
ALLOW maps/garden/modules/renderer_denormalization -> maps/libs/deprecated/localeutils
ALLOW maps/infopoint -> maps/libs/deprecated/localeutils
ALLOW maps/jams/renderer2 -> maps/libs/deprecated/localeutils
ALLOW maps/libs/i18n -> maps/libs/deprecated/localeutils
ALLOW maps/libs/i18n-geobase -> maps/libs/deprecated/localeutils
ALLOW maps/libs/jams/static-graph -> maps/libs/deprecated/localeutils
ALLOW maps/libs/locale/compatibility -> maps/libs/deprecated/localeutils
ALLOW maps/libs/road_graph -> maps/libs/deprecated/localeutils
ALLOW maps/poi/personalized_poi -> maps/libs/deprecated/localeutils
ALLOW maps/renderer -> maps/libs/deprecated/localeutils
ALLOW maps/routing/router -> maps/libs/deprecated/localeutils
ALLOW maps/routing/graph-tile-builder -> maps/libs/deprecated/localeutils
ALLOW maps/snippets/tools/masstransit -> maps/libs/deprecated/localeutils
ALLOW maps/tools/indoor -> maps/libs/deprecated/localeutils
ALLOW maps/wikimap/mapspro/services/mrc -> maps/libs/deprecated/localeutils
ALLOW netsys/tiles-vcdiff/gen-tiles -> maps/libs/deprecated/localeutils

# Use maps/libs/geolib instead
ALLOW maps/streetview/backoffice/lib -> maps/libs/deprecated/coordtrans_pymod

# Use std::chrono or util/datetime instead
ALLOW maps/analyzer -> maps/libs/deprecated/boost_time
ALLOW maps/routing -> maps/libs/deprecated/boost_time
ALLOW maps/tools/naviguide/lib -> maps/libs/deprecated/boost_time

# Stop spreading deprecated stuff
ALLOW maps/libs/deprecated -> maps/libs/deprecated
DENY .* -> maps/libs/deprecated

# maps/doc/proto holds proto interface for maps backends. Anyone can use them.
ALLOW .* -> maps/doc/proto

# These libraries are allowed for general use
ALLOW .* -> maps/libs/chrono
ALLOW .* -> maps/libs/common
ALLOW .* -> maps/libs/csv
ALLOW .* -> maps/libs/enum_io
ALLOW .* -> maps/libs/geolib
ALLOW .* -> maps/libs/http
ALLOW .* -> maps/libs/json
ALLOW .* -> maps/libs/nirvana
ALLOW .* -> maps/libs/local_postgres
ALLOW .* -> maps/libs/locale
ALLOW .* -> maps/libs/pgpool
ALLOW .* -> maps/libs/s3mds
ALLOW .* -> maps/libs/sql_chemistry
ALLOW .* -> maps/libs/st
ALLOW .* -> maps/libs/tile
ALLOW .* -> maps/libs/ttl_cache
ALLOW .* -> maps/pylibs/local_postgres

# Fix current PEERDIRs and prevent any further growth
ALLOW media/road-graph-tool -> maps/libs/road_graph
ALLOW media/road-graph-tool -> maps/libs/snap
ALLOW media/road-graph-tool -> maps/libs/succinct_rtree
ALLOW netsys/tiles-vcdiff/gen-tiles -> maps/renderer
ALLOW quality/ab_testing/cofe/projects/maps -> maps/analytics
ALLOW taxi/antifraud/mult_id -> maps/libs/geolib
ALLOW taxi/graph/external/graph2/tests/mapmatcher -> maps/libs/mms
ALLOW taxi/graph/external/graph2/tests/mapmatcher -> maps/libs/mms
ALLOW taxi/graph/libs/easyview_helpers -> maps/analyzer/libs/common
ALLOW taxi/graph/libs/easyview_helpers -> maps/tools/easyview/lib/io
ALLOW taxi/graph/libs/graph -> maps/analyzer/libs/data
ALLOW taxi/graph/libs/graph -> maps/analyzer/libs/graphmatching
ALLOW taxi/graph/libs/graph -> maps/libs/common
ALLOW taxi/graph/libs/graph -> maps/libs/edge_persistent_index
ALLOW taxi/graph/libs/graph -> maps/libs/edge_persistent_index/packer/lib
ALLOW taxi/graph/libs/graph -> maps/libs/jams/graph-spatial
ALLOW taxi/graph/libs/graph -> maps/libs/jams/router
ALLOW taxi/graph/libs/graph -> maps/libs/jams/static-graph
ALLOW taxi/graph/libs/graph -> maps/libs/mms
ALLOW taxi/graph/libs/graph -> maps/libs/road_graph
ALLOW taxi/graph/libs/graph -> maps/libs/road_graph/serialization
ALLOW taxi/graph/libs/graph -> maps/libs/snap
ALLOW taxi/graph/libs/graph -> maps/libs/succinct_rtree/serialization
ALLOW taxi/graph/libs/graph -> maps/routing/common
ALLOW taxi/graph/libs/graph -> maps/routing/turn_penalties
ALLOW taxi/graph/libs/graph -> maps/tools/easyview/lib/io
ALLOW taxi/graph/libs/graph-test -> maps/libs/geolib
ALLOW taxi/graph/libs/mapmatcher -> maps/analyzer/libs/common
ALLOW taxi/graph/libs/mapmatcher -> maps/analyzer/libs/data
ALLOW taxi/graph/libs/mapmatcher -> maps/analyzer/libs/graphmatching
ALLOW taxi/graph/libs/mapmatcher -> maps/libs/common
ALLOW taxi/graph/libs/mapmatcher -> maps/libs/edge_persistent_index
ALLOW taxi/graph/libs/mapmatcher -> maps/libs/jams/graph-spatial
ALLOW taxi/graph/libs/mapmatcher -> maps/libs/jams/router
ALLOW taxi/graph/libs/mapmatcher -> maps/libs/jams/static-graph
ALLOW taxi/graph/libs/mapmatcher -> maps/libs/mms
ALLOW taxi/graph/libs/mapmatcher -> maps/libs/road_graph
ALLOW taxi/graph/libs/mapmatcher -> maps/libs/road_graph/serialization
ALLOW taxi/graph/libs/mapmatcher -> maps/libs/snap
ALLOW taxi/graph/libs/mapmatcher -> maps/libs/succinct_rtree/serialization
ALLOW taxi/graph/libs/mapmatcher -> maps/routing/common
ALLOW taxi/graph/libs/mapmatcher -> maps/routing/turn_penalties
ALLOW taxi/graph/libs/mapmatcher -> maps/tools/easyview/lib/io
ALLOW taxi/graph/libs/mapmatcher -> maps/analyzer/libs/guidance
ALLOW taxi/graph/libs/nearest_edges -> maps/libs/common
ALLOW taxi/graph/libs/nearest_edges -> maps/libs/jams/graph-spatial
ALLOW taxi/graph/libs/nearest_edges -> maps/libs/jams/router
ALLOW taxi/graph/libs/nearest_edges -> maps/libs/jams/static-graph
ALLOW taxi/graph/libs/nearest_edges -> maps/libs/mms
ALLOW taxi/graph/libs/nearest_edges -> maps/libs/road_graph
ALLOW taxi/graph/libs/nearest_edges -> maps/libs/road_graph/serialization
ALLOW taxi/graph/libs/nearest_edges -> maps/libs/snap
ALLOW taxi/graph/libs/nearest_edges -> maps/libs/succinct_rtree/serialization
ALLOW taxi/graph/libs/nearest_edges -> maps/tools/easyview/lib/io
ALLOW taxi/graph/libs/predict -> maps/analyzer/libs/common
ALLOW taxi/graph/libs/probmatching -> maps/analyzer/libs/mapmatching
ALLOW taxi/graph/libs/routing -> maps/libs/common
ALLOW taxi/graph/libs/routing -> maps/libs/leptidea
ALLOW taxi/graph/libs/routing -> maps/libs/road_graph
ALLOW taxi/graph/libs/routing -> maps/routing/common
ALLOW taxi/graph/libs/search -> maps/analyzer/libs/common
ALLOW taxi/graph/libs/shortest_path -> maps/analyzer/libs/data
ALLOW taxi/graph/libs/shortest_path -> maps/analyzer/libs/shortest_path
ALLOW taxi/graph/libs/shortest_path -> maps/libs/common
ALLOW taxi/graph/libs/shortest_path -> maps/libs/mms
ALLOW taxi/graph/libs/shortest_path -> maps/routing/common
ALLOW taxi/graph/libs/shortest_path -> maps/routing/turn_penalties
ALLOW taxi/graph/libs/tests/graph -> maps/libs/jams/static-graph
ALLOW taxi/graph/libs/tests/mapmatcher -> maps/analyzer/libs/track_generator
ALLOW taxi/graph/libs/tests/mapmatcher -> maps/libs/mms
ALLOW taxi/graph/libs/tests/nearest_edges -> maps/libs/jams/static-graph
ALLOW taxi/graph/libs/tests/routing -> maps/libs/road_graph
ALLOW taxi/graph/tools/bench-nearest-edges -> maps/libs/jams/static-graph
ALLOW taxi/graph/tools/bench-nearest-edges -> maps/libs/road_graph
ALLOW taxi/graph/tools/find-one-way-gates -> maps/tools/easyview/lib/io
ALLOW taxi/graph/tools/generate-graph-tracks -> maps/analyzer/libs/track_generator
ALLOW taxi/graph/tools/generate-graph-tracks -> maps/libs/mms
ALLOW taxi/graph/tools/lib -> maps/libs/road_graph
ALLOW taxi/graph/tools/ -> maps/tools/easyview/pylib
ALLOW taxi/tools/dorblu/lib -> maps/libs/common
ALLOW taxi/tools/dorblu/lib -> maps/libs/deprecated/bson
ALLOW taxi/tools/dorblu/lib -> maps/libs/deprecated/mongo
ALLOW taxi/tools/dorblu/lib -> maps/libs/json
ALLOW taxi/tools/dorblu/lib -> maps/libs/log8
ALLOW taxi/tools/dorblu/agent -> maps/libs/log8
ALLOW taxi/tools/dorblu/aggregator -> maps/libs/log8
ALLOW taxi/tools/dorblu/lib -> maps/libs/http
ALLOW yql/udfs/taxi/graph -> maps/libs/leptidea

ALLOW drive/backend/tracks/yt -> maps/libs/road_graph
ALLOW drive/backend/tracks/yt -> maps/libs/road_graph/serialization
ALLOW drive/backend/tracks/yt -> maps/libs/succinct_rtree
ALLOW drive/backend/tracks/yt -> maps/libs/succinct_rtree/serialization
ALLOW drive/backend/tracks/yt -> maps/libs/leptidea/include
ALLOW drive/backend/tracks/yt -> maps/libs/leptidea
ALLOW drive/backend/tracks/yt -> maps/analyzer/libs/graphmatching

ALLOW maps/ -> maps/
ALLOW sandbox/projects/maps -> maps/
ALLOW sandbox/projects/mapsearch -> maps/
ALLOW sandbox/projects/masstransit -> maps/
ALLOW sprav/altay/panorama -> maps/streetview/libs
ALLOW sprav -> maps/doc/schemas/ymapsdf
ALLOW sprav -> maps/libs
ALLOW sprav -> maps/pylibs
ALLOW yql/udfs/maps -> maps/

# maps_adv will be split into maps and smb
ALLOW maps_adv/ -> maps/
ALLOW maps_adv/ -> maps_adv/
ALLOW smb/ -> maps_adv/
ALLOW (geoadv/|direct/) -> maps_adv/geosmb/landlord/proto
DENY .* -> maps_adv/

ALLOW sdg/library/python/revision_manager -> maps/wikimap/mapspro/libs/common
ALLOW sdg/library/python/revision_manager -> maps/wikimap/mapspro/libs/revision

# Ydo libs can use some maps stuff
ALLOW ydo/libs/dispatch -> maps/libs/pbstream
ALLOW ydo/libs/dispatch -> maps/libs/kdtree

# use of privacy_detector
ALLOW toloka -> maps/wikimap/mapspro/services/mrc/libs/

# allow using yacare to implement piglet sync service
ALLOW devtools/contrib -> maps/infra/yacare
ALLOW devtools/contrib -> maps/libs/log8

# Do not allow PEERDIRs into maps unless such PEERDIRs have be explicitly allowed above
DENY .* -> maps/