asfdata.yaml (74 lines of code) (raw):

# 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 # 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 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