joanbono / awesome-kicad

A curated list of awesome KiCad plugins and resources
GNU General Public License v3.0
331 stars 17 forks source link

use repository.json #5

Open humham opened 2 years ago

humham commented 2 years ago

why we don't use repository.json in order to put them all in the same repo and download it by kicad easlier?

joanbono commented 2 years ago

Hmmm I’m not sure I understand what do you mean.

can you share a link with info about the repository.json functionality, @humham ?

humham commented 2 years ago

have the installation like this:

joanbono commented 2 years ago

Good one! I will take a look and work on this!

farfilli commented 9 months ago

I?m new to KiCad but this functionality would be very helpfull

joanbono commented 9 months ago

Hi @farfilli I looked into this a while ago and it was quite complex to achieve because of some parts (the SHA part of every repository) Example:

{
    "$schema": "https://go.kicad.org/pcm/schemas/v1#/definitions/Repository",
    "maintainer": {
        "contact": {
            "web": "https://github.com/pointhi/kicad-color-schemes/"
        },
        "name": "Thomas Pointhuber"
    },
    "name": "kicad-color-schemes repository by @pointhi",
    "packages": {
        "sha256": "fe8596418cff699726757be58ad0d61f682dbf587bb0cb48ab3080f67c6eaec6",
        "update_time_utc": "2021-12-05 13:11:42",
        "update_timestamp": 1638709902,
        "url": "https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/packages.json"
    },
    "resources": {
        "sha256": "620853ca579fdb1c773d94ff18004fdc5c31866b2b611498c9ccc747cad8b095",
        "update_time_utc": "2021-12-05 13:11:42",
        "update_timestamp": 1638709902,
        "url": "https://raw.githubusercontent.com/pointhi/kicad-color-schemes/master/resources.zip"
    }
}

So, any help will be welcome 🚀