JakeWharton / JakeWharton/diffuse

Show diff details in `MANIFEST.MF`

Open
#495 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
2.2k
Forks
118
Avg merge
2h 18m
Merged PRs (30d)
19

Description

```
OLD: old.jar
NEW: new.jar

JAR │ old │ new │ diff
───────┼───────────┼───────────┼──────
class │ 12.9 MiB │ 12.9 MiB │ 0 B
other │ 375.2 KiB │ 375.2 KiB │ -8 B
───────┼───────────┼───────────┼──────
total │ 13.2 MiB │ 13.2 MiB │ -8 B

CLASSES │ old │ new │ diff
─────────┼───────┼───────┼───────────
classes │ 3308 │ 3308 │ 0 (+0 -0)
methods │ 37498 │ 37498 │ 0 (+0 -0)
fields │ 15282 │ 15282 │ 0 (+0 -0)

=================
==== JAR ====
=================

size │ diff │ path
─────────┼──────┼──────────────────────────────────────────────────
960 B │ -4 B │ ∆ META-INF/MANIFEST.MF
830 B │ -4 B │ ∆ META-INF/micrometer-registry-statsd.properties
─────────┼──────┼──────────────────────────────────────────────────
1.7 KiB │ -8 B │ (total)
```

We can show diff details in `MANIFEST.MF`. In addition, if we need to show changes in `∆ META-INF/foo.properties`?

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Start by locating the archive-diff reporting code and existing handling for META-INF/MANIFEST.MF, then trace how changed archive entries are summarized. Done means the output includes the requested MANIFEST.MF diff details and the treatment of other changed .properties files is defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.