Closed jmertic closed 4 years ago
Note it's currently working in the ASWF Landscape, but that's because I've added the acquired organizations manually to the members.yml file. Once that file goes away, this will be broken.
@dankohn does this mean I need to treat every sub-organization as a root organization when deciding about membership? @jmertic any chance to provide a single example ?
Treat an organization as a member if either it is a member or its parent from Crunchbase is a member.
Please create a fork of https://github.com/AcademySoftwareFoundation/aswf-landscape where you remove members.yml. Then, https://landscape.aswf.io/format=card-mode&selected=open-subdiv should still be a member project because Pixar's parent is Disney, and Disney is a member.
Looks good, except one thing - there is a https://www.crunchbase.com/organization/the-walt-disney-company#section-overview which has all the acquisitions, but somehow the crunchbase used in the old members.yml
is https://www.crunchbase.com/organization/walt-disney-studios
which is different and has zero acquisitions. Can I use https://www.crunchbase.com/organization/the-walt-disney-company , @jmertic ?
Yes, fine to switch. But, ideally, if walt-disney-studios were set as a subsidiary of walt-disney-company, you would be able to see that pixar is a member if they share a parent.
Cc @jmertic
Agreed - thanks @ZeusTheTrueGod.
Does this mean I need to go the parent as much as possible, and then check all acquisitions? Whatever, that logic seems to be too complex, I've just added a check for a company acquisitions.
@jmertic @dankohn please check, I think now it works there
It looks correct to me. We can merge and see if this fixes the problem, if you're OK.
@jmertic that was merged in #260
Example:
https://www.crunchbase.com/organization/the-walt-disney-company
All of Disney's acquisitions aren't listed as sub-organizations, so when looking for member projects we miss the acquisition's projects. Right now I can hack around this with the members.yml file, but that's going away ( https://github.com/cncf/landscapeapp/issues/260 ).