Skip to content

Added functionality to download descriptions.json and print out package descriptions when zopen-info is run#1010

Open
Kale105 wants to merge 2 commits intozopencommunity:mainfrom
Kale105:package_descriptions
Open

Added functionality to download descriptions.json and print out package descriptions when zopen-info is run#1010
Kale105 wants to merge 2 commits intozopencommunity:mainfrom
Kale105:package_descriptions

Conversation

@Kale105
Copy link
Copy Markdown
Contributor

@Kale105 Kale105 commented Apr 19, 2025

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Content Update

Category

  • zopen build framework
  • zopen package manager
  • Documentation
  • CI/CD
  • Tools

Description

Related Issues

  • Related Issue #
  • Closes #

[optional] Are there any post-deployment tasks or follow-up actions required?

Comment thread bin/zopen-info
size=$(jq -r '.product.size' "${metadata}")
commitsha=$(jq -r '.product.commitsha' "${metadata}")
community_commitsha=$(jq -r '.product.community_commitsha' "${metadata}")
package_descriptions=$(jq -r --arg package "$package" '.descriptions[$package]' "${JSON_DESCRIPTIONS_CACHE}")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably check if JSON_DESCRIPTIONS_CACHE exists first. You can do that with `if [ -r "${JSON_DESCRIPTIONS_CACHE}" ]

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.

2 participants