Skip to content

Commit

Permalink
Restore the filtering in build script,
Browse files Browse the repository at this point in the history
Add skipCollection for categories which should not do it
(re: #4906)
  • Loading branch information
bhousel committed Feb 18, 2021
1 parent 20e929f commit 58d638f
Show file tree
Hide file tree
Showing 36 changed files with 1,778 additions and 24 deletions.
10 changes: 10 additions & 0 deletions data/brands/amenity/animal_boarding.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
"exclude": {"generic": ["^animal boarding$"]}
},
"items": [
{
"displayName": "Kandang Ayam",
"id": "kandangayam-cc7864",
"locationSet": {"include": ["001"]},
"tags": {
"amenity": "animal_boarding",
"brand": "Kandang Ayam",
"name": "Kandang Ayam"
}
},
{
"displayName": "PetsHotel",
"id": "petshotel-03770a",
Expand Down
1 change: 1 addition & 0 deletions data/brands/amenity/atm.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"properties": {
"path": "brands/amenity/atm",
"skipCollection": true,
"exclude": {"generic": ["^atm$"]}
},
"items": [
Expand Down
1 change: 1 addition & 0 deletions data/brands/amenity/bar.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"properties": {
"path": "brands/amenity/bar",
"skipCollection": true,
"exclude": {
"generic": ["^bar$"],
"named": ["^уют$"]
Expand Down
1 change: 1 addition & 0 deletions data/brands/amenity/car_wash.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"properties": {
"path": "brands/amenity/car_wash",
"skipCollection": true,
"exclude": {"generic": ["^car wash$"]}
},
"items": [
Expand Down
16 changes: 15 additions & 1 deletion data/brands/amenity/childcare.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"properties": {
"path": "brands/amenity/childcare",
"exclude": {"generic": ["^childcare$"]}
"exclude": {
"generic": [
"^(childcare|day\\s?care center)$"
]
}
},
"items": [
{
"displayName": "CEN-CINAI",
"id": "cencinai-bc5258",
"locationSet": {"include": ["001"]},
"tags": {
"amenity": "childcare",
"brand": "CEN-CINAI",
"name": "CEN-CINAI"
}
},
{
"displayName": "Kidango",
"id": "kidango-fd7b3f",
Expand Down
1 change: 1 addition & 0 deletions data/brands/amenity/college.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"properties": {
"path": "brands/amenity/college",
"skipCollection": true,
"exclude": {"generic": ["^college$"]}
},
"items": [
Expand Down
3 changes: 2 additions & 1 deletion data/brands/amenity/doctors.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"properties": {
"path": "brands/amenity/doctors",
"exclude": {"generic": ["^doctors$"]}
"skipCollection": true,
"exclude": {"generic": ["^doctors?$"]}
},
"items": [
{
Expand Down
20 changes: 20 additions & 0 deletions data/brands/amenity/fuel.json
Original file line number Diff line number Diff line change
Expand Up @@ -3050,6 +3050,16 @@
"name": "Pompe Bianche"
}
},
{
"displayName": "Posto Petrobras",
"id": "postopetrobras-b3d110",
"locationSet": {"include": ["001"]},
"tags": {
"amenity": "fuel",
"brand": "Posto Petrobras",
"name": "Posto Petrobras"
}
},
{
"displayName": "Power",
"id": "power-a23ac0",
Expand Down Expand Up @@ -3648,6 +3658,16 @@
"name": "SP"
}
},
{
"displayName": "SPBU Pertamina",
"id": "spbupertamina-b3d110",
"locationSet": {"include": ["001"]},
"tags": {
"amenity": "fuel",
"brand": "SPBU Pertamina",
"name": "SPBU Pertamina"
}
},
{
"displayName": "Speedway",
"id": "speedway-b3d110",
Expand Down
10 changes: 10 additions & 0 deletions data/brands/amenity/ice_cream.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,16 @@
"name": "D'Onofrio"
}
},
{
"displayName": "Eiscafé Venezia",
"id": "eiscafevenezia-87d971",
"locationSet": {"include": ["001"]},
"tags": {
"amenity": "ice_cream",
"brand": "Eiscafé Venezia",
"name": "Eiscafé Venezia"
}
},
{
"displayName": "Freddo",
"id": "freddo-3a94a6",
Expand Down
10 changes: 9 additions & 1 deletion data/brands/amenity/internet_cafe.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
{
"properties": {
"path": "brands/amenity/internet_cafe",
"exclude": {"generic": ["^internet cafe$"]}
"exclude": {
"generic": [
"^(internet|cyber)\\s?(caf(e|é))?$"
]
}
},
"items": [
{
"displayName": "Akshaya",
"id": "akshaya-ec41bc",
"locationSet": {"include": ["in"]},
"matchNames": [
"akshaya center",
"akshaya centre"
],
"tags": {
"amenity": "internet_cafe",
"brand": "Akshaya",
Expand Down
7 changes: 6 additions & 1 deletion data/brands/amenity/kindergarten.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"properties": {
"path": "brands/amenity/kindergarten",
"exclude": {"generic": ["^kindergarten$"]}
"skipCollection": true,
"exclude": {
"generic": [
"^(kindergarten|day\\s?care center)$"
]
}
},
"items": [
{
Expand Down
20 changes: 20 additions & 0 deletions data/brands/amenity/money_transfer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,26 @@
"name:vi": "Hoa Phát"
}
},
{
"displayName": "Mobil Money",
"id": "mobilmoney-1032f8",
"locationSet": {"include": ["001"]},
"tags": {
"amenity": "money_transfer",
"brand": "Mobil Money",
"name": "Mobil Money"
}
},
{
"displayName": "Mobile Money",
"id": "mobilemoney-1032f8",
"locationSet": {"include": ["001"]},
"tags": {
"amenity": "money_transfer",
"brand": "Mobile Money",
"name": "Mobile Money"
}
},
{
"displayName": "MoneyGram",
"id": "moneygram-11f94e",
Expand Down
6 changes: 5 additions & 1 deletion data/brands/amenity/music_school.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"properties": {
"path": "brands/amenity/music_school",
"exclude": {"generic": ["^music school$"]}
"exclude": {
"generic": [
"^(music school|école de musique|музыкальная школа)$"
]
}
},
"items": [
{
Expand Down
Loading

0 comments on commit 58d638f

Please sign in to comment.