Skip to content

Commit

Permalink
Refactor to make proper sponsorship data structures and parse code
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneCurcuru committed Feb 8, 2024
1 parent 9d710ab commit 364276b
Show file tree
Hide file tree
Showing 22 changed files with 833 additions and 353 deletions.
1 change: 1 addition & 0 deletions _foundations/asf.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ budgetYear:
budgeturl: https://whimsy.apache.org/board/minutes/Budget.html
sponsorurl: https://www.apache.org/foundation/thanks.html
sponsorList: Cloudera, Comcast, Facebook, Google, Leaseweb, Microsoft, Pivotal, Yahoo!
sponsorship: asf.json
licenses: Apache-2.0
claPolicy: CLA
ethicsPolicy:
Expand Down
3 changes: 2 additions & 1 deletion _foundations/drupal.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ budgetYear:
budgeturl:
sponsorurl: https://www.drupal.org/association/supporters/partners
sponsorList:
licenses: GPL-2.0-or-later
sponsorship: drupal.json
licenses: GPL-2.0-or-later
claPolicy:
ethicsPolicy:
governanceOrg:
Expand Down
1 change: 1 addition & 0 deletions _foundations/freebsd.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ budgetYear:
budgeturl:
sponsorurl: https://www.freebsdfoundation.org/donors/
sponsorList:
sponsorship: freebsd.json
licenses: BSD-2-Clause
claPolicy:
ethicsPolicy:
Expand Down
1 change: 1 addition & 0 deletions _foundations/lf.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ budgetYear: 2019
budgeturl: https://projects.propublica.org/nonprofits/organizations/460503801
sponsorurl: https://www.linuxfoundation.org/members
sponsorList:
sponsorship: lf.json
licenses: various
claPolicy:
ethicsPolicy:
Expand Down
1 change: 1 addition & 0 deletions _foundations/numfocus.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ budgetYear:
budgeturl: https://numfocus.org/legal
sponsorurl:
sponsorList: https://numfocus.org/sponsors
sponsorship: numfocus.json
licenses: various
claPolicy:
ethicsPolicy:
Expand Down
1 change: 1 addition & 0 deletions _foundations/osgeo.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ budgetYear:
budgeturl:
sponsorurl:
sponsorList:
sponsorship: osgeo.json
licenses:
claPolicy:
ethicsPolicy:
Expand Down
1 change: 1 addition & 0 deletions _foundations/owasp.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ budgeturl: https://www.owasp.org/index.php/About_OWASP/Financial_Transparency
sponsorurl: https://www.owasp.org/index.php/Acknowledgements
sponsorList: Adobe, CME Group, Fortify, Qualys, Salesforce, Security Innovation, Signal
Sciences, waratek
sponsorship: owasp.json
licenses: various
claPolicy: CLA
ethicsPolicy:
Expand Down
1 change: 1 addition & 0 deletions _foundations/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ budgetYear:
budgeturl:
sponsorurl:
sponsorList:
sponsorship: python.json
licenses:
claPolicy:
ethicsPolicy:
Expand Down
93 changes: 93 additions & 0 deletions _sponsorships/asf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"20240101": {
"sponsorurl": "https://apache.org/foundation/sponsors",
"levelurl": "https://apache.org/foundation/sponsorship",
"normalize": "true",
"levels": {
"first": {
"name": "platinum",
"amount": "125000",
"selector": "#platinum li a",
"attr": "href",
"benefits": {
"marketing": "joint press release; case study; Success At Apache posting",
"logo": "yes in two column row"
}
},
"second": {
"name": "gold",
"amount": "50000",
"selector": "#gold li a",
"attr": "href",
"benefits": {
"advisory": "dedicated ASF Sponsor Ambassador",
"marketing": "ASF quote for own press release; media testimonial",
"logo": "yes in three column row"
}
},
"third": {
"name": "silver",
"amount": "25000",
"selector": "#silver li a",
"attr": "href",
"benefits": {
"advisory": "ASF ambassador contact",
"marketing": "listing in all press releases",
"logo": "yes in four column row"
}
},
"fourth": {
"name": "bronze",
"amount": "6000",
"selector": "#bronze li a",
"attr": "href",
"benefits": {
"marketing": "listing in annual and quarterly reports",
"logo": "text mention only"
}
},
"firstinkind": {
"name": "targeted platinum",
"amount": "125000",
"selector": "#targetedplatinum li a",
"attr": "href",
"benefits": {
"marketing": "joint press release; case study; Success At Apache posting",
"logo": "yes"
}
},
"secondinkind": {
"name": "targeted gold",
"amount": "50000",
"selector": "#targetedgold li a",
"attr": "href",
"benefits": {
"advisory": "dedicated ASF Sponsor Ambassador",
"marketing": "ASF quote for own press release; media testimonial",
"logo": "yes"
}
},
"thirdinkind": {
"name": "targeted silver",
"amount": "25000",
"selector": "#targetedsilver li a",
"attr": "href",
"benefits": {
"advisory": "ASF ambassador contact",
"marketing": "listing in all press releases",
"logo": "yes"
}
},
"fourthinkind": {
"name": "targeted bronze",
"amount": "6000",
"selector": "#targetedbronze li a",
"attr": "href",
"benefits": {
"marketing": "listing in annual and quarterly reports",
"logo": "text mention only"
}
}
}
}
}
48 changes: 37 additions & 11 deletions _sponsorships/cncf.json
Original file line number Diff line number Diff line change
@@ -1,51 +1,77 @@
{
"20240101": {
"sponsorurl": "https://github.com/cncf/landscape/blob/master/landscape.yml",
"sponsorurl": "https://raw.githubusercontent.com/cncf/landscape/master/landscape.yml",
"levelurl": "https://www.cncf.io/about/join/",
"normalize": "true",
"selector": "CNCF Members",
"landscape": "CNCF Members",
"levels": {
"first": {
"name": "Platinum",
"amount": "370000",
"selector": "",
"attr": "homepage_url",
"benefits": "TODO: this should be structured data"
"benefits": {
"governance": "Board seat appointment",
"advisory": "Personal connections in project",
"events": "KubeCon keynote slot",
"services": "Multiple training/certification discounts",
"marketing": "Press release; Can host/run live branded webinars",
"logo": "Featured prominently, (note: this level requires 3 year commitment)y"
}
},
"second": {
"name": "Gold",
"amount": "120000",
"selector": "",
"attr": "homepage_url",
"benefits": "TODO: this should be structured data"
"attr": "homepage_url",
"benefits": {
"governance": "",
"advisory": "Quarterly meeting with execs",
"events": "Improved event access",
"services": "50 seats training subscription",
"marketing": "",
"logo": ""
}
},
"third": {
"name": "Silver",
"amount": "50000",
"selector": "",
"attr": "homepage_url",
"benefits": "TODO: this should be structured data"
"benefits": {
"governance": "Can run for board seats",
"advisory": "",
"events": "",
"services": "10 seats training subscriptions",
"marketing": "Submit vendor-neutral content to social medias",
"logo": ""
}
},
"academic": {
"name": "Academic",
"amount": "1000",
"selector": "",
"attr": "homepage_url",
"benefits": "TODO: this should be structured data"
"benefits": {
"governance": "",
"advisory": "",
"events": "Event discounts",
"services": "",
"marketing": "",
"logo": "Logo display included"
}
},
"community": {
"name": "Nonprofit",
"amount": "1000",
"selector": "",
"attr": "homepage_url",
"benefits": "TODO: this should be structured data"
"attr": "homepage_url"
},
"enduser": {
"name": "End User Supporter",
"amount": "0",
"selector": "",
"attr": "",
"benefits": "TODO: this should be structured data"
"attr": ""
}
}
}
Expand Down
70 changes: 70 additions & 0 deletions _sponsorships/drupal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"20240101": {
"sponsorurl": "https://www.drupal.org/supporters/partners",
"levelurl": "https://www.drupal.org/association/supporters",
"levels": {
"first": {
"name": "enterprise",
"amount": "25000",
"selector": ".sponsors--signature a",
"attr": "href",
"benefits": {
"governance": "10 individual memberships",
"events": "10 discount tickets and other discounts",
"services": "branded job postings page",
"marketing": "featured case study on 6 weeks/year for full year",
"logo": "yes, premium spot in conferences"
}
},
"second": {
"name": "signature",
"amount": "15000",
"selector": ".view-display-id-attachment_6 a",
"attr": "href",
"benefits": {
"governance": "8 individual memberships",
"events": "10 discount tickets and other discounts",
"services": "4 featured job postings",
"marketing": "featured case study on 4 weeks/year for ssixize months",
"logo": "yes, premium spot in conferences"
}
},
"third": {
"name": "premium",
"amount": "7500",
"selector": ".view-display-id-attachment_3 a",
"attr": "href",
"benefits": {
"governance": "6 individual memberships",
"events": "10 discount tickets and other discounts",
"services": "7 job postings",
"marketing": "featured case study on 2 weeks/year for 3 months",
"logo": "yes, premium spot in conferences"
}
},
"fourth": {
"name": "classic",
"amount": "2500",
"selector": ".view-display-id-attachment_1 a",
"attr": "href",
"benefits": {
"governance": "4 individual memberships",
"events": "priority support; 5 discount tickets",
"services": "5 job postings",
"logo": "yes"
}
},
"community": {
"name": "community",
"amount": "1000",
"selector": ".view-display-id-attachment_9 a",
"attr": "href",
"benefits": {
"governance": "2 individual memberships",
"services": "2 job postings",
"logo": "yes"
}
}
}
}
}
53 changes: 53 additions & 0 deletions _sponsorships/freebsd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"20240101": {
"sponsorurl": "https://freebsdfoundation.org/our-donors/donors/",
"levelurl": "https://freebsdfoundation.org/our-donors/freebsd-foundation-partnership-program/",
"normalize": "true",
"levels": {
"first": {
"name": "platinum",
"amount": "250000",
"selector": "div.freebsd-donors-list--partners > div.freebsd-donors-list--level > ul a",
"attr": "href",
"benefits": {
"governance": "Monthly staff/board meeting",
"events": "Sponsorship package and 10 tickets",
"marketing": "Social mention once per month",
"logo": "yes"
}
},
"second": {
"name": "gold",
"amount": "150000",
"selector": "TODO none displayed yet",
"attr": "href",
"benefits": {
"governance": "Quarterly staff/board meeting",
"events": "2 tickets",
"marketing": "Social mention once per quarter",
"logo": "yes"
}
},
"third": {
"name": "silver",
"amount": "100000",
"amountvaries": "sliding scale by number employees",
"selector": "TODO none displayed yet",
"attr": "href",
"benefits": {
"marketing": "Social mention once twice a year",
"logo": "yes"
}
},
"firstinkind": {
"name": "In Kind",
"amount": "0",
"selector": "TODO-requires-elementor-cruft",
"attr": "href",
"benefits": {
"logo": "yes"
}
}
}
}
}
Loading

0 comments on commit 364276b

Please sign in to comment.