This repository was archived by the owner on Jan 19, 2024. It is now read-only.
forked from apache/www-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathasfdata.yaml
More file actions
141 lines (130 loc) · 3.96 KB
/
asfdata.yaml
File metadata and controls
141 lines (130 loc) · 3.96 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
# TODO: the sources for these fixed values need to be documented
# key-value pairs
code_lines: 271M
code_changed: 4.8B
code_commits: 4.6M
# index.ezmd: 'code contributors'
asf_contributors: 49,000
# index.ezmd: 'people involved in our communities'
asf_people: 640,000
# index.ezmd: Projects and Initiatives
com_initiatives: 350
# index.ezmd
com_downloads: ~2 Petabytes
# index.ezmd
com_emails: 28M
# index.ezmd
com_mailinglists: 1,400
# index.ezmd: weekly page views
com_pageviews: 286M
# data sources for numbers
pi:
url: https://whimsy.apache.org/public/public_ldap_people.json
# rounded down, so can be used as nnn+
asf_committers:
path: people_count
truncate: 10
mi:
url: https://whimsy.apache.org/public/member-info.json
asf_members:
path: member_count
# rounded down, so can be used as nnn+
asf_members_rounded:
path: member_count
truncate: 10
# 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
featured_projs:
# used on /
description: 'Featured Projects'
# base on projects sequence
sequence: projects
# take a random sample of 3
random: 3
# 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://projects.apache.org/json/foundation/podlings.json
podlings:
description: 'Current Podlings'
# create a sequence from the dictionary
featured_pods:
description: 'Featured Podlings'
# based on the podlings sequence
sequence: podlings
# take a random sample of 3
random: 3
# 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
# 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: 1
# used on index.ezmd
planet:
# load, transform, and create a sequence of foundation blogs
blog: https://blogs.apache.org/planet/feed/entries/atom
count: 1
# used on index.ezmd
conferences:
# load, transform, and create a sequence of foundation blogs
blog: https://blogs.apache.org/conferences/feed/entries/atom
count: 1