theupdateframework / theupdateframework/rust-tuf
Create map file that points a TargetPath to a location on the filesystem
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 198
- Forks
- 39
- Avg merge
- 9h 19m
- Merged PRs (30d)
- 2
Description
A base64 encoded sha512 sum is 89 characters long which uses up a lot of the characters of the max file name length in ext4 (and other FS's). There will need to be a map file that is kept up to date with a mapping of TargetPath => UUID, and the FileSystemRepository will have to do look ups often.
This would actually be a huge win in that we can remove most of the restrictions on TargetPath and MetadataPath since those paths won't be used when writing files to the FS.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the FileSystemRepository implementation and the code that writes or resolves TargetPath and MetadataPath values. Define how the map file is maintained and how TargetPath lookups return filesystem locations; done means long paths no longer need to be used directly as filesystem names and the mapping stays current.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100