-
Notifications
You must be signed in to change notification settings - Fork 155
Expand file tree
/
Copy pathasfdata.yaml
More file actions
153 lines (139 loc) · 4.62 KB
/
asfdata.yaml
File metadata and controls
153 lines (139 loc) · 4.62 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
# data sources to slurp and sequence
# index.ezmd
# foundation/index.ezmd
# foundation/board/index.ezmd
# licenses/exports/index.ezmd
ci:
# load, transform, and create data sequences from committee info
url: https://whimsy.apache.org/public/committee-info.json
board:
# used on /foundation/ and /foundation/board/
description: 'Board of Directors sequence'
# select ci['board']['roster'] for the sequence
path: board.roster
officers:
description: 'Foundation Officers sequence'
# select ci['officers'] for the sequence
path: officers
# convert ci['officers']['roster']
asfid: roster
committees:
description: 'Foundation Committees sequence'
# ci['committees']
path: committees
# remove all report and roster dictionaries from committees
trim: report,roster
# convert ci['committees']['chair']
asfid: chair
ci:
# used on /foundation/
description: 'Dictionary of officers and committees'
# save a merged dictionary version of these sequences.
dictionary: officers,committees
projects:
description: 'Current Projects'
# ci['committees']
path: committees
# select only where 'pmc' is true.
where: pmc
# sort by project name
alpha: display_name
pmc_count_rounded:
path: pmc_count
truncate: 10
featured_projs:
# used on /
description: 'Featured Projects'
# base on projects sequence
sequence: projects
# take a random sample of 3
random: 12
# logo path - use apache powered by if missing
logo: /logos/res/{}/default.png,/foundation/press/kit/poweredBy/Apache_PoweredBy.svg
pl:
# used on /
description: 'Project List Columns'
# base on projects sequence
sequence: projects
# split into 6 column sequence adding letters of the alphabet and putting httpd first
split: 6
# used on index.ezmd
pods:
# load, transform, and create data sequences from podling info
url: https://whimsy.apache.org/public/public_podlings.json
podlings:
description: 'Current Podlings'
# create a sequence from the dictionary
path: podling
where: status eq current
featured_pods:
description: 'Featured Podlings'
# based on the podlings sequence
sequence: podlings
# take a random sample of 6
random: 6
# logo path - use incubator if missing. Strip "Apache" and "(incubator)" from name.
logo: /logos/res/{}/default.png,/logos/res/incubator/default.png
# used on licenses/exports/index.ezmd
eccn:
# load, transform, and create a four tiered structure of sequence objects
# projects, products, versions, and sources
file: data/eccn/eccnmatrix.yaml
# The following is a work-round, as EZT does not currently
# support a check to see if a variable is defined
# Note: currently disabled. Change the following to 1 to enable
twitter_enable: 0
# # used on index.ezmd
# twitter:
# # load, transform, and create a sequence of tweets
# handle: 'TheASF'
# count: 1
# used on index.ezmd
foundation:
# load, transform, and create a sequence of foundation blogs
blog: https://news.apache.org/feed/atom
count: 3
# used on index.ezmd
newsletter:
# load, transform, and create a sequence of foundation blogs
blog: https://news.apache.org/foundation/entry/category/plus-one-newsletter/feed/atom
count: 3
# used on index.ezmd
podcast:
# load, transform, and create a sequence of foundation blogs
blog: https://plusone.apache.org/feed/atom
count: 3
# used for index.ezmd and foundation/how-it-works/index.md
pg:
url: https://whimsy.apache.org/public/public_ldap_groups.json
asf_committers:
path: roster_counts.committers
# rounded down, so can be used as nnn+
asf_committers_rounded:
path: roster_counts.committers
truncate: 100
asf_ldap_member: # This is not exactly the same as the number of active+emeritus members
path: roster_counts.member
# rounded down, so can be used as nnn+
asf_ldap_member_rounded:
path: roster_counts.member
truncate: 10
# used for index.ezmd and foundation/how-it-works/index.md
mi:
url: https://whimsy.apache.org/public/member-info.json
asf_active_members_rounded:
path: member_count
truncate: 10
asf_total_members_rounded: # active + emeritus
path: total_member_count
truncate: 10
# used for index.ezmd
# Not sure how this are derived
software_releases_rounded: 1300
# how does this relate to PMC count? (pmc_count_rounded)
open_source_projects_rounded: 290
# Can also define values as follows:
# anumber: 100
# astring: 'hundred'
# and reference them as {{anumber}} and {{astring}} even in .md files
# [This substitution is performed by the asfgenid plugin, assuming its metadata option is true]