Skip to content

gcoap_fileserver: rename to nanocoap_fileserver #20030

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

Merged
merged 5 commits into from
Feb 1, 2024

Conversation

benpicco
Copy link
Contributor

@benpicco benpicco commented Oct 30, 2023

Contribution description

There isn't really anything GCoAP specific about the fileserver module, it can just as well be used with nanoCoAP. Move and rename it to reflect that.

Testing procedure

Both examples/gcoap_fileserver and examples/nanocoap_server keep serving files, but the latter one without pulling in a GCoAP dependency.

Issues/PRs references

@github-actions github-actions bot added Area: network Area: Networking Area: tests Area: tests and testing framework Area: build system Area: Build system Area: CoAP Area: Constrained Application Protocol implementations Area: sys Area: System Area: examples Area: Example Applications labels Oct 30, 2023
@benpicco benpicco requested a review from chrysn October 30, 2023 14:51
@benpicco benpicco added the Process: API change Integration Process: PR contains or issue proposes an API change. Should be handled with care. label Oct 30, 2023
@benpicco benpicco force-pushed the nanocoap_fileserver branch from b3d70f9 to 3302492 Compare January 17, 2024 18:23
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jan 17, 2024
@riot-ci
Copy link

riot-ci commented Jan 17, 2024

Murdock results

✔️ PASSED

c5ac574 tests/net/gcoap_fileserver: gcoap_fileserver -> nanocoap_fileserver

Success Failures Total Runtime
8628 0 8629 12m:04s

Artifacts

@benpicco benpicco force-pushed the nanocoap_fileserver branch from 3302492 to ece2a13 Compare January 17, 2024 20:45
@kaspar030 kaspar030 added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jan 17, 2024
@benpicco benpicco requested a review from maribu January 18, 2024 11:05
@benpicco benpicco requested a review from Teufelchen1 January 30, 2024 12:25
@Teufelchen1 Teufelchen1 added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jan 30, 2024
Copy link
Contributor

@Teufelchen1 Teufelchen1 left a comment

Choose a reason for hiding this comment

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

LGTM, tested on native manually (on my machine). However the tests/net/gcoap_fileserver/ still fails. @MrKevinWeiss commented to me that this is a known issue, as seen in the makefile:

# This integration test uncovers a bug somwehere in our stack, but there
# are currently no resources to debug it, so blacklist it to keep CI running
TEST_ON_CI_BLACKLIST += all

@benpicco
Copy link
Contributor Author

However the tests/net/gcoap_fileserver still fails

Huh, that should only be a very sporadic failure that only triggers when CI is under high load (?).
It works on master - will investigate.

@benpicco benpicco force-pushed the nanocoap_fileserver branch from ece2a13 to c5ac574 Compare January 30, 2024 15:59
@benpicco
Copy link
Contributor Author

I made a mistake when moving away from gcoap_response() - fixed

@Teufelchen1
Copy link
Contributor

Yes! Works as intended. I think you should squash it.

@benpicco benpicco added this pull request to the merge queue Jan 31, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 1, 2024
@benpicco benpicco added this pull request to the merge queue Feb 1, 2024
Merged via the queue into RIOT-OS:master with commit d00fdcb Feb 1, 2024
@benpicco benpicco deleted the nanocoap_fileserver branch February 1, 2024 13:55
@MrKevinWeiss MrKevinWeiss added this to the Release 2024.04 milestone Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: build system Area: Build system Area: CoAP Area: Constrained Application Protocol implementations Area: examples Area: Example Applications Area: network Area: Networking Area: sys Area: System Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: API change Integration Process: PR contains or issue proposes an API change. Should be handled with care.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants