Skip to content

Upgraded a lot of libraries#286

Merged
cmaglie merged 4 commits into
mainfrom
upgrade_libs
Dec 12, 2024
Merged

Upgraded a lot of libraries#286
cmaglie merged 4 commits into
mainfrom
upgrade_libs

Conversation

@cmaglie

@cmaglie cmaglie commented Dec 12, 2024

Copy link
Copy Markdown
Member

This PR upgrades all the dependencies, and also go-git, it should solve the issue in #287

It wasn't passing because the reference name had spaces in the string
(creating invalid references). The updated git library has enforced
stricter checks on the ref name.
Branch creation now forces the use of at least one slash "/" for better
branch self-description. This sound quite arbitrary from the go-git
library, but that's how it is.

@alessio-perugini alessio-perugini left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test changes/refactor looks good.

@cmaglie cmaglie merged commit b038cc3 into main Dec 12, 2024
@cmaglie cmaglie deleted the upgrade_libs branch December 12, 2024 16:59
@per1234

per1234 commented Dec 17, 2024

Copy link
Copy Markdown
Contributor

it should solve the issue in #287

It did not:

https://downloads.arduino.cc/libraries/logs/github.com/gooddisplayshare/ESP32epd/

2024/12/17 11:07:08 Scraping https://github.com/gooddisplayshare/ESP32epd.git
2024/12/17 11:07:08 Checking out tag: v1.0.1
2024/12/17 11:07:09 Release ESP32epd:1.0.3 already loaded, skipping
2024/12/17 11:07:09 Checking out tag: v1.0.2
2024/12/17 11:07:10 Release ESP32epd:1.0.3 already loaded, skipping
2024/12/17 11:07:10 Checking out tag: v1.0.3
2024/12/17 11:07:10 Release ESP32epd:1.0.3 already loaded, skipping

This shows that libraries-repository-engine is seeing a value of 1.0.3 for the version property of library.properties after checking out each tag, but that is not correct:

https://github.com/gooddisplayshare/ESP32epd/blob/v1.0.1/library.properties#L2

version=1.0.1

https://github.com/gooddisplayshare/ESP32epd/blob/v1.0.2/library.properties#L2

version=1.0.2

https://github.com/gooddisplayshare/ESP32epd/blob/v1.0.3/library.properties#L2

version=1.0.3

I moved #287 back to the "Backlog" column in the "Tooling Team" project.

@per1234

per1234 commented Dec 17, 2024

Copy link
Copy Markdown
Contributor

Ah, nevermind. I thought this made it into the release, but then I noticed the little "This PR’s merge commit doesn’t appear in any tags" Refined GitHub added to the bottom of the PR thread after I commented, and I see that it is not in the release.

@cmaglie

cmaglie commented Dec 17, 2024

Copy link
Copy Markdown
Member Author

It should be all resolved now 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants