Skip to content

[fearture request] Add repo description to the json file #130

@urfdvw

Description

@urfdvw

By description, I mean the one line description field on the top right of the repo page

Image

The current json is a list of objects like below

{
    "dependencies": [
        "adafruit_bus_device",
        "adafruit_register"
    ],
    "external_dependencies": [],
    "package": false,
    "path": "lib/adafruit_24lc32",
    "pypi_name": "adafruit-circuitpython-24lc32",
    "repo": "https://github.com/adafruit/adafruit_circuitpython_24lc32",
    "version": "1.2.3"
}

The purpose of this file is to be read by lib management tools.
In GUI lib management tools, such as the one in https://circuitpy.dev , it would be helpful if the repo description is added to this object.
This would help easier search by text through the libs, such as you can search "EEPROM" as a key word instead of remembering the chip model number, and thus increase lib visibility.

So that we can have

{
    "dependencies": [
        "adafruit_bus_device",
        "adafruit_register"
    ],
    "external_dependencies": [],
    "package": false,
    "path": "lib/adafruit_24lc32",
    "pypi_name": "adafruit-circuitpython-24lc32",
    "repo": "https://github.com/adafruit/adafruit_circuitpython_24lc32",
    "version": "1.2.3"
    "description": "CircuitPython Driver for Adafruit 24LC32 I2C EEPROM Breakout 32Kbit / 4 KB"
}

I am not sure how that can be achieved. By my shallow reseach, this field can be found in https://api.github.com/repos/adafruit/adafruit_circuitpython_24lc32
under field "description"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions