Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addExternalInfo: Correctly reuse cached crunchbase info #836

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danielsilverstone-ct
Copy link

When a crunchbase key is not in the environment; but the settings
request crunchbase data, we should reuse the data from the processed
landscape file.

This fixes #835

When a crunchbase key is not in the environment; but the settings
request crunchbase data, we should reuse the data from the processed
landscape file.

Signed-off-by: Daniel Silverstone <[email protected]>
@netlify
Copy link

netlify bot commented Jul 25, 2022

Deploy Preview for landscapeapp ready!

Name Link
🔨 Latest commit 957a4e1
🔍 Latest deploy log https://app.netlify.com/sites/landscapeapp/deploys/62de6e6aed5f6e00081fbc02
😎 Deploy Preview https://deploy-preview-836--landscapeapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@milanlakhani
Copy link
Contributor

milanlakhani commented Jul 25, 2022

This works for me.

@AndreyKozlov1984
Copy link
Contributor

global.skip_crunchbase

@danielsilverstone-ct
Copy link
Author

global.skip_crunchbase

This breaks landscapes which are designed to consume crunchbase data (such as the CNCF one) - it is clearly a bug that the cached crunchbase data was not being used as evidenced by the message: CRUNCHBASE_KEY_4 is not set. Using processed_landscape.yml as a source for crunchbase info which was emitted even though the info was then promptly deleted from the processed landscape.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

addExternalInfo.js loses crunchbase data from processed landscape
3 participants