Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(643)

Side by Side Diff: MoinMoin/constants/keys.py

Issue 10519045: Added basic composite name support
Patch Set: Testing done. Created 11 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | MoinMoin/converter/nonexistent_in.py » ('j') | MoinMoin/items/__init__.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright: 2011 MoinMoin:ThomasWaldmann 1 # Copyright: 2011 MoinMoin:ThomasWaldmann
2 # License: GNU GPL v2 (or any later version), see LICENSE.txt for details. 2 # License: GNU GPL v2 (or any later version), see LICENSE.txt for details.
3 3
4 """ 4 """
5 MoinMoin - meta data key / index field name related constants 5 MoinMoin - meta data key / index field name related constants
6 """ 6 """
7 7
8 # metadata keys 8 # metadata keys
9 NAME = u"name" 9 NAME = u"name"
10 NAME_OLD = u"name_old" 10 NAME_OLD = u"name_old"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 SEVERITY = u"severity" 106 SEVERITY = u"severity"
107 PRIORITY = u"priority" 107 PRIORITY = u"priority"
108 ASSIGNED_TO = u"assigned_to" 108 ASSIGNED_TO = u"assigned_to"
109 SUPERSEDED_BY = u"superseded_by" 109 SUPERSEDED_BY = u"superseded_by"
110 DEPENDS_ON = u"depends_on" 110 DEPENDS_ON = u"depends_on"
111 CLOSED = u"closed" 111 CLOSED = u"closed"
112 112
113 # index names 113 # index names
114 LATEST_REVS = 'latest_revs' 114 LATEST_REVS = 'latest_revs'
115 ALL_REVS = 'all_revs' 115 ALL_REVS = 'all_revs'
116
117 # Values that FIELD can take in the composite name: [NAMESPACE/][@FIELD/]NAME
118 FIELDS = [
119 ITEMID, REVID, TAGS, USERID, ITEMLINKS, ITEMTRANSCLUSIONS, NAME_EXACT
Thomas.J.Waldmann 2013/06/28 10:03:22 end such lists with a comma it is useful / more p
120 ]
121 # Fields that can be used as a unique identifier.
122 UFIELDS = [
123 ITEMID, REVID, NAME_EXACT, USERID
Thomas.J.Waldmann 2013/06/28 10:03:22 why USERID? check how it is used...
124 ]
125 # Unique fields that are stored as list.
126 UFIELDS_TYPELIST = [NAME_EXACT]
OLDNEW
« no previous file with comments | « no previous file | MoinMoin/converter/nonexistent_in.py » ('j') | MoinMoin/items/__init__.py » ('J')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b