Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathconst.go
More file actions
Latest commit
203 lines (137 loc) · 5.91 KB
/
Copy pathconst.go
File metadata and controls
203 lines (137 loc) · 5.91 KB
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
193
194
195
196
197
198
199
200
201
202
203
package devstatscode
// Today - common constant string
constTodaystring="today"
// DefaultDataDir - common constant string
constDefaultDataDirstring="/etc/gha2db/"
// Retry - common constant string
constRetrystring="retry"
// Password - common constant string
constPasswordstring="password"
// GHAAdmin - common constant string
constGHAAdminstring="gha_admin"
// Quarter - common constant string
constQuarterstring="quarter"
// Now - common constant string
constNowstring="now"
// GHA - common constant string
constGHAstring="gha"
// Localhost - common constant string
constLocalhoststring="localhost"
// Devstats - common constant string
constDevstatsstring="devstats"
// DevstatsCode - common constant string
constDevstatsCodestring="devstatscode"
// TimeoutError - common constant string
constTimeoutErrorstring="{\"error\":\"timeout\"}\n"
// EngineIsClosedError - common constant string
constEngineIsClosedErrorstring="engine is closed"
// LocalGitScripts - common constant string
constLocalGitScriptsstring="./git/"
// Metrics - common constant string
constMetricsstring="metrics/"
// Unset - common constant string
constUnsetstring="{{unset}}"
// TimeCol - common constant string
constTimeColstring="time"
// SeriesCol - common constant string
constSeriesColstring="series"
// PeriodCol - common constant string
constPeriodColstring="period"
// Null - common constant string
constNullstring="null"
// HideCfgFile - common constant string
constHideCfgFilestring="hide/hide.csv"
// All - common constant string
constAllstring="all"
// ALL - common constant string
constALLstring="All"
// Kubernetes - common constant string
constKubernetesstring="kubernetes"
// ArtificialIDBase - artificial (GitHub API sourced) event id base: 2^48.
// Issue/PR timeline events use ArtificialIDBase + REST event id (offsets ~2.8e10 in 2026, growing ~1e10/year).
// API-restored object classes below get uniform 4e12-wide sub-bands (object ids are ~3e9 in 2026, growing <1e9/year),
// so classes cannot collide for centuries. Sync events (ArtificialIDBase + UnixNano/31622) stay >= 329900000000000
// (offset >= ~48.4e12 since 2018 and growing), above all sub-bands.
constArtificialIDBaseint64=281474976710656
// ArtificialCommentIDBase - API-restored issue comments
constArtificialCommentIDBaseint64=ArtificialIDBase+4000000000000
// ArtificialReviewCommentIDBase - API-restored PR review comments
constArtificialReviewCommentIDBaseint64=ArtificialIDBase+8000000000000
// ArtificialCommitCommentIDBase - API-restored commit comments
constArtificialCommitCommentIDBaseint64=ArtificialIDBase+12000000000000
// ArtificialReviewIDBase - API-restored PR reviews
constArtificialReviewIDBaseint64=ArtificialIDBase+16000000000000
// ArtificialForkIDBase - API-restored forks
constArtificialForkIDBaseint64=ArtificialIDBase+20000000000000
// ArtificialReleaseIDBase - API-restored releases
constArtificialReleaseIDBaseint64=ArtificialIDBase+24000000000000
// SyncEventIDThreshold - event ids >= this are 'sync' events; artificial sub-bands must stay below
constSyncEventIDThresholdint64=329900000000000
// Abuse - common constant string
constAbusestring="abuse"
// NotFound - common constant string
constNotFoundstring="not_found"
// IssueIsDeleted - common constant string
constIssueIsDeletedstring="issue_is_deleted"
// MovedPermanently - common constant string
constMovedPermanentlystring="moved_permanently"
// Merged - common constant string
constMergedstring="merged"
// InvalidCatalogName - common constant string
constInvalidCatalogNamestring="invalid_catalog_name"
// Nil - common constant string
constNilstring="(nil)"
// Reconnect - common constant string
constReconnectstring="reconnect"
// OK - common constant string
constOKstring="ok"
// RepoNamesQuery - common constant string
constRepoNamesQuerystring="select distinct name from gha_repos where name like '%_/_%' and name not like '%/%/%'"
// GithubIDContributions - common constant string
constGithubIDContributionsstring="GithubIDContributions"
// DevActCnt - common constant string
constDevActCntstring="DevActCnt"
// DevActCntComp - common constant string
constDevActCntCompstring="DevActCntComp"
// ComContribRepoGrp - common constant string
constComContribRepoGrpstring="ComContribRepoGrp"
// CompaniesTable - common constant string
constCompaniesTablestring="CompaniesTable"
// ComStatsRepoGrp - common constant string
constComStatsRepoGrpstring="ComStatsRepoGrp"
// Health - common constant string
constHealthstring="Health"
// Events - common constant string
constEventsstring="Events"
// ListAPIs - common constant string
constListAPIsstring="ListAPIs"
// CumulativeCounts - common constant string
constCumulativeCountsstring="CumulativeCounts"
// ListProjects - common constant string
constListProjectsstring="ListProjects"
// RepoGroups - common constant string
constRepoGroupsstring="RepoGroups"
// Ranges - common constant string
constRangesstring="Ranges"
// Repos - common constant string
constReposstring="Repos"
// Countries - common constant string
constCountriesstring="Countries"
// Companies - common constant string
constCompaniesstring="Companies"
// SiteStats - common constant string
constSiteStatsstring="SiteStats"
// Day - common constant string
constDaystring="day"
// Week - common constant string
constWeekstring="week"
// Hour - common constant string
constHourstring="hour"
// Month - common constant string
constMonthstring="month"
// Year - common constant string
constYearstring="year"
// GhostActorID - ID of the 'ghost' placeholder actor GitHub uses for deleted accounts
constGhostActorIDint64=10137
// GhostActorLogin - login of the 'ghost' placeholder actor GitHub uses for deleted accounts
constGhostActorLoginstring="ghost"