-
Notifications
You must be signed in to change notification settings - Fork 111
/
asfdata.yaml
95 lines (90 loc) · 2.97 KB
/
asfdata.yaml
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
# 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
# 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