indygreg / indygreg/linux-packaging-rs

Release-File checksum entries are written in the wrong order

Open Beginner friendly
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
41
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have noticed that the `create_release_file`-Method of the RepositoryBuilder (lines 910-913) write the Release-File entries in the wrong order.

```rust
" {:size_width$} {}",
path,
size,
digest,
```

Instead of

```rust
" {:size_width$} {}",
digest,
size,
path,
```

This unfortunately makes the generated repository unusable.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the create_release_file method of RepositoryBuilder at lines 910-913, where the Release-File entry format is assembled. Correct the checksum, size, and path ordering shown in the issue, then verify that the generated Release-File entries have the expected order and produce a usable repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
release
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
85/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.