Skip to content

Commit b7af38e

Browse files
committed
Moved index definitions above the AUTOGENERATED line.
This prevents dev_appserver from modifying the index file during standard usage/testing, which prevents git from constantly reporting the file as modified.
1 parent 988d344 commit b7af38e

1 file changed

Lines changed: 10 additions & 17 deletions

File tree

index.yaml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,50 @@
11
indexes:
22

3-
# AUTOGENERATED
4-
5-
# This index.yaml is automatically updated whenever the dev_appserver
6-
# detects that a new type of query is run. If you want to manage the
7-
# index.yaml file manually, remove the above marker line (the line
8-
# saying "# AUTOGENERATED"). If you want to manage some indexes
9-
# manually, move them above the marker line. The index.yaml file is
10-
# automatically uploaded to the admin console when you next deploy
11-
# your application using appcfg.py.
12-
13-
# Used once in query history.
143
- kind: Article
154
properties:
165
- name: __searchable_text_index
176
- name: published
187
direction: desc
198

20-
# Used 17 times in query history.
219
- kind: Article
2210
properties:
2311
- name: article_type
2412
- name: published
2513
direction: desc
2614

27-
# Used 23 times in query history.
2815
- kind: Article
2916
properties:
3017
- name: article_type
3118
- name: title
3219

33-
# Unused in query history -- copied from input.
3420
- kind: Article
3521
properties:
3622
- name: display_type
3723
- name: published
3824
direction: desc
3925

40-
# Used 13 times in query history.
4126
- kind: Article
4227
properties:
4328
- name: published
4429
direction: desc
4530

46-
# Used 7 times in query history.
4731
- kind: Article
4832
properties:
4933
- name: tags
5034
- name: published
5135
direction: desc
5236

53-
# Used 4 times in query history.
5437
- kind: Comment
5538
properties:
5639
- name: article
5740
- name: thread
41+
42+
# AUTOGENERATED
43+
44+
# This index.yaml is automatically updated whenever the dev_appserver
45+
# detects that a new type of query is run. If you want to manage the
46+
# index.yaml file manually, remove the above marker line (the line
47+
# saying "# AUTOGENERATED"). If you want to manage some indexes
48+
# manually, move them above the marker line. The index.yaml file is
49+
# automatically uploaded to the admin console when you next deploy
50+
# your application using appcfg.py.

0 commit comments

Comments
 (0)