I’m setting up a repository of helpful libraries for users to download in one fell swoop when using our boards/code. (https://github.com/EnviroDIY/Libraries) Because many of them are external, that repository is really just a grouping of submodules, along with an easy-to-download zip file (because git-archive doesn’t include submodules in the default download button).
If try to install the git repository directly (pio install https://github.com/EnviroDIY/Libraries.git), it downloads everything, including all of the submodules, but behaves as if it installed a single library called “Libraries” with no source code instead of having installed a whole collection of libraries. None of the libraries can be accessed by the compiler.
I tried generating a library.json file within the directory that simply lists the dependent libraries, (https://github.com/EnviroDIY/Libraries/blob/master/library.json) but this json file is completely ignored.
If I try to install the zip file of all of the compressed libraries (pio install https://github.com/EnviroDIY/Libraries/raw/master/libraries.zip), only the alphabetically first library within the zip is found and installed. Nothing else is decompressed or installed.
Any suggestions for what I’m doing wrong or should I put this up as a bug in the issue tracker?