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

Implement CFDP directory listing #30

Merged
merged 5 commits into from
May 24, 2024
Merged

Implement CFDP directory listing #30

merged 5 commits into from
May 24, 2024

Conversation

ThirteenFish
Copy link
Contributor

This implements the CFDP 6.3.3 directory listing request and enables the fwrite_cache based filestore. There were a number of bugs in the upstream implementation that had to be worked around. There's also the related edl_file_upload.py flag -dr to run it from the ground side.

This is a virtualenv generated by direnv, pylama will try to scan all
the packages in there if it's not ignored.
The only weird bit is that since it's a proxy request it'll send a final
acknowledge back, similar to a proxy file transfer. That's not in the
spec, but I can't see a way to distinguish between directory and file
given the tools available.
This splits all the fixes (currently related to upstream inconsistently
using the filestore in its implementation) out into protocols/cfdp.py.

From before this moves the CrcHelper from edl.py to cfdp.py, and adds a
new VfsSourceHandler that fixes up a couple internal methods. Finally
this replaces the PrefixedFilestore with CacheStore.
@ThirteenFish ThirteenFish requested a review from ryanpdx May 24, 2024 02:20
@ryanpdx ryanpdx merged commit 4a85e29 into master May 24, 2024
1 check passed
@ryanpdx ryanpdx deleted the cfdp-py branch May 24, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants