This project contains some tools for making it easier to build and maintain a landscape.
Current tools are:
- landscapemembers.py - Creates a new landscape.yml or updates an existing landscape.yml file with members populated. Leverages LF SFDC as the primary data source for members include, and uses Crunchbase and other landscapes as secondary data sources for data enrichment.
- makememberprojectlogos.sh - Creates uniform project/product logos for an organization where they don't have a specific logo to use.
- downloadcrunchbasedata.sh - Fetches the latest CSV dump of organizations from crunchbase
- buildimages.sh - Creates images for all the projects of a given company, using the given image as base and adds the project name underneath.
git clone https://github.com/jmertic/landscape-tools
cd landscape-tools
pip install -r requirements.txt
If you wish to use crunchbase as a data source, add this command.
./downloadcrunchbasedata.sh
All of the Python scripts depend on a config.yaml
file being present in the same directory as the script to provide any configuration variables, or passing a -c
option to the script with a path to the config file. Settings are below.
landscapeName: # short name of your landscape - matches entry at https://github.com/cncf/landscapeapp/blob/master/landscapes.yml
landscapeMemberClasses: # classes of membership; name matches how it's listed in LF SFDC, and category how it will be listed in the landscape. Example below...
- name: Associate Membership
category: Associate
- name: Gold Membership
category: Gold
- name: Platinum Membership
category: Platinum
- name: Silver Membership
category: Silver
project: # project slug
landscapeMemberCategory: # category name of the members section in the landscape.yml file
landscapefile: # filename to use for the outputted landscape.yml file
missingcsvfile: # filename to use for the list of entries with missing parts ( such as a logo, website, or crunchbase entry )
This depends on CRUNCHBASE_KEY
being set to a valid key if you wish to use that as a data source ( required by downloadcrunchbasedata.sh ).
Feel free to send issues or pull requests ( with a DCO signoff of course :-) ) in accordance with the contribution guidelines