Skip to content

addExternalInfo: Correctly reuse cached crunchbase info#836

Open
danielsilverstone-ct wants to merge 1 commit intocncf:masterfrom
danielsilverstone-ct:danielsilverstone-ct/fix-add-external-info
Open

addExternalInfo: Correctly reuse cached crunchbase info#836
danielsilverstone-ct wants to merge 1 commit intocncf:masterfrom
danielsilverstone-ct:danielsilverstone-ct/fix-add-external-info

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 <daniel.silverstone@codethink.co.uk>
@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