Skip to content
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

Issue #48 - Make libwebsockets and libnghttp2 mandatory #397

Merged
merged 4 commits into from
Jun 2, 2022

Conversation

jiridanek
Copy link
Contributor

Router does not make sense without websockets or http2 support, so let's not permit such build.

This does not (yet) help with one remaining special libwebsockets case, but I believe this is just a matter of time.

LIBWEBSOCKETS_VERSION: Optional[Tuple[int, int, int]] = parse_version("${LIBWEBSOCKETS_VERSION_STRING}")
SKIP_DELETE_HTTP_LISTENER = None if not LIBWEBSOCKETS_VERSION else (4, 0, 0) <= LIBWEBSOCKETS_VERSION < (4, 2, 0)

Thanks to embedding libwebsockets in the container build, the only thing holding it back are distribution packages, and Ubuntu 22.04 is on the way to CIs near you!

@jiridanek jiridanek added the P3 We're not considering working on this, but happy to review a PR. (No assignee) label Apr 29, 2022
@jiridanek jiridanek self-assigned this Apr 29, 2022
@jiridanek jiridanek force-pushed the jd_2022_04_29_mandatory branch from af494d3 to 8998309 Compare May 2, 2022 06:47
@jiridanek jiridanek requested review from kgiusti and ganeshmurthy and removed request for kgiusti May 25, 2022 18:26
@jiridanek jiridanek force-pushed the jd_2022_04_29_mandatory branch from 8998309 to 2e7c5a2 Compare May 28, 2022 21:26
@codecov-commenter
Copy link

codecov-commenter commented May 28, 2022

Codecov Report

Merging #397 (6f54255) into main (1e5ddda) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #397   +/-   ##
=======================================
  Coverage   25.14%   25.14%           
=======================================
  Files         115      115           
  Lines       28792    28792           
  Branches     4673     4673           
=======================================
  Hits         7241     7241           
  Misses      20581    20581           
  Partials      970      970           
Flag Coverage Δ
unittests 25.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/http-libwebsockets.c 40.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e5ddda...6f54255. Read the comment docs.

@ganeshmurthy
Copy link
Contributor

Please take a look at my other comments in this PR. Once those are addressed, this is ready to merge

@jiridanek
Copy link
Contributor Author

Please take a look at my other comments in this PR. Once those are addressed, this is ready to merge

I don't see any other comments from you besides this one, on #397

src/CMakeLists.txt Outdated Show resolved Hide resolved
tests/CMakeLists.txt Show resolved Hide resolved
tests/system_tests_http.py Show resolved Hide resolved
@jiridanek jiridanek force-pushed the jd_2022_04_29_mandatory branch from 2e7c5a2 to 049113f Compare June 1, 2022 12:07
@jiridanek jiridanek force-pushed the jd_2022_04_29_mandatory branch from 049113f to 6f54255 Compare June 1, 2022 21:47
@jiridanek jiridanek merged commit 3de1c52 into skupperproject:main Jun 2, 2022
@jiridanek jiridanek deleted the jd_2022_04_29_mandatory branch June 2, 2022 14:52
@jiridanek jiridanek added this to the 2.1.0 milestone Jun 2, 2022
@jiridanek jiridanek linked an issue Jun 2, 2022 that may be closed by this pull request
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 We're not considering working on this, but happy to review a PR. (No assignee)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The unbearable optionality of dependencies and features
4 participants