-
Notifications
You must be signed in to change notification settings - Fork 660
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
Update 3rd party libs, part1 #3616
Conversation
01ffa4e
to
576cdf2
Compare
576cdf2
to
a39d6e0
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3616 +/- ##
==========================================
+ Coverage 88.88% 88.92% +0.03%
==========================================
Files 254 254
Lines 14293 14294 +1
==========================================
+ Hits 12705 12711 +6
+ Misses 1588 1583 -5 ☔ View full report in Codecov by Sentry. |
357fde4
to
3a88457
Compare
b35fbab
to
7df76fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM so far, just a couple links that should be updated. Notify me when gRPC is ready! :)
6fee681
to
a458656
Compare
string(REGEX MATCH "^project\\(libssh VERSION ([0-9]+)\\.([0-9]+)\\.([0-9]+) LANGUAGES C\\)$" | ||
libssh_VERSION "${libssh_VERSION}") | ||
string(REGEX MATCH "^project\\(libssh VERSION ([0-9]+)\\.([0-9]+)\\.([0-9]+) LANGUAGES C CXX\\)$" | ||
libssh_VERSION "${libssh_VERSION}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is due to the regex match failure stems from the change in the internal CMakeLists.txt change of libssh, the line
project(libssh VERSION 0.11.1 LANGUAGES C CXX)
is appended with CXX.
@@ -12,12 +12,12 @@ Version: 1.52.1 (+[our patches](https://github.com/CanonicalLtd/grpc/compare/v1. | |||
<https://github.com/grpc/grpc/releases> | |||
|
|||
### libssh | |||
Version: 0.10.5 (+[our patches](https://github.com/canonical/libssh/compare/libssh-0.10.5..843b97db)) | | |||
Version: 0.11.1 (+[our patches](https://github.com/canonical/libssh/compare/libssh-0.11.1...multipass)) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using multipass
branch name as opposed to commit hash to prevent adaptive change in the future.
Hi @Sploder12 I did a final scan on the latest version of the packages, it turned out that libssh can be upgraded further to 0.11.1 instead of 0.10.6. So the corresponding cherry-pick and push were done. Please perform a careful check on the new patches, meaning compare the patches with the ones on the 0.10.5 and see if it makes sense. You can find it either via |
b277676
to
ca31a3a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly good. Tests pass and didn't notice any issues when running! Just some issues with edge cases in libssh changes.
ca31a3a
to
25a88f3
Compare
Not sure I get this one, did you mean
|
Indeed,
|
Yeah, if |
The proposed code looks good! |
@Sploder12 |
Then we are also fixing the
This one is fixing the legacy patches as opposed to this particular rebase. So maybe this can be done. |
This is added to libssh repo. Please have another check. The other change will deviate from the original code of libssh and it adds complexity to the patches even though it might be a corner case bug. So I am inclined to leave it. What do you think? |
Looks good! It's not a big bug, and I doubt it's possible under normal execution, so I think leaving it is fine. Sorry, GitHub doesn't really make submodule changes clear. |
b254d90
to
2a93369
Compare
@Sploder12 Once the build is finished, feel free to merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
… corresponding code changes.
…-2.6.38-26-g090e6a0 to v20240322.
2a93369
to
d79d2c9
Compare
This won't pass on the merge queue without the private side, need to merge manually. |
link to all multipass related forked repos https://github.com/orgs/canonical/teams/multipass/repositories
This is only part1, part2 is #3707
Private part, https://github.com/canonical/multipass-private/pull/666
FetchContent:
git submodule:
1. fmt, 10.1.1 -> 11.0.2, includes small code adjustment.
2. xz-decode, linux-2.6.38-26-g090e6a0 -> v20240322.
3. scope_guard, nothing to update
4. flutter, current version 3.16.9. Its update is out of the scope of this PR.
5. protobuf.dart, current version protobuf-v1.1.4-251-gc559fe. Its update is out of the scope of this PR.
1. libssh currently is on 0.10.5 it is updated to 0.11.1, forked repo
2. semver, current version is the latest version 1.1.0
3. yaml-cpp, updated from 0.6.3 to 0.8.0, forked repo
vcpkg: