Skip to content

Commit 6c66704

Browse files
authored
Merge branch 'openstreetmap:main' into deprecated_parking
2 parents 9f70d4b + ce21635 commit 6c66704

File tree

565 files changed

+81176
-12969
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

565 files changed

+81176
-12969
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
### Description, Motivation & Context
2+
3+
<!-- Help readers to understand why this is relevant -->
4+
5+
### Related issues
6+
7+
<!-- Please link any related issues here.
8+
Use "Closes #123" to reference issues that should be closed automatically when this is merged. -->
9+
10+
### Links and data
11+
12+
**Relevant OSM Wiki links:**
13+
-
14+
15+
**Relevant tag usage stats:**
16+
>
17+
<!-- E.g., Numbers from Taginfo https://taginfo.openstreetmap.org/ and maybe local Taginfo https://taginfo.geofabrik.de/ -->
18+
<!-- E.g., a link to https://taghistory.raifer.tech -->
19+
20+
### Checklist and Test-Documentation Template
21+
22+
<details><summary>Read on to get your PR merged faster…</summary>
23+
24+
Follow these steps to test your PR yourself and make it a lot easier and faster for maintainers to check and approve it.
25+
26+
**This is how it works:**
27+
1. After you submit your PR, the system will create a preview and comment on your PR:
28+
> 🍱 You can preview the tagging presets of this pull request here.
29+
If this is your first contribution to this project, the preview will not happen right away but requires a click from one of the project members. We will do this ASAP.
30+
31+
2. Once the preview is ready, use it to test your changes.
32+
33+
3. Now copy the snippet below into a new comment and fill out the blanks.
34+
35+
4. Now your PR is ready to be reviewed.
36+
37+
```
38+
## Test-Documentation
39+
40+
### Preview links & Sidebar Screenshots
41+
42+
<!-- Use the preview to find examples, select the feature in question and **copy this link here**.
43+
Find examples of nodes/areas. Find examples with a lot of tags or very few tags. – Whatever helps to test this thoroughly.
44+
Add relevant **screenshots** of the sidebar of those examples. -->
45+
46+
<!-- FYI: What we will check:
47+
- Is the [icon](https://github.com/ideditor/schema-builder/blob/main/ICONS.md) well chosen.
48+
- Are the fields well-structured and have good labels.
49+
- Do the dropdowns (etc.) work well and show helpful data. -->
50+
51+
### Search
52+
53+
<!-- **Test the search** of your preset and share relevant **screenshots** here.
54+
- Test the preset name as search terms.
55+
- Also test the preset terms and aliases as search terms (if present). -->
56+
57+
### Info-`i`
58+
59+
<!-- **Test the info-i** for your fields and preset and share relevant **screenshots** here.
60+
The info needs to help mappers understand the preset and when to use it.
61+
[Learn more…](https://github.com/tordans/id-tagging-schema/blob/main/CONTRIBUTING.md#info-i)
62+
-->
63+
64+
### Wording
65+
66+
- [ ] American English
67+
- [ ] `name`, `aliases` (if present) use Title Case
68+
- [ ] `terms` (if present) use lower case, sorted A-Z
69+
<!-- Learn more in https://github.com/openstreetmap/id-tagging-schema/blob/main/GUIDELINES.md#2-design-the-preset -->
70+
```
71+
72+
</details>

.github/workflows/deploy-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
owner: context.repo.owner,
7979
repo: context.repo.repo,
8080
issue_number: pullRequestNumber,
81-
body: `${start} Preview the tagging presets of this pull request here: https://pr-${pullRequestNumber}--ideditor-presets-preview.netlify.app/id/dist/#locale=en.`
81+
body: `${start} You can preview the tagging presets of this pull request [here](https://pr-${pullRequestNumber}--ideditor-presets-preview.netlify.app/id/dist/#locale=en).`
8282
});
8383
} else {
8484
console.log(`Preview URL comment already added to PR #${pullRequestNumber}`);

.github/workflows/deploy.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
deploy:
1313
name: Deploy
1414
runs-on: ubuntu-latest
15-
if: "!contains(github.event.head_commit.message, 'Deploy') && github.repository == 'openstreetmap/id-tagging-schema'"
15+
if: "github.repository == 'openstreetmap/id-tagging-schema'"
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v3 # If you're using actions/checkout@v3 you must set persist-credentials to false in most cases for the deployment to work correctly.
@@ -31,8 +31,7 @@ jobs:
3131
run: npm run build
3232

3333
- name: Deploy 🚀
34-
uses: JamesIves/github-pages-deploy-action@v4.4.0
34+
uses: JamesIves/github-pages-deploy-action@v4.6.1
3535
with:
36-
BRANCH: main # The branch the action should deploy to.
37-
FOLDER: . # The folder the action should deploy.
38-
CLEAN: false # Automatically remove deleted files from the deploy branch
36+
BRANCH: interim # The branch the action should deploy to.
37+
FOLDER: interim # The folder the action should deploy.

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- uses: codespell-project/actions-codespell@master
3535
with:
3636
check_filenames: true
37-
skip: ./.git,./dist/translations
37+
skip: ./.git,./dist,./data/deprecated.json,./data/discarded.json
3838
ignore_words_list: "auxilary,casette,cemetary,chancel,discus,extentions,faiway,generat,goverment,guerilla,guyser,kindergarden,ore,pavillion,sculpter,storys,linz,te"
3939
only_warn: 1
4040

.prettierrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"parser": "json-stringify",
3-
"proseWrap": "never",
4-
"bracketSpacing": true,
5-
"endOfLine": "lf"
2+
"parser": "json-stringify",
3+
"proseWrap": "never",
4+
"bracketSpacing": true,
5+
"endOfLine": "lf"
66
}

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,8 @@
3636
],
3737
"url": "./node_modules/@ideditor/schema-builder/schemas/preset_defaults.json"
3838
}
39-
]
39+
],
40+
"files.exclude": {
41+
"**/dist": true
42+
}
4043
}

0 commit comments

Comments
 (0)