Skip to content

Verify SHA of only diffed mods#5

Merged
fifty-six merged 9 commits intohk-modding:mainfrom
jngo102:main
May 3, 2025
Merged

Verify SHA of only diffed mods#5
fifty-six merged 9 commits intohk-modding:mainfrom
jngo102:main

Conversation

@jngo102
Copy link
Contributor

@jngo102 jngo102 commented Apr 30, 2025

No description provided.

Copy link
Member

@fifty-six fifty-six left a comment

Choose a reason for hiding this comment

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

I put in a couple things for code cleanliness and perf. If you want I can also merge it and handle it instead

@jngo102 jngo102 requested review from SFGrenade and fifty-six May 1, 2025 01:07
Copy link
Member

@SFGrenade SFGrenade left a comment

Choose a reason for hiding this comment

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

from my perspective good

- Remove Description and Dependencies fields from manifest deserialization

checks.Add(CheckSingleSha(manifest));
var incomingManifest = (Manifest?)serializer.Deserialize(incomingReader) ?? throw new InvalidDataException();
TrimManifest(ref incomingManifest);
Copy link
Member

Choose a reason for hiding this comment

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

Might want to use a custom deserializer for this? Just on Link itself. If you don't feel like it, I can do that part

@fifty-six fifty-six merged commit 7338199 into hk-modding:main May 3, 2025
2 checks passed
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.

3 participants