Our examples are nested in the examples folder in root, and our library manifests are using the glob pattern per docs; but our PIO lib page says there are no examples.
Anyone have an idea what might be going on or how I can fix this?
Not sure whatâs going on there - maybe wait a little longer as you made the changes 21 hours ago, and the crawler is supposed to update every 24 hours or so?
Going by the docs, you may not have even needed to specify the examples path, as it appears that the default search settings go deep enough⌠Redirecting...
the Cpp-Client library hasnât shown the latest tagged release yet, but Cpp-Crypto has.
Iâll wait another day or so to see if it updates.
Oddly, the manifests from the PIO/lib pages both show the most recent changes.
Ahhh. So it means any sketches (.ino, etc.) falling within the default examplesâ paths will automatically be found?
Thaaaat makes sense now. Thank you!
Do you also happen to know if PIO pulls packages via srcâs .zip file in the release, or does it use git?
I just looked at our release zips, and they donât have the examples folder; only manifests and âsrc/â.
If Iâm just basically reusing a part of the default field, Iâm feeling the release zips very well may be the culprit.
Yeah, looks like unless you have a specific âoddâ project structure, the PlatformIO crawler would find the examples by default⌠whether they be old/new Arduino sketchs, or c/cpp files.
Well, this could be a problem⌠from how Iâm reading the notes on deploying via GitHub, I would think it is pulling from the repo. Now, the catch is, âPlatformIO Library Registry Crawler will lookup for release tag named as value of version or with v prefix (you do not need to pass this v prefix to the version field).â
Now, with that in mind, since Ark-Cpp-Crypto is showing v0.2.0 on the PlatformIO registry, I checked the library.json tagged under v0.2.0 on github⌠er⌠the examples line there is the old one, as it didnât make it into v0.2.0. Well, that ainât confusing much⌠with the platformIO registry showing the current manifest and apparently the examples from the last released version? Or an I just overthinking this?
Iâll be sure to just remove the âexamplesâ field
Now, with that in mind, since Ark-Cpp-Crypto is showing v0.2.0 on the PlatformIO registry, I checked the library.json tagged under v0.2.0 on github⌠er⌠the examples line there is the old one, as it didnât make it into v0.2.0. Well, that ainât confusing much⌠with the platformIO registry showing the current manifest and apparently the examples from the last released version? Or an I just overthinking this?
Thatâs pretty much exactly where Iâm at with it now
I know I have to be overlooking something, because not a lot is matching up atm. lol
Iâll wait a bit longer for things to propagate and see if anything changes.
The BIG changes I needed get pulled through PIO okay already; the âexamplesâ showing up are [WIP] like whoa
Somewhere along the way, the âexportâ field in the manifest was including only the âsrcâ folder.
I removed the âexportâ field, and the redundant âexamplesâ field.