New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
etl outdated on platformio registry #495
Comments
I will try to look at the PlatformIO registry issue this weekend. The difference between the normal and Arduino versions is a special header file required to get the Arduino IDE to recognise the library, and a slightly different directory structure that is mandated by the Arduino library system. The Arduino version does not include the unit tests. |
As a workaround until the registry is updated, one can use this in
|
I'm having a little trouble updating the PlatformIO registry at the moment. |
Maybe @ivankravets can help. He did help me when I had the same trouble with nanopb :) |
@jwellbelove I don't see an account with How to log in via Github? The easiest way is to start |
@ivankravets |
@jwellbelove thanks! Added you as an owner of To solve this issue we need to decide what to do with a library name. It has Embedded Template Library in the registry, the So, what is the final library name? If you try to publish https://github.com/ETLCPP/etl/tree/20.22.0 now, it will not update https://registry.platformio.org/libraries/etlcpp/Embedded%20Template%20Library and will create a totally new package due to a different name. |
The general ETL library is named https://registry.platformio.org/search?q=author%3A%22John+Wellbelove%22 |
There are 2 manifests in the repository. Could I ask you to normalize names? We need fixes for both manifests. You can then clone 20.22.0 branch, remove library.properties file, update name in library.json, use |
I'm not sure what you mean by 'normalising the names'. |
I noticed that
|
I see, you updated manifests in the development branch. It looks great now. When do you plan to bump 20.23.0? |
Today |
pio org list shows companies that you own. You can change the company name “ Embedded Template Library” via To list owned packages, please use |
OK, I get it now. I'll have to try to familiarise myself with PlatformIO a bit more in the future. |
It seems the issue can be closed. The legacy crawler on the PlatformIO side updated library to the latest version https://registry.platformio.org/libraries/etlcpp/Embedded%20Template%20Library @jwellbelove, thanks for the help. |
This is great! Thank you guys! |
One small question. |
@jwellbelove There are two ways:
I think the 2. version is what is recommended nowadays. One can setup some github workflow to do it automatically on some condition (such as pushing new tag). I've been meaning to do the same for nanopb, @hacker-cb set up some rules here which may be helpful: https://github.com/nanopb/nanopb_cpp/blob/master/.github/workflows/deploy-platformio.yaml |
@PetteriAimonen thanks for the advanced comment 🙏 @jwellbelove yes, legacy crawler fetches new releases automatically. Once use one-time
|
It appears that there are two different owners for the normal and Arduino registry entries at the moment. jwellbelove/Embedded Template Library - Arduino etlcpp/Embedded Template Library I'm currently having issues with the normal (non Arduino) ETL library publish. |
I think that the
|
We have a related feature request, platformio/platformio-core#4188 Meanwhile, you can ignore unnecessary files with https://docs.platformio.org/en/latest/librarymanager/config.html#export |
@jwellbelove support for Please run |
Thanks, I'll give that a try. |
I get
I've tried with administrator rights, but the same result. |
I see. Please use |
Same result. |
Do you use PlatformIO IDE (VSCode) or bare CLI? |
I've been updating through the terminal. |
It looks like there is |
Well, I've checked to instances of python running (none) and I've rebooted, but nothing has changed. |
Could you manually remove Sorry, I'm a macOS user and do not know all security details regarding Windows OS. |
Worked! |
Does |
Sorry to say that, but there appeared another problem with platformio. When pio downloads recent 20.24.1 version, (https://registry.platformio.org/libraries/etlcpp/Embedded%20Template%20Library) it's missing 20.24.0 and 20.23.0 are affected as well, while 19.3.5 works as expected. |
The tar.gz file is stripped of some files, the problem is that it is missing all of the files in the |
|
Is it in the root? When pio downloads from registry, there is one If this is any help, here is what's in the library after download:
|
Could it be picking up the Arduino version over the one in the product root? |
Guys, sorry for the delay. I could not imagine that will wake up in my life from the rocket strikes. I’ll be back soon with ideas. Glad to fix any issues related to the PlatformIO as soon as possible. 🙏 |
Stay safe! |
@jwellbelove sorry for the delay, see this PR #514 The idea is to declare manually what PlatformIO should export when packaging a library. Please merge it and run |
Sorry for bumping this, but I'm a bit confused about which library to use. I had Looking at the PIO registry, I see the following three libraries:
What is the difference between the first and the third? And do I need the Arduino version if I'm using the Arduino framework, but on a different board (Teensy) with PlatformIO (and thus not with the Arduino IDE)? Thanks in advance! |
There's been a bit of confusion over which one was definitive. Somehow I ended up with two accounts, though I don't seem to be able to access the |
Thanks for clearing that up! For my other question, am I right that the Arduino version is only required when using the Arduino IDE? |
Yes, the Arduino version has the directory structure mandated by the Arduino IDE. |
Thanks! |
@ivankravets Any idea how I can get access to the other account 'etlcpp' Publishing to the jwellbelove account, I of course get |
@jwellbelove the |
@Compizfox we have just removed |
OK, I thought the |
@jwellbelove we will move them, no need to republish. Next time please use |
Thanks, I understand now. |
It seems now all packages look good in the registry https://registry.platformio.org/search?q=owner%3Aetlcpp @jwellbelove thanks for the amazing library and your contribution to the OSS 🙏 |
Awesome, thanks for all your help. |
ETLCPP has 2 versions on platformio registry: arduino one (which is up-to-date), and non-arduino one. The latter is 19.3.5 and has not been updated for a while. Is it possible to update it?
I'm using it for CubeMX project, and seemingly I don't want an arduino version of the library (though I don't exactly know what the differences are).
The text was updated successfully, but these errors were encountered: