theupdateframework / theupdateframework/rust-tuf

Create map file that points a TargetPath to a location on the filesystem

Open
#95 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature :: Improvement Priority :: Medium
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.